Packages

ws

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

Upgrading ws From 1.1.5 to 8.23.0

124 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.1.5Clears its advisory5.2.5
  1. 1.1.5yours
  2. 2.0.0major
  3. 10 releases
  4. 3.0.0major
  5. 3 releases
  6. 3.3.1security
  7. 2 releases
  8. 4.0.0major
  9. 1 release
  10. 5.0.0major
  11. 11 releases
  12. 6.0.0major
  13. 13 releases
  14. 7.0.0major
  15. 17 releases
  16. 7.4.6security
  17. 15 releases
  18. 8.0.0major
  19. 27 releases
  20. 8.17.1security
  21. 7 releases
  22. 8.21.0security
  23. 6 releases
  24. 8.23.0target

Before you upgrade

Tick each one off as you go
  • Breaking8.19.0
  • Breaking8.17.0
  • Breaking8.15.1
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0

Security

Fixes 1 advisory affecting 1.1.5

  • Fixed a remote memory exhaustion DoS vulnerability (ace7248f).

    8.23.0
  • Fixed a remote memory exhaustion DoS vulnerability (2b2abd45).

    8.21.0
  • The vulnerability was responsibly disclosed and fixed by Nadav Magier.

    8.21.0
  • Fixed a DoS vulnerability (#2231).

    8.17.1
  • The vulnerability was reported by Ryan LaPointe in #2230.

    8.17.1
  • Fixed a ReDoS vulnerability (00c425ec).

    7.4.6
  • The vulnerability was responsibly disclosed along with a fix in private by

    7.4.6
  • Fixed a DoS vulnerability (c4fe466).

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

    3.3.1

Release by release

  1. 8.23.0

    Security fix12 Nov 20261 new · 8 fixes
    • Security

      Fixed a remote memory exhaustion DoS vulnerability (ace7248f).

    • New

      Introduced the maxPendingAutoPongs option (ace7248f).

    • Fixed
    • Fixed
  2. 8.22.2

    8 Nov 20262 fixes
    • Fixed

      The userinfo of the URL is now percent-decoded (#2352).

    • Fixed

      The WebSocket constructor no longer mutates http: or https: url.URL objects (#2353).

  3. 8.22.1

    31 Oct 20261 fix
    • Fixed

      The path of IPC URLs is no longer truncated at : (#2344).

  4. 8.22.0

    26 Sep 20261 new · 1 fix
    • New

      Introduced the protocols option (8b918b01).

    • Fixed

      Calling websocket.close() with invalid arguments no longer transitions the state to WebSocket.CLOSING (#2337).

  5. 8.21.3

    7 Aug 20261 fix
    • Fixed

      The server now correctly rejects permessage-deflate offers if the incoming client_max_window_bits parameter value is smaller than its configured clientMaxWindowBits (e97a20ea).

  6. 8.21.2

    3 Aug 20261 fix
    • Fixed

      Fixed a test for [CITGM] (2eb3be0b).

  7. 8.21.1

    14 Jul 20262 fixes
    • Fixed

      Empty fragments are now counted toward the limit (a2f4e7c0).

    • Fixed

      The default values of the maxBufferedChunks and maxFragments options have been reduced (f197ac65).

  8. 8.21.0

    Security fix22 May 20261 new
    • Security

      Fixed a remote memory exhaustion DoS vulnerability (2b2abd45).

    • Security

      The vulnerability was responsibly disclosed and fixed by Nadav Magier.

    • New

      Introduced the maxBufferedChunks and maxFragments options (2b2abd45).

7 other lines we could not sort, mostly version bumps
  • [http.websocketMask()] and [http.websocketUnmask()] are now used instead of the bufferutil variants when available (2ab3d3e5).

    8.22.1
  • Sender.frame() no longer returns empty chunks (85319a72).

    8.22.1
  • The default value of the allowSynchronousEvents option has been changed to true (#2221).

    8.17.0
  • The allowMultipleEventsPerMicrotask option has been renamed to allowSynchronousEvents (4ed7fe58).

    8.15.1
  • At most one event per microtask is now emitted (#2160).

    8.14.0
  • [buffer.isUtf8()] is now used instead of utf-8-validate if available (42d79f60).

    8.12.0
  • To improve performance, strings sent via websocket.ping(), websocket.pong(), and websocket.send() are no longer converted to Buffers if the data does not need to be masked (#2000).

    8.4.1

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.