Jest Mock Process version 1.4.0 introduces notable updates compared to version 1.3.2, primarily targeting compatibility and developer experience within the Jest testing framework. The most significant change lies in the peer dependency for Jest. Version 1.4.0 broadens compatibility by declaring support for Jest versions ranging from 23.4 up to, but not including, version 27 (>=23.4 <27). This expands the range of Jest projects that can utilize the library without dependency conflicts, encompassing Jest 26.x. In contrast, version 1.3.2 limits compatibility to versions less than 26 (<26). This ensures wider adoption among projects using recent Jest versions.
Furthermore, the development dependencies reflect upgrades in testing and tooling. The new version brings updated versions of @types/jest, jest, and ts-jest to versions ^25.2.1, ^26.0.0, and ^25.4.0 respectively, ensuring alignment with modern Typescript testing ecosystems. The Typescript dependency moves from 3.0.1 to 3.8.3. These updates, while seemingly incremental, contribute to a more robust and reliable mocking experience, reduced risk of deprecation warnings, and better support for Typescript based projects looking to mock NodeJS process properties within Jest tests. The unpacked size of the package increased negligibly, suggesting a focus on dependency updates and bug fixes rather than significant feature additions.
The are not vulnerabilities for the version 1.4.0 of the package jest-mock-process