@testing-library/react version 9.5.0 introduces several updates over its predecessor, version 9.4.1, impacting both development and runtime dependencies. Core dependency @testing-library/dom sees an upgrade from version 6.11.0 to 6.15.0, bringing in potential improvements and bug fixes within the core DOM testing utilities that @testing-library/react relies on. Babel runtime also gets updated from ^7.8.3 to ^7.8.4. Developers leveraging modern JavaScript features benefit from these dependency updates, ensuring compatibility and potentially improved performance in their tests.
Significant changes appear in the devDependencies. cross-env, essential for setting environment variables across different platforms, is bumped from ^6.0.3 to ^7.0.1. The kcd-scripts version jumps from ^4.0.0 to ^5.4.0, indicating substantial updates in the tooling and scripts used for building and maintaining the library itself. There are also minor version bumps for @testing-library/jest-dom and @reach/router. A notable change is the unpacked size of the distribution, increasing from 3,405,666 bytes to 4,545,424 bytes, suggesting added features, larger assets, or more comprehensive test suites bundled with the newer version. The later release date, 2020-03-04, also means the newer version includes any fixes and improvements implemented in the period between the releases. These updates collectively aim to provide a more robust and feature-rich testing environment for React applications, encouraging better testing practices.
The are not vulnerabilities for the version 9.5.0 of the package @testing-library/react