Packages

ws

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

Upgrading ws From 7.4.5 to 8.23.0

60 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 7.4.5Newest 7.x7.5.14Clears its 3 advisories7.5.11
  1. 7.4.5yours
  2. 7.4.6security
  3. 15 releases
  4. 8.0.0major
  5. 24 releases
  6. 8.15.1breaking
  7. 1 release
  8. 8.17.0breaking
  9. 8.17.1security
  10. 4 releases
  11. 8.19.0breaking
  12. 2 releases
  13. 8.21.0security
  14. 6 releases
  15. 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 3 advisories affecting 7.4.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

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.