Packages

ws

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

Upgrading ws From 1.1.5 to 2.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.1.5Clears its advisory5.2.5Latest8.23.0
  1. 1.1.5yours
  2. 2.0.0target

Before you upgrade

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

Security

2 advisories still affect 2.0.0

Upgrading to 5.2.5 clears them.

Release by release

  1. 2.0.0

    Migration needed30 Jan 20177 new · 15 fixes
    • Breaking

      Dropped support for Node.js < 4.5.0.

    • Breaking

      The new operator is now required to create all instances as we moved to ES6 classes.

    • Breaking

      Error messages have been simplified.

    • Breaking

      The clients property of the WebSocketServer is no longer an Array but a Set and is only set if the clientTracking option is truthy (#806).

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.