Skip to content

chore(deps): patch development-tree advisories - #27

Merged
cherrchen merged 1 commit into
mainfrom
fix/supply-chain-1030
Oct 30, 2026
Merged

cherrchen merged 1 commit into
mainfrom
fix/supply-chain-1030

Conversation

@cherrchen

Copy link
Copy Markdown
Owner

Summary

Supply-chain remediation for the development dependency tree. pnpm audit dropped from 35 advisories (6 low / 17 moderate / 12 high) to a single high advisory.

  • vitest → ^4.1.12, katex → ^0.19.1 (0.18.x was a broken, deprecated release line)
  • Scoped pnpm overrides: jsdom>undici ≥7.30.1, css-tree>source-map-js ≥1.2.2, micromark-extension-math>katex ≥0.19.1, ajv>fast-uri ≥3.1.9
  • @deepseek-ai/dsh-http-proxy@0.2.0-rc.2>undici ≥8.12.2 — version-scoped so only the development pin floats to the patched copy inside its declared ^8.10.0 range; rc.5/alpha.2 lanes keep their exact published 8.11.2 pin for host fidelity

Remaining advisory (upstream-owned)

zod <4.6.6 (high) via @deepseek-ai/dsh-llm. Every supported DSH release — including upstream main — exact-pins zod@4.4.3, so no plugin-side override can fix it without diverging every lane from real hosts. Mitigation requires an upstream dsh-llm release bumping zod.

Stacked on #26

This branch is stacked on feat/adapt-1030; merge after #26 or retarget to main once #26 lands.

Test plan

  • pnpm install --no-frozen-lockfile
  • pnpm peers check
  • pnpm compat:check (supported list, peers, pins, installed packages agree; lockfile supply-chain policies pass)
  • pnpm test — 78 files / 1042 tests
  • pnpm docs:check
  • pnpm build + pnpm test:artifact
  • pnpm audit — 35 → 1 advisory (upstream-owned zod)
  • CI matrix (all 21 DSH lanes + macOS/Ubuntu/Windows)

@cherrchen
cherrchen added this pull request to stack #28 October 30, 2026 11:44
@cherrchen
cherrchen marked this pull request as ready for review October 30, 2026 11:48
Base automatically changed from feat/adapt-1030 to main October 30, 2026 12:47
Upgrade vitest to 4.1.12 and katex to 0.19.1, and add scoped pnpm
overrides so jsdom resolves undici 7.30.1, css-tree resolves
source-map-js 1.2.2, micromark-extension-math resolves katex 0.19.1,
the 0.2.0-rc.2 development pin's dsh-http-proxy resolves undici 8.12.3,
and ajv resolves fast-uri 3.1.9 or newer. Host-owned copies on other
DSH releases keep their published resolutions; the remaining zod
advisory is exact-pinned by upstream dsh-llm on every supported release.
@cherrchen
cherrchen force-pushed the fix/supply-chain-1030 branch from 2bd193b to 1eda837 Compare October 30, 2026 12:47
@cherrchen
cherrchen merged commit a12dfd9 into main Oct 30, 2026
26 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant