Packages

ws

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

Your version

5.0.0

major6 Mar 2018Where it was published

5.2.8 is the newest release of 5.x.

In short

3 breaking1 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).

Security

3 advisories affect 5.0.0; 5.2.5 fixes them

Release note

Breaking changes

  • 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).

Features

  • 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.