Skip to content

chore(deps): update dependencies to clear Dependabot alerts - #36

Merged
nighthawk merged 1 commit into
mainfrom
chore/update-dependencies
Oct 30, 2026
Merged

nighthawk merged 1 commit into
mainfrom
chore/update-dependencies

Conversation

@nighthawk

Copy link
Copy Markdown
Member

Clears all open Dependabot alerts (all in package-lock.json). Most were in packages pulled in by other dependencies (hono, undici, fast-uri, ip-address, qs, sharp, esbuild, …), and refreshing the lockfile fixed them.

Two changes go beyond a lockfile refresh:

  • Removed agents. Nothing in src/ imports it: the worker uses the MCP SDK's WebStandardStreamableHTTPServerTransport directly. agents came with its own vulnerable copy of @modelcontextprotocol/sdk, and fixing that would have meant a 0.7 → 0.32 upgrade. Removing it also drops js-yaml, nanoid, lodash, picomatch and @ai-sdk/provider-utils from the tree.
  • zod 3 → 4. npm audit flags a high-severity zod 3 advisory (GHSA-mrhx-c7xc-m3w5). The tool schemas only use basic builders, which work the same in v4, and MCP SDK 1.32 accepts ^3.25 || ^4.0.

@modelcontextprotocol/sdk is now ^1.32.2. npm audit reports 0 vulnerabilities.

Checked locally: npm ci, npm run type-check and wrangler deploy --dry-run all pass.

Manual testing: after deploying, connect an MCP client to /mcp, list the tools, and call tripgo-routing once. This confirms zod 4 schemas still convert to the JSON Schema clients see.

🤖 Generated with Claude Code

Refresh the lockfile, bump @modelcontextprotocol/sdk to 1.32 and zod to 4,
and drop the unused agents package, which pinned a vulnerable copy of the
MCP SDK.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@nighthawk nighthawk self-assigned this Oct 30, 2026
@skedgo skedgo deleted a comment from chatgpt-codex-connector Bot Oct 30, 2026
@skedgo skedgo deleted a comment from chatgpt-codex-connector Bot Oct 30, 2026
@nighthawk
nighthawk enabled auto-merge (squash) October 30, 2026 04:29

@MauroGomez MauroGomez left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nighthawk
nighthawk merged commit 5bed082 into main Oct 30, 2026
1 check passed
@nighthawk
nighthawk deleted the chore/update-dependencies branch October 30, 2026 12:55
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