mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-18 16:08:56 +00:00
* fix(lint): match a timed wrapper's close tag literally The parser keeps any tag name up to whitespace, / or >, so a wrapper's name can hold regex syntax. closeTag built its pattern from the raw name: an unbalanced name threw a SyntaxError that rejected the whole lint, and a nested-quantifier name backtracked exponentially over the text before a nested video. Escape the name with the file's own escapeRegExp. * refactor(lint): name the escaped close-tag pattern instead of commenting it The comment ratchet keeps a file's comment share from rising.