@testing-library/react has a new minor release, version 15.0.6, following closely on the heels of 15.0.5. Both versions maintain the core philosophy of providing simple and complete React DOM testing utilities that encourage good testing practices. The underlying dependencies, such as @testing-library/dom, @types/react-dom, and @babel/runtime, remain consistent between the two versions, ensuring a stable base for your tests. Similarly, core development dependencies like jest-diff, typescript and kcd-scripts are consistent, showing no huge changes in the testing or build pipeline.
A key difference lies in the peer dependencies, with version 15.0.6 newly declaring a peer dependency on @types/react version ^18.0.0. The subtle change in react and @types/react versions in devDependencies might point to minor compatibility adjustments. The unpacked size has increased slightly making us think there have been minor changes or additions to the library's codebase. The release date shows that the team is actively maintaining the library.
For developers, the update to 15.0.6 likely brings minor improvements and bug fixes. Ensure your project aligns with the specified peer dependencies, particularly react, react-dom, and now @types/react at version ^18.0.0. This update encourages developers to maintain up-to-date type definitions for React. While the changes might be subtle, staying current ensures access to the latest enhancements and aligns your testing strategies with the most recent React ecosystem advancements.
The are not vulnerabilities for the version 15.0.6 of the package @testing-library/react