@storybook/addon-viewport is a valuable tool for Storybook users, granting them the ability to dynamically adjust the display viewport to simulate various mobile device screen sizes directly within their Storybook environment. This proves indispensable for responsive design testing and ensuring components render correctly across a multitude of devices.
The upgrade from version 3.3.2 to 3.3.3 introduces subtle yet significant changes. Both versions share the same core functionalities, allowing developers to modify the viewport, and similar dependencies like global, prop-types, and peer dependencies on react and @storybook/addons. This indicates that the foundational aspects of the addon remain consistent.
The defining difference lies within the @storybook/components dependency. Version 3.3.2 relies on @storybook/components at version 3.3.2, while version 3.3.3 upgrades this dependency to @storybook/components version 3.3.3. While seemingly minor, updates to @storybook/components often include bug fixes, performance enhancements, and potential new UI elements that contribute to a smoother and more feature-rich Storybook experience. The developer using 3.3.3 may also benefit from any improvements or changes to the internal component library that @storybook/components provides. The release date difference shows a very quick release between the two, so this hints at a quick fix for a bug or a small change.
All the vulnerabilities related to the version 3.3.3 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.