@testing-library/user-event has released version 13.4.2, a minor update following closely on the heels of version 13.4.1. Both versions aim to simulate real user interactions within your React testing environment, ensuring your components respond accurately to events like clicks, typing, and more. Developers leveraging this library can confidently test their applications with a focus on user-centric behavior.
Comparing the two versions, the core functionality remains consistent, with both employing similar dependencies including essential packages like @babel/runtime and peer dependency @testing-library/dom. The development dependencies also remain consistent @testing-library/react, @testing-library/jest-dom, and related tooling for testing and type checking are the same for both versions.
The primary differences lie in the internal packaging and size. Version 13.4.2 sees a slight increase in the fileCount within the distributed tarball (113 vs 111) and in the unpackedSize (162180 bytes vs 161138 bytes). This suggests minor internal adjustments, potentially bug fixes, performance enhancements, or documentation updates, rather than significant API changes. The release dates also highlight the proximity of these versions, with 13.4.2 released just a few days after 13.4.1. For developers already using 13.4.1, upgrading to 13.4.2 is likely a safe and recommended step to benefit from any improvements or fixes included.
The are not vulnerabilities for the version 13.4.2 of the package @testing-library/user-event