ws
8.23.0 · 12 Nov 2026MIT428.4M / weekRepositorynpmAtom feed
Upgrading ws From 8.6.0 to 8.7.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Security
3 advisories still affect 8.7.0
- ws affected by a DoS when handling a request with many HTTP headershigh · GHSA-3h5v-q93c-6h6q
- ws: Uninitialized memory disclosuremoderate · GHSA-58qx-3vcg-4xpx
- ws: Memory exhaustion DoS from tiny fragments and data chunkshigh · GHSA-96hv-2xvq-fx4p
Upgrading to 8.21.0 clears them.
Release by release
- New
Added the ability to inspect the invalid handshake requests and respond to them with a custom HTTP response. (6e5a5ce3).
- Fixed
The handshake is now aborted if the
Upgradeheader field value in the HTTP response is not a case-insensitive match for the value "websocket" (0fdcc0af). - Fixed
The
AuthorizationandCookieheaders are no longer sent when following an insecure redirect (wss: to ws:) to the same host (d68ba9e1).
- 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.