@storybook/addon-links versions 7.0.5 and 7.0.4 offer developers a straightforward way to connect Storybook stories, facilitating seamless navigation and the creation of interactive demos and prototypes. This addon is crucial for showcasing UI component interactions and building comprehensive user flows within the Storybook environment. Choosing either version provides the fundamental linking functionality, but a closer look reveals subtle differences that may influence a developer's decision.
The primary distinction lies within the dependency versions. Version 7.0.5 updates several core Storybook dependencies to their respective 7.0.5 counterparts, including @storybook/types, @storybook/router, @storybook/core-events, @storybook/manager-api, @storybook/preview-api, and @storybook/client-logger. Version 7.0.4 relies on the 7.0.4 versions of these packages. These updates likely include bug fixes, performance improvements, and potential new features within those core modules. Therefore, if you're using other Storybook packages at version 7.0.5, it's highly recommended to update @storybook/addon-links to 7.0.5 to ensure compatibility.
Both versions maintain the same peer dependencies, requiring react and react-dom in versions 16.8.0 or later. The package size and file count remain identical, indicating the core functionality hasn't changed. Ultimately, the choice hinges on maintaining consistency with the rest of your Storybook ecosystem. If you're already on the latest Storybook release, upgrading to 7.0.5 for @storybook/addon-links is the recommended path.
The are not vulnerabilities for the version 7.0.5 of the package @storybook/addon-links