mirror of
https://github.com/SukkaW/Surge.git
synced 2026-07-29 08:31:46 +08:00
Housekeeping
This commit is contained in:
@@ -276,7 +276,7 @@ export const buildDomesticRuleset = task(require.main === module, __filename)(as
|
||||
if (typeof acc.hosts[domain] === 'string') {
|
||||
acc.hosts[domain] = [acc.hosts[domain]];
|
||||
}
|
||||
acc.hosts[domain].push(...dest);
|
||||
appendArrayInPlace(acc.hosts[domain], dest);
|
||||
} else if (dest.length === 1) {
|
||||
acc.hosts[domain] = dest[0];
|
||||
} else {
|
||||
|
||||
@@ -11,6 +11,11 @@ module.exports = require('eslint-config-sukka').sukka({
|
||||
node: true,
|
||||
ts: true,
|
||||
yaml: false
|
||||
}, {
|
||||
rules: {
|
||||
'sukka/unicorn/filename-case': 'off',
|
||||
'sukka/prefer-foxts-noop': 'off'
|
||||
}
|
||||
}, {
|
||||
files: ['./Mock/**/*'],
|
||||
rules: {
|
||||
|
||||
24
package.json
24
package.json
@@ -24,22 +24,22 @@
|
||||
"@mitata/counters": "^0.0.8",
|
||||
"ci-info": "^4.4.0",
|
||||
"cli-progress": "^3.12.0",
|
||||
"csv-parse": "^6.2.1",
|
||||
"csv-parse": "^7.0.0",
|
||||
"domain-alive": "^0.1.22",
|
||||
"fast-cidr-tools": "^0.3.4",
|
||||
"fast-escape-regexp": "^1.0.1",
|
||||
"fast-uri": "^4.0.0",
|
||||
"fast-uri": "^4.1.0",
|
||||
"fdir": "^6.5.0",
|
||||
"hash-wasm": "^4.12.0",
|
||||
"json-stringify-pretty-compact": "4.0.0",
|
||||
"null-prototype-object": "^1.2.7",
|
||||
"picocolors": "^1.1.1",
|
||||
"tar-fs": "^3.1.2",
|
||||
"tar-fs": "^3.1.3",
|
||||
"telegram": "^2.26.22",
|
||||
"tinyglobby": "^0.2.17",
|
||||
"tldts": "^7.4.2",
|
||||
"tldts-experimental": "^7.4.2",
|
||||
"undici": "^8.4.1",
|
||||
"tldts": "^7.4.5",
|
||||
"tldts-experimental": "^7.4.5",
|
||||
"undici": "^8.5.0",
|
||||
"undici-cache-store-better-sqlite3": "^1.0.1",
|
||||
"why-is-node-running": "^3.2.2",
|
||||
"xbits": "^0.2.0",
|
||||
@@ -47,19 +47,19 @@
|
||||
"yauzl-promise": "^4.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint-sukka/node": "^8.10.5",
|
||||
"@eslint-sukka/node": "^8.13.2",
|
||||
"@swc-node/register": "^1.11.1",
|
||||
"@swc/core": "1.13.5",
|
||||
"@types/better-sqlite3": "^7.6.13",
|
||||
"@types/cli-progress": "^3.11.6",
|
||||
"@types/mocha": "^10.0.10",
|
||||
"@types/node": "^25.9.2",
|
||||
"@types/node": "^25.9.4",
|
||||
"@types/tar-fs": "^2.0.4",
|
||||
"@types/yauzl-promise": "^4.0.1",
|
||||
"earl": "^2.0.0",
|
||||
"eslint": "^10.4.1",
|
||||
"eslint-config-sukka": "^8.10.5",
|
||||
"eslint-formatter-sukka": "^8.10.5",
|
||||
"eslint": "^10.6.0",
|
||||
"eslint-config-sukka": "^8.13.2",
|
||||
"eslint-formatter-sukka": "^8.13.2",
|
||||
"foxts": "^5.5.1",
|
||||
"jest-worker": "^30.4.1",
|
||||
"mitata": "^1.0.34",
|
||||
@@ -67,5 +67,5 @@
|
||||
"tinyexec": "^1.2.4",
|
||||
"typescript": "^6.0.3"
|
||||
},
|
||||
"packageManager": "pnpm@11.5.2"
|
||||
"packageManager": "pnpm@11.9.0"
|
||||
}
|
||||
|
||||
477
pnpm-lock.yaml
generated
477
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user