The @storybook/addon-viewport package empowers developers to build responsive web components directly within the Storybook environment. By allowing you to adjust the viewport size and orientation, this addon streamlines the process of designing and testing components across various screen sizes and devices. The latest version, 8.2.10, builds upon the functionality of the previous stable version, 8.2.9, offering continued enhancements to improve the developer experience. Key dependencies like memoizerific, react, react-dom, typescript, @storybook/icons, and @storybook/global remain consistent, ensuring compatibility and stability during upgrades. Changes include, increased unpacked size from 16490 to 16492.
A critical difference lies in the peer dependency on Storybook itself. Version 8.2.10 now depends on "^8.2.10" which means it is only compatible with Storybook version. 8.2.10, while version 8.2.9 depends on "^8.2.9" which means it is compatible with Storybook version. 8.2.9. The newer version was released November 4th, 2024, while the older version was released on August 13th, 2024. If you were to upgrade, keep in mind that the peer dependencies must also be updated. This addon is licensed under the MIT license and is part of the larger Storybook ecosystem, encouraging community contributions and open-source development. Storybook developers can easily integrate this addon to preview and optimize their components for a multitude of devices, ensuring a consistent and user-friendly experience across all platforms.
The are not vulnerabilities for the version 8.2.10 of the package @storybook/addon-viewport