Packages

ws

8.23.0 · 12 Nov 2026MIT428.4M / weekRepositorynpmAtom feed

Upgrading ws From 2.2.1 to 2.3.1

4 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 2.2.1Clears its 3 advisories5.2.5Latest8.23.0
0
changes to make
0
advisories fixed
3
new
3
fixes

Security

3 advisories still affect 2.3.1

Upgrading to 5.2.5 clears them.

Release by release

  1. 2.3.1

    20 Apr 20171 fix
    • Fixed

      Fixed an issue that prevented WebSocket.prototype.close() from working properly when called from a listener of the headers event (732aaf0).

  2. 2.3.0

    20 Apr 20172 new
    • New

      All hooks have now access to the upgrade request (#1070).

    • New

      The WebSocket client now emits a headers event (#1082).

  3. 2.2.3

    3 Apr 20171 new · 1 fix
    • New

      Added support for Node.js 4.1.0 - 4.4.7 (#1059).

    • Fixed

      Fixed a bug that caused the options argument to be reassigned when protocols was null (20bd7c7).

  4. 2.2.2

    21 Mar 20171 fix
    • Fixed

      Fixed a linter issue that prevented tests from running on CITGM (#1050).

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.