@storybook/addon-links version 4.0.0 introduces several noteworthy changes and improvements compared to its predecessor, version 3.4.12. The primary shift lies in its enhanced integration with the Storybook ecosystem. Version 4.0.0 now directly depends on core Storybook packages such as @storybook/addons, @storybook/components, and @storybook/core-events, all at version 4.0.0. This tighter coupling ensures better compatibility and streamlined functionality within the Storybook environment.
Notably, babel-runtime is no longer a direct dependency in version 4.0.0, simplifying the dependency tree. The peer dependencies have also been adjusted; specifically, version 4.0.0 lists only "react" as a peer dependency, while version 3.4.12 required both "react" and "react-dom," along with "@storybook/addons." This potentially offers more flexibility in React version management for developers.
Furthermore, the removal of development dependencies like "enzyme" and "@storybook/react" suggests a shift in how the addon is tested and integrated during development. The file count and unpacked size have also increased in version 4.0.0, hinting at potential new features, refactored code, or expanded functionalities. In essence, upgrading to version 4.0.0 means a more thoroughly integrated experience with Storybook v4, which is a significant improvement for users already in or planning to upgrade to the Storybook v4 ecosystem.
The are not vulnerabilities for the version 4.0.0 of the package @storybook/addon-links