@testing-library/react has released version 14.2.0, a minor update from version 14.1.2 focusing on improvements and refinements rather than groundbreaking new features. Both versions maintain the library's core principle: providing simple and effective React DOM testing utilities that promote good testing practices. Key dependencies like @testing-library/dom remain consistent at version 9.0.0, ensuring a stable and familiar testing environment.
Developers will notice that the key difference between the two versions is the increase in fileCount and unpackedSize of the package distribution. The new version has a fileCount of 26 and an unpackedSize of 5403808 compared to the previous version's fileCount of 25 and unpackedSize of 5387644. The increase in size is most likely due to added features, bug fixes, or internal library improvements, such as improved error messages or updated documentation.
Peer dependencies on react and react-dom remain at "^18.0.0", reassuring developers that both versions are compatible with React 18. Given the minor version bump, upgrading from 14.1.2 to 14.2.0 should be relatively seamless. It's advisable to check the release notes and changelog for detailed information on the specific changes, bug fixes, and any potential minor breaking changes. This process can help developers make sure the migration is smooth and efficient.
The are not vulnerabilities for the version 14.2.0 of the package @testing-library/react