@storybook/addon-viewport, a crucial tool for responsive component development within Storybook, has released version 8.6.11, building upon its predecessor, 8.6.10. Both versions maintain identical functionality, enabling developers to effortlessly adjust Storybook's viewport size and orientation to ensure components render correctly across various devices. The core dependencies, including memoizerific, along with essential devDependencies like React, ReactDOM, TypeScript, @storybook/icons, and @storybook/global remain consistent, ensuring a smooth upgrade process.
The primary difference between the two versions lies in their peer dependency on Storybook itself. Version 8.6.11 mandates Storybook version 8.6.11, whereas 8.6.10 requires Storybook version 8.6.10. This seemingly small change is essential for compatibility, ensuring the viewport addon functions correctly with the corresponding Storybook core. Developers should upgrade both packages together to avoid potential conflicts or unexpected behavior.
For developers using the library, this addon continue to provides the same features as before, allowing comprehensive testing of UI components under different screen sizes without leaving your Storybook environment. Both versions are distributed under the MIT license and leverage the same repository structure. The release dates differ, as expected, with version 8.6.11 released after version 8.6.10. Always align the viewport addon version with your Storybook version to guarantee optimal use and prevent unexpected errors.
The are not vulnerabilities for the version 8.6.11 of the package @storybook/addon-viewport