React Test Renderer, a vital package for snapshot testing React components, sees an update from version 18.2.0 to 18.3.0. Both versions maintain the core functionality of facilitating component testing without a browser environment, enabling developers to easily generate serializable values for React trees and compare them against snapshots. A key difference lies in the updated dependencies; version 18.3.0 depends on react-is version ^18.3.0 and scheduler version ^0.23.1, while version 18.2.0 uses react-is version ^18.2.0 and scheduler version ^0.23.0. This indicates internal updates and potential bug fixes or performance improvements within these underlying libraries. Furthermore, the peer dependency for react is also updated to ^18.3.0 in the newer version, signifying that this version is specifically designed and tested for compatibility with React 18.3.0.
The unpackedSize has increased slightly in version 18.3.0, suggesting minor additions or modifications to the codebase. Developers upgrading should ensure their React project is also updated to version 18.3.0 to maintain compatibility and leverage potential benefits from the dependency updates. The newer version was released on April 25, 2024, a significant time jump from the June 14, 2022 release date of version 18.2.0, so developers can expect that it aggregates improvements or bug fixes done on react-is and scheduler in the meanwhile.
The are not vulnerabilities for the version 18.3.0 of the package react-test-renderer