Version 4.0.0 of @storybook/addons represents a significant update from version 3.4.12, crucial for developers leveraging Storybook's addon ecosystem. The most striking change is the expanded dependency list in version 4.0.0, now including global, util-deprecate, @storybook/channels, and @storybook/components. This indicates a deeper integration with Storybook's core functionalities and a move towards a more modular architecture. The inclusion of @storybook/channels likely signifies improved communication between addons and the Storybook UI, while @storybook/components suggests a standardization of UI elements within addons, potentially leading to a more consistent user experience.
Furthermore, the vastly increased unpackedSize (23317 bytes vs. 6720 bytes) and fileCount (11 vs. 5) in version 4.0.0 demonstrate a substantial addition of code and features. While specific details of these changes aren't provided, this could encompass new APIs, improved addon registration processes, or enhanced event handling capabilities. Although version 3.4.12 was released later, version 4.0.0 embodies a more fundamental shift. For developers, migrating to version 4.0.0 might unlock enhanced addon development possibilities and better integration within the Storybook environment. Developers should review the changelog and migration guides to understand the specific API changes and best practices for upgrading their addons.
The are not vulnerabilities for the version 4.0.0 of the package @storybook/addons