Defensive cap on a glob pattern length (v3.10.0-rc.68, round-3 re-sweep). Bounds the
tokenize/match work on an absurd operator-supplied glob from --exclude-glob /
--read-paths. As of v3.10.0-rc.71 the catastrophic-backtracking guard is structural —
compileGlob matches via a NON-backtracking DP, not a RegExp — so this is a
cheap secondary bound, not the ReDoS guard.
Defensive cap on a glob pattern length (v3.10.0-rc.68, round-3 re-sweep). Bounds the tokenize/match work on an absurd operator-supplied glob from
--exclude-glob/--read-paths. As of v3.10.0-rc.71 the catastrophic-backtracking guard is structural — compileGlob matches via a NON-backtracking DP, not aRegExp— so this is a cheap secondary bound, not the ReDoS guard.