@storybook/addon-viewport is a valuable tool for Storybook users, enabling developers to build and test responsive components within the Storybook environment. It works by allowing adjustment of the viewport size and orientation, simulating different devices and screen resolutions directly within Storybook.
Comparing version 6.3.11 with the previous stable version, 6.3.10, the primary difference lies in the updated dependencies on other Storybook packages. Specifically, "@storybook/api," "@storybook/addons," "@storybook/theming," "@storybook/components," "@storybook/core-events," and "@storybook/client-logger" have all been bumped from version 6.3.10 to 6.3.11 in the newer release. While the core functionality pertaining to viewport manipulation remains consistent, this dependency update signals improvements, bug fixes, or new features within the core Storybook ecosystem.
For developers considering adopting @storybook/addon-viewport, it's generally advisable to utilize the latest stable version (6.3.11 in this case). This ensures compatibility with the most recent Storybook features and improvements delivered through upgraded dependencies. The addon simplifies responsive design testing without requiring constant switching between external browser tools or physical devices, streamlining the workflow and improving component quality. Ensure that peer dependencies react and react-dom follow the required versions. The package is licensed under MIT, providing flexibility for usage in different project types.
The are not vulnerabilities for the version 6.3.11 of the package @storybook/addon-viewport