fix(producer): compile and render-telemetry tag scans run in linear time (#7896)

* fix(producer): compile and render-telemetry tag scans run in linear time

The compiler's gsap script rewrite, crossorigin and preload strips, remote
media and image src scans and inline-script scan, and the render telemetry's
tag counts, now use forward scans that return exactly what the regexes they
replace returned. Those regexes rescanned to the end of the page from every
tag opener that never closed, or from every character of a long whitespace
run in one tag. The telemetry's script and style strip stops after 8 passes.

* test(producer): give the scan fuzz tests room on CI and raise the producer size budget
This commit is contained in:
Michael Wang
2026-11-16 02:08:44 +00:00
committed by GitHub
parent 478313ba0e
commit 82fdf406c4
6 changed files with 863 additions and 87 deletions
+1 -1
View File
@@ -36,7 +36,7 @@
"unpacked": 541601
},
"@hyperframes/producer": {
"packed": 901000,
"packed": 921000,
"unpacked": 3290000
},
"@hyperframes/sdk": {