Skip to content

security: patch tests/ts npm deps (vite, source-map-js, @vitest/mocker) - #66

Merged
cdbartholomew merged 1 commit into
mainfrom
security/main-ts-locks
Nov 9, 2026
Merged

cdbartholomew merged 1 commit into
mainfrom
security/main-ts-locks

Conversation

@cdbartholomew

Copy link
Copy Markdown
Contributor

Closes the open main-side Dependabot alerts on tests/ts/package.json / tests/ts/package-lock.json.

Changes

Package From To How Alerts
vite 8.3.0 8.3.7 override (first patched 8.3.3; resolved to latest 8.3.x) HIGH #61, med #60/#62/#66/#67, low #76
source-map-js 1.2.1 1.2.2 override (transitive via vite) HIGH #59
@vitest/mocker 4.1.11 4.1.12 pulled in by bumping vitest 4.1.11 → 4.1.12 med #68, #69

Verification

  • Lockfile regenerated with npm install (no hand-editing). lockfileVersion unchanged (3).
  • npm ci succeeds and reports 0 vulnerabilities.

Notes on vite version

The installed vite is 8.x (bundled by vitest 4), not 6.x — vite's first patched release for these advisories is 8.3.3, and the lockfile resolves to 8.3.7 (latest 8.3.x). Pinning to 6.4.4 would be a downgrade and incompatible with vitest 4, so this PR tracks the vite-8 patch line that actually clears the alerts.

Awaits one maintainer review (main requires 1). The Tests Python/TS checks are not required and may be red due to a dev-backend integration dependency.

https://claude.ai/code/session_014J7s5yzoVEqoZ8LmnD8bQd

Bumps the tests/ts lockfile dependencies flagged by Dependabot:
- vitest 4.1.11 -> 4.1.12, which pulls @vitest/mocker 4.1.12
  (med #68/#69).
- vite -> 8.3.7 via override (HIGH #61, med #60/#62/#66/#67, low #76;
  first patched is 8.3.3, resolved to latest 8.3.x).
- source-map-js -> 1.2.2 via override (HIGH #59; transitive through vite).

Regenerated package-lock.json with npm install; npm ci succeeds with
0 vulnerabilities. lockfileVersion unchanged (3).

Claude-Session: https://claude.ai/code/session_014J7s5yzoVEqoZ8LmnD8bQd
@cdbartholomew
cdbartholomew merged commit 2cd78b7 into main Nov 9, 2026
1 of 3 checks passed
@cdbartholomew
cdbartholomew deleted the security/main-ts-locks branch November 9, 2026 21:41
@cdbartholomew cdbartholomew self-assigned this Nov 9, 2026
@cdbartholomew cdbartholomew added the p1 High severity - remediate within 30 days label Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

p1 High severity - remediate within 30 days security Security fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants