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.

4 lines (3 loc) 246 B
import { CharacterReader } from '../character-reader/character-reader-level-0'; import { UnicodePropertyEscape } from 'regjsparser'; export declare function buildUnicodePropertyEscapeCharacterReader(node: UnicodePropertyEscape): CharacterReader;