@testing-library/react version 11.0.3 is a minor update to the popular React testing utility library, building upon version 11.0.2. Both versions share the same core philosophy of providing simple and complete tools for testing React DOM, encouraging developers to write tests that resemble how users interact with their applications. They aim to promote good testing practices by focusing on accessibility and user behavior.
The dependency structure remains consistent between the two versions. Both rely on "@testing-library/dom" for DOM manipulation and assertion, along with "@babel/runtime" for handling Babel-related transformations. Development dependencies also mirror each other, including tools for linting (dtslint), TypeScript compilation, and running tests with Jest using "@testing-library/jest-dom" for enhanced DOM assertions. These similarities suggest API compatibility between the versions.
The most notable difference lies in the dist metadata. Version 11.0.3 has a slightly larger unpacked size (5201964 bytes) compared to 11.0.2 (5196469 bytes) and the release date is also different. The slight increase in size suggests potential bug fixes, performance improvements, or minor feature enhancements within the library. If upgrading it is recommended to check the changelog of the library for an exhaustive list of changes and bug fixes.
The are not vulnerabilities for the version 11.0.3 of the package @testing-library/react