Remove undici dependency and implement proxy download

Replaces the use of the undici library for HTTP downloads with proxy support by implementing a custom httpDownloadWithProxy function using Node.js http and tls modules. The undici dependency is removed from package.json, reducing external dependencies and improving compatibility.
This commit is contained in:
手瓜一十雪 committed 2026-01-29 20:54:48 +08:00
1 parent 4bec3aa597
commit 6ea4c9ec65
2 files changed
+219 -11

No files matched your search

+1 -2
View File
@@ -17,8 +17,7 @@
},
"dependencies": {
"ajv": "^8.13.0",
"file-type": "^21.0.0",
"undici": "^6.19.0"
"file-type": "^21.0.0"
},
"devDependencies": {
"@types/node": "^22.0.1"