Skip to content

Commit

Permalink
fix(adapter): node-fetch -> undici
Browse files Browse the repository at this point in the history
  • Loading branch information
juranki committed Jan 1, 2023
1 parent 1461d6a commit 08f6e30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@types/node": "17.0.39",
"rimraf": "^3.0.2",
"typescript": "^4.7.3",
"node-fetch": "^3.2.10"
"undici": "5.14.0"
},
"dependencies": {
"esbuild": "^0.14.42"
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter/src/files/ambient.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export { }
declare global {
export { Request,HeadersInit, Response, Headers } from 'node-fetch'
export { HeadersInit, Response, Request, Headers } from 'undici';
}

0 comments on commit 08f6e30

Please sign in to comment.