Skip to content

Commit

Permalink
fix: patch node-fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
zkochan committed Apr 19, 2023
1 parent 87bad63 commit 8228c2c
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 16 deletions.
7 changes: 7 additions & 0 deletions .changeset/angry-frogs-deny.md
@@ -0,0 +1,7 @@
---
"@pnpm/node.fetcher": patch
"@pnpm/fetch": patch
"pnpm": patch
---

Patch node-fetch to fix an error that happens on Node.js 20 [#6424](https://github.com/pnpm/pnpm/issues/6424).
2 changes: 1 addition & 1 deletion env/node.fetcher/package.json
Expand Up @@ -51,6 +51,6 @@
"@pnpm/node.fetcher": "workspace:*",
"@pnpm/prepare": "workspace:*",
"@types/adm-zip": "^0.5.0",
"node-fetch": "3.0.0-beta.9"
"node-fetch": "npm:@pnpm/node-fetch@1.0.0"
}
}
2 changes: 1 addition & 1 deletion env/plugin-commands-env/package.json
Expand Up @@ -58,7 +58,7 @@
"adm-zip": "^0.5.10",
"execa": "npm:safe-execa@0.1.2",
"nock": "13.3.0",
"node-fetch": "3.0.0-beta.9",
"node-fetch": "npm:@pnpm/node-fetch@1.0.0",
"path-name": "^1.0.0"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion network/fetch/package.json
Expand Up @@ -37,7 +37,7 @@
"@pnpm/fetching-types": "workspace:*",
"@pnpm/network.agent": "0.1.0",
"@zkochan/retry": "^0.2.0",
"node-fetch": "3.0.0-beta.9"
"node-fetch": "npm:@pnpm/node-fetch@1.0.0"
},
"devDependencies": {
"@pnpm/fetch": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion network/fetching-types/package.json
Expand Up @@ -31,7 +31,7 @@
"funding": "https://opencollective.com/pnpm",
"dependencies": {
"@zkochan/retry": "^0.2.0",
"node-fetch": "3.0.0-beta.9"
"node-fetch": "npm:@pnpm/node-fetch@1.0.0"
},
"devDependencies": {
"@pnpm/fetching-types": "workspace:*"
Expand Down
32 changes: 21 additions & 11 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion store/server/package.json
Expand Up @@ -43,7 +43,7 @@
"get-port": "^5.1.1",
"is-port-reachable": "3.0.0",
"load-json-file": "^6.2.0",
"node-fetch": "3.0.0-beta.9",
"node-fetch": "npm:@pnpm/node-fetch@1.0.0",
"tempy": "^1.0.1"
},
"dependencies": {
Expand Down

0 comments on commit 8228c2c

Please sign in to comment.