Skip to content

Commit

Permalink
refactor: try node-fetch + x-fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Dec 15, 2023
1 parent c1fd923 commit 8cfe5bb
Show file tree
Hide file tree
Showing 6 changed files with 107 additions and 172 deletions.
3 changes: 2 additions & 1 deletion api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "deepl-api",
"type": "module",
"dependencies": {
"got": "^14.0.0"
"node-fetch": "^3.3.2",
"x-fetch": "^0.1.3"
}
}
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@
},
"dependencies": {
"commander": "^11.1.0",
"got": "^14.0.0",
"tslib": "^2.6.2"
"node-fetch": "^3.3.2",
"tslib": "^2.6.2",
"x-fetch": "^0.1.3"
},
"devDependencies": {
"@1stg/lib-config": "^12.0.1",
Expand Down
Loading

0 comments on commit 8cfe5bb

Please sign in to comment.