@storybook/addon-links version 7.6.0 introduces notable changes compared to the previous stable version, 7.5.3, impacting developers building interactive storybooks. The primary shift involves dependency management. Version 7.6.0 removes prop-types and react-dom from its dependencies and peer dependencies, respectively, suggesting a potential move away from relying on prop-types for type checking and a reduced dependency footprint. Instead, it introduces @storybook/types as a dev dependency pointing directly to version 7.6.0, aligning the addon's types with the core Storybook release.
Furthermore, the package size has significantly increased in version 7.6.0. The unpacked size grows to 327120 bytes compared to 7.5.3's 23444 bytes, while the file count shrinks from 22 to 17. This difference in size may indicate internal refactoring, the inclusion of more assets, or changes in the build process. Developers should be mindful of this increased size if bundle size is a critical concern.
Both versions maintain the core functionality of linking stories together for building demos and prototypes and support React versions 16.8.0, 17.0.0, and 18.0.0. They also share common dependencies like ts-dedent and @storybook/global. The adoption of consistent versions of @storybook/* dependencies within the 7.6.0 release suggests tighter integration with the broader Storybook ecosystem, potentially leading to improved stability and compatibility. These changes collectively signal a refined and updated integration of the addon within the Storybook environment.
The are not vulnerabilities for the version 7.6.0 of the package @storybook/addon-links