From be6f0280ab98aaae14bd98fe3d04a4aab772674b Mon Sep 17 00:00:00 2001 From: Paula Stachova Date: Thu, 29 Feb 2024 15:35:10 +0100 Subject: [PATCH] fix: downgrade node-fetch in build --- package-lock.json | 21 +++++++++++---------- packages/build/package.json | 3 ++- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index 949f17e8fc..9215f0c6c8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23062,9 +23062,9 @@ } }, "node_modules/node-fetch": { - "version": "2.6.12", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.12.tgz", - "integrity": "sha512-C/fGU2E8ToujUivIO0H+tpQ6HWo4eEmchoPIoXtxCrVghxdKq+QOHqEZW7tuP3KlV3bC8FRMO5nMCC7Zm1VP6g==", + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", + "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", "dependencies": { "whatwg-url": "^5.0.0" }, @@ -30838,7 +30838,7 @@ "download": "^8.0.0", "es-aggregate-error": "^1.0.9", "nock": "^13.0.11", - "node-fetch": "^3.3.2", + "node-fetch": "^2.6.1", "pkg-up": "^3.1.0", "rimraf": "^3.0.2", "semver": "^7.5.3", @@ -30855,6 +30855,7 @@ "@types/cross-spawn": "^6.0.2", "@types/download": "^8.0.1", "@types/es-aggregate-error": "^1.0.2", + "@types/node-fetch": "^2.6.4", "@types/rimraf": "^3.0.0", "@types/tar": "^4.0.4", "@types/tar-fs": "^2.0.0", @@ -37775,6 +37776,7 @@ "@types/cross-spawn": "^6.0.2", "@types/download": "^8.0.1", "@types/es-aggregate-error": "^1.0.2", + "@types/node-fetch": "^2.6.4", "@types/rimraf": "^3.0.0", "@types/tar": "^4.0.4", "@types/tar-fs": "^2.0.0", @@ -37788,7 +37790,7 @@ "es-aggregate-error": "^1.0.9", "eslint": "^7.25.0", "nock": "^13.0.11", - "node-fetch": "^3.3.2", + "node-fetch": "^2.6.1", "pkg-up": "^3.1.0", "prettier": "^2.8.8", "rimraf": "^3.0.2", @@ -37806,8 +37808,7 @@ "integrity": "sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==" }, "node-fetch": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.3.2.tgz", + "version": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.3.2.tgz", "integrity": "sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==", "requires": { "data-uri-to-buffer": "^4.0.0", @@ -50346,9 +50347,9 @@ "integrity": "sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==" }, "node-fetch": { - "version": "2.6.12", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.12.tgz", - "integrity": "sha512-C/fGU2E8ToujUivIO0H+tpQ6HWo4eEmchoPIoXtxCrVghxdKq+QOHqEZW7tuP3KlV3bC8FRMO5nMCC7Zm1VP6g==", + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", + "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", "requires": { "whatwg-url": "^5.0.0" }, diff --git a/packages/build/package.json b/packages/build/package.json index 400953f84e..81b175cf96 100644 --- a/packages/build/package.json +++ b/packages/build/package.json @@ -47,6 +47,7 @@ "@types/cross-spawn": "^6.0.2", "@types/download": "^8.0.1", "@types/es-aggregate-error": "^1.0.2", + "@types/node-fetch": "^2.6.4", "@types/rimraf": "^3.0.0", "@types/tar": "^4.0.4", "@types/tar-fs": "^2.0.0", @@ -69,7 +70,7 @@ "download": "^8.0.0", "es-aggregate-error": "^1.0.9", "nock": "^13.0.11", - "node-fetch": "^3.3.2", + "node-fetch": "^2.6.1", "pkg-up": "^3.1.0", "rimraf": "^3.0.2", "semver": "^7.5.3",