Storybook Addon Viewport's latest release, version 8.2.0, offers a refined experience for developers building responsive components within Storybook. Building upon the solid foundation of version 8.1.11, both versions empower developers to dynamically adjust Storybook's viewport size and orientation, facilitating effective responsive design testing directly within the Storybook environment.
A key difference between the versions lies within their development dependencies. Version 8.1.11 had several @storybook dependencies present in devDependencies like @storybook/theming, @storybook/components, @storybook/core-events, @storybook/manager-api, @storybook/preview-api and @storybook/client-logger that have been removed from the dependencies of version 8.2.0. The removal indicates a potential shift in how the addon interacts with Storybook's core functionalities during development, possibly streamlining the development process or aligning with changes in Storybook's internal architecture. Both versions maintain essential dependencies like memoizerific, crucial for optimizing performance through memoization. Developers upgrading to 8.2.0 will still benefit from the core functionality, with a lighter development dependency footprint. This results in faster installs and less potential dependency conflicts. Note that the peer dependency on "storybook": "^8.2.0" in the newer version clearly states the version of Storybook needed to use @storybook/addon-viewport.
The are not vulnerabilities for the version 8.2.0 of the package @storybook/addon-viewport