mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-12 01:00:34 +08:00
Housekeeping & Update queue
This commit is contained in:
parent
e42565eeb8
commit
34d90940c8
@ -41,7 +41,7 @@ const deadDomains: string[] = [];
|
||||
const bar = new cliProgress.SingleBar({}, cliProgress.Presets.shades_classic);
|
||||
bar.start(0, 0);
|
||||
|
||||
await Promise.all([
|
||||
void Promise.all([
|
||||
...domainRules,
|
||||
...domainSets
|
||||
].map(
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@ghostery/adblocker": "^2.12.4",
|
||||
"@henrygd/queue": "^1.0.7",
|
||||
"@henrygd/queue": "^1.1.1",
|
||||
"@mitata/counters": "^0.0.8",
|
||||
"better-sqlite3": "^12.4.1",
|
||||
"ci-info": "^4.3.1",
|
||||
@ -31,9 +31,9 @@
|
||||
"fast-cidr-tools": "^0.3.3",
|
||||
"fast-uri": "^3.1.0",
|
||||
"fdir": "^6.5.0",
|
||||
"foxts": "^4.3.1",
|
||||
"foxts": "^4.4.0",
|
||||
"hash-wasm": "^4.12.0",
|
||||
"json-stringify-pretty-compact": "3.0.0",
|
||||
"json-stringify-pretty-compact": "4.0.0",
|
||||
"null-prototype-object": "^1.2.3",
|
||||
"picocolors": "^1.1.1",
|
||||
"tar-fs": "^3.1.1",
|
||||
@ -56,7 +56,7 @@
|
||||
"@types/cli-progress": "^3.11.6",
|
||||
"@types/dns2": "^2.0.10",
|
||||
"@types/mocha": "^10.0.10",
|
||||
"@types/node": "^24.7.1",
|
||||
"@types/node": "^24.7.2",
|
||||
"@types/tar-fs": "^2.0.4",
|
||||
"@types/yauzl-promise": "^4.0.1",
|
||||
"eslint": "^9.37.0",
|
||||
|
||||
70
pnpm-lock.yaml
generated
70
pnpm-lock.yaml
generated
@ -18,8 +18,8 @@ importers:
|
||||
specifier: ^2.12.4
|
||||
version: 2.12.4
|
||||
'@henrygd/queue':
|
||||
specifier: ^1.0.7
|
||||
version: 1.0.7
|
||||
specifier: ^1.1.1
|
||||
version: 1.1.1
|
||||
'@mitata/counters':
|
||||
specifier: ^0.0.8
|
||||
version: 0.0.8
|
||||
@ -51,14 +51,14 @@ importers:
|
||||
specifier: ^6.5.0
|
||||
version: 6.5.0(picomatch@4.0.3)
|
||||
foxts:
|
||||
specifier: ^4.3.1
|
||||
version: 4.3.1
|
||||
specifier: ^4.4.0
|
||||
version: 4.4.0
|
||||
hash-wasm:
|
||||
specifier: ^4.12.0
|
||||
version: 4.12.0
|
||||
json-stringify-pretty-compact:
|
||||
specifier: 3.0.0
|
||||
version: 3.0.0
|
||||
specifier: 4.0.0
|
||||
version: 4.0.0
|
||||
null-prototype-object:
|
||||
specifier: ^1.2.3
|
||||
version: 1.2.3
|
||||
@ -121,8 +121,8 @@ importers:
|
||||
specifier: ^10.0.10
|
||||
version: 10.0.10
|
||||
'@types/node':
|
||||
specifier: ^24.7.1
|
||||
version: 24.7.1
|
||||
specifier: ^24.7.2
|
||||
version: 24.7.2
|
||||
'@types/tar-fs':
|
||||
specifier: ^2.0.4
|
||||
version: 2.0.4
|
||||
@ -243,8 +243,8 @@ packages:
|
||||
'@ghostery/url-parser@1.3.0':
|
||||
resolution: {integrity: sha512-FEzdSeiva0Mt3bR4xePFzthhjT4IzvA5QTvS1xXkNyLpMGeq40mb3V2fSs0ZItRaP9IybZthDfHUSbQ1HLdx4Q==}
|
||||
|
||||
'@henrygd/queue@1.0.7':
|
||||
resolution: {integrity: sha512-Jmt/iO6yDlz9UYGILkm/Qzi/ckkEiTNZcqDvt3QFLE4OThPeiCj6tKsynHFm/ppl8RumWXAx1dZPBPiRPaaGig==}
|
||||
'@henrygd/queue@1.1.1':
|
||||
resolution: {integrity: sha512-U6qjF4kIK7K72e74tmHyi2TWjSbwzKmnOlu9HOz1l6JFCeM9Sqe3znSoyK/kst+rie7Q8FvTqVxcBjG+Q7vJYQ==}
|
||||
|
||||
'@humanfs/core@0.19.1':
|
||||
resolution: {integrity: sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==}
|
||||
@ -669,8 +669,8 @@ packages:
|
||||
'@types/mocha@10.0.10':
|
||||
resolution: {integrity: sha512-xPyYSz1cMPnJQhl0CLMH68j3gprKZaTjG3s5Vi+fDgx+uhG9NOXwbVt52eFS8ECyXhyKcjDLCBEqBExKuiZb7Q==}
|
||||
|
||||
'@types/node@24.7.1':
|
||||
resolution: {integrity: sha512-CmyhGZanP88uuC5GpWU9q+fI61j2SkhO3UGMUdfYRE6Bcy0ccyzn1Rqj9YAB/ZY4kOXmNf0ocah5GtphmLMP6Q==}
|
||||
'@types/node@24.7.2':
|
||||
resolution: {integrity: sha512-/NbVmcGTP+lj5oa4yiYxxeBjRivKQ5Ns1eSZeB99ExsEQ6rX5XYU1Zy/gGxY/ilqtD4Etx9mKyrPxZRetiahhA==}
|
||||
|
||||
'@types/stack-utils@2.0.3':
|
||||
resolution: {integrity: sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==}
|
||||
@ -1428,8 +1428,8 @@ packages:
|
||||
foxts@3.15.0:
|
||||
resolution: {integrity: sha512-XaSnlPKgD23NGdfuUHAX50V9h17bavUEZthg3SBO8ajT3D0pFg6KhYRvKNOlB+t7MpKZ1fj22bUPssH5PY0h4w==}
|
||||
|
||||
foxts@4.3.1:
|
||||
resolution: {integrity: sha512-C2GpPKaXiiOBgNrBE8LOvOuBe127/qpSklU7mHE2Z+WBlzN3ouhNaZlNM4G3cVgVRoB6IpBkekhhe6g1jBdZ0Q==}
|
||||
foxts@4.4.0:
|
||||
resolution: {integrity: sha512-JfNrapswF+lEebNmJXukHSiqEiX9ox0A6B3n70PqP9t9odoMMTccDNzY9qDoYDn8KqDkF9uWMQ5BBK7tHtPZhQ==}
|
||||
|
||||
fs-constants@1.0.0:
|
||||
resolution: {integrity: sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==}
|
||||
@ -1628,8 +1628,8 @@ packages:
|
||||
json-stable-stringify-without-jsonify@1.0.1:
|
||||
resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==}
|
||||
|
||||
json-stringify-pretty-compact@3.0.0:
|
||||
resolution: {integrity: sha512-Rc2suX5meI0S3bfdZuA7JMFBGkJ875ApfVyq2WHELjBiiG22My/l7/8zPpH/CfFVQHuVLd8NLR0nv6vi0BYYKA==}
|
||||
json-stringify-pretty-compact@4.0.0:
|
||||
resolution: {integrity: sha512-3CNZ2DnrpByG9Nqj6Xo8vqbjT4F6N+tb4Gb28ESAZjYZ5yqvmc56J+/kuIwkaAMOyblTQhUW7PxMkUb8Q36N3Q==}
|
||||
|
||||
jsonc-eslint-parser@2.4.1:
|
||||
resolution: {integrity: sha512-uuPNLJkKN8NXAlZlQ6kmUF9qO+T6Kyd7oV4+/7yy8Jz6+MZNyhPq8EdLpdfnPVzUC8qSf1b4j1azKaGnFsjmsw==}
|
||||
@ -2312,7 +2312,7 @@ snapshots:
|
||||
dependencies:
|
||||
tldts-experimental: 7.0.17
|
||||
|
||||
'@henrygd/queue@1.0.7': {}
|
||||
'@henrygd/queue@1.1.1': {}
|
||||
|
||||
'@humanfs/core@0.19.1': {}
|
||||
|
||||
@ -2352,7 +2352,7 @@ snapshots:
|
||||
|
||||
'@jest/pattern@30.0.1':
|
||||
dependencies:
|
||||
'@types/node': 24.7.1
|
||||
'@types/node': 24.7.2
|
||||
jest-regex-util: 30.0.1
|
||||
|
||||
'@jest/schemas@30.0.5':
|
||||
@ -2365,7 +2365,7 @@ snapshots:
|
||||
'@jest/schemas': 30.0.5
|
||||
'@types/istanbul-lib-coverage': 2.0.6
|
||||
'@types/istanbul-reports': 3.0.4
|
||||
'@types/node': 24.7.1
|
||||
'@types/node': 24.7.2
|
||||
'@types/yargs': 17.0.33
|
||||
chalk: 4.1.2
|
||||
|
||||
@ -2635,15 +2635,15 @@ snapshots:
|
||||
|
||||
'@types/better-sqlite3@7.6.13':
|
||||
dependencies:
|
||||
'@types/node': 24.7.1
|
||||
'@types/node': 24.7.2
|
||||
|
||||
'@types/cli-progress@3.11.6':
|
||||
dependencies:
|
||||
'@types/node': 24.7.1
|
||||
'@types/node': 24.7.2
|
||||
|
||||
'@types/dns2@2.0.10':
|
||||
dependencies:
|
||||
'@types/node': 24.7.1
|
||||
'@types/node': 24.7.2
|
||||
|
||||
'@types/estree@1.0.8': {}
|
||||
|
||||
@ -2661,7 +2661,7 @@ snapshots:
|
||||
|
||||
'@types/mocha@10.0.10': {}
|
||||
|
||||
'@types/node@24.7.1':
|
||||
'@types/node@24.7.2':
|
||||
dependencies:
|
||||
undici-types: 7.14.0
|
||||
|
||||
@ -2669,12 +2669,12 @@ snapshots:
|
||||
|
||||
'@types/tar-fs@2.0.4':
|
||||
dependencies:
|
||||
'@types/node': 24.7.1
|
||||
'@types/node': 24.7.2
|
||||
'@types/tar-stream': 3.1.4
|
||||
|
||||
'@types/tar-stream@3.1.4':
|
||||
dependencies:
|
||||
'@types/node': 24.7.1
|
||||
'@types/node': 24.7.2
|
||||
|
||||
'@types/yargs-parser@21.0.3': {}
|
||||
|
||||
@ -2684,7 +2684,7 @@ snapshots:
|
||||
|
||||
'@types/yauzl-promise@4.0.1':
|
||||
dependencies:
|
||||
'@types/node': 24.7.1
|
||||
'@types/node': 24.7.2
|
||||
|
||||
'@typescript-eslint/eslint-plugin@8.46.0(@typescript-eslint/parser@8.46.0(eslint@9.37.0)(typescript@5.9.3))(eslint@9.37.0)(typescript@5.9.3)':
|
||||
dependencies:
|
||||
@ -3064,7 +3064,7 @@ snapshots:
|
||||
dependencies:
|
||||
debug: 4.4.1(supports-color@8.1.1)
|
||||
dns2: https://codeload.github.com/lsongdev/node-dns/tar.gz/3adb7e91b3101c0e4f43ebaca3a568269ea04d11
|
||||
foxts: 4.3.1
|
||||
foxts: 4.4.0
|
||||
tldts: 7.0.17
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
@ -3151,7 +3151,7 @@ snapshots:
|
||||
eslint-plugin-regexp: 2.10.0(eslint@9.37.0)
|
||||
eslint-plugin-sukka: 7.3.3(eslint@9.37.0)(typescript@5.9.3)
|
||||
eslint-plugin-unused-imports: 4.2.0(@typescript-eslint/eslint-plugin@8.46.0(@typescript-eslint/parser@8.46.0(eslint@9.37.0)(typescript@5.9.3))(eslint@9.37.0)(typescript@5.9.3))(eslint@9.37.0)
|
||||
foxts: 4.3.1
|
||||
foxts: 4.4.0
|
||||
jsonc-eslint-parser: 2.4.1
|
||||
picocolors: 1.1.1
|
||||
typescript-eslint: 8.46.0(eslint@9.37.0)(typescript@5.9.3)
|
||||
@ -3168,7 +3168,7 @@ snapshots:
|
||||
dependencies:
|
||||
ci-info: 4.3.1
|
||||
eslint: 9.37.0
|
||||
foxts: 4.3.1
|
||||
foxts: 4.4.0
|
||||
picocolors: 1.1.1
|
||||
|
||||
eslint-import-context@0.1.9(unrs-resolver@1.11.1):
|
||||
@ -3298,7 +3298,7 @@ snapshots:
|
||||
'@typescript-eslint/types': 8.46.0
|
||||
'@typescript-eslint/utils': 8.46.0(eslint@9.37.0)(typescript@5.9.3)
|
||||
eslint: 9.37.0
|
||||
foxts: 4.3.1
|
||||
foxts: 4.4.0
|
||||
optionalDependencies:
|
||||
typescript: 5.9.3
|
||||
transitivePeerDependencies:
|
||||
@ -3416,7 +3416,7 @@ snapshots:
|
||||
|
||||
fast-cidr-tools@0.3.3:
|
||||
dependencies:
|
||||
foxts: 4.3.1
|
||||
foxts: 4.4.0
|
||||
|
||||
fast-deep-equal@3.1.3: {}
|
||||
|
||||
@ -3482,7 +3482,7 @@ snapshots:
|
||||
fast-escape-html: 1.1.0
|
||||
fast-escape-regexp: 1.0.1
|
||||
|
||||
foxts@4.3.1:
|
||||
foxts@4.4.0:
|
||||
dependencies:
|
||||
fast-escape-html: 1.1.0
|
||||
fast-escape-regexp: 1.0.1
|
||||
@ -3642,7 +3642,7 @@ snapshots:
|
||||
jest-mock@30.2.0:
|
||||
dependencies:
|
||||
'@jest/types': 30.2.0
|
||||
'@types/node': 24.7.1
|
||||
'@types/node': 24.7.2
|
||||
jest-util: 30.2.0
|
||||
|
||||
jest-regex-util@30.0.1: {}
|
||||
@ -3650,7 +3650,7 @@ snapshots:
|
||||
jest-util@30.2.0:
|
||||
dependencies:
|
||||
'@jest/types': 30.2.0
|
||||
'@types/node': 24.7.1
|
||||
'@types/node': 24.7.2
|
||||
chalk: 4.1.2
|
||||
ci-info: 4.3.1
|
||||
graceful-fs: 4.2.11
|
||||
@ -3670,7 +3670,7 @@ snapshots:
|
||||
|
||||
json-stable-stringify-without-jsonify@1.0.1: {}
|
||||
|
||||
json-stringify-pretty-compact@3.0.0: {}
|
||||
json-stringify-pretty-compact@4.0.0: {}
|
||||
|
||||
jsonc-eslint-parser@2.4.1:
|
||||
dependencies:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user