chore(site): take in-range security updates in the lockfile - #171
Conversation
npm audit fix --package-lock-only; package.json is unchanged, so every bump stays inside the declared ranges. 9 advisories drop to 3. The site builds identically before and after (2 pages, 7 files, no warnings). The remaining three (astro, sharp, esbuild) need astro 5 -> 7, a major upgrade left for its own change. The critical astro advisories need define:vars or server islands, and this static site uses neither. Refs #1
|
Output check: the two builds (current lockfile vs this PR) were compared file by file. All 7 files in |
TechEngine change review: PASS
Changed data
Changed record examplescpu added
cpu modified
Heuristic review
Changed site
Modified site files
|
TechEngine validation stats: PASS
Data summary
Warning Tracked verified coverage is below 50% for watch 4.2% (18/433), tablet 6.3% (218/3455), soc 6.9% (146/2104), brand 11.6% (24/207), smartphone 18.6% (17384/93396), all 20.2% (21369/105758), gpu 39.9% (809/2030), pda 47.1% (66/140). Validation notes
Key output:
Homepage build: |
Lockfile-only security update for the site.
package.jsonis unchanged — every bump stays inside the ranges already declared.npm auditgoes from 9 vulnerabilities (1 critical, 7 high, 1 low) to 3.Verified by building — CI does not
TechAPI's PR checks validate data but never build the site; the build only runs on deploy from
main. So the site was built locally both ways, from a checkout without the million-file dump (astro build, skippingprebuild, which needsindex.json's git history):npm ciastro buildWhat is left, and why it is not in this PR
The remaining three —
astro(critical),sharp(high),esbuild(low) — only clear with astro 5 → 7, a semver-major upgrade that needs its own migration and review.Actual exposure is low in the meantime:
astroadvisories are XSS throughdefine:varsand replay of server-island parameters. The site uses neither — nodefine:varsanywhere insite/src, and it is a static build (nooutput: server, no adapter).sharp,esbuild, and most of what this PR fixes (vite / esbuild dev servers, launch-editor, postcss source maps) run on the build machine, not in what visitors download.Refs #1
Closes #19