fix(deps): bump @hono/node-server to 2.1.3 to resolve Dependabot alerts

AV
17d ago
+5-5

Summary

Bumps @hono/node-server 2.0.10 → 2.1.3 in apps/desktop and packages/host-service. Lockfile refreshed.

Both manifests move together, so Sherif's multiple-dependency-versions check stays green. This replaces Dependabot's per-directory PR #9048, which bumps only host-service and fails Sherif.

Alerts resolved:

  • #473 (medium, apps/desktop): @hono/node-server: serveStatic decodes the request path a second time, leading to bypass of middleware on static paths (GHSA-rmxm-3fg6-px4f)
  • #474 (medium, packages/host-service): same advisory

2.1.3 also makes serveStatic reject request paths that still contain % after decoding. We import only serve, never serveStatic, so this change does not reach our code. The 2.0.11–2.1.2 releases between our version and 2.1.3 contain only perf work, test changes and bug fixes, with no breaking changes.

Lockfile note: after the version bump, bun install kept a stale @hono/node-ws/@hono/node-server@2.0.10 entry from the old resolution. Nothing links to it (@hono/node-ws resolves its peer to 2.1.3), but it would keep the vulnerable version in bun.lock. I removed it. A re-install does not add it back, and bun install --frozen-lockfile passes. 2.1.3 is now the only @hono/node-server in the lockfile.

Not in this PR:

  • zod (#423–#443): covered by #8844 (checks green, but conflicts with main).
  • storybook, @modelcontextprotocol/sdk, hono (#358–#396): covered by #8903 (checks green, but conflicts with main).
  • @azure/msal-node (#444): covered by Dependabot PR #8836.
  • dompurify (#475–#477): covered by Dependabot PR #9094 (Sherif green).
  • undici (#478–#485): covered by Dependabot PR #9102 (Sherif green).
  • better-auth (#445–#472): fixed only in 1.7.x, a breaking release that needs DB migrations. Left for a human.

Test plan

  • bun install (Bun 1.4.3, the CI version): native modules rebuilt cleanly; bun install --frozen-lockfile reports no changes
  • bun run lint:fix: no fixes applied, no issues
  • bun run typecheck in apps/desktop: exit 0
  • bun run typecheck in packages/host-service: exit 0
  • bunx sherif: no issues found
  • bun run test:integration:ports in packages/host-service (real serve from @hono/node-server): 15/15 pass
  • Manual smoke test of the desktop app's host-service on a dev build (not run)

Summary by cubic

Bumps @hono/node-server to 2.1.3 in apps/desktop and packages/host-service to resolve Dependabot alerts #473 and #474 (GHSA-rmxm-3fg6-px4f), a medium-severity vulnerability where serveStatic decodes request paths a second time, letting requests bypass middleware on static paths.

Both manifests move together so Sherif's multiple-dependency-versions check stays green. The code only imports serve, never serveStatic, so 2.1.3's new rejection of paths containing % after decoding does not affect us. Also removed a stale @hono/node-server@2.0.10 entry from bun.lock; bun install --frozen-lockfile passes.

Summary by CodeRabbit

  • Chores
    • Updated underlying components used by the desktop app and hosted services. No new user-facing features or behavior changes are included in this release. The update is limited to maintenance and is not expected to change how these experiences look or work.