Packages

ws

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

Upgrading ws From 4.1.0 to 5.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 4.1.0Clears its 2 advisories5.2.5Latest8.23.0
  1. 4.1.0yours
  2. 5.0.0target
3
changes to make
0
advisories fixed
1
new
0
fixes

Before you upgrade

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

Security

3 advisories still affect 5.0.0

Upgrading to 5.2.5 clears them.

Release by release

  1. 5.0.0

    Migration needed6 Mar 20181 new
    • Breaking

      Dropped support for Node.js < 4.5.0 (#1313).

    • Breaking

      The connection is no longer closed if the server does not agree to any of the client's requested subprotocols (#1312).

    • Breaking

      net.Socket errors are no longer re-emitted (a4050db).

    • New

      Read backpressure is now properly handled when permessage-deflate is enabled (#1302).

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.