@storybook/addon-viewport provides developers using Storybook with a simple way to preview components across different screen sizes and orientations, crucial for building responsive user interfaces. Version 8.5.8 introduces a subtle but potentially important update compared to version 8.5.7. While the core functionality of emulating various viewports within Storybook remains consistent, the key difference lies in their peer dependency for Storybook itself. Version 8.5.8 requires Storybook version 8.5.8, while version 8.5.7 targets Storybook version 8.5.7.
This seemingly small change indicates that version 8.5.8 likely includes bug fixes, performance improvements, or features specifically designed to work seamlessly with its corresponding Storybook version. Developers should upgrade to @storybook/addon-viewport@8.5.8 if they've already updated their Storybook installation to 8.5.8 to ensure compatibility and potentially benefit from the latest enhancements. Both versions rely on the same core dependencies like memoizerific and development dependencies for React, TypeScript, and Storybook's internal utilities. The file structure and overall size of the packages remain identical between the two releases. The release date difference (February 19th for 8.5.8 and February 18th for 8.5.7) highlights the recency of these updates, suggesting a focused effort to ensure optimal integration within the Storybook ecosystem. Always refer to the official Storybook documentation and changelogs for a complete list of changes.
The are not vulnerabilities for the version 8.5.8 of the package @storybook/addon-viewport