Skip to content

chore(deps): clear pnpm audit advisories (hono, vite, js-yaml)#45

Merged
tuyakhov merged 1 commit into
mainfrom
claude/amazing-bardeen-in2ku4-audit-deps
Jun 17, 2026
Merged

chore(deps): clear pnpm audit advisories (hono, vite, js-yaml)#45
tuyakhov merged 1 commit into
mainfrom
claude/amazing-bardeen-in2ku4-audit-deps

Conversation

@tuyakhov

Copy link
Copy Markdown
Contributor

Why

CI's pnpm audit --audit-level=moderate gate (.github/workflows/ci.yml) started failing repo-wide on 9 newly-published advisories. main's last run was green only because it predates publication — pnpm audit queries the live advisory DB, so any new run (on main or any PR) now fails. This is surfacing on #44 but is not caused by it; splitting the fix out keeps that PR focused on the blocked status and fixes main too.

Advisories cleared (9 → 0)

Package Path Fix
hono (<4.12.25) runtime — @senderkit/cli@modelcontextprotocol/sdk override >=4.12.25 (5 advisories)
js-yaml (≤4.1.1) dev — @changesets/cli override >=4.2.0
vite (≤8.0.15) dev — vitest pin ^8.0.16 as a direct devDependency

Notes

  • hono / js-yaml are fixed with pnpm.overrides, matching the repo's existing precedent (postcss, esbuild).
  • vite can't be moved by an override: it's both a dependency and a peerDependency of vitest, which pnpm 10.13.1 won't re-resolve via overrides (it keeps the locked 8.0.14 even on a from-scratch lockfile). Pinning vite@^8.0.16 as a direct devDependency in the three test packages (cli, react-email, sdk) resolves the peer to the patched version and eliminates 8.0.14 from the tree entirely.
  • Only hono ships in a published package's runtime tree (@senderkit/cli), so the changeset is a single @senderkit/cli patch; vite/js-yaml are dev-only.

Verification

  • pnpm audit --audit-level=moderate and --audit-level=highno known vulnerabilities.
  • pnpm install --frozen-lockfile, pnpm build, pnpm typecheck pass.
  • pnpm test green — sdk 58, cli 80, react-email 29.

🤖 Generated with Claude Code


Generated by Claude Code

Newly-published advisories began failing the CI `pnpm audit --audit-level=moderate`
gate repo-wide (main passed only because its run predates publication).

- Override hono >=4.12.25 (runtime, via @modelcontextprotocol/sdk in the CLI)
  and js-yaml >=4.2.0 (dev, via @changesets/cli).
- Pin vite ^8.0.16 as a direct devDependency in the cli/react-email/sdk test
  packages. An override can't move it because vite is both a dependency and a
  peerDependency of vitest; pinning it where the peer is consumed does.

pnpm audit (moderate and high) now reports no known vulnerabilities; build,
typecheck, and tests pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A299AvEPRfoWPP3Hq5NJGa
@tuyakhov tuyakhov merged commit 0ba51e1 into main Jun 17, 2026
1 check passed
@tuyakhov tuyakhov deleted the claude/amazing-bardeen-in2ku4-audit-deps branch June 17, 2026 06:04
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