@storybook/addon-viewport is a valuable tool for Storybook users, designed to streamline the creation of responsive components by enabling developers to dynamically adjust the Storybook viewport's size and orientation. This addon is especially beneficial for ensuring consistent visual presentation across various devices and screen sizes.
Comparing version 7.0.26 with the prior stable release, 7.0.25, reveals a focused update primarily reflected in dependency versions. Notably, core Storybook packages like @storybook/theming, @storybook/components, @storybook/core-events, @storybook/manager-api, @storybook/preview-api, and @storybook/client-logger have all been updated to version 7.0.26 in the newer release, while the older release uses version 7.0.25 of these. Considering these are core dependencies, this update likely includes bug fixes, performance enhancements and potentially new features added to the listed core packages, improving the overall stability and function of the addon. Both versions maintain identical peer dependency requirements for React and React-DOM, ensuring compatibility with a range of React versions. The addon also relies on prop-types and memoizerific for efficient component rendering and data handling, common among React projects.
Developers leveraging @storybook/addon-viewport should upgrade to version 7.0.26 to benefit from these updated dependencies, promising a potentially smoother development experience within the Storybook environment and potential advantages in compatibility and performance with the latest Storybook features and fixes. As both versions share the same unpacked size and file count, the update ensures it is lightweight and introduces no new overhead for existing installations. The consistent licensing in MIT emphasizes the project’s open-source nature, facilitating widespread usage and customization within diverse development workflows.
The are not vulnerabilities for the version 7.0.26 of the package @storybook/addon-viewport