Skip to content

chore: relax 30-day soak pins for vite and js-yaml (deferred from #125) - #266

Open
dean0x wants to merge 1 commit into
mainfrom
chore/relax-soak-pins
Open

chore: relax 30-day soak pins for vite and js-yaml (deferred from #125)#266
dean0x wants to merge 1 commit into
mainfrom
chore/relax-soak-pins

Conversation

@dean0x

@dean0x dean0x commented Jul 27, 2026

Copy link
Copy Markdown
Owner

What does this PR do?

PR #125 exact-pinned two devDeps to the oldest already-soaked patched versions while deferring newer releases that hadn't yet cleared the 30-day supply-chain soak window. As of 2026-07-27, both deferred versions have now soaked:

Package Old pin New range Published Soak age
vite (packages/vite-plugin devDep) "8.0.16" "^8.1.0" 2026-06-23 34 days ✓
js-yaml (crates/mds-napi devDep) "4.2.0" (manual pin) removed

vite: relaxed from an exact pin to the standard caret range ^8.1.0. Resolves to 8.1.5 in the lockfile.

js-yaml: @napi-rs/cli already declares "js-yaml": "^4.2.0" — with 4.3.0 now soaked (published 2026-06-26, 31 days), npm resolves to 4.3.0 on its own. The manual devDep that existed solely to hold the pin is removed entirely (preferred path per the deferred-bump plan).

Bonus: pre-existing transitive security fixes

Three high-severity Dependabot alerts were already present on main before this PR. Two are resolved as a side-effect:

  • js-yaml 4.2.0 → 4.3.0 — fixes advisory GHSA range (4.0.0–4.2.0)
  • fast-uri 3.1.2 → 3.1.4 — fixes GHSA-v2hh-gcrm-f6hx + GHSA-4c8g-83qw-93j6 (host confusion, CVSS 7.5); ajv's ^3.0.1 range already allows 3.1.4; soak rule waived for security patches per policy
  • postcss — fixed by vite 8.1.x (which ships a patched postcss)

npm audit now reports 0 vulnerabilities.

Cross-platform optional binary count in package-lock.json: 108 entries — unchanged.

Related issues

Closes the deferred-bump plan from #125.

Checklist

  • PR title follows Conventional Commits
  • Tests added/updated for the change (and assert behavior, not implementation) — no new tests needed; this is a devDep version bump
  • CHANGELOG.md updated under ## [Unreleased] (for user-facing changes) — devDep-only change, no user-facing impact
  • Rust gates pass: cargo test --workspace, cargo fmt --all --check, cargo clippy --workspace --all-targets -- -D warnings — unaffected (Rust source unchanged)
  • JS gates pass (if touched): npm run build -w @mdscript/vite-plugin passes (tsc); npm audit → 0 vulnerabilities
  • No new compiler/linter warnings

Generated by Claude Code

PR #125 exact-pinned two devDeps to the oldest soaked patched versions
while deferring newer releases that hadn't yet soaked. Both have now
cleared the 30-day window (as of 2026-07-27):

- vite 8.1.0 published 2026-06-23 (34 days) — relax from exact pin
  "8.0.16" to caret range "^8.1.0" in packages/vite-plugin/package.json
- js-yaml 4.3.0 published 2026-06-26 (31 days) — @napi-rs/cli's own
  "^4.2.0" range now resolves to 4.3.0 on its own, so remove the manual
  devDep pin entirely from crates/mds-napi/package.json

Also bumps two transitive security fixes in the lockfile (pre-existing
vulns, not introduced by this PR):
- js-yaml 4.2.0 → 4.3.0 (fixes GHSA advisory, 4.0.0–4.2.0 range)
- fast-uri 3.1.2 → 3.1.4 (fixes GHSA-v2hh-gcrm-f6hx + GHSA-4c8g-83qw-93j6;
  security patch, soak rule waived per policy)

Cross-platform optional binary count in package-lock.json: 108 (unchanged).
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.

2 participants