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.

7 lines (6 loc) 241 B
import { CharacterReader } from '../character-reader/character-reader-level-0'; import { Dot } from 'regjsparser'; export declare function buildDotCharacterReader({ dotAll, node, }: { dotAll: boolean; node: Dot; }): CharacterReader;