@storybook/addon-viewport version 6.5.2 is a minor update to the 6.5.x line, following version 6.5.0. Both versions empower developers to build and test responsive components directly within Storybook by providing tools to adjust the viewport size and orientation, simulating diverse device screens and resolutions. This ensures components render correctly across various devices, improving user experience and accessibility. The core functionality remains consistent between the two versions: allowing developers to define and switch between predefined viewport sizes or create custom ones.
The key distinction lies in the internal dependency versions. Version 6.5.2 upgrades several @storybook packages like @storybook/api, @storybook/addons, @storybook/theming, @storybook/components, @storybook/core-events, and @storybook/client-logger from 6.5.0 to 6.5.2. These upgrades likely incorporate bug fixes, performance improvements, and potential new features within those specific Storybook modules. While developers using @storybook/addon-viewport directly might not observe immediate changes in the viewport addon's core features, they benefit from the enhanced stability and functionalities offered by the updated dependencies related to storybook's core functionalities. Both versions maintain the same peer dependency requirements for React and React DOM, ensuring compatibility with a wide range of projects. Developers using version 6.5.0 are encouraged to upgrade to 6.5.2 to leverage the latest internal improvements and bug fixes present within the core Storybook ecosystem.
The are not vulnerabilities for the version 6.5.2 of the package @storybook/addon-viewport