Skip to content

Commit

Permalink
Replace request with axios
Browse files Browse the repository at this point in the history
Drop in replacement for `request` with `got` is not possible, as `got` no proxy support has. `Axios` comes with proxy support and similar size of package as `got`.

Change-type: major
Signed-off-by: Harald Fischer <[email protected]>
  • Loading branch information
fisehara committed Oct 26, 2023
1 parent 90e1739 commit 969ff30
Show file tree
Hide file tree
Showing 7 changed files with 107 additions and 266 deletions.
245 changes: 66 additions & 179 deletions package-lock.json

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

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,13 @@
"@types/request": "^2.48.8",
"@types/semver": "^7.3.13",
"@types/tar": "^6.1.4",
"@types/tunnel": "^0.0.5",
"@types/uuid": "^9.0.1",
"@types/validator": "^13.7.15",
"array-sort": "^1.0.0",
"avsc": "^5.7.7",
"aws-sdk": "^2.1365.0",
"axios": "^1.5.1",
"balena-device-config": "^6.3.0",
"balena-semver": "^2.3.2",
"basic-auth": "^2.0.1",
Expand Down Expand Up @@ -116,6 +118,7 @@
"tar": "^6.1.13",
"thirty-two": "^1.0.2",
"ts-node": "^10.9.1",
"tunnel": "^0.0.6",
"typed-error": "^3.2.2",
"typescript": "^5.2.2",
"uuid": "^9.0.0",
Expand Down
Loading

0 comments on commit 969ff30

Please sign in to comment.