UNPKG

redos-detector

Version:

A CLI and library which tests helps score how vulnerable a regex pattern is to ReDoS attacks. Supported in the browser, Node and Deno.

9 lines (8 loc) 363 B
import { CharacterReader } from '../character-reader/character-reader-level-0'; import { Disjunction } from 'regjsparser'; import { MyFeatures } from '../parse'; export declare function buildDisjunctionCharacterReader({ caseInsensitive, dotAll, node, }: { caseInsensitive: boolean; dotAll: boolean; node: Disjunction<MyFeatures>; }): CharacterReader;