fix(filter): use isolated linear-time patterns

Backtracking patterns can exhaust worker CPU on untrusted payloads.
Use linear-time matching and separate bounded cache namespaces so
glob and regex entries cannot corrupt each other.
This commit is contained in:
翅膀 committed 2026-10-23 23:21:20 +08:00
1 parent 50966a4c50
commit 125d5eee1f
4 files changed
+102 -23

No files matched your search

+1
View File
@@ -29,6 +29,7 @@
"markdown-it": "^15.0.0",
"nuxt": "^4.1.0",
"octokit": "^4.1.0",
"re2js": "^2.8.8",
"valibot": "^1.4.2",
"vue": "^3.5.13"
},