@storybook/addon-viewport version 8.2.5 introduces subtle but important changes compared to its predecessor, version 8.2.4. Both versions empower Storybook users to craft responsive components by dynamically adjusting the viewport size and orientation within the Storybook environment, streamlining the development and testing of adaptable user interfaces. This functionality is crucial for ensuring a consistent and optimized user experience across various devices and screen sizes. Key dependencies like memoizerific remain consistent, suggesting a focus on performance and efficient data handling. The development dependencies, including react, react-dom, typescript, @storybook/icons, and @storybook/global, are also unchanged, indicating a stable development environment.
The crucial distinction lies within the peerDependencies. Version 8.2.5 requires storybook version ^8.2.5, while version 8.2.4 requires storybook version ^8.2.4. This subtle shift signifies that upgrading to @storybook/addon-viewport 8.2.5 necessitates a corresponding upgrade of your core Storybook installation to version 8.2.5. Therefore, developers must ensure compatibility and carefully manage their Storybook dependencies during the upgrade process to avoid any conflicts or unforeseen issues. The release date also shows the newest version was released on 2024-07-19 while the older version was on 2024-07-16. This allows developers to keep track of the latest releases, bug fixes, and improvements. By maintaining up-to-date dependencies, developers can maximize the benefits of using Storybook and the viewport addon.
The are not vulnerabilities for the version 8.2.5 of the package @storybook/addon-viewport