@storybook/addon-links version 6.1.0 introduces notable updates and refinements compared to its predecessor, 6.0.28, impacting developers integrating story links into their Storybook environment. One significant change lies in the ts-dedent dependency, which jumps from version 1.1.1 to version 2.0.0, potentially introducing breaking changes or new features related to template literal handling. Dependency versions within the Storybook ecosystem itself are synchronized, with @storybook/addons, @storybook/router, @storybook/core-events, and @storybook/client-logger all aligning with the 6.1.0 release, ensuring better compatibility and a more cohesive experience.
Peer dependencies also evolve, narrowing the acceptable react and react-dom versions to ^16.8.0 || ^17.0.0 in 6.1.0, contrasting with the broader "*" range in 6.0.28. This change mandates React 16.8 or React 17 and later could prevent unexpected issues related to React API updates. Package size metrics shift, with a slightly smaller unpacked size (36959 bytes vs 41210 bytes) and a higher file count (36 vs 32) in the newer version. This hints at potential code optimizations and restructuring. The removal of enzyme from devDependencies suggests a shift in the testing approach for this addon. For developers, upgrading to 6.1.0 promises enhanced internal consistency within Storybook and a more defined React dependency, though it necessitates verifying compatibility with ts-dedent v2.0.0 and the specific React versions.
The are not vulnerabilities for the version 6.1.0 of the package @storybook/addon-links