websockets / wscat

WebSocket cat
MIT License
2.25k stars 223 forks source link

Update ws to the latest version 🚀 #92

Closed greenkeeper[bot] closed 5 years ago

greenkeeper[bot] commented 5 years ago

The dependency ws was updated from 6.2.1 to 7.0.0.

This version 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.


Release Notes for 7.0.0

Breaking changes

  • Dropped support for Node.js 6 (1e6999b).
  • Dropped support for url.Url instances in the WebSocket constructor
    (692d7b4).
  • The behavior of WebSocket#{p{i,o}ng,send}() has changed when the
    readyState attribute is not OPEN (#1532)
    • If the readyState attribute is CONNECTING, an exception is thrown.
    • If the readyState attribute is CLOSING or CLOSED
      • The bufferedAmount attribute is increased by the length of the data
        argument in bytes.
      • If provided, the callback function is called with an error.
      • No exception is thrown even if the callback function is not provided.
Commits

The new version differs by 23 commits.

  • 092a822 [dist] 7.0.0
  • 1b85466 [minor] Use crypto.randomFillSync() to generate the masking key
  • 993b0cd [minor] Make extension.parse() use null-prototype objects
  • aca3858 [example] Clean up examples
  • 4a9a773 [example] Rename serverstats to server-stats
  • 3eff077 [example] Remove unmaintained fileapi example
  • 379def6 [lint] enable no-var rule
  • 01bb91d [ci] Test on node 12
  • 6824e8c [minor] Use Reflect.apply()
  • ddf0aca [minor] Use object spread syntax instead of Object.assign()
  • 692d7b4 [major] Drop support for url.Url in the WebSocket constructor
  • 1e6999b [major] Drop support for Node.js 6
  • 5d751fb [major] Change WebSocket#{p{i,o}ng,send}() behavior (#1532)
  • 5479eae [pkg] Use caret ranges for all dependencies
  • 1a15120 [pkg] Update nyc to version 14.0.0

There are 23 commits in total.

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: