ws
8.23.0 · 12 Nov 2026MIT428.4M / weekRepositorynpmAtom feed
Upgrading ws From 8.18.3 to 8.21.0
4 releases in betweenevery note read
Reading releases, release notes and advisories…
Before you upgrade
Tick each one off as you go- Breaking8.19.0
Security
Fixes 2 advisories affecting 8.18.3
- ws: Uninitialized memory disclosuremoderate · GHSA-58qx-3vcg-4xpx
- ws: Memory exhaustion DoS from tiny fragments and data chunkshigh · GHSA-96hv-2xvq-fx4p
- 8.21.0
Fixed a remote memory exhaustion DoS vulnerability (2b2abd45).
- 8.21.0
The vulnerability was responsibly disclosed and fixed by Nadav Magier.
Release by release
- Security
Fixed a remote memory exhaustion DoS vulnerability (2b2abd45).
- Security
The vulnerability was responsibly disclosed and fixed by Nadav Magier.
- New
Introduced the
maxBufferedChunksandmaxFragmentsoptions (2b2abd45).
- Security
- Fixed
Fixed an uninitialized memory disclosure issue in
websocket.close()(c0327ec1).
- Fixed
- New
Added exports for the
PerMessageDeflateclass and utilities for theSec-WebSocket-ExtensionsandSec-WebSocket-Protocolheaders (d3503c1f).
- New
- Breaking
Handled a forthcoming breaking change in Node.js core (19984854).
- New
Added the
closeTimeoutoption (#2308).
- Breaking
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.