@storybook/addon-viewport is a valuable Storybook addon designed to empower developers with the ability to dynamically adjust the viewport size, simulating various mobile devices and screen resolutions directly within the Storybook environment. This allows for efficient and accurate testing and visualization of UI components across different viewport dimensions, ensuring a responsive and consistent user experience.
Comparing versions 3.3.13 and 3.3.14, the core functionality remains consistent, focused on providing a seamless viewport manipulation experience. Both versions share the same dependencies, including "global" and "prop-types," as well as the peer dependencies on "react" and "@storybook/addons," indicating a stable base for the addon's functionality. The @storybook/components dependency is updated to 3.3.14 in the newer version, suggesting that the newer version is likely to incorporate bugfixes and upgrades to components to improve overall stability and UI rendering.
The primary difference lies in the updated "@storybook/components" dependency, and a slight increase in the "unpackedSize" of the newer version reflecting potential code optimizations or added features within the dependent component library. Developers already using @storybook/addon-viewport can upgrade to version 3.3.14 to take advantage of these component level improvements. Developers who are new to the addon can benefit from a robust tool to fine-tune the responsiveness of their components, ensuring pixel-perfect adaptation to diverse mobile screen sizes and enhancing the overall quality of their UI development workflow.
All the vulnerabilities related to the version 3.3.14 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.