ws
8.23.0 · 12 Nov 2026MIT428.4M / weekRepositorynpmAtom feed
Upgrading ws From 7.3.1 to 7.4.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Security
3 advisories still affect 7.4.0
- ws affected by a DoS when handling a request with many HTTP headershigh · GHSA-3h5v-q93c-6h6q
- ReDoS in Sec-Websocket-Protocol headermoderate · GHSA-6fc8-4gx4-v693
- ws: Memory exhaustion DoS from tiny fragments and data chunkshigh · GHSA-96hv-2xvq-fx4p
Upgrading to 7.5.11 clears them.
Release by release
- New
The callback of
WebSocketServer.prototype.handleUpgrade()now takes the client HTTP GET request as second argument (7d39f19e). - Fixed
Read-only properties are now read-only (eabed8fc).
- Fixed
The
CONNECTING,OPEN,CLOSING,CLOSED,binaryType,bufferedAmount,extensions,onclose,onerror,onmessage,onopen,protocol,readyState, andurlproperties are now enumerable (2069e684).
- New
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.