Repository navigation
build(deps): bump @hono/node-server from 1.19.17 to 2.1.6 - #555
dependabot[bot] wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
This one can't merge as-is. v2 removed the Vercel adapter (honojs/node-server#335), and the ./vercel subpath is gone from the package exports. apps/warden-service/api/index.ts still does import { handle } from '@hono/node-server/vercel', so the service entrypoint will fail to resolve after this bump.
The upstream migration note says the old adapter was just a thin wrapper around getRequestListener. Swapping in getRequestListener(app.fetch) from @hono/node-server (or a small local handle helper) should keep traceRequest/prepareVercelRequest working as they do now. Push that to this branch, or close this and do the bump by hand alongside the import change. The serveStatic security fix doesn't affect us since we don't use serve-static, so there's no rush to land it in a broken state.
The Node >=20 floor in v2 matches our engines and the Node 24 CI, so that part is fine.
There was a problem hiding this comment.
This can't merge as is. v2 removed the @hono/node-server/vercel entrypoint, and apps/warden-service/api/index.ts still imports handle from it. That's why typecheck fails (TS2307: Cannot find module '@hono/node-server/vercel') and the warden-prod Vercel deploy is red.
Upstream suggests one of two fixes in the v2.0.0 notes. You can drop the adapter and export the app's fetch handler directly, since Vercel's current Node runtime no longer needs it. Or you can keep the current shape with a local shim: export const handle = (app) => getRequestListener(app.fetch), with getRequestListener imported from @hono/node-server. The shim is the smaller change, because traceRequest and prepareVercelRequest both wrap the Node (req, res) handler. After that, check that /health and a webhook route still work on the preview deploy.
Nothing else here worries me. The v2 Node 20+ floor matches our engines and the Node 24 used in CI. examples/self-hosted/server.ts only uses serve, which is unchanged.
b768087 to
1512644
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 1512644. Configure here.
| "dependencies": { | ||
| "@ai-sdk/gateway": "^3.0.173", | ||
| "@hono/node-server": "^1.19.17", | ||
| "@hono/node-server": "^2.1.3", |
There was a problem hiding this comment.
Vercel adapter breaks on v2
High Severity
@hono/node-server v2 removed the @hono/node-server/vercel handle export used by the hosted function, so that entrypoint cannot load. The v2 request adapter also no longer reads incoming.rawBody, so prepareVercelRequest cannot restore Vercel-pre-parsed bodies and POST routes would see empty payloads.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 1512644. Configure here.
1512644 to
fadc3e2
Compare
fadc3e2 to
f840f99
Compare
Bumps [@hono/node-server](https://github.com/honojs/node-server) from 1.19.17 to 2.1.6. - [Release notes](https://github.com/honojs/node-server/releases) - [Commits](honojs/node-server@v1.19.17...v2.1.6) --- updated-dependencies: - dependency-name: "@hono/node-server" dependency-version: 2.1.3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
f840f99 to
425f7a4
Compare


Bumps @hono/node-server from 1.19.17 to 2.1.6.
Release notes
Sourced from @hono/node-server's releases.
... (truncated)
Commits
123f7822.1.6cfaa79fMerge commit from fork61cc026Merge commit from forka152a45test: wait for the first chunk before sending the second in the readable-stre...fb97395Merge commit from fork4b47a0d2.1.5e77824afix(serve-static): only serve GET and HEAD requests (#405)1b6e6bffix(listener): abort the request signal when an HTTP/2 client resets the stre...d57ed9b2.1.492b014cchore: allow hono v5 as a peer dependency (#406)