@storybook/addon-viewport version 7.0.15 represents a minor update to the popular Storybook addon that allows developers to craft responsive components effortlessly. This addon provides a user-friendly interface within Storybook to adjust the viewport size and orientation, enabling a comprehensive view of how components behave across various devices and screen dimensions.
The key difference between version 7.0.15 and the previous version 7.0.14 lies primarily in the updated dependencies on other core Storybook packages. Specifically, version 7.0.15 upgrades dependencies such as @storybook/theming, @storybook/components, @storybook/core-events, @storybook/manager-api, and @storybook/preview-api to version 7.0.15, aligning it with the latest features and improvements in the Storybook ecosystem. While the core functionality of the addon remains consistent, these dependency updates likely incorporate bug fixes, performance enhancements, and potentially new APIs from the underlying Storybook modules.
For developers using or considering adopting @storybook/addon-viewport, this update signifies a commitment to staying current with the Storybook platform. By upgrading to version 7.0.15, developers benefit from a more stable and performant development experience, ensuring compatibility with the newest Storybook features and best practices. Moreover, the consistent peer dependencies on React and ReactDOM versions (React 16.8.0+ , 17.0.0+ and 18.0.0+) shows that the library continues to be very compatible with most of the React ecosystems. It's a recommended upgrade to leverage the latest fixes and enhancements within the Storybook environment.
The are not vulnerabilities for the version 7.0.15 of the package @storybook/addon-viewport