chore(deps): regenerate dependency transparency snapshots - #379
Conversation
The committed snapshots behind dormouse.sh/supply-chain were last regenerated on 2026-07-22 (ed143a9). Since then Renovate landed react 19.2.8, @stricli/core 1.3.0, and a batch of cargo bumps (base64 0.23.0, getrandom 0.4.3, serde 1.0.229, serde_json 1.0.151), and c221ca4 added @xterm/addon-webgl as a production dependency of lib and standalone. The page was therefore disclosing versions that don't match what ships. The large net deletion on the cargo side is the knock-on of those direct bumps: the superseded base64/getrandom versions demote from direct to transitive, and several build-time-only crates (prettyplease, leb128fmt, id-arena, duplicate foldhash/hashbrown, unicode-xid) drop out of the resolved graph. Clears the one violated `FAIL IF` on the nightly security audit (#301). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Deploying mouseterm with
|
| Latest commit: |
e60906c
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://c6776bd1.mouseterm.pages.dev |
| Branch Preview URL: | https://chore-regenerate-dep-snapsho.mouseterm.pages.dev |
dormouse-bot
left a comment
There was a problem hiding this comment.
Checked the regeneration mechanically rather than by eye, since that's the part a human can't scan across 3.5k lines: the cargo file's 487 name@version entries are exactly the 487 sourced packages in standalone/src-tauri/Cargo.lock (no adds, no drops), the 13 direct entries are exactly the deps + build-deps + target-deps declared in standalone/src-tauri/Cargo.toml, and every npm version matches what pnpm-lock.yaml resolves for the four product importers. Both files are sorted per compareDependencyEntries / localeCompare, byte-identical to JSON.stringify(…, null, 2) + "\n", and contain no metadata-only edits — every +/- line is a version bump or a whole-entry add/remove. dependencies-runtime.json is correctly untouched (devEngines.runtime.version is still 24.18.0).
One thing worth raising beyond the diff. This snapshot drift isn't a one-off: the generate-deps.js FAIL IF in SECURITY.md has been red on every nightly audit since 2026-07-28 — 19 consecutive reports on #301 — because the snapshots are only ever regenerated by hand, while Renovate updates the lockfiles weekly. The audit catches it nightly, which is after dormouse.sh/supply-chain has already published versions that don't ship.
The standalone-smoketest job in .github/workflows/ci.yml already has everything the generator needs — pnpm install, dtolnay/rust-toolchain, and a cargo check that warms the same metadata — so appending a step there would move the detection onto the Renovate PR that causes the drift:
- name: Dependency snapshots up to date
run: |
node website/scripts/generate-deps.js
git diff --exit-code -- website/src/data/That's a separate concern from this PR, so I haven't touched it here. Happy to open it as its own PR if you want it.
Runs
node website/scripts/generate-deps.jsand commits the result.Why
The nightly
security-auditworkflow has one violatedFAIL IF: the committed snapshots behind dormouse.sh/supply-chain are stale relative to the lockfiles already onmain, so the page discloses dependency versions that don't match what ships. See #301 (the 2026-08-15 report).The snapshots were last regenerated on 2026-07-22 (ed143a9). Everything since then is drift.
What changed
dependencies-npm.json@stricli/core1.2.9 → 1.3.0react/react-dom19.2.7 → 19.2.8@xterm/addon-webgl0.20.0-beta.291 — added as a production dependency oflibandstandaloneby c221ca4 ("perf(lib): render terminals on WebGL"), so it genuinely belongs on the pagedependencies-cargo.json— direct:base640.22.1 → 0.23.0,getrandom0.2.17 → 0.4.3,serde1.0.228 → 1.0.229,serde_json1.0.150 → 1.0.151.The large net deletion (+22/−120) is the knock-on of those direct bumps, not a dropped disclosure: the superseded
base64/getrandomversions demote from direct to transitive,syn3.0.3 appears, and several build-time-only crates (prettyplease,leb128fmt,id-arena, duplicatefoldhash/hashbrown,unicode-xid) fall out of the resolved graph.dependencies-runtime.jsonregenerated byte-identical — the Node pin hasn't moved.Verification
pnpm install --frozen-lockfile→ "Already up to date", so the npm scan reflects the locked treecargo metadata --locked🤖 Generated with Claude Code