@testing-library/react version 14.0.0 introduces notable updates for React DOM testing, building upon the solid foundation of version 13.4.0. While both versions share the core goal of providing simple and effective testing utilities, the newer release showcases key dependency upgrades reflecting the evolution of the testing ecosystem.
A key difference lies in the updated dependency on @testing-library/dom, moving from version 8.5.0 in v13.4.0 to version 9.0.0 in v14.0.0. This upgrade likely incorporates improvements and new features within the underlying DOM testing library, potentially affecting how elements are queried and manipulated during tests. Developers should familiarize themselves with the changes in @testing-library/dom v9.0.0 to ensure compatibility and leverage any enhancements.
Furthermore, a new dev dependency jest-diff":"^29.4.1 has been added. This can lead to better error reporting in jest tests.
While the peer dependencies for React and React DOM remain consistent at ^18.0.0, ensuring compatibility with React 18 projects, the subtle dependency adjustments underscore the project's commitment to staying current with the broader JavaScript landscape. The increased unpacked size of v14.0.0 (5284874) compared to v13.4.0 (4016439) suggests potentially added features, refined code, or expanded test coverage. The upgrade from kcd-scripts 11.1.0 to 13.0.0 might introduce changes in the build or testing pipelines. Review the changelogs for @testing-library/dom and kcd-scripts for a complete understanding of the incorporated changes.
The are not vulnerabilities for the version 14.0.0 of the package @testing-library/react