@storybook/addon-interactions, a vital tool for Storybook users seeking to automate, test, and debug user interactions within their components, has seen noteworthy changes between versions 7.5.3 and 7.6.0. The newer 7.6.0 boasts a more streamlined dependency structure, evidenced by a lower fileCount within its distribution package (13 files compared to 19 in 7.5.3), although the unpackedSize is significantly larger, hinting at potential internal restructuring or inclusion of more comprehensive assets.
Significantly, version 7.6.0 now lists react and react-dom as devDependencies, implying tighter control over the supported React versions within the addon's development environment. Whereas, previously, the version 7.5.3 considered them peerDependencies, giving endusers more freedom to install the react version they prefered. The omission of peer dependencies in 7.6.0 could signal a shift in how the addon interacts with React, potentially impacting compatibility or requiring closer adherence to the specified versions in the addon's setup. The inclusion of @storybook/theming, @storybook/components, @storybook/core-common, @storybook/core-events, @storybook/manager-api, @storybook/preview-api, @storybook/instrumenter, @storybook/client-logger as direct dependencies in 7.6.0, further suggests a tighter integration with the core Storybook ecosystem.
Developers upgrading from 7.5.3 should pay close attention to these dependency changes, ensuring their project's React version aligns with the addon's requirements. Also, they must test compatibility of Storybook's core packages. The update promises enhanced interaction debugging capabilities through its closer ties to other Storybook addons, so it is worthwhile if there are no breaking changes when upgrading.
The are not vulnerabilities for the version 7.6.0 of the package @storybook/addon-interactions