@storybook/addon-viewport has released version 8.1.11, a minor update to its previous stable version 8.1.10. Both versions cater to developers aiming to build responsive components within Storybook by offering tools to adjust the viewport size and orientation directly within the Storybook environment. The core functionality remains consistent: developers can leverage this addon to simulate various screen sizes and device orientations, ensuring their components render correctly across different platforms and devices.
A key difference lies in the updated peer dependencies for Storybook's core packages. Version 8.1.11 aligns with the latest Storybook ecosystem, notably updating dependencies such as @storybook/theming, @storybook/components, @storybook/core-events, @storybook/manager-api, and @storybook/preview-api to version 8.1.11. This synchronization ensures compatibility with the newest features and bug fixes incorporated into the Storybook platform. In contrast, version 8.1.10 relies on version 8.1.10 of these peer dependencies. While the core functionality related to viewport manipulation remains the same, upgrading to 8.1.11 helps developers benefit from the global improvements and consistency offered by the unified Storybook platform. The release date is also a key differentiator, with version 8.1.11 being published on June 27, 2024, a week and a half after the June 17, 2024 release of version 8.1.10. @storybook/addon-viewport provides a streamlined approach to responsive design directly inside your Storybook setup.
The are not vulnerabilities for the version 8.1.11 of the package @storybook/addon-viewport