@storybook/addon-actions provides UI feedback when actions are performed on interactive elements within your Storybook stories. Versions 7.4.6 and 7.4.5 share the same core functionality, offering developers a way to visualize and inspect event triggers directly in the Storybook UI. This helps confirm that your components are behaving as expected, making debugging and testing interactive elements significantly easier. Both versions include crucial dependencies like uuid for unique ID generation, dequal for deep equality checks, lodash for utility functions, and polished for styling. They rely on React Inspector for displaying complex data structures and telejson for serializing data. Crucially, developers should ensure they have compatible versions of React and React DOM (16.8.0 or higher, 17.0.0 or higher, or 18.0.0 or higher).
The primary difference between the two versions lies in the internal Storybook package dependencies. Version 7.4.6 is updated to use Storybook core packages with the "7.4.6" version number, such as @storybook/types, @storybook/theming, @storybook/components, @storybook/core-events, @storybook/manager-api, @storybook/preview-api, and @storybook/client-logger. Version 7.4.5 uses "7.4.5" for those packages. This ensures compatibility and access to the latest features and bug fixes within the Storybook ecosystem. Upgrading to 7.4.6 offers developers a more aligned experience with the core Storybook framework and benefit from any improvements made to the underlying Storybook platform. It's a recommended upgrade if you're already using Storybook 7.4.x to ensure consistency.
The are not vulnerabilities for the version 7.4.6 of the package @storybook/addon-actions