@storybook/addon-viewport version 8.5.4 is a minor update to the popular Storybook addon facilitating responsive design testing and development. Building upon the foundation of version 8.5.3, this release continues to empower developers to build adaptable components by seamlessly adjusting Storybook’s viewport size and orientation. The core functionality remains consistent: developers can still leverage the addon to simulate various screen sizes and device orientations directly within their Storybook environment, ensuring their components render correctly across a multitude of contexts.
While the core functionality is unchanged between the versions, a key difference lies in the peer dependency of 'storybook'. Version 8.5.4 requires Storybook version 8.5.4 which means that, to use it correctly, you'll need to use Storybook 8.5.4. Version 8.5.3 requires Storybook version 8.5.3.
Both versions share identical dependencies like memoizerific, and devDependencies including react, react-dom, typescript, @storybook/icons, and @storybook/global. This consistent dependency structure reduces the likelihood of compatibility issues when upgrading. Developers already familiar with version 8.5.3 can seamlessly transition to 8.5.4 without needing to adjust their existing workflows. As both versions are under the MIT license and part of the Storybook ecosystem, developers can rely on continuous support and improvements. The focus on responsive design and ease of use remains central.
The are not vulnerabilities for the version 8.5.4 of the package @storybook/addon-viewport