@storybook/addon-viewport offers developers a streamlined way to build and test responsive components directly within the Storybook environment by adjusting the viewport size and orientation. Version 7.0.12, released on May 15, 2023, builds upon the functionalities of the previous stable version, 7.0.11, released just days before. While both versions share the same core description, dependencies like prop-types, memoizerific and peer dependencies for React and React DOM ensuring compatibility across React 16, 17, and 18, a key difference lies in the synchronized versions of Storybook's internal packages. Specifically, version 7.0.12 updates @storybook/theming, @storybook/components, @storybook/core-events, @storybook/manager-api, @storybook/preview-api, and @storybook/client-logger to 7.0.12, from 7.0.11 in the older release.
This synchronization is crucial for maintaining stability and ensuring feature parity across the Storybook ecosystem. For developers, upgrading to 7.0.12 provides a more cohesive experience, minimizing potential compatibility issues between various Storybook addons and core packages. Although file count and unpacked size remain consistent, upgrading ensures you’re benefiting from the latest bug fixes and performance improvements within Storybook's internal modules, leading to a more reliable and efficient workflow when creating responsive user interfaces. Furthermore, both versions are licensed under MIT and actively funded through Open Collective.
The are not vulnerabilities for the version 7.0.12 of the package @storybook/addon-viewport