Version 3.3.2 of @storybook/addon-viewport presents a minor but potentially impactful update over its predecessor, version 3.3.1. Both versions serve the same core purpose: enabling developers to dynamically adjust the viewport size within their Storybook environment, primarily for simulating mobile device screens. This is invaluable for responsive design testing and ensuring UI components render correctly across different screen sizes.
The key difference lies within the dependencies. While both versions share the same dependencies on global and prop-types, version 3.3.2 upgrades @storybook/components from version 3.3.1 to 3.3.2. This suggests that the update likely incorporates improvements, bug fixes, or new features within the Storybook component library itself. Developers using Storybook should benefit from these underlying enhancements, potentially leading to a smoother or more feature-rich development experience.
Crucially, both versions maintain the same peer dependencies on react and @storybook/addons, requiring compatibility with React and the Storybook addon ecosystem. This ensures a seamless integration for users already invested in these technologies. The MIT license remains unchanged, offering developers broad flexibility in using and distributing the addon. The release dates indicate these versions were released in late December 2017, so it's advised to explore newer versions for the latest features and compatibility.
All the vulnerabilities related to the version 3.3.2 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.