Commit Graph
5 Commits
Author SHA1 Message Date
Davi Lopes Rosa de Oliveira fe8e571f78 test(javascript): pin the external-script loads edge to its HTML source
The new inline-scripts CLI case asserted the external <script src> survived
by matching a "loads" edge on resolved_path alone. The fixture's package.json
also declares "main":"main.js", which produces its own "loads" edge with the
same resolved_path, so the assertion could pass through the package entrypoint
even if the HTML script edge regressed. Also require script_path === "main.js"
to pin the assertion to the HTML-derived edge, matching the reference-html case
in the same file. Tests-only.
2026-11-21 22:29:41 +01:00
Davi Lopes Rosa de Oliveira 3eae4de89f test(javascript): cover the inline-HTML unavailable scope through the public CLI
The analyzer already reports valid HTML containing inline <script> bodies
through an explicit "parse-html-inline-scripts" unavailable scope, so an
application whose endpoints, storage, or imports live in inline scripts is
surfaced as not-analyzed rather than silently empty. That contract was asserted
only at the filesystem boundary (javascriptHtmlEntrypoints.test.ts); the public
CLI acceptance surface had no scenario proving it survives transport.

Add one acceptance case to the existing unavailable-HTML CLI suite. No source change.
2026-11-21 22:29:41 +01:00
morluto 1ff7be8c70 test(javascript): consolidate artifact graph and resolution coverage 2026-11-17 21:54:42 -05:00
hhangandhhang 20a282a181 fix(javascript): report SVG script references and skipped bodies (#8627)
Co-authored-by: hhang <169027046+xu91102@users.noreply.github.com>
2026-11-02 15:55:56 +08:00
morluto f36893a1a2 fix(javascript): retain unavailable HTML reference scopes 2026-10-24 03:11:07 +08:00