Version 3.3.8 of the @storybook/addon-viewport package offers a subtle but noteworthy upgrade over its predecessor, version 3.3.7. Both are designed to empower Storybook users to effortlessly tailor the viewport size within their stories, crucial for responsive design testing and ensuring components render flawlessly across various devices, especially mobile. The core functionality remains consistent: developers can easily switch between predefined viewport sizes or define custom dimensions to simulate diverse screen resolutions.
The primary difference lies in the updated dependency on @storybook/components. Version 3.3.8 relies on @storybook/components version 3.3.8, whereas version 3.3.7 depends on @storybook/components version 3.3.7. This update likely includes bug fixes, performance improvements, or minor UI enhancements within the Storybook component library itself, indirectly benefiting the viewport addon's user experience.
For developers considering integrating this addon, both versions offer a seamless experience for responsive design validation within Storybook. Users benefit from straightforward configuration and ease of use, making it simple to test component appearance and behavior on different screen sizes. The peer dependencies declare compatibility with React and @storybook/addons version 3.3.0 or higher, ensuring broad compatibility with existing Storybook setups. Choosing version 3.3.8 provides the advantage of any incremental improvements and bug fixes included in the updated @storybook/components package, potentially leading to a smoother and more reliable development experience.
All the vulnerabilities related to the version 3.3.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.