The @storybook/addon-viewport package allows developers to build responsive components directly within Storybook by providing tools to adjust the viewport size and orientation. Versions 8.6.8 and 8.6.7 share a common goal: simplifying responsive design testing. Both depend on memoizerific for performance optimization and include essential devDependencies like React, ReactDOM, and TypeScript, necessary for building and testing the addon. They both also share the same count of files and unpacked size, hinting at little or no change in source code size.
The key difference lies in the peerDependency and release date. Version 8.6.8 depends on storybook: ^8.6.8, while version 8.6.7 depends on storybook: ^8.6.7. This indicates that version 8.6.8 is specifically designed to work seamlessly with Storybook version 8.6.8, likely containing compatibility updates or bug fixes related to that specific Storybook release. Developers upgrading to Storybook 8.6.8 should also update to @storybook/addon-viewport 8.6.8 to ensure proper functionality and avoid potential compatibility issues.
The newer release date of March 22, 2025 for version 8.6.8, compared to March 17, 2025 for version 8.6.7, confirms that 8.6.8 includes the latest improvements and resolves any issues reported in the preceding days. For those already using the addon, this makes upgrading worthwhile. For developers new to the package, start with the latest version, 8.6.8, for the most stable and up-to-date experience building responsive interfaces with Storybook.
The are not vulnerabilities for the version 8.6.8 of the package @storybook/addon-viewport