@storybook/addon-viewport empowers developers to craft responsive and adaptable user interfaces directly within the Storybook environment. Version 8.6.2 builds upon the solid foundation of version 8.6.1, though the core functionality remains consistent: facilitating the simulation of various screen sizes and orientations, ensuring components render correctly across diverse devices. Both versions include essential dependencies like memoizerific for optimized performance and development dependencies such as react, react-dom, and typescript to maintain a robust development ecosystem for the addon. Developers will appreciate the consistent use of @storybook/icons and @storybook/global, assuring familiar Storybook integration.
The crucial difference lies in the peer dependency, where version 8.6.2 requires storybook":"^8.6.2" while version 8.6.1 depends on storybook":"^8.6.1". This indicates an upgrade tied to the core Storybook framework. Notably, both versions share the same unpacked size and fileCount, which suggests that the changes are likely concentrated in compatibility updates or minor bug fixes related to the updated Storybook core. If you are using Storybook 8.6.2, updating to addon-viewport 8.6.2 is *required*. The release date of version 8.6.2 is later than 8.6.1, marking it as the most recent, and possibly preferred, if you are running storybook 8.6.2. Developers should prioritize alignment between their Storybook version and the peer dependencies specified by @storybook/addon-viewport for optimal results.
The are not vulnerabilities for the version 8.6.2 of the package @storybook/addon-viewport