Refactor: use retry from undici

This commit is contained in:
SukkaW
2024-10-13 15:43:33 +08:00
parent 2695de7410
commit 79da4e18fc
7 changed files with 151 additions and 201 deletions

View File

@@ -22,7 +22,6 @@
"dependencies": {
"@cliqz/adblocker": "^1.33.2",
"@jsdevtools/ez-spawn": "^3.0.4",
"async-retry": "^1.3.3",
"async-sema": "^3.1.1",
"better-sqlite3": "^11.3.0",
"cacache": "^19.0.1",
@@ -32,7 +31,7 @@
"csv-parse": "^5.5.6",
"fast-cidr-tools": "^0.3.1",
"fdir": "^6.4.0",
"foxact": "^0.2.38",
"foxact": "^0.2.39",
"hash-wasm": "^4.11.0",
"json-stringify-pretty-compact": "^3.0.0",
"make-fetch-happen": "^14.0.1",
@@ -40,8 +39,8 @@
"picocolors": "^1.1.0",
"punycode": "^2.3.1",
"tar-fs": "^3.0.6",
"tldts": "^6.1.50",
"tldts-experimental": "^6.1.50",
"tldts": "^6.1.51",
"tldts-experimental": "^6.1.51",
"undici": "^6.20.0",
"wtfnode": "^0.9.3",
"yaml": "^2.5.1"
@@ -50,7 +49,6 @@
"@eslint-sukka/node": "^6.7.0",
"@swc-node/register": "^1.10.9",
"@swc/core": "^1.7.35",
"@types/async-retry": "^1.4.9",
"@types/better-sqlite3": "^7.6.11",
"@types/cacache": "^17.0.2",
"@types/chai": "^4.3.20",