Packages

ws

8.23.0 · 12 Nov 2026MIT425.8M / weekRepositorynpmAtom feed

Upgrading ws From 0.4.11 to 1.1.5

40 releases in betweennotes for 7

Other targets from 0.4.11Newest 0.x0.8.1Clears its 2 advisories1.1.1Latest8.23.0
The note of 1.0.0 lists no breaking change or deprecation, which is rare for a major.
  1. 0.4.11yours
  2. 20 releases
  3. 0.5.0major
  4. 0.6.0major
  5. 5 releases
  6. 0.7.0major
  7. 2 releases
  8. 0.8.0major
  9. 1 release
  10. 1.0.0major
  11. 1.0.1security
  12. 5 releases
  13. 1.1.5target
?
changes to make
2
advisories fixed
1+
new
3+
fixes

Counted from 7 of 40 release notes. Advisories are counted from the advisory database, in full.

Security

1 advisory still affects 1.1.5

Upgrading to 5.2.5 clears it.

Fixes 2 advisories affecting 0.4.11

  • Fixed a DoS vulnerability (f8fdcd4).

    1.1.5
  • There has been vulnerability in the ping functionality of the ws module which allowed clients to allocate memory by simply sending a ping frame.

    1.0.1
  • So I would like to thank @feross and @mafintosh for discovering this vulnerability and disclosing it to me so it could be resolved asap.

    1.0.1

Release by release

  1. 1.1.5

    Security fix8 Nov 2017
    • Security

      Fixed a DoS vulnerability (f8fdcd4).

  2. 1.1.4nothing new or fixed in the note

  3. 1.1.3

    11 Mar 20171 new
    • New

      Added support for bufferutil@>1 and utf-8-validate@>2 (b4cf110).

  4. 1.1.2

    13 Feb 20172 fixes
    • Fixed

      The masking key is now generated using crypto.randomBytes() instead of Math.random() (#994).

    • Fixed

      Fixed an issue that could cause a stack overflow crash (c1f3b21).

  5. 1.1.0 – 1.1.12 releases, no release note

  6. 1.0.1

    Security fix4 Jan 2016
    • Security

      There has been vulnerability in the ping functionality of the ws module which allowed clients to allocate memory by simply sending a ping frame.

    • Security

      So I would like to thank @feross and @mafintosh for discovering this vulnerability and disclosing it to me so it could be resolved asap.

  7. 1.0.0

    30 Dec 20151 fix
    • Fixed

      Fixed a zlib issue that caused thrown errors.

  8. 0.4.12 – 0.8.132 releases, nothing new or fixed; 31 without a note

4 other lines we could not sort, mostly version bumps
  • Removed istanbul coverage folder from npm package (fac50ac).

    1.1.4
  • Discontinued support for all node versions except for 0.12, 4.0 and 5.0. We should focus on the future and that will be Node 5 and ES6.

    1.0.0
  • Removed the client code. It was simple wrapper that really doesn't belong in a full ledged node.js library. If you want browser support you could just conditionally import it the WebSocket server. var WS = window.WebSocket || require('ws')

    1.0.0
  • Binary addons have been completely removed. Even as optional dependency, it seems that npm is just unable to properly handle the builds causing installations to fail and lead to massive developer issues. While the dependencies have been removed, you can still optionally install things. See github.com/websockets/ws for additional information.

    1.0.0

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.