Chore: prefer foxts

This commit is contained in:
SukkaW
2024-12-16 23:11:34 +08:00
parent ecc635a455
commit 33c71d6546
3 changed files with 7 additions and 16 deletions

View File

@@ -6,7 +6,7 @@ import type { SingboxSourceFormat } from '../singbox';
import * as tldts from 'tldts-experimental';
import { looseTldtsOpt } from '../../constants/loose-tldts-opt';
import { fastStringCompare } from '../misc';
import escapeStringRegexp from 'escape-string-regexp-node';
import { escapeStringRegexp } from 'foxts/escape-string-regexp';
export class DomainsetOutput extends RuleOutput<string[]> {
protected type = 'domainset' as const;