ws
8.23.0 · 12 Nov 2026MIT428.4M / weekRepositorynpmAtom feed
Upgrading ws From 1.0.1 to 5.2.5
35 releases in betweennotes for 33
Reading releases, release notes and advisories…
Counted from 33 of 35 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking5.0.0
- Breaking5.0.0
- Breaking5.0.0
- Breaking4.0.0
- Breaking4.0.0
- Breaking4.0.0
- Breaking4.0.0
- Breaking4.0.0
- Breaking4.0.0
- Breaking4.0.0
Security
Fixes 2 advisories affecting 1.0.1
- Denial of Service in wshigh · GHSA-5v72-xg48-5rpm
- DoS due to excessively large websocket message in wshigh · GHSA-6663-c963-2gqg
- 3.3.1
Fixed a DoS vulnerability (c4fe466).
- 3.3.1
The vulnerability has been privately reported by Nick Starke and
- 1.1.5
Fixed a DoS vulnerability (f8fdcd4).
Release by release
- Fixed
Backported 2b2abd45 to the 5.x release line (bd8756a4).
- Fixed
- Fixed
Backported e55e5106 to the 5.x release line (4abd8f6d).
- Fixed
- Fixed
Backported 00c425ec to the 5.x release line (76d47c14).
- Fixed
- Fixed
Fixed a use after invalidation bug introduced in 6046a28 (8aba871).
- Fixed
- Fixed
Fixed a bug that could prevent buffered data from being processed under certain circumstances (6046a28).
- Fixed
- New
Added ability to specify custom headers when rejecting the handshake (#1379).
- New
- Fixed
Fixed a regression introduced in 9e152f9 (#1347).
- Fixed
- 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
1 other line we could not sort, mostly version bumps
- 1.1.4
Removed istanbul coverage folder from npm package (fac50ac).
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.