@storybook/addon-viewport version 7.0.18 represents a minor iteration over version 7.0.17, primarily focusing on internal dependency updates within the Storybook ecosystem. Both versions offer developers the ability to build and test responsive components directly within Storybook, simplifying the process of ensuring visual consistency across various screen sizes. The core functionality remains consistent: allowing users to adjust Storybook's viewport size and orientation to simulate different devices and screen resolutions.
The key difference lies in the updated dependencies. Version 7.0.18 bumps several internal Storybook packages, including @storybook/theming, @storybook/components, @storybook/core-events, @storybook/manager-api, and @storybook/preview-api, all to version 7.0.18. This suggests a synchronization effort within the Storybook project to ensure compatibility and potentially incorporate bug fixes or minor feature enhancements across the platform. While these updates are largely transparent to the end-user, they contribute to a more stable and consistent experience when using the addon in conjunction with other Storybook features. Developers leveraging @storybook/addon-viewport can confidently upgrade to version 7.0.18 to benefit from these internal improvements, relying on the same familiar API and feature set for crafting responsive user interfaces. Both versions maintain peer dependency support for React versions 16.8.0, 17.0.0, and 18.0.0.
The are not vulnerabilities for the version 7.0.18 of the package @storybook/addon-viewport