Repository navigation
chore(deps): drop @hono/node-server resolution so it resolves to 2.x - #3772
Conversation
The root resolution pinned @hono/node-server to ^1.19.13, holding it on 1.19.18 (GHSA-rmxm-3fg6-px4f). The MCP SDK already accepts ^2.0.5, so removing the pin lets it resolve to 2.1.8.
|
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
🔵 Tier 2 — Low RiskSmall, isolated change with no API route or data model modifications. Why this tier:
Review process: AI review + quick human skim (target: 5–15 min). Reviewer validates AI assessment and checks for domain-specific concerns. Stats
|
PR Review✅ No issues found. |
Duplicate code analysisNo new duplicate code introduced by this PR. jscpd compared this branch against |
Deep ReviewScope: dependency-only change — removes the root Verification confirmed the change is safe on the dimensions that matter: 🟡 P2 -- recommended
🔵 P3 nitpicks (1)
Reviewers (6): correctness, security, testing, maintainability, reliability, previous-comments. Testing gaps: No test exercises the No finding blocks merge automatically. A maintainer will expect P0/P1 findings in code this PR changes to be fixed; P2/P3 are your call -- fix or reply. Never fix findings about surrounding code here; reply instead. Do not widen the PR. How to respond |
E2E Test Results✅ All tests passed • 473 passed • 1 skipped • 1068s
Tests ran across 4 shards in parallel. |
Summary
Clears GHSA-rmxm-3fg6-px4f (
@hono/node-server< 2.1.3), which Grype flags on the app image.@hono/node-servernow resolves to 2.1.8 instead of 1.19.18.The MCP SDK wasn't holding it back.
@modelcontextprotocol/sdk@1.32.2already accepts^1.19.9 || ^2.0.5, but the root resolution added in #3679 ("@hono/node-server": "^1.19.13") kept it on 1.x. This PR removes that resolution.The MCP server is the only consumer, through the SDK's
StreamableHTTPServerTransport, and we never import the package directly. v2 has two breaking changes: it drops Node 18 (we run 22) and removes the Vercel adapter (we don't use it). ThegetRequestListenerAPI the SDK calls is unchanged. v2 sets"type": "module"but still ships a CommonJS build, and the SDK's CommonJSrequire()loads it on Node 22.No changeset, following #3679 (root manifest and lockfile only).
Partially references #3491
How to reproduce
Starting point:
yarn dev(needs the API).On
main:grep -A2 '^"@hono/node-server' yarn.lockshows 1.19.18, which Grype flags as GHSA-rmxm-3fg6-px4f.On this branch:
http://localhost:<api-port>/mcpwithAuthorization: Bearer <key>. Initialize,tools/list,clickstack_list_sourcesandclickstack_searchall succeed.Testing
yarn devon Node 22.clickstack_list_sourcesandclickstack_searchreturned real ClickHouse data with no errors.mcp/app.tsuses, including a 1 MB streamed tool response.src/mcp/__tests__/app.test.tspasses and the API type check is clean.References