fix: parse flat selectors in linear time, closing a CPU exhaustion vu… · postcss/postcss-selector-parser@2a07850 · GitHub
Skip to content

Commit 2a07850

Browse files
committed
fix: parse flat selectors in linear time, closing a CPU exhaustion vulnerability
Backport of 62b1917 (7.1.6) to 6.x.
1 parent fb22e12 commit 2a07850

2 files changed

Lines changed: 107 additions & 6 deletions

File tree

‎src/__tests__/complexity.mjs‎

Lines changed: 94 additions & 0 deletions

‎src/parser.js‎

Lines changed: 13 additions & 6 deletions

0 commit comments

Comments
 (0)