ws
8.23.0 · 12 Nov 2026MIT428.4M / weekRepositorynpmAtom feed
Your version
8.23.0 is the newest release of 8.x.
In short
1 new1 fixed
Security
3 advisories affect 8.11.0; 8.21.0 fixes them
- Highws: Memory exhaustion DoS from tiny fragments and data chunksGHSA-96hv-2xvq-fx4p · 15 Jun 2026Fixed in 8.21.0
- Highws affected by a DoS when handling a request with many HTTP headersGHSA-3h5v-q93c-6h6q · 17 Jun 2024Fixed in 8.17.1
- Moderatews: Uninitialized memory disclosureGHSA-58qx-3vcg-4xpx · 18 May 2026Fixed in 8.20.1
Release note
Features
WebSocket.prototype.addEventListener()now supports an event listener
specified as an object with ahandleEvent()method. (9ab743a).
Bug fixes
WebSocket.prototype.addEventListener()now adds an event listener only if it
is not already in the list of the event listeners for the specified event type
(1cec17d).
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.