@storybook/addon-links facilitates navigation between stories within a Storybook environment, enhancing the developer experience when building and showcasing UI components. Comparing versions 4.0.1 and 4.0.2, the core functionality remains consistent, with both versions serving the primary purpose of enabling story-to-story linking. Key dependencies like global, prop-types, @storybook/addons, @storybook/components, and @storybook/core-events are present in both, indicating a shared foundation. The peer dependency on react signifies that this addon is designed to integrate seamlessly with React-based Storybook setups.
The differences, while subtle, are important for version control and dependency resolution. Notice that the dependencies @storybook/addons, @storybook/components and @storybook/core-events point to version 4.0.1 in the first case and 4.0.2 to the second one. Essentially, version 4.0.2 likely incorporates updates in the internal Storybook modules that it depends on. The releaseDate field shows that version 4.0.2 was published approximately an hour and a half after version 4.0.1, suggesting a quick patch or update. Developers should consider upgrading to version 4.0.2 for the most up-to-date compatibility with other Storybook packages and possible bug fixes incorporated within the Storybook ecosystem. Both packages are distributed under the MIT license and the size and number of files are the same.
The are not vulnerabilities for the version 4.0.2 of the package @storybook/addon-links