@testing-library/react version 9.3.0 represents a minor update to the popular React testing utility, building upon version 9.2.0. Both versions share the same core philosophy: providing simple and complete tools for testing React DOM, encouraging good testing practices by focusing on testing behavior rather than implementation details. The core dependencies remain consistent between the two versions, leveraging @babel/runtime, @testing-library/dom, and @types/testing-library__react for runtime support, DOM manipulation, and TypeScript definitions respectively. Development dependencies also remain virtually identical, featuring tools like react, react-dom, rimraf, cross-env, kcd-scripts, npm-run-all, @reach/router, and @testing-library/jest-dom for development workflow, routing examples, and enhanced Jest matchers.
The key differences between the versions lie in the internal improvements and bug fixes. We can deduce there's likely refinement and enhancements by inspecting the package dist attribute unpackedSize, which increased from 3333034 to 3335715. While the surface-level API remains consistent, developers upgrading to 9.3.0 can expect potentially improved performance, greater stability, and resolution of nuanced edge cases that might have been present in 9.2.0. Furthermore, the release date of 9.3.0 is October 3, 2019, a week after 9.2.0 suggesting a hotfix or a quick iteration based on community feedback or internal findings after the 9.2.0 release. Upgrading is generally recommended to benefit from these incremental improvements, keeping a testing suite robust and future-proof.
The are not vulnerabilities for the version 9.3.0 of the package @testing-library/react