@storybook/addon-viewport is a valuable tool for Storybook users, enabling them to simulate different screen sizes and resolutions when developing and testing UI components. Comparing versions 3.4.1 and 3.4.0, the core functionality remains consistent – allowing developers to easily switch between various viewport dimensions within their Storybook environment to ensure responsive design and cross-device compatibility. Both versions share identical core dependencies like global, prop-types, and babel-runtime, along with peer dependencies such as react and @storybook/addons, indicating a stable and aligned ecosystem. The license remains MIT for both.
The primary difference appears to be an incremental update in @storybook/components, moving from version 3.4.0 in the older release to 3.4.1 in the newer one. A slight increase in the unpacked size (from 232,370 to 232,713 bytes) for version 3.4.1 hints at minor bug fixes, performance enhancements, or small feature additions within the @storybook/components dependency. Developers should benefit from this enhanced stability or potential new functionality, even though the change is minor. Upgrading to version 3.4.1 is advisable to leverage the latest improvements and ensure a seamless Storybook experience, particularly if you're already employing version 3.4.0. The relatively small difference suggests a low-risk update.
All the vulnerabilities related to the version 3.4.1 of the package
node-fetch forwards secure headers to untrusted sites
node-fetch forwards secure headers such as authorization
, www-authenticate
, cookie
, & cookie2
when redirecting to a untrusted site.