Housekeeping

This commit is contained in:
SukkaW
2024-10-18 01:15:41 +08:00
parent 489d73ec86
commit 24b928dc32
4 changed files with 206 additions and 171 deletions

View File

@@ -1,7 +0,0 @@
const unsupported = Symbol('unsupported');
// https://dreamacro.github.io/clash/configuration/rules.html
export const PROCESSOR: Record<string, ((raw: string, type: string, value: string) => string) | typeof unsupported> = {
'URL-REGEX': unsupported,
'USER-AGENT': unsupported
};

View File

@@ -1,5 +1,4 @@
// @ts-check
import { NetworkFilter } from '@cliqz/adblocker';
import { NetworkFilter } from '@ghostery/adblocker';
import { processLine } from './process-line';
import tldts from 'tldts-experimental';