Packages

ws

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

Upgrading ws From 7.5.14 to 8.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 7.5.14Latest8.23.0
  1. 7.5.14yours
  2. 8.0.0target
14
changes to make
0
advisories fixed
0
new
1
fix

Before you upgrade

Tick each one off as you go
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0

Security

3 advisories still affect 8.0.0

Upgrading to 8.21.0 clears them.

Release by release

  1. 8.0.0

    Migration needed28 Jul 20211 fix
    • Breaking

      The WebSocket constructor now throws a SyntaxError if any of the subprotocol names are invalid or duplicated (0aecf0c9).

    • Breaking

      The server now aborts the opening handshake if an invalid Sec-WebSocket-Protocol header field value is received (1877ddeb).

    • Breaking

      The protocols argument of handleProtocols hook is no longer an Array but a Set (1877ddeb).

    • Breaking

      The opening handshake is now aborted if the Sec-WebSocket-Extensions header field value is empty or it begins or ends with a white space (e814110e).

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.