Skip to content

Commit

Permalink
Fix: Reverting node-fetch to v2
Browse files Browse the repository at this point in the history
Reverts node-fetch to v2 as v3 requires ESM.
-----
Close #5618
  • Loading branch information
vidorteg committed Jun 27, 2023
1 parent fe6fead commit ee526de
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"private": true,
"resolutions": {
"json-schema": "^0.4.0",
"node-fetch": "^2.6.7",
"node-fetch": "^2.x",
"thenify": "^3.3.1",
"tsconfig-paths": "^4.1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/connector-puppeteer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"puppeteer-core": "^13.0.1"
},
"resolutions": {
"node-fetch": "^2.6.7"
"node-fetch": "^2.x"
},
"description": "hint connector for browsers supported by Puppeteer",
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/utils-connector-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"data-urls": "^3.0.2",
"iconv-lite": "^0.6.3",
"https": "^1.0.0",
"node-fetch": "^3.3.1"
"node-fetch": "^2.x"
},
"description": "hint tools for connectors",
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/utils-network/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"content-type": "^1.0.5",
"lodash": "^4.17.21",
"https": "^1.0.0",
"node-fetch": "^3.3.1"
"node-fetch": "^2.x"
},
"description": "utils for network",
"devDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8016,10 +8016,10 @@ node-addon-api@^4.3.0:
resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-4.3.0.tgz#52a1a0b475193e0928e98e0426a0d1254782b77f"
integrity sha512-73sE9+3UaLYYFmDsFZnqCInzPyh3MqIwZO9cw58yIqAZhONrrabrYyYe3TuIqtIiOuTXVhsGau8hcrhhwSsDIQ==

node-fetch@2.6.1, node-fetch@2.6.5, node-fetch@3.3.0, node-fetch@^2.6.1, node-fetch@^2.6.7, node-fetch@^3.3.1:
version "2.6.7"
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad"
integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==
node-fetch@2.6.1, node-fetch@2.6.5, node-fetch@3.3.0, node-fetch@^2.6.1, node-fetch@^2.6.7, node-fetch@^2.x:
version "2.6.11"
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.11.tgz#cde7fc71deef3131ef80a738919f999e6edfff25"
integrity sha512-4I6pdBY1EthSqDmJkiNk3JIT8cswwR9nfeW/cPdUagJYEQG7R95WRH74wpz7ma8Gh/9dI9FP+OU+0E4FvtA55w==
dependencies:
whatwg-url "^5.0.0"

Expand Down

0 comments on commit ee526de

Please sign in to comment.