From 21976d7bdbe9a7ba18c834f827a2f43eaf4403c8 Mon Sep 17 00:00:00 2001 From: RenovateBot Date: Mon, 1 May 2023 12:47:56 +0100 Subject: [PATCH] Update dependency jest-mock-extended to v3 (#109) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [jest-mock-extended](https://github.com/marchaos/jest-mock-extended) | devDependencies | major | [`^2.0.4` -> `^3.0.0`](https://renovatebot.com/diffs/npm/jest-mock-extended/2.0.4/3.0.4) | --- ### Release Notes
marchaos/jest-mock-extended ### [`v3.0.4`](https://github.com/marchaos/jest-mock-extended/releases/tag/3.0.4) [Compare Source](https://github.com/marchaos/jest-mock-extended/compare/3.0.3...3.0.4) - Updated jest dependencies - Updated typescript peerDependencies to allow for typescript 5.\* ### [`v3.0.3`](https://github.com/marchaos/jest-mock-extended/compare/3.0.2...3.0.3) [Compare Source](https://github.com/marchaos/jest-mock-extended/compare/3.0.2...3.0.3) ### [`v3.0.2`](https://github.com/marchaos/jest-mock-extended/releases/tag/3.0.2) [Compare Source](https://github.com/marchaos/jest-mock-extended/compare/3.0.1...3.0.2) Added https://github.com/marchaos/jest-mock-extended/pull/110 ### [`v3.0.1`](https://github.com/marchaos/jest-mock-extended/releases/tag/3.0.1) [Compare Source](https://github.com/marchaos/jest-mock-extended/compare/3.0.0...3.0.1) Allow overriding calledWithFn - see https://github.com/marchaos/jest-mock-extended/pull/96 ### [`v3.0.0`](https://github.com/marchaos/jest-mock-extended/releases/tag/3.0.0) [Compare Source](https://github.com/marchaos/jest-mock-extended/compare/3602a65e38b6b458ad51f1629841e0b0e38127e9...3.0.0) - Fixed performance issue for https://github.com/marchaos/jest-mock-extended/issues/97. This required a small API change, hence the major version bump. Deep mocking functions with properties is still possible using ```typescript mockDeep({ funcPropSupport: true }); ``` however this comes with a recursive performance cost. We hope to address this in the future. ### [`v2.0.9`](https://github.com/marchaos/jest-mock-extended/compare/c6fdf334e9cb396e9ff9e2fdfaa79a5514eafcf6...3602a65e38b6b458ad51f1629841e0b0e38127e9) [Compare Source](https://github.com/marchaos/jest-mock-extended/compare/c6fdf334e9cb396e9ff9e2fdfaa79a5514eafcf6...3602a65e38b6b458ad51f1629841e0b0e38127e9) ### [`v2.0.8`](https://github.com/marchaos/jest-mock-extended/compare/2.0.7...c6fdf334e9cb396e9ff9e2fdfaa79a5514eafcf6) [Compare Source](https://github.com/marchaos/jest-mock-extended/compare/2.0.7...c6fdf334e9cb396e9ff9e2fdfaa79a5514eafcf6) ### [`v2.0.7`](https://github.com/marchaos/jest-mock-extended/releases/tag/2.0.7) [Compare Source](https://github.com/marchaos/jest-mock-extended/compare/2.0.6...2.0.7) ### Fixes - Fix DeepMockProxy type error for objects which are functions and have fields at the same time - https://github.com/marchaos/jest-mock-extended/pull/95 ### [`v2.0.6`](https://github.com/marchaos/jest-mock-extended/releases/tag/2.0.6) [Compare Source](https://github.com/marchaos/jest-mock-extended/compare/2.0.5...2.0.6) Support for Jest 28 ### [`v2.0.5`](https://github.com/marchaos/jest-mock-extended/releases/tag/2.0.5) [Compare Source](https://github.com/marchaos/jest-mock-extended/compare/2.0.4...2.0.5) Fixes: - Explicitly Show DeepMockProxy In Readme Example - https://github.com/marchaos/jest-mock-extended/pull/86 - Fix ESM support by avoiding export default as syntax - https://github.com/marchaos/jest-mock-extended/pull/83 - Fix TypeError thrown in mockReset/mockClear - https://github.com/marchaos/jest-mock-extended/pull/81
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). Co-authored-by: Renovate Bot Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/Droplet/pulls/109 Reviewed-by: Vylpes Co-authored-by: RenovateBot Co-committed-by: RenovateBot --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 9fc21d8b..b2c83dff 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "@typescript-eslint/parser": "^4.23.0", "eslint": "^7.26.0", "jest": "^26.6.3", - "jest-mock-extended": "^2.0.4", + "jest-mock-extended": "^3.0.0", "ts-jest": "^26.5.6", "ts-mockito": "^2.6.1" } diff --git a/yarn.lock b/yarn.lock index da7a660f..37f25492 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3146,10 +3146,10 @@ jest-message-util@^26.6.2: slash "^3.0.0" stack-utils "^2.0.2" -jest-mock-extended@^2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/jest-mock-extended/-/jest-mock-extended-2.0.4.tgz#2bb430ba0adb9e10ea6a68d08731f2129330c8fe" - integrity sha512-MgL3B3GjURQFjjPGqbCANydA5BFNPygv0mYp4Tjfxohh9MWwxxX8Eq2p6ncCt/Vt+RAnaLlDaI7gwrDRD7Pt9A== +jest-mock-extended@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/jest-mock-extended/-/jest-mock-extended-3.0.1.tgz#5f109d5e1da62851ffc9126a01e83cd6470b810b" + integrity sha512-RF4Ow8pXvbRuEcCTj56oYHmig5311BSFvbEGxPNYL51wGKGu93MvVQgx0UpFmjqyBXIcElkZo2Rke88kR1iSKQ== dependencies: ts-essentials "^7.0.3"