From 8f2d80a7fb4f4aed3f129093ed5cd9dd5d39eb2b Mon Sep 17 00:00:00 2001 From: Lars Strojny Date: Fri, 18 Nov 2022 13:23:37 +0100 Subject: [PATCH] Unpin and upgrade jest-mock (#32) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previously failed because of a type error deep in node_modules, let’s try again. --- package-lock.json | 30 +++++++++++++++--------------- package.json | 3 --- 2 files changed, 15 insertions(+), 18 deletions(-) diff --git a/package-lock.json b/package-lock.json index c082660..d1c27cb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6936,14 +6936,14 @@ } }, "node_modules/jest-mock": { - "version": "29.2.2", - "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-29.2.2.tgz", - "integrity": "sha512-1leySQxNAnivvbcx0sCB37itu8f4OX2S/+gxLAV4Z62shT4r4dTG9tACDywUAEZoLSr36aYUTsVp3WKwWt4PMQ==", + "version": "29.3.1", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-29.3.1.tgz", + "integrity": "sha512-H8/qFDtDVMFvFP4X8NuOT3XRDzOUTz+FeACjufHzsOIBAxivLqkB1PoLCaJx9iPPQ8dZThHPp/G3WRWyMgA3JA==", "dev": true, "dependencies": { - "@jest/types": "^29.2.1", + "@jest/types": "^29.3.1", "@types/node": "*", - "jest-util": "^29.2.1" + "jest-util": "^29.3.1" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" @@ -11759,7 +11759,7 @@ "@jest/fake-timers": "^29.3.1", "@jest/types": "^29.3.1", "@types/node": "*", - "jest-mock": "29.2" + "jest-mock": "^29.3.1" } }, "@jest/expect": { @@ -11791,7 +11791,7 @@ "@sinonjs/fake-timers": "^9.1.2", "@types/node": "*", "jest-message-util": "^29.3.1", - "jest-mock": "29.2", + "jest-mock": "^29.3.1", "jest-util": "^29.3.1" } }, @@ -11804,7 +11804,7 @@ "@jest/environment": "^29.3.1", "@jest/expect": "^29.3.1", "@jest/types": "^29.3.1", - "jest-mock": "29.2" + "jest-mock": "^29.3.1" } }, "@jest/reporters": { @@ -16037,7 +16037,7 @@ "@jest/fake-timers": "^29.3.1", "@jest/types": "^29.3.1", "@types/node": "*", - "jest-mock": "29.2", + "jest-mock": "^29.3.1", "jest-util": "^29.3.1" } }, @@ -16107,14 +16107,14 @@ } }, "jest-mock": { - "version": "29.2.2", - "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-29.2.2.tgz", - "integrity": "sha512-1leySQxNAnivvbcx0sCB37itu8f4OX2S/+gxLAV4Z62shT4r4dTG9tACDywUAEZoLSr36aYUTsVp3WKwWt4PMQ==", + "version": "29.3.1", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-29.3.1.tgz", + "integrity": "sha512-H8/qFDtDVMFvFP4X8NuOT3XRDzOUTz+FeACjufHzsOIBAxivLqkB1PoLCaJx9iPPQ8dZThHPp/G3WRWyMgA3JA==", "dev": true, "requires": { - "@jest/types": "^29.2.1", + "@jest/types": "^29.3.1", "@types/node": "*", - "jest-util": "^29.2.1" + "jest-util": "^29.3.1" } }, "jest-pnp-resolver": { @@ -16219,7 +16219,7 @@ "graceful-fs": "^4.2.9", "jest-haste-map": "^29.3.1", "jest-message-util": "^29.3.1", - "jest-mock": "29.2", + "jest-mock": "^29.3.1", "jest-regex-util": "^29.2.0", "jest-resolve": "^29.3.1", "jest-snapshot": "^29.3.1", diff --git a/package.json b/package.json index 6e8899e..fda67c5 100644 --- a/package.json +++ b/package.json @@ -63,8 +63,5 @@ "fastify": "^4.9.2", "hap-node-client": "^0.1.25", "zod": "^3.19.1" - }, - "overrides": { - "jest-mock": "29.2" } }