@storybook/addon-viewport empowers developers to build responsive UI components directly within the Storybook environment, enabling them to visualize and refine their designs across various screen sizes and orientations. Version 8.4.6 introduces subtle yet crucial updates over the previous stable version, 8.4.5, primarily focusing on compatibility and dependency alignment within the Storybook ecosystem. While the core functionality of responsive design remains consistent, the key difference lies in the peer dependency: version 8.4.6 requires Storybook version 8.4.6, whereas version 8.4.5 was built for Storybook 8.4.5. This ensures that the addon seamlessly integrates with the latest features and fixes within the Storybook platform.
Developers using or planning to use this addon should particularly take note of the peerDependencies entry; ensuring the addon version aligns with the main Storybook installation prevents potential conflicts or unexpected behavior. Both versions share the same set of dependencies, including memoizerific for performant memoization and development dependencies like react, react-dom, and typescript, facilitating a smooth development experience. The addon’s continued reliance on @storybook/icons and @storybook/global guarantees a consistent look and feel within the Storybook UI. Upgrading to version 8.4.6 provides the peace of mind that you're operating with the latest compatible components. Version 8.4.6 was released on 2024-11-29 while version 8.4.5 was released on 2024-11-20.
The are not vulnerabilities for the version 8.4.6 of the package @storybook/addon-viewport