@storybook/react version 9.1.0 introduces subtle but important updates compared to the previous stable release, 9.0.18. Both versions are designed to render React components within the Storybook environment, offering tools for UI development, testing, and documentation. Core functionality remains consistent, maintaining the capabilities familiar to developers.
Key differences lie in the dependency updates. The newer version updates its dependency on @storybook/react-dom-shim to 9.1.0, ensuring compatibility and potential improvements within the shim. Contrast this with version 9.0.18 which uses @storybook/react-dom-shim version 9.0.18. Furthermore, the react-element-to-jsx-string dependency has been updated from version ^15.0.0 to npm:@7rulnik/react-element-to-jsx-string@15.0.1 to solve compatibility with newer package managers.
Peer dependencies remain the same, supporting React versions 16.8.0 up to the 19.0.0 beta, along with compatible versions of react-dom, storybook, and typescript. Developers upgrading should ensure these peer dependencies remain within the specified ranges to avoid potential conflicts. The updated release includes bug fixes, performance improvements, and minor feature enhancements that collectively contribute to a more stable and efficient development experience. Therefore, upgrading is recommended for users seeking the most recent refinements and long-term support. While the unpacked size has marginally increased, the core value proposition of streamlined React component development within Storybook remains central to both versions.
The are not vulnerabilities for the version 9.1.0 of the package @storybook/react