@storybook/addon-viewport version 8.6.0 introduces a refined experience for building responsive components within Storybook, contrasting subtly with its predecessor, version 8.5.8. Both versions empower developers to simulate various screen sizes and orientations directly within Storybook, facilitating thorough testing and ensuring consistent component behavior across devices. Key dependencies like memoizerific remain consistent, indicating a focus on performance optimization in both iterations.
However, the most notable difference lies in the peer dependency requirement for Storybook itself. Version 8.6.0 mandates Storybook version 8.6.0, while 8.5.8 requires Storybook 8.5.8. This highlights the importance of aligning addon versions with their core Storybook counterparts for optimal compatibility and functionality. A bump in the typescript devDependency from 5.3.2 to 5.7.3 in the newer version suggests potential improvements or bug fixes related to type definitions, enhancing the developer experience for TypeScript users. Furthermore, the unpacked size has increased in the latest version, indicating potentially new features, more robust code, or updated assets. Finally, note that both versions have a releaseDate in the future. Choose the library that integrates best with your project and your version of Storybook.
The are not vulnerabilities for the version 8.6.0 of the package @storybook/addon-viewport