@testing-library/react version 9.1.0 introduces subtle, yet impactful changes compared to its predecessor, version 9.0.2. Both versions uphold the library's core principle of providing simple and complete React DOM testing utilities, encouraging developers to write tests that resemble how users interact with their applications. Developers already familiar with the library will find the upgrade seamless.
While the core dependencies like @babel/runtime and @testing-library/dom remain unchanged, the key difference lies in the distribution metadata. Version 9.1.0 sees a slight increase in the fileCount within the distributed tarball, moving from 16 to 17 files. There's also a minor increase in unpackedSize, from 1687337 to 1687412. These changes suggests that a new file has been added or existing files have been modified or updated. Given the small increase in size it indicates that the changes have addressed possible bugs or corner cases. Furthermore, version 9.1.0 was released on 2019-08-10T17:38:43.706Z, one day after version 9.0.2 It suggesting a fast-follow release to patch bugs or to address potential issues identified in the previous version.
For developers, upgrading to 9.1.0 is recommended as it likely incorporates bug fixes and minor improvements. Since the peer dependencies for react and react-dom remain at "*", the upgrade should be compatible with a broad range of React versions, allowing developers to focus on testing their components effectively without worrying about breaking changes. The library adheres to the MIT license, ensuring flexibility in its usage.
The are not vulnerabilities for the version 9.1.0 of the package @testing-library/react