@storybook/addon-viewport is a valuable tool for Storybook users, providing the ability to simulate different screen sizes and resolutions within the Storybook environment, crucial for responsive design testing and ensuring consistent UI across various devices. Version 3.3.1 is a minor release building upon the solid foundation of version 3.3.0. Primarily, the key difference resides in the dependency @storybook/components. While version 3.3.0 relies on @storybook/components@3.3.0, the newer version, 3.3.1, updates this dependency to @storybook/components@3.3.1. This update likely encompasses bug fixes, performance improvements, or minor feature enhancements within the Storybook component library itself, directly benefiting the viewport addon's stability and potential UI elements.
For developers using the addon, upgrading from 3.3.0 to 3.3.1 offers incremental improvements and ensures compatibility with the latest Storybook ecosystem. The addon utilizes peer dependencies like react and @storybook/addons, highlighting its integration within the broader Storybook framework. The use of prop-types ensures type safety, while the global dependency likely provides access to global scope functionalities within the Storybook environment. The MIT license grants developers ample freedom to use, modify, and distribute the package. Ultimately, this addon streamlines responsive design workflows and enhances the overall Storybook development experience.
All the vulnerabilities related to the version 3.3.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.