websockets / wscat

WebSocket cat
MIT License
2.25k stars 223 forks source link

Update ws to the latest version šŸš€ #65

Closed greenkeeper[bot] closed 6 years ago

greenkeeper[bot] commented 6 years ago

ā˜ļø Greenkeeperā€™s updated Terms of Service will come into effect on April 6th, 2018.

Version 5.0.0 of ws was just published.

Dependency ws
Current Version 4.1.0
Type dependency

The version 5.0.0 is not covered by your current version range.

If you donā€™t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

It might be worth looking into these changes and trying to get this project onto the latest version of ws.

If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you donā€™t have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.


Release Notes 5.0.0

Breaking changes

  • Dropped support for Node.js < 4.5.0 (#1313).
  • The connection is no longer closed if the server does not agree to any of
    the client's requested subprotocols (#1312).
  • net.Socket errors are no longer re-emitted (a4050db).

Features

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

The new version differs by 10 commits.

  • d3af506 [dist] 5.0.0
  • 7abe823 [minor] Rename abortConnection to abortHandshake
  • 7fb82a3 [fix] Rename the 'close' event to 'conclude'
  • fb05059 [test] Fix faulty test
  • 3f80ab7 [major] Drop support for Node.js < 4.5.0 (#1313)
  • 14538db [major] Fix subprotocol handling (#1312)
  • 3913c59 [benchmark] Fix parser benchmark
  • a4050db [major] Do not re-emit net.Socket errors
  • aa2c423 [minor] Do not use Readable.prototype.pipe()
  • 70fff53 [minor] Make Receiver inherit from stream.Writable

See the full diff

FAQ and help There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those donā€™t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper bot :palm_tree: