@storybook/addon-viewport is a valuable tool for developers crafting responsive components within Storybook. It allows you to simulate various screen sizes and orientations directly within your development environment, streamlining the process of ensuring your components render correctly across different devices. Comparing versions 6.3.5 and 6.3.4, the core functionality remains consistent: the addon facilitates viewport manipulation to build adaptable user interfaces.
The key difference lies in the dependencies within the Storybook ecosystem. Version 6.3.5 updates to the latest compatible versions of essential Storybook packages like @storybook/api, @storybook/addons, @storybook/theming, @storybook/components, @storybook/core-events, and @storybook/client-logger, all incrementing from 6.3.4. This suggests bug fixes, performance enhancements, or new features within the core Storybook framework that addon-viewport 6.3.5 leverages.
For developers, upgrading from 6.3.4 to 6.3.5 means benefiting from the refinements made to the underlying Storybook architecture. While the core viewport functionality remains the same, expect increased stability and potential improvements in rendering performance. Both versions maintain peer dependency requirements for React and React DOM versions 16.8.0 or 17.0.0, ensuring compatibility with modern React projects. Therefore, updating is primarily about staying aligned with the broader Storybook ecosystem and reaping the benefits of its continuous improvements without altering the fundamental way you work with viewports.
The are not vulnerabilities for the version 6.3.5 of the package @storybook/addon-viewport