Skip to content

Commit

Permalink
fix: resolve warning 'Failed to resolve encoding' in node-fetch (#5238)
Browse files Browse the repository at this point in the history
  • Loading branch information
9aoy committed Jan 17, 2024
1 parent e789e3f commit 00b4639
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 9 deletions.
7 changes: 7 additions & 0 deletions .changeset/short-gifts-search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@modern-js/create-request': patch
---

fix: resolve warning 'Failed to resolve encoding' in node-fetch

fix: 修复在使用 node-fetch 时的 'Failed to resolve encoding' resolve warning
1 change: 1 addition & 0 deletions packages/server/create-request/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
"@modern-js/utils": "workspace:*",
"@modern-js/runtime-utils": "workspace:*",
"node-fetch": "^2.6.1",
"encoding": "^0.1.0",
"path-to-regexp": "^6.2.0",
"query-string": "^7.1.1",
"@swc/helpers": "0.5.3"
Expand Down
27 changes: 18 additions & 9 deletions pnpm-lock.yaml

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

0 comments on commit 00b4639

Please sign in to comment.