npm @hono/node-server 2.1.11
v2.1.11

one hour ago

Security fix

Unhandled ECONNRESET on a non-WebSocket Upgrade request crashes the process when WebSocket support is enabled

Affects: applications that use the websocket option. A request with an Upgrade header other than websocket left the socket without an error listener. A client that reset the connection at that point crashed the process. Version 2.1.10 closed the leak for these requests but a reset that arrived before the 400 response was written still crashed. GHSA-qhm2-7mpr-ghjp

The error listener is now attached as soon as the socket is handed to the upgrade listener.

Full Changelog: v2.1.10...v2.1.11

Don't miss a new node-server release

NewReleases is sending notifications on new releases.