@storybook/addon-viewport is a valuable tool for Storybook developers seeking to create responsive components effortlessly. This addon allows you to adjust Storybook's viewport size and orientation, making it easy to simulate various screen sizes and devices directly within your Storybook environment. The difference between version 7.0.21 and its successor, 7.0.22, is subtle yet essential for maintaining a cohesive Storybook ecosystem.
The core functionality remains unchanged, ensuring that developers can still build and test responsive designs using predefined viewports or custom dimensions. Under the hood, version 7.0.22 updates direct dependencies such as @storybook/theming, @storybook/components, @storybook/core-events, @storybook/manager-api, and @storybook/preview-api to version 7.0.22. These dependency updates signify a synchronization across the Storybook suite of tools, potentially including bug fixes, performance improvements, and the introduction of new features across the broader Storybook platform. While the immediate impact on the addon-viewport might not be drastic, these upgrades are crucial for compatibility, stability and to integrate with the latest improvements and features provided by the Storybook ecosystem.
If you're already using version 7.0.21, upgrading to 7.0.22 is recommended to ensure you're benefiting from the latest fixes and improvements within the Storybook environment. Developers should prioritize upgrading to version 7.0.22 to maintain compatibility and harness the collective benefits of a synchronized and actively maintained development environment.
The are not vulnerabilities for the version 7.0.22 of the package @storybook/addon-viewport