@storybook/addon-viewport is a valuable Storybook addon allowing developers to efficiently preview their components across various screen sizes, mimicking different mobile devices and viewport dimensions. This ensures responsive designs are thoroughly tested and visually appealing across a spectrum of devices. Version 3.4.8, released on June 21, 2018, builds upon the solid foundation of version 3.4.7, released just eleven days prior on June 10, 2018.
While both versions share the same core functionality, dependencies like global, prop-types, and babel-runtime, and identical unpacked size, the key difference lies within the @storybook/components dependency. Version 3.4.8 relies on @storybook/components version 3.4.8 whereas version 3.4.7 uses @storybook/components version 3.4.7. This suggests the newer release likely incorporates internal updates, bug fixes, or enhancements within the Storybook component library itself, potentially impacting the look and feel or behavior of the viewport addon's UI elements within the Storybook environment.
For developers using this addon, staying up-to-date with the latest version (3.4.8) is generally recommended to benefit from any improvements and ensure compatibility with other Storybook addons. The peer dependencies on react and @storybook/addons remain consistent, ensuring broad compatibility with existing Storybook projects. By leveraging this addon, developers can streamline their responsive design workflow, visualize component behavior at various resolutions, and ultimately deliver user interfaces that adapt seamlessly to diverse display environments, contributing to an enhanced user experience.
All the vulnerabilities related to the version 3.4.8 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.