ws
8.23.0 · 12 Nov 2026MIT428.4M / weekRepositorynpmAtom feed
Upgrading ws From 8.20.1 to 8.23.0
8 releases in betweenevery note read
Reading releases, release notes and advisories…
- 0
- changes to make
- 1
- advisory fixed
- 3
- new
- 16
- fixes
Security
Fixes 1 advisory affecting 8.20.1
- ws: Memory exhaustion DoS from tiny fragments and data chunkshigh · GHSA-96hv-2xvq-fx4p
- 8.23.0
Fixed a remote memory exhaustion DoS vulnerability (ace7248f).
- 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 (ace7248f).
- New
Introduced the
maxPendingAutoPongsoption (ace7248f). - Fixed
- Fixed
- Security
- Fixed
The userinfo of the URL is now percent-decoded (#2352).
- Fixed
The
WebSocketconstructor no longer mutates http: or https:url.URLobjects (#2353).
- Fixed
- Fixed
The path of IPC URLs is no longer truncated at
:(#2344).
- Fixed
- New
Introduced the
protocolsoption (8b918b01). - Fixed
Calling
websocket.close()with invalid arguments no longer transitions the state toWebSocket.CLOSING(#2337).
- New
- Fixed
The server now correctly rejects permessage-deflate offers if the incoming
client_max_window_bitsparameter value is smaller than its configuredclientMaxWindowBits(e97a20ea).
- Fixed
- Fixed
Fixed a test for [CITGM] (2eb3be0b).
- Fixed
- Fixed
Empty fragments are now counted toward the limit (a2f4e7c0).
- Fixed
The default values of the
maxBufferedChunksandmaxFragmentsoptions have been reduced (f197ac65).
- Fixed
- 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
2 other lines we could not sort, mostly version bumps
- 8.22.1
[
http.websocketMask()] and [http.websocketUnmask()] are now used instead of thebufferutilvariants when available (2ab3d3e5). - 8.22.1
Sender.frame()no longer returns empty chunks (85319a72).
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.