From a423e3017b6dce5ec95bbd107cd0ac49709c0b6b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 14 Aug 2026 08:42:46 +0000 Subject: [PATCH] Bump jest-fetch-mock from 3.0.3 to 4.2.0 Bumps [jest-fetch-mock](https://github.com/jefflau/jest-fetch-mock) from 3.0.3 to 4.2.0. - [Release notes](https://github.com/jefflau/jest-fetch-mock/releases) - [Changelog](https://github.com/jefflau/jest-fetch-mock/blob/master/CHANGELOG.md) - [Commits](https://github.com/jefflau/jest-fetch-mock/commits/v4.2.0) --- updated-dependencies: - dependency-name: jest-fetch-mock dependency-version: 4.2.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package-lock.json | 39 ++++++++++++++------------------------- package.json | 2 +- 2 files changed, 15 insertions(+), 26 deletions(-) diff --git a/package-lock.json b/package-lock.json index 28d587b..533ffe9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@cnaught/cnaught-node-sdk", - "version": "2.6.0", + "version": "3.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@cnaught/cnaught-node-sdk", - "version": "2.6.0", + "version": "3.1.0", "license": "MIT", "dependencies": { "http-problem-details-parser": "^0.0.2", @@ -24,7 +24,7 @@ "eslint-plugin-import": "^2.26.0", "genversion": "^3.1.1", "jest": "^29.7.0", - "jest-fetch-mock": "^3.0.3", + "jest-fetch-mock": "^4.2.0", "ts-jest": "^29.1.1", "ts-node": "^10.9.1", "typescript": "^5.2.2" @@ -3914,13 +3914,15 @@ } }, "node_modules/jest-fetch-mock": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/jest-fetch-mock/-/jest-fetch-mock-3.0.3.tgz", - "integrity": "sha512-Ux1nWprtLrdrH4XwE7O7InRY6psIi3GOsqNESJgMJ+M5cv4A8Lh7SN9d2V2kKRZ8ebAfcd1LNyZguAOb6JiDqw==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/jest-fetch-mock/-/jest-fetch-mock-4.2.0.tgz", + "integrity": "sha512-/Yya+k/bopdCSG+cEIL9Kxj1cr4j73DeOQiroicwrTkTEfyMsnQxrugjSopn8RnwginmX/Nlsp57BGy1I1mQSg==", "dev": true, "dependencies": { - "cross-fetch": "^3.0.4", - "promise-polyfill": "^8.1.3" + "cross-fetch": "^3.1.8" + }, + "engines": { + "node": ">=18" } }, "node_modules/jest-get-type": { @@ -4917,12 +4919,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/promise-polyfill": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/promise-polyfill/-/promise-polyfill-8.3.0.tgz", - "integrity": "sha512-H5oELycFml5yto/atYqmjyigJoAo3+OXwolYiH7OfQuYlAqhxNvTfiNMbV9hsC6Yp83yE5r2KTVmtrG6R9i6Pg==", - "dev": true - }, "node_modules/prompts": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", @@ -8910,13 +8906,12 @@ } }, "jest-fetch-mock": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/jest-fetch-mock/-/jest-fetch-mock-3.0.3.tgz", - "integrity": "sha512-Ux1nWprtLrdrH4XwE7O7InRY6psIi3GOsqNESJgMJ+M5cv4A8Lh7SN9d2V2kKRZ8ebAfcd1LNyZguAOb6JiDqw==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/jest-fetch-mock/-/jest-fetch-mock-4.2.0.tgz", + "integrity": "sha512-/Yya+k/bopdCSG+cEIL9Kxj1cr4j73DeOQiroicwrTkTEfyMsnQxrugjSopn8RnwginmX/Nlsp57BGy1I1mQSg==", "dev": true, "requires": { - "cross-fetch": "^3.0.4", - "promise-polyfill": "^8.1.3" + "cross-fetch": "^3.1.8" } }, "jest-get-type": { @@ -9673,12 +9668,6 @@ } } }, - "promise-polyfill": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/promise-polyfill/-/promise-polyfill-8.3.0.tgz", - "integrity": "sha512-H5oELycFml5yto/atYqmjyigJoAo3+OXwolYiH7OfQuYlAqhxNvTfiNMbV9hsC6Yp83yE5r2KTVmtrG6R9i6Pg==", - "dev": true - }, "prompts": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", diff --git a/package.json b/package.json index 4f55246..07ac1c8 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "eslint-plugin-import": "^2.26.0", "genversion": "^3.1.1", "jest": "^29.7.0", - "jest-fetch-mock": "^3.0.3", + "jest-fetch-mock": "^4.2.0", "ts-jest": "^29.1.1", "ts-node": "^10.9.1", "typescript": "^5.2.2"