@storybook/addon-viewport version 8.4.3 is a minor release focusing on compatibility and stability within the Storybook ecosystem. If you're already using @storybook/addon-viewport, upgrading to version 8.4.3 is generally recommended for the best experience.
Compared to version 8.4.2, the primary change lies in the peer dependency on Storybook itself. Version 8.4.3 explicitly requires Storybook version 8.4.3, while the previous version 8.4.2 required Storybook version 8.4.2. This updated peer dependency ensures that the viewport addon is fully aligned with the latest Storybook core, potentially addressing any subtle incompatibilities or bugs present in the previous alignment. Both versions provide the same core functionality: enabling developers to build and test responsive components directly within Storybook by adjusting the viewport size and orientation. It utilizes memoizerific to optimize performance. This addon is built with React, ReactDOM, and Typescript, and leverages @storybook/icons and @storybook/global for its internal workings.
For developers, the key takeaway is that version 8.4.3 is a maintenance release. If encountering issues with viewport rendering or compatibility after upgrading other Storybook packages, this might resolve the problems. The core functionality of simulating different screen sizes and orientations remains the same, empowering developers to create robust and adaptable user interfaces.
The are not vulnerabilities for the version 8.4.3 of the package @storybook/addon-viewport