ws
8.23.0 · 12 Nov 2026MIT428.4M / weekRepositorynpmAtom feed
Your version
5.2.8 is the newest release of 5.x.
In short
2 new
Security
3 advisories affect 5.1.0; 5.2.5 fixes them
- Highws: Memory exhaustion DoS from tiny fragments and data chunksGHSA-96hv-2xvq-fx4p · 15 Jun 2026Fixed in 5.2.5
- Highws affected by a DoS when handling a request with many HTTP headersGHSA-3h5v-q93c-6h6q · 17 Jun 2024Fixed in 5.2.4
- ModerateReDoS in Sec-Websocket-Protocol headerGHSA-6fc8-4gx4-v693 · 28 May 2021Fixed in 5.2.3
Release note
Features
The
addressargument of theWebSocketconstructor can now be aURL
instance (#1329).The
optionsargument of theWebSocketconstructor now accepts any TLS
option that is also accepted byhttps.request()(#1332).
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.