@storybook/addon-viewport is a valuable tool for Storybook users, enabling them to build responsive components by easily adjusting the viewport size and orientation directly within the Storybook environment. Comparing version 7.5.1 and 7.5.0, the core functionality remains consistent, focusing on providing developers with a streamlined method for simulating various screen sizes and device orientations during component development and testing.
The primary distinction between the two versions lies in the updated dependencies of version 7.5.1. Specifically, several core Storybook packages, including @storybook/theming, @storybook/components, @storybook/core-events, @storybook/manager-api, @storybook/preview-api, and @storybook/client-logger, have been bumped from version 7.5.0 to 7.5.1. This suggests the update includes minor bug fixes, performance improvements, or feature enhancements within the broader Storybook ecosystem that @storybook/addon-viewport leverages. Developers should consider upgrading to version 7.5.1 to ensure they are benefiting from the latest refinements and stability improvements within the core Storybook libraries.
Both versions maintain the same peer dependencies for React and React DOM, ensuring compatibility with a wide range of React projects utilizing versions 16.8.0 through 18.0.0. The shared "MIT" license provides developers with the freedom to use, modify, and distribute the addon. Upgrading offers the assurance of benefiting from the most recent updates within the whole Storybook infrastructure.
The are not vulnerabilities for the version 7.5.1 of the package @storybook/addon-viewport