@storybook/addon-viewport enables developers to build and test responsive components directly within Storybook. Version 8.3.6 refines this experience, building upon the foundation of version 8.3.5. While both share the same core functionality, dependencies like memoizerific, and development dependencies including React, React DOM, and TypeScript, the key difference lies in its compatibility and potential bug fixes.
Specifically, version 8.3.6 now lists storybook:"^8.3.6" as a peer dependency, unlike its predecessor storybook:"^8.3.5". This signifies that version 8.3.6 is explicitly designed and tested to work seamlessly with Storybook version 8.3.6, whereas 8.3.5 targets Storybook 8.3.5. Upgrading ensures proper integration and avoids potential compatibility issues or unexpected behavior that might arise from using mismatched versions.
For developers, this means a smoother upgrade path when using the latest Storybook release. Moreover, the new version might include bug fixes and minor improvements tailored to the newest Storybook version, ensuring a more stable and reliable experience. If you're already using Storybook 8.3.6, upgrading to @storybook/addon-viewport 8.3.6 is highly recommended to maintain optimal performance and compatibility within your Storybook environment, otherwise, you are encouraged into upgrading to the latest versions.
The are not vulnerabilities for the version 8.3.6 of the package @storybook/addon-viewport