@storybook/addon-viewport is a valuable tool for Storybook developers, simplifying the creation of responsive components by enabling on-the-fly adjustments to the Storybook's viewport size and orientation. The recent update from version 8.3.0 to 8.3.1 brings subtle but noteworthy enhancements. While both versions are functionally similar, sharing the same core dependencies like memoizerific, and development dependencies including react, react-dom, and typescript, the key change lies in the peer dependency requirement. Version 8.3.0 requires Storybook version 8.3.0, while version 8.3.1 demands Storybook version 8.3.1. This implies compatibility fixes or enhancements specifically tailored for the latest Storybook release.
For developers, this means that upgrading to @storybook/addon-viewport version 8.3.1 ensures seamless integration and optimal performance with Storybook 8.3.1. It's a crucial update to consider when maintaining a Storybook project that leverages the viewport addon for responsive design testing. Both versions maintain the same MIT license and contribute to the Storybook ecosystem. The update should provide a more stable experience when used with the latest Storybook release due to the peer dependency alignment. If you're already on Storybook 8.3.1, upgrading the addon aligns your dependencies and mitigates potential compatibility issues. Therefore, upgrading ensures that you benefit from any refinements made to integrate the viewport addon with the core Storybook platform.
The are not vulnerabilities for the version 8.3.1 of the package @storybook/addon-viewport