@testing-library/react version 15.0.0 introduces updated dependencies, specifically bumping @testing-library/dom from version 9.0.0 to 10.0.0. This upgrade to the underlying DOM manipulation utilities signifies potential enhancements and bug fixes related to how the library interacts with the simulated DOM environment within tests. For developers, this likely translates to improved accuracy and reliability when simulating user interactions and asserting on the rendered output of React components. The core functionalities remain consistent, focusing on encouraging good testing practices by providing tools to interact with React components in a way that mimics user behavior.
While development dependencies and peer dependencies like React and React DOM remain unchanged between versions 14.3.1 and 15.0.0, the update to @testing-library/dom is the most notable difference. Developers should review the changelog for @testing-library/dom version 10.0.0 to understand the specific changes and potential impact on their existing tests. The focus of @testing-library/react continues to be providing a simple and complete set of utilities for testing React DOM, designed to promote accessibility and ensure tests accurately reflect user experience. The updated release was published on April 10, 2024, a day before the previous stable version's availability on npm.
The are not vulnerabilities for the version 15.0.0 of the package @testing-library/react