@storybook/addon-interactions version 8.2.2 is a minor release building upon the previous stable version, 8.2.1, focused on enhancing the automated testing and debugging of user interactions within Storybook. Both versions share the core functionality of enabling developers to create and run tests directly within their Storybook environments, ensuring UI components behave as expected. Key dependencies like polished for styling utilities, ts-dedent for handling template literals, and @storybook/global for global Storybook utilities remain consistent across both versions, maintaining a stable foundation.
The primary difference lies in the introduction or update of certain internal Storybook dependencies. Version 8.2.2 introduces a dependency on @storybook/test which is at v8.2.2, the previous version didn't include it, and also updates @storybook/instrumenter to version 8.2.2 from 8.2.1, potentially incorporating bug fixes or performance improvements within the instrumentation process. Peer dependency storybook has also been updated to version 8.2.2. The unpackedSize increased to 72709 from 72677 and the release date is also different.
For developers, upgrading to 8.2.2 offers a potentially more robust and reliable testing experience. Utilizing automated interaction tests leads to improved component quality, reduced regressions, and faster development cycles. These tools empowers to visually validate component states and interaction flows, ensuring a smoother user experience. If you are not using @storybook/test, the changes are likely minor.
The are not vulnerabilities for the version 8.2.2 of the package @storybook/addon-interactions