@storybook/addon-viewport is a valuable tool for Storybook users focused on responsive design, offering developers the ability to simulate different screen sizes and resolutions directly within their Storybook environment. Comparing versions 4.1.8 and 4.1.9 reveals subtle, but important changes primarily reflected in internal dependency version bumps. While the core functionality of changing the viewport remains consistent, the update suggests improvements in stability and compatibility within the Storybook ecosystem.
Specifically, the updated versions of @storybook/addons, @storybook/components, and @storybook/core-events point to a refinement of the internal architecture of Storybook itself. These updates likely encompass bug fixes, performance enhancements, and alignment with the evolving Storybook API. Developers who prioritize a stable and well-integrated Storybook experience should strongly consider upgrading to version 4.1.9.
The inclusion of dependencies like global, core-js, prop-types, util-deprecate, and @emotion/styled underscores the addon's reliance on modern JavaScript features and styling capabilities. Although these dependencies remain consistent between the two versions, their continued presence ensures that the addon is built on a foundation of well-supported libraries to provide a reliable and feature-rich experience to the users. Furthermore, as both versions maintain the same file count and unpacked size, the change wasn't focused on additional features but focused on stability and reliability.
The are not vulnerabilities for the version 4.1.9 of the package @storybook/addon-viewport