@storybook/addon-viewport allows developers to build responsive components directly within the Storybook environment by adjusting the viewport size and orientation. Comparing versions 8.3.3 and 8.3.2, the core functionality remains consistent, providing a convenient way to test component responsiveness across different screen sizes. The key difference lies in the peer dependency requirement. Version 8.3.3 mandates Storybook version 8.3.3, whereas the 8.3.2 version requires Storybook 8.3.2.
For developers, ensuring compatible Storybook versions is critical. Upgrading to @storybook/addon-viewport 8.3.3 will necessitate upgrading Storybook to 8.3.3 as well. Both versions share identical dependencies like memoizerific, react, react-dom, typescript, @storybook/icons, and @storybook/global, indicating no changes in the underlying code utilizing these libraries. This means the upgrade primarily concerns ensuring core Storybook compatibility.
Consider the release dates; version 8.3.3 was released more recently than 8.3.2. This might suggest bug fixes or minor internal improvements, although these are not explicitly detailed in the metadata. If you are using Storybook 8.3.2 the previous version of the addon will be suitable otherwise upgrade both Storybook and addon-viewport to 8.3.3 to leverage potential improvements. The addon facilitates seamless responsive design workflow inside the Storybook.
The are not vulnerabilities for the version 8.3.3 of the package @storybook/addon-viewport