@storybook/addon-viewport enables developers to build and test responsive components directly within the Storybook environment by allowing dynamic adjustment of the viewport size and orientation. Comparing versions 8.1.7 and 8.1.6, the core functionality remains consistent, focusing on providing tools for simulating different screen sizes and devices, streamlining the responsive design workflow.
The key distinction lies in the dependency versions within the devDependencies. Version 8.1.7 updates @storybook/theming, @storybook/components, @storybook/core-events, @storybook/manager-api, and @storybook/preview-api all to version 8.1.7. These updates within the Storybook ecosystem likely include bug fixes, performance improvements, and potentially new features within Storybook's UI and core functionalities that affect the viewport addon. In contrast, version 8.1.6 relies on the 8.1.6 versions of these packages.
Developers leveraging @storybook/addon-viewport should consider upgrading to version 8.1.7 to benefit from the latest improvements and bug fixes within the wider Storybook framework. While the changes may not be immediately apparent in the addon's viewport control, they contribute to a more stable, performant, and feature-rich Storybook experience overall when building responsive user interfaces. The unchanged dependencies field suggests the addon's core logic remains the same, ensuring a seamless transition for existing users. The release date difference indicates a recent push to incorporate the newest Storybook updates.
The are not vulnerabilities for the version 8.1.7 of the package @storybook/addon-viewport