@storybook/addon-viewport version 7.6.16 is a minor update to Storybook's viewport addon, released on February 15, 2024, following version 7.6.15 released just two days prior. Both versions share the same core functionality: enabling developers to build and test responsive components within Storybook by simulating different screen sizes and orientations. The principal difference lies in the updated peer dependencies. Version 7.6.16 updates its peer dependencies to align with Storybook's core packages (e.g., @storybook/theming, @storybook/components, @storybook/core-events, @storybook/manager-api, @storybook/preview-api, @storybook/client-logger), all now at version 7.6.16. In contrast, version 7.6.15 utilizes version 7.6.15 for these dependencies.
Developers already using @storybook/addon-viewport will find the upgrade straightforward. The core API and usage patterns remain consistent, ensuring no breaking changes for typical use cases. The update improves compatibility and stability within the Storybook ecosystem, ensuring seamless integration with the latest Storybook features and bug fixes. For those new to the addon, version 7.6.16 provides a stable and reliable way to test responsive designs directly in Storybook. By allowing viewport size adjustments, the addon helps developers ensure their components adapt correctly to various devices, guaranteeing a consistent user experience across different platforms.
The are not vulnerabilities for the version 7.6.16 of the package @storybook/addon-viewport