@storybook/addon-viewport is a valuable tool for Storybook users, enabling developers to build and test responsive components directly within the Storybook environment by adjusting the viewport size and orientation. Comparing versions 6.3.9 and 6.3.10 highlights subtle but important distinctions for users. Both versions share the same core functionality, allowing developers to simulate various screen sizes and device orientations to ensure their components render correctly across different devices. Notably, both rely on familiar dependencies like prop-types, memoizerific, and Storybook's core packages such as @storybook/api, @storybook/addons, and @storybook/theming.
The key difference lies in the updated versions of the internal Storybook dependencies. Version 6.3.10 upgrades these dependencies to their corresponding 6.3.10 releases, while version 6.3.9 relies on the 6.3.9 versions. This means version 6.3.10 benefits from any bug fixes, performance improvements, or new features introduced in those underlying Storybook packages between the two releases. While the changelog might not directly reflect user-facing changes specifically within the viewport addon itself, developers can expect a more stable and refined experience due to these dependency updates. Additionally, The unpacked size has increased slightly, from 63732 to 63739, which could indicate minor changes or additions. Developers aiming for the most up-to-date and reliable Storybook experience should opt for version 6.3.10.
The are not vulnerabilities for the version 6.3.10 of the package @storybook/addon-viewport