@testing-library/react saw a minor version bump from 9.0.0 to 9.0.1 on August 9th, 2019, both releases sharing the same core philosophy of providing simple and complete React DOM testing utilities that promote good testing practices. Diving into the differences, both versions maintain identical dependency structures, including @babel/runtime and @testing-library/dom, and devDependencies such as React, React DOM, and associated type definitions, ensuring a consistent development experience. Peer dependencies for React and React DOM remain unversioned, allowing flexibility for users.
While seemingly subtle, the key distinctions lie in the dist object and release timing. Version 9.0.1 was released shortly after 9.0.0, indicating it's likely a patch release addressing minor bugs or optimizations identified immediately after the initial 9.0.0 publication. The fileCount in the distributed tarball decreased from 17 to 15, and unpackedSize slightly shrunk. This suggests potential file consolidation or removal of unnecessary artifacts in the newer version. For developers, upgrading to 9.0.1 is recommended due to the likelihood of stability improvements or bug fixes, offering a slightly leaner and more refined package. As both versions happened at the same day, it's crucial to use 9.0.1, as it should have bug fixes, since the team published a new version in less than 24h.
The are not vulnerabilities for the version 9.0.1 of the package @testing-library/react