@testing-library/user-event sees a minor update between versions 14.0.3 and 14.0.4, both designed to simulate realistic user interactions in your React testing environment. Both versions share the core goal of helping developers write robust and user-centric tests by firing events in a way that closely mimics how a real user would interact with their application.
Key similarities exist: Both versions maintain the same peer dependency on @testing-library/dom (version >=7.21.4), ensuring compatibility with the core DOM testing utilities. They also leverage the same suite of development dependencies for testing, building, and linting, indicating a consistent development pipeline. This includes essential tools like React (versions 17 and 18), TypeScript, Jest, and testing libraries such as @testing-library/react and @testing-library/jest-dom.
The most noticeable difference is the unpackedSize within the dist object. Version 14.0.4 sees a very small increase in unpacked size to 246931 compared to version 14.0.3 with 246519. This small difference suggests minor internal changes or bug fixes rather than significant feature additions. The release date also pinpoints when this latest version, 14.0.4, became available, on April 1, 2022. Developers should consider upgrading for potential bug fixes and minor improvements, ensuring they are using the most stable iteration of the library. Both versions empower developers to create resilient and user-focused React components.
The are not vulnerabilities for the version 14.0.4 of the package @testing-library/user-event