@storybook/addon-viewport is a valuable tool for frontend developers using Storybook to build responsive components. It allows you to simulate different screen sizes and orientations directly within your Storybook environment, facilitating the creation of adaptable user interfaces. Comparing versions 8.4.3 and 8.4.4, the core functionality remains consistent: developers can expect the same ability to adjust the viewport and ensure components render correctly across various devices. Both versions share identical dependencies, including memoizerific for optimized performance and peer dependencies like react, react-dom, and @storybook/global for compatibility. The dev dependencies also stay the same with typescript and @storybook/icons.
The most notable difference lies in the supported Storybook version. Version 8.4.3 necessitates Storybook 8.4.3 as a peer dependency while version 8.4.4 requires version 8.4.4. If you are upgrading to Storybook 8.4.4 from 8.4.3, you should also upgrade to the addon-viewport 8.4.4 to guarantee compatibility. Another difference is the release date: the new version was released on 2024-11-14 while the old one was released a day before.
Both versions are MIT licensed and benefit from Storybook's Open Collective funding, ensuring continued development and maintenance. Use @storybook/addon-viewport to test components during development without jumping to separate devices and emulators and deliver a consistent responsive experience.
The are not vulnerabilities for the version 8.4.4 of the package @storybook/addon-viewport