@storybook/addon-viewport is a valuable tool for Storybook users, enabling them to craft responsive UI components with ease. By simulating different screen sizes and orientations directly within the Storybook environment, developers can thoroughly test their components' adaptability without needing to switch between multiple devices or browser windows. Versions 6.4.20 and 6.4.21 offer similar core functionalities, both designed to streamline the responsive design workflow. The update from 6.4.20 to 6.4.21 involves mainly internal dependency alignment within the Storybook ecosystem. Specifically, key dependencies like @storybook/api, @storybook/addons, @storybook/theming, @storybook/components, @storybook/core-events, and @storybook/client-logger were bumped from version 6.4.20 to 6.4.21 to ensure everything is in sync. While the unpacked size and file count remains exactly the same, implying no major feature additions or significant code changes to the add-on itself, updating ensures compatibility and access to any bug fixes or performance improvements present in the core Storybook packages. Developers should upgrade to version 6.4.21 to benefit from the latest refinements across the wider Storybook platform, promoting a more stable and predictable development experience, and improved long term support from the project. The library maintains its peer dependency requirements for React and React DOM, continuing to support versions 16.8.0 and 17.0.0 and above.
The are not vulnerabilities for the version 6.4.21 of the package @storybook/addon-viewport