@hono/node-server
2.1.9 · 17 Nov 2026MIT105.3M / weekRepositorynpmAtom feed
Upgrading @hono/node-server From 1.19.19 to 2.1.3
16 releases in betweenevery note read
Before you upgrade
Tick each one off as you go- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
Security
2 advisories still affect 2.1.3
- @hono/node-server: Backslash in the request path is parsed as a path separator, bypassing path-based access control at a reverse proxymoderate · GHSA-jpvv-r467-5p4w
- @hono/node-server: Unhandled `ECONNRESET` on the socket during an asynchronous WebSocket upgrade crashes the processmoderate · GHSA-qv5m-9pm6-hqp3
Upgrading to 2.1.6 clears them.
Fixes 1 advisory affecting 1.19.19
- @hono/node-server: `serveStatic` decodes the request path a second time, leading to bypass of middleware on static pathsmoderate · GHSA-rmxm-3fg6-px4f
- 2.1.3
GHSA-rmxm-3fg6-px4f
- 2.0.10
Since the route is reachable pre-handshake without authentication, an attacker could flood it to gradually exhaust memory. GHSA-9mqv-5hh9-4cgg
- 2.0.5
Fixed a security issue in Serve Static Middleware where prefix-mounted middleware could be bypassed on Windows.
- 2.0.5
See GHSA-frvp-7c67-39w9 for details.
Release by release
- Security
GHSA-rmxm-3fg6-px4f
- Security
- Fixed
Type error in early hints and add typecheck to CI
- Fixed
listener: Avoid mutating response headers when setting Content-Length
- Fixed
- New
Lazily materialize request headers
- New
- New
Add Early Hints (HTTP 103) middleware
- Fixed
listener: Avoid uncaught error when force-closing a non-standard socket
- New
- Fixed
response: Copy headers when init is a foreign Response
- Fixed
- New
request: fast-path QUERY methods
- New
request: fast-path PATCH method
- New
- Security
Since the route is reachable pre-handshake without authentication, an attacker could flood it to gradually exhaust memory. GHSA-9mqv-5hh9-4cgg
- Security
- Fixed
websocket: Polyfill missing ErrorEvent global
- Fixed
serve-static: Correct Range header parsing edge cases
- Fixed
Recover complete request bodies after client disconnect
- Fixed
16 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.