@storybook/addon-viewport, a valuable tool for developing responsive components within Storybook, has released version 8.5.2, building upon the foundation laid by its predecessor, version 8.5.1. Both versions provide the same core functionality: enabling developers to simulate various viewport sizes and orientations directly within the Storybook environment, streamlining the process of creating and testing adaptable user interfaces. They share identical dependencies, including "memoizerific" for efficient memoization, and development dependencies like "react," "react-dom," and "typescript" ensuring compatibility with modern React projects. The underlying code structure and development tools remain consistent.
The key difference lies in the peer dependency "storybook". Version 8.5.2 of @storybook/addon-viewport requires Storybook version 8.5.2 while 8.5.1 requires Storybook version 8.5.1. This indicates that version 8.5.2 is specifically designed to work seamlessly with the latest Storybook release.
For developers, this means that upgrading to @storybook/addon-viewport 8.5.2 is essential for ensuring compatibility and potentially leveraging new features or bug fixes within the core Storybook framework. Developers considering an upgrade should prioritize aligning their Storybook version with the addon's peer dependency to avoid potential conflicts or unexpected behavior. This addon empowers you to build fully responsive designs, previewing different screen sizes with ease inside your Storybook.
The are not vulnerabilities for the version 8.5.2 of the package @storybook/addon-viewport