Housekeeping & Make ESLint happy again

This commit is contained in:
SukkaW 2024-09-20 15:25:06 +08:00
parent bcb45e43f6
commit bdc3955ac6
7 changed files with 74 additions and 207 deletions

View File

@ -2,7 +2,8 @@ import path from 'node:path';
import { pipeline } from 'node:stream/promises'; import { pipeline } from 'node:stream/promises';
import { task } from './trace'; import { task } from './trace';
import { defaultRequestInit, fetchWithRetry } from './lib/fetch-retry'; import { defaultRequestInit, fetchWithRetry } from './lib/fetch-retry';
import { extract as tarExtract, type Headers as TarEntryHeaders } from 'tar-fs'; import { extract as tarExtract } from 'tar-fs';
import type { Headers as TarEntryHeaders } from 'tar-fs';
import zlib from 'node:zlib'; import zlib from 'node:zlib';
import { Readable } from 'node:stream'; import { Readable } from 'node:stream';

View File

@ -1,4 +1,5 @@
import { createTrie, type Trie } from './trie'; import { createTrie } from './trie';
import type { Trie } from './trie';
export function domainsetDeduper(inputDomains: string[] | Trie): string[] { export function domainsetDeduper(inputDomains: string[] | Trie): string[] {
let trie: Trie; let trie: Trie;

View File

@ -1,7 +1,8 @@
import { processDomainLists } from './parse-filter'; import { processDomainLists } from './parse-filter';
import * as tldts from 'tldts-experimental'; import * as tldts from 'tldts-experimental';
import { dummySpan, type Span } from '../trace'; import { dummySpan } from '../trace';
import type { Span } from '../trace';
import { appendArrayInPlaceCurried } from './append-array-in-place'; import { appendArrayInPlaceCurried } from './append-array-in-place';
import { PHISHING_DOMAIN_LISTS_EXTRA } from '../constants/reject-data-source'; import { PHISHING_DOMAIN_LISTS_EXTRA } from '../constants/reject-data-source';
import { loosTldOptWithPrivateDomains } from '../constants/loose-tldts-opt'; import { loosTldOptWithPrivateDomains } from '../constants/loose-tldts-opt';

View File

@ -1,6 +1,7 @@
import { describe, it } from 'mocha'; import { describe, it } from 'mocha';
import { parse, processFilterRules, type ParseType } from './parse-filter'; import { parse, processFilterRules } from './parse-filter';
import type { ParseType } from './parse-filter';
import { createCacheKey } from './cache-filesystem'; import { createCacheKey } from './cache-filesystem';
import { createSpan } from '../trace'; import { createSpan } from '../trace';

View File

@ -148,7 +148,7 @@ export { type ParseType };
export async function processFilterRules( export async function processFilterRules(
parentSpan: Span, parentSpan: Span,
filterRulesUrl: string, filterRulesUrl: string,
fallbackUrls?: readonly string[] | undefined | null, fallbackUrls?: readonly string[] | null,
ttl: number | null = null ttl: number | null = null
): Promise<{ white: string[], black: string[], foundDebugDomain: boolean }> { ): Promise<{ white: string[], black: string[], foundDebugDomain: boolean }> {
const [white, black, warningMessages] = await parentSpan.traceChild(`process filter rules: ${filterRulesUrl}`).traceAsyncFn((span) => fsFetchCache.apply<Readonly<[ const [white, black, warningMessages] = await parentSpan.traceChild(`process filter rules: ${filterRulesUrl}`).traceAsyncFn((span) => fsFetchCache.apply<Readonly<[

View File

@ -37,12 +37,12 @@
"punycode": "^2.3.1", "punycode": "^2.3.1",
"table": "^6.8.2", "table": "^6.8.2",
"tar-fs": "^3.0.6", "tar-fs": "^3.0.6",
"tldts": "^6.1.46", "tldts": "^6.1.47",
"tldts-experimental": "^6.1.46", "tldts-experimental": "^6.1.47",
"yaml": "^2.5.1" "yaml": "^2.5.1"
}, },
"devDependencies": { "devDependencies": {
"@eslint-sukka/node": "^6.4.3", "@eslint-sukka/node": "^6.5.0",
"@swc-node/register": "^1.10.9", "@swc-node/register": "^1.10.9",
"@swc/core": "^1.7.26", "@swc/core": "^1.7.26",
"@types/async-retry": "^1.4.8", "@types/async-retry": "^1.4.8",
@ -54,8 +54,8 @@
"@types/tar-stream": "^3.1.3", "@types/tar-stream": "^3.1.3",
"chai": "4", "chai": "4",
"eslint": "^9.10.0", "eslint": "^9.10.0",
"eslint-config-sukka": "^6.4.3", "eslint-config-sukka": "^6.5.0",
"eslint-formatter-sukka": "^6.4.3", "eslint-formatter-sukka": "^6.5.0",
"mitata": "^0.1.14", "mitata": "^0.1.14",
"mocha": "^10.7.3", "mocha": "^10.7.3",
"typescript": "^5.6.2" "typescript": "^5.6.2"

257
pnpm-lock.yaml generated
View File

@ -63,18 +63,18 @@ importers:
specifier: ^3.0.6 specifier: ^3.0.6
version: 3.0.6 version: 3.0.6
tldts: tldts:
specifier: ^6.1.46 specifier: ^6.1.47
version: 6.1.46 version: 6.1.47
tldts-experimental: tldts-experimental:
specifier: ^6.1.46 specifier: ^6.1.47
version: 6.1.46 version: 6.1.47
yaml: yaml:
specifier: ^2.5.1 specifier: ^2.5.1
version: 2.5.1 version: 2.5.1
devDependencies: devDependencies:
'@eslint-sukka/node': '@eslint-sukka/node':
specifier: ^6.4.3 specifier: ^6.5.0
version: 6.4.3(eslint@9.10.0)(typescript@5.6.2) version: 6.5.0(eslint@9.10.0)(typescript@5.6.2)
'@swc-node/register': '@swc-node/register':
specifier: ^1.10.9 specifier: ^1.10.9
version: 1.10.9(@swc/core@1.7.26)(@swc/types@0.1.12)(typescript@5.6.2) version: 1.10.9(@swc/core@1.7.26)(@swc/types@0.1.12)(typescript@5.6.2)
@ -109,11 +109,11 @@ importers:
specifier: ^9.10.0 specifier: ^9.10.0
version: 9.10.0 version: 9.10.0
eslint-config-sukka: eslint-config-sukka:
specifier: ^6.4.3 specifier: ^6.5.0
version: 6.4.3(@typescript-eslint/eslint-plugin@8.6.0(@typescript-eslint/parser@8.6.0(eslint@9.10.0)(typescript@5.6.2))(eslint@9.10.0)(typescript@5.6.2))(eslint@9.10.0)(typescript@5.6.2) version: 6.5.0(@typescript-eslint/eslint-plugin@8.6.0(@typescript-eslint/parser@8.6.0(eslint@9.10.0)(typescript@5.6.2))(eslint@9.10.0)(typescript@5.6.2))(eslint@9.10.0)(typescript@5.6.2)
eslint-formatter-sukka: eslint-formatter-sukka:
specifier: ^6.4.3 specifier: ^6.5.0
version: 6.4.3 version: 6.5.0
mitata: mitata:
specifier: ^0.1.14 specifier: ^0.1.14
version: 0.1.14 version: 0.1.14
@ -163,11 +163,11 @@ packages:
resolution: {integrity: sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==} resolution: {integrity: sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==}
engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
'@eslint-sukka/node@6.4.3': '@eslint-sukka/node@6.5.0':
resolution: {integrity: sha512-rDoU5Im6P/dkyTT9Gaq8Gum+kifXusoMgAhYHBdTYGcwXiLV4qBf4cI8cfQQT6mL/GW9FOST/17V05dEoynDbA==} resolution: {integrity: sha512-JmQS5nqPAVGekrKpOT7mmDOqWf8ykVUs7Yu1I8KrF99vffOWHWmpCZS7xpBNhkYCmT7dDY17HnLKFj26LpWWZw==}
'@eslint-sukka/shared@6.4.3': '@eslint-sukka/shared@6.5.0':
resolution: {integrity: sha512-DGaSCn88As4DWyUjn5hle7ts6oz+AQZal9CPjFv9fbNzS1XQUR3Wq9XkZ2OuOoYUJ0E4ZLRRXzCCUxGWuH03iQ==} resolution: {integrity: sha512-f4czDDo+5ahUKwSPeYIEHFt/3mtVmZo0U6cHiH24q8m8YqRWp9k7leONsFKGJ5mRL+R6Tzwih7e24gKVFHmnVA==}
'@eslint/config-array@0.18.0': '@eslint/config-array@0.18.0':
resolution: {integrity: sha512-fTxvnS1sRMu3+JjXwJG0j/i4RT9u4qJ+lqS/yCGap4lH4zZGzQ7tu+xZqQmcMZq5OBZDL4QRxQzRjkWcGt8IVw==} resolution: {integrity: sha512-fTxvnS1sRMu3+JjXwJG0j/i4RT9u4qJ+lqS/yCGap4lH4zZGzQ7tu+xZqQmcMZq5OBZDL4QRxQzRjkWcGt8IVw==}
@ -271,6 +271,9 @@ packages:
cpu: [x64] cpu: [x64]
os: [win32] os: [win32]
'@package-json/types@0.0.11':
resolution: {integrity: sha512-allOTUn4Xi2bQMs+mthzHWekgjRBVno+DLOcXk9+6haG5oFu5rlz0pszT3sh1OAkQVFLYrAS4V5CSxWyVwUf7g==}
'@remusao/guess-url-type@1.3.0': '@remusao/guess-url-type@1.3.0':
resolution: {integrity: sha512-SNSJGxH5ckvxb3EUHj4DqlAm/bxNxNv2kx/AESZva/9VfcBokwKNS+C4D1lQdWIDM1R3d3UG+xmVzlkNG8CPTQ==} resolution: {integrity: sha512-SNSJGxH5ckvxb3EUHj4DqlAm/bxNxNv2kx/AESZva/9VfcBokwKNS+C4D1lQdWIDM1R3d3UG+xmVzlkNG8CPTQ==}
@ -462,16 +465,6 @@ packages:
typescript: typescript:
optional: true optional: true
'@typescript-eslint/parser@8.5.0':
resolution: {integrity: sha512-gF77eNv0Xz2UJg/NbpWJ0kqAm35UMsvZf1GHj8D9MRFTj/V3tAciIWXfmPLsAAF/vUlpWPvUDyH1jjsr0cMVWw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
'@typescript-eslint/parser@8.6.0': '@typescript-eslint/parser@8.6.0':
resolution: {integrity: sha512-eQcbCuA2Vmw45iGfcyG4y6rS7BhWfz9MQuk409WD47qMM+bKCGQWXxvoOs1DUp+T7UBMTtRTVT+kXr7Sh4O9Ow==} resolution: {integrity: sha512-eQcbCuA2Vmw45iGfcyG4y6rS7BhWfz9MQuk409WD47qMM+bKCGQWXxvoOs1DUp+T7UBMTtRTVT+kXr7Sh4O9Ow==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@ -482,14 +475,6 @@ packages:
typescript: typescript:
optional: true optional: true
'@typescript-eslint/scope-manager@8.4.0':
resolution: {integrity: sha512-n2jFxLeY0JmKfUqy3P70rs6vdoPjHK8P/w+zJcV3fk0b0BwRXC/zxRTEnAsgYT7MwdQDt/ZEbtdzdVC+hcpF0A==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@typescript-eslint/scope-manager@8.5.0':
resolution: {integrity: sha512-06JOQ9Qgj33yvBEx6tpC8ecP9o860rsR22hWMEd12WcTRrfaFgHr2RB/CA/B+7BMhHkXT4chg2MyboGdFGawYg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@typescript-eslint/scope-manager@8.6.0': '@typescript-eslint/scope-manager@8.6.0':
resolution: {integrity: sha512-ZuoutoS5y9UOxKvpc/GkvF4cuEmpokda4wRg64JEia27wX+PysIE9q+lzDtlHHgblwUWwo5/Qn+/WyTUvDwBHw==} resolution: {integrity: sha512-ZuoutoS5y9UOxKvpc/GkvF4cuEmpokda4wRg64JEia27wX+PysIE9q+lzDtlHHgblwUWwo5/Qn+/WyTUvDwBHw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@ -507,36 +492,10 @@ packages:
resolution: {integrity: sha512-D+w5uE8Y83K/P5VQZyKKi4pwTL2YkWOwtQOVJQI38Rp8f3pmY+Jmcps3wkSFSJK8wifTlvoHwwIBf1FsdCW/EA==} resolution: {integrity: sha512-D+w5uE8Y83K/P5VQZyKKi4pwTL2YkWOwtQOVJQI38Rp8f3pmY+Jmcps3wkSFSJK8wifTlvoHwwIBf1FsdCW/EA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@typescript-eslint/types@8.4.0':
resolution: {integrity: sha512-T1RB3KQdskh9t3v/qv7niK6P8yvn7ja1mS7QK7XfRVL6wtZ8/mFs/FHf4fKvTA0rKnqnYxl/uHFNbnEt0phgbw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@typescript-eslint/types@8.5.0':
resolution: {integrity: sha512-qjkormnQS5wF9pjSi6q60bKUHH44j2APxfh9TQRXK8wbYVeDYYdYJGIROL87LGZZ2gz3Rbmjc736qyL8deVtdw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@typescript-eslint/types@8.6.0': '@typescript-eslint/types@8.6.0':
resolution: {integrity: sha512-rojqFZGd4MQxw33SrOy09qIDS8WEldM8JWtKQLAjf/X5mGSeEFh5ixQlxssMNyPslVIk9yzWqXCsV2eFhYrYUw==} resolution: {integrity: sha512-rojqFZGd4MQxw33SrOy09qIDS8WEldM8JWtKQLAjf/X5mGSeEFh5ixQlxssMNyPslVIk9yzWqXCsV2eFhYrYUw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@typescript-eslint/typescript-estree@8.4.0':
resolution: {integrity: sha512-kJ2OIP4dQw5gdI4uXsaxUZHRwWAGpREJ9Zq6D5L0BweyOrWsL6Sz0YcAZGWhvKnH7fm1J5YFE1JrQL0c9dd53A==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
'@typescript-eslint/typescript-estree@8.5.0':
resolution: {integrity: sha512-vEG2Sf9P8BPQ+d0pxdfndw3xIXaoSjliG0/Ejk7UggByZPKXmJmw3GW5jV2gHNQNawBUyfahoSiCFVov0Ruf7Q==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
'@typescript-eslint/typescript-estree@8.6.0': '@typescript-eslint/typescript-estree@8.6.0':
resolution: {integrity: sha512-MOVAzsKJIPIlLK239l5s06YXjNqpKTVhBVDnqUumQJja5+Y94V3+4VUFRA0G60y2jNnTVwRCkhyGQpavfsbq/g==} resolution: {integrity: sha512-MOVAzsKJIPIlLK239l5s06YXjNqpKTVhBVDnqUumQJja5+Y94V3+4VUFRA0G60y2jNnTVwRCkhyGQpavfsbq/g==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@ -546,26 +505,12 @@ packages:
typescript: typescript:
optional: true optional: true
'@typescript-eslint/utils@8.4.0':
resolution: {integrity: sha512-swULW8n1IKLjRAgciCkTCafyTHHfwVQFt8DovmaF69sKbOxTSFMmIZaSHjqO9i/RV0wIblaawhzvtva8Nmm7lQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
'@typescript-eslint/utils@8.6.0': '@typescript-eslint/utils@8.6.0':
resolution: {integrity: sha512-eNp9cWnYf36NaOVjkEUznf6fEgVy1TWpE0o52e4wtojjBx7D1UV2WAWGzR+8Y5lVFtpMLPwNbC67T83DWSph4A==} resolution: {integrity: sha512-eNp9cWnYf36NaOVjkEUznf6fEgVy1TWpE0o52e4wtojjBx7D1UV2WAWGzR+8Y5lVFtpMLPwNbC67T83DWSph4A==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies: peerDependencies:
eslint: ^8.57.0 || ^9.0.0 eslint: ^8.57.0 || ^9.0.0
'@typescript-eslint/visitor-keys@8.4.0':
resolution: {integrity: sha512-zTQD6WLNTre1hj5wp09nBIDiOc2U5r/qmzo7wxPn4ZgAjHql09EofqhF9WF+fZHzL5aCyaIpPcT2hyxl73kr9A==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@typescript-eslint/visitor-keys@8.5.0':
resolution: {integrity: sha512-yTPqMnbAZJNy2Xq2XU8AdtOW9tJIr+UQb64aXB9f3B1498Zx9JorVgFJcZpEc9UBuCCrdzKID2RGAMkYcDtZOw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@typescript-eslint/visitor-keys@8.6.0': '@typescript-eslint/visitor-keys@8.6.0':
resolution: {integrity: sha512-wapVFfZg9H0qOYh4grNVQiMklJGluQrOUiOhYRrQWhx7BY/+I1IYb8BczWNbbUpO+pqy0rDciv3lQH5E1bCLrg==} resolution: {integrity: sha512-wapVFfZg9H0qOYh4grNVQiMklJGluQrOUiOhYRrQWhx7BY/+I1IYb8BczWNbbUpO+pqy0rDciv3lQH5E1bCLrg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@ -815,17 +760,17 @@ packages:
peerDependencies: peerDependencies:
eslint: '>=6.0.0' eslint: '>=6.0.0'
eslint-config-sukka@6.4.3: eslint-config-sukka@6.5.0:
resolution: {integrity: sha512-O6OmjfypNTrsV30v3qmHmoqljPW2P9ChuGgNZ4q49qgv857vVjC3flM6x21bkNGBnDUdE5WYEfKynK2jyYB6oQ==} resolution: {integrity: sha512-Gij38wGbMvp4gtU0iynT+OdmZ6Rxy4dX6AMtISaaPQaXnoUq7lzI6BdgO6djtoEIrwdJy8Ko3T+mBdQR5lZHWg==}
eslint-formatter-sukka@6.4.3: eslint-formatter-sukka@6.5.0:
resolution: {integrity: sha512-88BPNVPWpF1O4ED8rcWk/JtEld8aAvrCVktCsWGXv+MpSi/VnjZnyLmcGMdQKKCJY3f/p5Okevquac8V/INclA==} resolution: {integrity: sha512-IMIshiXCwAUZ0Xt+q7zLbYSdtvjl4sY5mwA2bRChH0UpvVfWZzwhA/CHzPRX+a30IIsnQj389FIwLfgOgZcs7g==}
eslint-import-resolver-node@0.3.9: eslint-import-resolver-node@0.3.9:
resolution: {integrity: sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==} resolution: {integrity: sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==}
eslint-import-resolver-ts-bundled@6.4.3: eslint-import-resolver-ts-bundled@6.5.0:
resolution: {integrity: sha512-++CM0yQfW85sslw9YuNqKFwf34NgZG2197ZbUmYFo+xT9VbLqolL3ns9elul9qizaDQqWF0JS92Qv/stjsLF7g==} resolution: {integrity: sha512-5Kvz6ZYA0KpRXuCsr7q4BpbEhDe8A+Enu80C+EzrlUOhwXWgnGof3PDxPXIzAi+A3OAy0u8i++CPP+nu33LASg==}
eslint-plugin-autofix@2.2.0: eslint-plugin-autofix@2.2.0:
resolution: {integrity: sha512-lu8+0r+utyTroROqXIL+a8sUpICi6za22hIzlpb0+x0tQGRnOjhOKU7v8mC/NS/faDoVsw6xW3vUpc+Mcz5NWA==} resolution: {integrity: sha512-lu8+0r+utyTroROqXIL+a8sUpICi6za22hIzlpb0+x0tQGRnOjhOKU7v8mC/NS/faDoVsw6xW3vUpc+Mcz5NWA==}
@ -851,8 +796,8 @@ packages:
peerDependencies: peerDependencies:
eslint: '>=6.0.0' eslint: '>=6.0.0'
eslint-plugin-n@17.10.2: eslint-plugin-n@17.10.3:
resolution: {integrity: sha512-e+s4eAf5NtJaxPhTNu3qMO0Iz40WANS93w9LQgYcvuljgvDmWi/a3rh+OrNyMHeng6aOWGJO0rCg5lH4zi8yTw==} resolution: {integrity: sha512-ySZBfKe49nQZWR1yFaA0v/GsH6Fgp8ah6XV0WDz6CN8WO0ek4McMzb7A2xnf4DCYV43frjCygvb9f/wx7UUxRw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies: peerDependencies:
eslint: '>=8.23.0' eslint: '>=8.23.0'
@ -869,8 +814,8 @@ packages:
peerDependencies: peerDependencies:
eslint: '>=8.44.0' eslint: '>=8.44.0'
eslint-plugin-sukka@6.4.3: eslint-plugin-sukka@6.5.0:
resolution: {integrity: sha512-erPp7zAwT7luXVpICN5OI6MZXgQAIDiQc0d21tDcBfZqHjb2hTUjB17HxeqDafHsg7SHZVBolqCd+WUcYqr4og==} resolution: {integrity: sha512-Jao2e+hk9yX4kCpKSsLV27+h5JRfyQn/EvNZFm5kfkj/91j0WaIq3lJ46wZMka8CN6q28ujoo7hq9g6UCj8qDQ==}
eslint-plugin-unused-imports@4.1.4: eslint-plugin-unused-imports@4.1.4:
resolution: {integrity: sha512-YptD6IzQjDardkl0POxnnRBhU1OEePMV0nd6siHaRBbd+lyh6NAhFEobiznKU7kTsSsDeSD62Pe7kAM1b7dAZQ==} resolution: {integrity: sha512-YptD6IzQjDardkl0POxnnRBhU1OEePMV0nd6siHaRBbd+lyh6NAhFEobiznKU7kTsSsDeSD62Pe7kAM1b7dAZQ==}
@ -1508,14 +1453,14 @@ packages:
text-table@0.2.0: text-table@0.2.0:
resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==}
tldts-core@6.1.46: tldts-core@6.1.47:
resolution: {integrity: sha512-zA3ai/j4aFcmbqTvTONkSBuWs0Q4X4tJxa0gV9sp6kDbq5dAhQDSg0WUkReEm0fBAKAGNj+wPKCCsR8MYOYmwA==} resolution: {integrity: sha512-6SWyFMnlst1fEt7GQVAAu16EGgFK0cLouH/2Mk6Ftlwhv3Ol40L0dlpGMcnnNiiOMyD2EV/aF3S+U2nKvvLvrA==}
tldts-experimental@6.1.46: tldts-experimental@6.1.47:
resolution: {integrity: sha512-u99EeyzhUNRwJep1M1CXBGmQ6OWncv0bi98/9CBv+AX6ep0B3HOkl0iS+C2OisWWoMBXdNkdNQa85aLkyrWwlA==} resolution: {integrity: sha512-XOcqmjaHA3hHQsV9TggV9bQ6Y+N4P/9Bnbmp/QQto+EcEBNTex10KnvPQBbQwLgLSarHEuTyC5PktohvIsYNBQ==}
tldts@6.1.46: tldts@6.1.47:
resolution: {integrity: sha512-fw81lXV2CijkNrZAZvee7wegs+EOlTyIuVl/z4q6OUzZHQ1jGL2xQzKXq9geYf/1tzo9LZQLrkcko2m8HLh+rg==} resolution: {integrity: sha512-R/K2tZ5MiY+mVrnSkNJkwqYT2vUv1lcT6wJvd2emGaMJ7PHUGRY4e3tUsdFCXgqxi2QgbHjL3yJgXCo40v9Hxw==}
hasBin: true hasBin: true
to-regex-range@5.0.1: to-regex-range@5.0.1:
@ -1542,10 +1487,6 @@ packages:
resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==} resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==}
engines: {node: '>=4'} engines: {node: '>=4'}
type-fest@4.26.1:
resolution: {integrity: sha512-yOGpmOAL7CkKe/91I5O3gPICmJNLJ1G4zFYVAsRHg7M64biSnPtRj0WNQt++bRkjYOqjWXrhnUw1utzmVErAdg==}
engines: {node: '>=16'}
typescript-eslint@8.6.0: typescript-eslint@8.6.0:
resolution: {integrity: sha512-eEhhlxCEpCd4helh3AO1hk0UP2MvbRi9CtIAJTVPQjuSXOOO2jsEacNi4UdcJzZJbeuVg1gMhtZ8UYb+NFYPrA==} resolution: {integrity: sha512-eEhhlxCEpCd4helh3AO1hk0UP2MvbRi9CtIAJTVPQjuSXOOO2jsEacNi4UdcJzZJbeuVg1gMhtZ8UYb+NFYPrA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@ -1633,7 +1574,7 @@ snapshots:
'@remusao/smaz': 1.10.0 '@remusao/smaz': 1.10.0
'@types/chrome': 0.0.270 '@types/chrome': 0.0.270
'@types/firefox-webext-browser': 120.0.4 '@types/firefox-webext-browser': 120.0.4
tldts-experimental: 6.1.46 tldts-experimental: 6.1.47
'@dual-bundle/import-meta-resolve@4.1.0': {} '@dual-bundle/import-meta-resolve@4.1.0': {}
@ -1666,22 +1607,22 @@ snapshots:
'@eslint-community/regexpp@4.11.0': {} '@eslint-community/regexpp@4.11.0': {}
'@eslint-sukka/node@6.4.3(eslint@9.10.0)(typescript@5.6.2)': '@eslint-sukka/node@6.5.0(eslint@9.10.0)(typescript@5.6.2)':
dependencies: dependencies:
'@eslint-sukka/shared': 6.4.3(eslint@9.10.0)(typescript@5.6.2) '@eslint-sukka/shared': 6.5.0(eslint@9.10.0)(typescript@5.6.2)
eslint-plugin-n: 17.10.2(eslint@9.10.0) eslint-plugin-n: 17.10.3(eslint@9.10.0)
eslint-plugin-sukka: 6.4.3(eslint@9.10.0)(typescript@5.6.2) eslint-plugin-sukka: 6.5.0(eslint@9.10.0)(typescript@5.6.2)
transitivePeerDependencies: transitivePeerDependencies:
- eslint - eslint
- supports-color - supports-color
- typescript - typescript
'@eslint-sukka/shared@6.4.3(eslint@9.10.0)(typescript@5.6.2)': '@eslint-sukka/shared@6.5.0(eslint@9.10.0)(typescript@5.6.2)':
dependencies: dependencies:
'@dual-bundle/import-meta-resolve': 4.1.0 '@dual-bundle/import-meta-resolve': 4.1.0
'@package-json/types': 0.0.11
'@types/eslint': 9.6.1 '@types/eslint': 9.6.1
'@typescript-eslint/utils': 8.6.0(eslint@9.10.0)(typescript@5.6.2) '@typescript-eslint/utils': 8.6.0(eslint@9.10.0)(typescript@5.6.2)
type-fest: 4.26.1
transitivePeerDependencies: transitivePeerDependencies:
- eslint - eslint
- supports-color - supports-color
@ -1782,6 +1723,8 @@ snapshots:
'@oxc-resolver/binding-win32-x64-msvc@1.10.2': '@oxc-resolver/binding-win32-x64-msvc@1.10.2':
optional: true optional: true
'@package-json/types@0.0.11': {}
'@remusao/guess-url-type@1.3.0': {} '@remusao/guess-url-type@1.3.0': {}
'@remusao/small@1.3.0': {} '@remusao/small@1.3.0': {}
@ -1811,7 +1754,7 @@ snapshots:
'@stylistic/eslint-plugin-ts@2.8.0(eslint@9.10.0)(typescript@5.6.2)': '@stylistic/eslint-plugin-ts@2.8.0(eslint@9.10.0)(typescript@5.6.2)':
dependencies: dependencies:
'@typescript-eslint/utils': 8.4.0(eslint@9.10.0)(typescript@5.6.2) '@typescript-eslint/utils': 8.6.0(eslint@9.10.0)(typescript@5.6.2)
eslint: 9.10.0 eslint: 9.10.0
eslint-visitor-keys: 4.0.0 eslint-visitor-keys: 4.0.0
espree: 10.1.0 espree: 10.1.0
@ -1972,19 +1915,6 @@ snapshots:
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
'@typescript-eslint/parser@8.5.0(eslint@9.10.0)(typescript@5.6.2)':
dependencies:
'@typescript-eslint/scope-manager': 8.5.0
'@typescript-eslint/types': 8.5.0
'@typescript-eslint/typescript-estree': 8.5.0(typescript@5.6.2)
'@typescript-eslint/visitor-keys': 8.5.0
debug: 4.3.6(supports-color@8.1.1)
eslint: 9.10.0
optionalDependencies:
typescript: 5.6.2
transitivePeerDependencies:
- supports-color
'@typescript-eslint/parser@8.6.0(eslint@9.10.0)(typescript@5.6.2)': '@typescript-eslint/parser@8.6.0(eslint@9.10.0)(typescript@5.6.2)':
dependencies: dependencies:
'@typescript-eslint/scope-manager': 8.6.0 '@typescript-eslint/scope-manager': 8.6.0
@ -1998,19 +1928,9 @@ snapshots:
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
'@typescript-eslint/scope-manager@8.4.0':
dependencies:
'@typescript-eslint/types': 8.4.0
'@typescript-eslint/visitor-keys': 8.4.0
'@typescript-eslint/scope-manager@8.5.0':
dependencies:
'@typescript-eslint/types': 8.5.0
'@typescript-eslint/visitor-keys': 8.5.0
'@typescript-eslint/scope-manager@8.6.0': '@typescript-eslint/scope-manager@8.6.0':
dependencies: dependencies:
'@typescript-eslint/types': 8.6.0 '@typescript-eslint/types': 8.0.0-alpha.36
'@typescript-eslint/visitor-keys': 8.6.0 '@typescript-eslint/visitor-keys': 8.6.0
'@typescript-eslint/type-utils@8.6.0(eslint@9.10.0)(typescript@5.6.2)': '@typescript-eslint/type-utils@8.6.0(eslint@9.10.0)(typescript@5.6.2)':
@ -2027,42 +1947,8 @@ snapshots:
'@typescript-eslint/types@8.0.0-alpha.36': {} '@typescript-eslint/types@8.0.0-alpha.36': {}
'@typescript-eslint/types@8.4.0': {}
'@typescript-eslint/types@8.5.0': {}
'@typescript-eslint/types@8.6.0': {} '@typescript-eslint/types@8.6.0': {}
'@typescript-eslint/typescript-estree@8.4.0(typescript@5.6.2)':
dependencies:
'@typescript-eslint/types': 8.4.0
'@typescript-eslint/visitor-keys': 8.4.0
debug: 4.3.6(supports-color@8.1.1)
fast-glob: 3.3.2
is-glob: 4.0.3
minimatch: 9.0.5
semver: 7.6.3
ts-api-utils: 1.3.0(typescript@5.6.2)
optionalDependencies:
typescript: 5.6.2
transitivePeerDependencies:
- supports-color
'@typescript-eslint/typescript-estree@8.5.0(typescript@5.6.2)':
dependencies:
'@typescript-eslint/types': 8.5.0
'@typescript-eslint/visitor-keys': 8.5.0
debug: 4.3.6(supports-color@8.1.1)
fast-glob: 3.3.2
is-glob: 4.0.3
minimatch: 9.0.5
semver: 7.6.3
ts-api-utils: 1.3.0(typescript@5.6.2)
optionalDependencies:
typescript: 5.6.2
transitivePeerDependencies:
- supports-color
'@typescript-eslint/typescript-estree@8.6.0(typescript@5.6.2)': '@typescript-eslint/typescript-estree@8.6.0(typescript@5.6.2)':
dependencies: dependencies:
'@typescript-eslint/types': 8.6.0 '@typescript-eslint/types': 8.6.0
@ -2078,17 +1964,6 @@ snapshots:
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
'@typescript-eslint/utils@8.4.0(eslint@9.10.0)(typescript@5.6.2)':
dependencies:
'@eslint-community/eslint-utils': 4.4.0(eslint@9.10.0)
'@typescript-eslint/scope-manager': 8.4.0
'@typescript-eslint/types': 8.4.0
'@typescript-eslint/typescript-estree': 8.4.0(typescript@5.6.2)
eslint: 9.10.0
transitivePeerDependencies:
- supports-color
- typescript
'@typescript-eslint/utils@8.6.0(eslint@9.10.0)(typescript@5.6.2)': '@typescript-eslint/utils@8.6.0(eslint@9.10.0)(typescript@5.6.2)':
dependencies: dependencies:
'@eslint-community/eslint-utils': 4.4.0(eslint@9.10.0) '@eslint-community/eslint-utils': 4.4.0(eslint@9.10.0)
@ -2100,16 +1975,6 @@ snapshots:
- supports-color - supports-color
- typescript - typescript
'@typescript-eslint/visitor-keys@8.4.0':
dependencies:
'@typescript-eslint/types': 8.4.0
eslint-visitor-keys: 3.4.3
'@typescript-eslint/visitor-keys@8.5.0':
dependencies:
'@typescript-eslint/types': 8.5.0
eslint-visitor-keys: 3.4.3
'@typescript-eslint/visitor-keys@8.6.0': '@typescript-eslint/visitor-keys@8.6.0':
dependencies: dependencies:
'@typescript-eslint/types': 8.0.0-alpha.36 '@typescript-eslint/types': 8.0.0-alpha.36
@ -2354,24 +2219,24 @@ snapshots:
eslint: 9.10.0 eslint: 9.10.0
semver: 7.6.3 semver: 7.6.3
eslint-config-sukka@6.4.3(@typescript-eslint/eslint-plugin@8.6.0(@typescript-eslint/parser@8.6.0(eslint@9.10.0)(typescript@5.6.2))(eslint@9.10.0)(typescript@5.6.2))(eslint@9.10.0)(typescript@5.6.2): eslint-config-sukka@6.5.0(@typescript-eslint/eslint-plugin@8.6.0(@typescript-eslint/parser@8.6.0(eslint@9.10.0)(typescript@5.6.2))(eslint@9.10.0)(typescript@5.6.2))(eslint@9.10.0)(typescript@5.6.2):
dependencies: dependencies:
'@eslint-community/eslint-plugin-eslint-comments': 4.4.0(eslint@9.10.0) '@eslint-community/eslint-plugin-eslint-comments': 4.4.0(eslint@9.10.0)
'@eslint-sukka/shared': 6.4.3(eslint@9.10.0)(typescript@5.6.2) '@eslint-sukka/shared': 6.5.0(eslint@9.10.0)(typescript@5.6.2)
'@eslint/js': 9.10.0 '@eslint/js': 9.10.0
'@stylistic/eslint-plugin-js': 2.8.0(eslint@9.10.0) '@stylistic/eslint-plugin-js': 2.8.0(eslint@9.10.0)
'@stylistic/eslint-plugin-plus': 2.8.0(eslint@9.10.0) '@stylistic/eslint-plugin-plus': 2.8.0(eslint@9.10.0)
'@stylistic/eslint-plugin-ts': 2.8.0(eslint@9.10.0)(typescript@5.6.2) '@stylistic/eslint-plugin-ts': 2.8.0(eslint@9.10.0)(typescript@5.6.2)
'@typescript-eslint/parser': 8.5.0(eslint@9.10.0)(typescript@5.6.2) '@typescript-eslint/parser': 8.6.0(eslint@9.10.0)(typescript@5.6.2)
ci-info: 4.0.0 ci-info: 4.0.0
defu: 6.1.4 defu: 6.1.4
eslint-import-resolver-ts-bundled: 6.4.3 eslint-import-resolver-ts-bundled: 6.5.0
eslint-plugin-autofix: 2.2.0(eslint@9.10.0) eslint-plugin-autofix: 2.2.0(eslint@9.10.0)
eslint-plugin-import-x: 4.2.1(eslint@9.10.0)(typescript@5.6.2) eslint-plugin-import-x: 4.2.1(eslint@9.10.0)(typescript@5.6.2)
eslint-plugin-jsonc: 2.16.0(eslint@9.10.0) eslint-plugin-jsonc: 2.16.0(eslint@9.10.0)
eslint-plugin-promise: 7.1.0(eslint@9.10.0) eslint-plugin-promise: 7.1.0(eslint@9.10.0)
eslint-plugin-regexp: 2.6.0(eslint@9.10.0) eslint-plugin-regexp: 2.6.0(eslint@9.10.0)
eslint-plugin-sukka: 6.4.3(eslint@9.10.0)(typescript@5.6.2) eslint-plugin-sukka: 6.5.0(eslint@9.10.0)(typescript@5.6.2)
eslint-plugin-unused-imports: 4.1.4(@typescript-eslint/eslint-plugin@8.6.0(@typescript-eslint/parser@8.6.0(eslint@9.10.0)(typescript@5.6.2))(eslint@9.10.0)(typescript@5.6.2))(eslint@9.10.0) eslint-plugin-unused-imports: 4.1.4(@typescript-eslint/eslint-plugin@8.6.0(@typescript-eslint/parser@8.6.0(eslint@9.10.0)(typescript@5.6.2))(eslint@9.10.0)(typescript@5.6.2))(eslint@9.10.0)
jsonc-eslint-parser: 2.4.0 jsonc-eslint-parser: 2.4.0
local-pkg: 0.5.0 local-pkg: 0.5.0
@ -2383,7 +2248,7 @@ snapshots:
- supports-color - supports-color
- typescript - typescript
eslint-formatter-sukka@6.4.3: eslint-formatter-sukka@6.5.0:
dependencies: dependencies:
ci-info: 4.0.0 ci-info: 4.0.0
picocolors: 1.1.0 picocolors: 1.1.0
@ -2396,7 +2261,7 @@ snapshots:
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
eslint-import-resolver-ts-bundled@6.4.3: eslint-import-resolver-ts-bundled@6.5.0:
dependencies: dependencies:
enhanced-resolve: 5.17.1 enhanced-resolve: 5.17.1
@ -2417,7 +2282,7 @@ snapshots:
eslint-plugin-import-x@4.2.1(eslint@9.10.0)(typescript@5.6.2): eslint-plugin-import-x@4.2.1(eslint@9.10.0)(typescript@5.6.2):
dependencies: dependencies:
'@typescript-eslint/utils': 8.4.0(eslint@9.10.0)(typescript@5.6.2) '@typescript-eslint/utils': 8.6.0(eslint@9.10.0)(typescript@5.6.2)
debug: 4.3.6(supports-color@8.1.1) debug: 4.3.6(supports-color@8.1.1)
doctrine: 3.0.0 doctrine: 3.0.0
eslint: 9.10.0 eslint: 9.10.0
@ -2443,7 +2308,7 @@ snapshots:
natural-compare: 1.4.0 natural-compare: 1.4.0
synckit: 0.6.2 synckit: 0.6.2
eslint-plugin-n@17.10.2(eslint@9.10.0): eslint-plugin-n@17.10.3(eslint@9.10.0):
dependencies: dependencies:
'@eslint-community/eslint-utils': 4.4.0(eslint@9.10.0) '@eslint-community/eslint-utils': 4.4.0(eslint@9.10.0)
enhanced-resolve: 5.17.1 enhanced-resolve: 5.17.1
@ -2470,9 +2335,9 @@ snapshots:
regexp-ast-analysis: 0.7.1 regexp-ast-analysis: 0.7.1
scslre: 0.3.0 scslre: 0.3.0
eslint-plugin-sukka@6.4.3(eslint@9.10.0)(typescript@5.6.2): eslint-plugin-sukka@6.5.0(eslint@9.10.0)(typescript@5.6.2):
dependencies: dependencies:
'@eslint-sukka/shared': 6.4.3(eslint@9.10.0)(typescript@5.6.2) '@eslint-sukka/shared': 6.5.0(eslint@9.10.0)(typescript@5.6.2)
'@typescript-eslint/type-utils': 8.6.0(eslint@9.10.0)(typescript@5.6.2) '@typescript-eslint/type-utils': 8.6.0(eslint@9.10.0)(typescript@5.6.2)
'@typescript-eslint/utils': 8.6.0(eslint@9.10.0)(typescript@5.6.2) '@typescript-eslint/utils': 8.6.0(eslint@9.10.0)(typescript@5.6.2)
transitivePeerDependencies: transitivePeerDependencies:
@ -3127,15 +2992,15 @@ snapshots:
text-table@0.2.0: {} text-table@0.2.0: {}
tldts-core@6.1.46: {} tldts-core@6.1.47: {}
tldts-experimental@6.1.46: tldts-experimental@6.1.47:
dependencies: dependencies:
tldts-core: 6.1.46 tldts-core: 6.1.47
tldts@6.1.46: tldts@6.1.47:
dependencies: dependencies:
tldts-core: 6.1.46 tldts-core: 6.1.47
to-regex-range@5.0.1: to-regex-range@5.0.1:
dependencies: dependencies:
@ -3157,8 +3022,6 @@ snapshots:
type-detect@4.0.8: {} type-detect@4.0.8: {}
type-fest@4.26.1: {}
typescript-eslint@8.6.0(eslint@9.10.0)(typescript@5.6.2): typescript-eslint@8.6.0(eslint@9.10.0)(typescript@5.6.2):
dependencies: dependencies:
'@typescript-eslint/eslint-plugin': 8.6.0(@typescript-eslint/parser@8.6.0(eslint@9.10.0)(typescript@5.6.2))(eslint@9.10.0)(typescript@5.6.2) '@typescript-eslint/eslint-plugin': 8.6.0(@typescript-eslint/parser@8.6.0(eslint@9.10.0)(typescript@5.6.2))(eslint@9.10.0)(typescript@5.6.2)