ws
8.23.0 · 12 Nov 2026MIT428.4M / weekRepositorynpmAtom feed
Upgrading ws From 5.0.0 to 5.1.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 0
- changes to make
- 0
- advisories fixed
- 2
- new
- 0
- fixes
Security
3 advisories still affect 5.1.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 5.2.5 clears them.
Release by release
- New
The
addressargument of theWebSocketconstructor can now be a [URL] instance (#1329). - New
The
optionsargument of theWebSocketconstructor now accepts any TLS option that is also accepted by [https.request()] (#1332).
- 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.