@storybook/addon-viewport provides developers with a seamless way to simulate different screen sizes and resolutions directly within their Storybook environment, streamlining responsive design testing. Comparing versions 4.1.7 and 4.1.8 reveals minimal changes, primarily involving updates to internal Storybook dependencies. While both versions share identical dependencies on packages like global, core-js, prop-types, util-deprecate, and @emotion/styled, the core Storybook packages (@storybook/addons, @storybook/components, @storybook/core-events) have been bumped from version 4.1.7 to 4.1.8 in the newer release. Functionally, users are unlikely to observe significant alterations between these versions; the upgrade seems focused on maintaining compatibility and leveraging improvements within the broader Storybook ecosystem. Both package versions shares are distributed with the same fileCount and unpackedSize. For those unfamiliar, this addon is immensely valuable for ensuring that components render correctly across a spectrum of devices. Developers can easily switch between predefined viewport sizes or define custom dimensions, facilitating thorough visual regression testing and enhancing the overall user experience, and can do so, knowing that there are no remarkable breaking changes between this 2 versions. If you are already using it there is no need to rush upgrading the package, but if you are starting now, you should use the newest version.
The are not vulnerabilities for the version 4.1.8 of the package @storybook/addon-viewport