From eb9804539eb1ebd7453d9910bc38de035553f5db Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 14 Nov 2024 23:17:27 +0000 Subject: [PATCH] feat: upgrade fetch-mock from 11.1.5 to 12.0.0 Snyk has created this PR to upgrade fetch-mock from 11.1.5 to 12.0.0. See this package in npm: fetch-mock See this project in Snyk: https://app.snyk.io/org/contentstack-devex/project/ade506e8-b348-4d8d-a8ce-8dfcb6f9fc39?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 35 ++++++++++++++++++++++++----------- package.json | 2 +- 2 files changed, 25 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index dea971f0..4ad7e410 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@contentstack/utils": "^1.3.12", "cheerio": "^1.0.0", "es6-promise": "^4.2.8", - "fetch-mock": "^11.1.5", + "fetch-mock": "^12.0.0", "isomorphic-fetch": "^3.0.0", "localStorage": "1.0.4", "qs": "^6.13.0" @@ -5911,24 +5911,19 @@ } }, "node_modules/fetch-mock": { - "version": "11.1.5", - "resolved": "https://registry.npmjs.org/fetch-mock/-/fetch-mock-11.1.5.tgz", - "integrity": "sha512-KHmZDnZ1ry0pCTrX4YG5DtThHi0MH+GNI9caESnzX/nMJBrvppUHMvLx47M0WY9oAtKOMiPfZDRpxhlHg89BOA==", + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/fetch-mock/-/fetch-mock-12.0.0.tgz", + "integrity": "sha512-JSsjzoRN4rYqHa2/+8ushJGDsK9HGNTdBZo6Hrpu3KFN7Y03nRCt2VJ2WG4OUvyTUukOQ4TQIfjcFcEkMPGZ0Q==", "license": "MIT", "dependencies": { "@types/glob-to-regexp": "^0.4.4", "dequal": "^2.0.3", "glob-to-regexp": "^0.4.1", - "is-subset": "^0.1.1", + "is-subset-of": "^3.1.10", "regexparam": "^3.0.0" }, "engines": { - "node": ">=8.0.0" - }, - "peerDependenciesMeta": { - "node-fetch": { - "optional": true - } + "node": ">=18.11.0" } }, "node_modules/fetch-mock-jest": { @@ -7116,8 +7111,19 @@ "version": "0.1.1", "resolved": "https://registry.npmjs.org/is-subset/-/is-subset-0.1.1.tgz", "integrity": "sha512-6Ybun0IkarhmEqxXCNw/C0bna6Zb/TkfUX9UbwJtK6ObwAVCxmAP308WWTHviM/zAqXk05cdhYsUsZeGQh99iw==", + "dev": true, "license": "MIT" }, + "node_modules/is-subset-of": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/is-subset-of/-/is-subset-of-3.1.10.tgz", + "integrity": "sha512-avvaYgVmYWyaZ1NDFiv4y9JGkrE2je3op1Po4VYKKJKR8H2qVPsg1GZuuXl5elCTxTlwAIsrAjWAs4BVrISFRw==", + "deprecated": "Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.", + "license": "MIT", + "dependencies": { + "typedescriptor": "3.0.2" + } + }, "node_modules/is-symbol": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", @@ -13011,6 +13017,13 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/typedescriptor": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/typedescriptor/-/typedescriptor-3.0.2.tgz", + "integrity": "sha512-hyVbaCUd18UiXk656g/imaBLMogpdijIEpnhWYrSda9rhvO4gOU16n2nh7xG5lv/rjumnZzGOdz0CEGTmFe0fQ==", + "deprecated": "Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.", + "license": "MIT" + }, "node_modules/typescript": { "version": "4.9.5", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", diff --git a/package.json b/package.json index 9d4f108c..ab613d6a 100644 --- a/package.json +++ b/package.json @@ -102,7 +102,7 @@ "@contentstack/utils": "^1.3.12", "cheerio": "^1.0.0", "es6-promise": "^4.2.8", - "fetch-mock": "^11.1.5", + "fetch-mock": "^12.0.0", "isomorphic-fetch": "^3.0.0", "localStorage": "1.0.4", "qs": "^6.13.0"