superagent: rewrite using native node request
the learning is that fetch() is really meant to be a browser side XMLHttpRequest replacement. It's complicated to do things like setting user agent, custom headers like Host, disabling tls validation etc.
This commit is contained in:
@@ -58,7 +58,6 @@
|
||||
"tar-stream": "^3.1.7",
|
||||
"tldjs": "^2.3.1",
|
||||
"ua-parser-js": "^2.0.2",
|
||||
"undici": "^7.3.0",
|
||||
"uuid": "^11.0.5",
|
||||
"validator": "^13.12.0",
|
||||
"ws": "^8.18.0",
|
||||
|
||||
Reference in New Issue
Block a user