React Testing Library, a popular tool for testing React components, saw a minor version bump from 6.0.3 to 6.0.4. Both versions share the same core description: providing simple and complete React DOM testing utilities that encourage good testing practices. Delving into the details, the core dependencies remain consistent, with both versions relying on @babel/runtime version ^7.4.2 and dom-testing-library version ^3.18.2. Similarly, the development dependencies, encompassing a range of tools from @reach/router to redux, are identical. This suggests that the core functionality and the developer experience in terms of tooling haven't radically changed.
A subtle difference lies in the dist object. While both have a fileCount of 28, the unpackedSize sees a small increase from 936519 bytes in version 6.0.3 to 937661 bytes in version 6.0.4. This increase of just over 1KB likely indicates minor enhancements, bug fixes, or internal adjustments. Crucially, the releaseDate reveals that version 6.0.4 was published on April 1, 2019, a few days after version 6.0.3's release on March 26, 2019. Developers should likely upgrade to 6.0.4, as the slightly larger package size combined with the more recent date indicates that it contains the latest improvements. While not groundbreaking, these incremental updates contribute to a more refined and robust testing experience. For those already familiar with React Testing Library, this is a standard minor version upgrade. For new users it represents a great starting point.
The are not vulnerabilities for the version 6.0.4 of the package react-testing-library