@storybook/addon-viewport version 8.1.4 is a minor update to the Storybook addon that helps developers build responsive components. It enables developers to adjust Storybook's viewport size and orientation, simulating different devices and screen sizes directly within the Storybook environment. This allows for efficient testing and refinement of component layouts across various resolutions, improving the overall user experience.
The primary difference between versions 8.1.4 and the preceding 8.1.3 lies in the updated dependencies. While both versions share core functionality and the same "memoizerific" dependency, key Storybook dependencies like @storybook/theming, @storybook/components, @storybook/core-events, @storybook/manager-api, @storybook/preview-api, and @storybook/client-logger have been bumped from version 8.1.3 to 8.1.4. These updates likely include bug fixes, performance improvements, and potentially new features within the broader Storybook ecosystem. Developers should note this upgrade for potential compatibility enhancements or to leverage any new features introduced in those core Storybook packages.
The addon requires React (version 18.2.0 or higher), React DOM (version 18.2.0 or higher), and Typescript (version 5.3.2 or higher) as dev dependencies. The recent release was on May 27, 2024, following the prior version's deployment on May 23, 2024. Upgrade to the latest version of @storybook/addon-viewport to ensure you are using the most up-to-date and stable version, benefiting from the latest improvements and bug fixes within the Storybook framework.
The are not vulnerabilities for the version 8.1.4 of the package @storybook/addon-viewport