Packages

ws

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

Upgrading ws From 1.0.0 to 5.2.5

36 releases in betweennotes for 34

Reading releases, release notes and advisories…

Other targets from 1.0.0Newest 1.x, Clears its 3 advisories1.1.5Latest8.23.0
  1. 1.0.0yours
  2. 1.0.1security
  3. 5 releases
  4. 1.1.5security
  5. 2.0.0major
  6. 10 releases
  7. 3.0.0major
  8. 3 releases
  9. 3.3.1security
  10. 2 releases
  11. 4.0.0major
  12. 1 release
  13. 5.0.0major
  14. 7 releases
  15. 5.2.5target
33+
changes to make
3
advisories fixed
24+
new
36+
fixes

Counted from 34 of 36 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 3 advisories affecting 1.0.0

  • Fixed a DoS vulnerability (c4fe466).

    3.3.1
  • The vulnerability has been privately reported by Nick Starke and

    3.3.1
  • Fixed a DoS vulnerability (f8fdcd4).

    1.1.5
  • There has been vulnerability in the ping functionality of the ws module which allowed clients to allocate memory by simply sending a ping frame.

    1.0.1
  • So I would like to thank @feross and @mafintosh for discovering this vulnerability and disclosing it to me so it could be resolved asap.

    1.0.1

Release by release

  1. 5.2.5

    22 May 20261 fix
    • Fixed

      Backported 2b2abd45 to the 5.x release line (bd8756a4).

  2. 5.2.4

    16 Jun 20241 fix
    • Fixed

      Backported e55e5106 to the 5.x release line (4abd8f6d).

  3. 5.2.3

    8 Jun 20211 fix
    • Fixed

      Backported 00c425ec to the 5.x release line (76d47c14).

  4. 5.2.2

    11 Jul 20181 fix
    • Fixed

      Fixed a use after invalidation bug introduced in 6046a28 (8aba871).

  5. 5.2.1

    23 Jun 20181 fix
    • Fixed

      Fixed a bug that could prevent buffered data from being processed under certain circumstances (6046a28).

  6. 5.2.0

    21 May 20181 new
    • New

      Added ability to specify custom headers when rejecting the handshake (#1379).

  7. 5.1.1

    2 Apr 20181 fix
    • Fixed

      Fixed a regression introduced in 9e152f9 (#1347).

  8. 5.1.0

    19 Mar 20182 new
    • New

      The address argument of the WebSocket constructor can now be a [URL] instance (#1329).

    • New

      The options argument of the WebSocket constructor now accepts any TLS option that is also accepted by [https.request()] (#1332).

1 other line we could not sort, mostly version bumps
  • Removed istanbul coverage folder from npm package (fac50ac).

    1.1.4

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.