Update ws to the latest version 🚀 #321
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The dependency ws was updated from
6.2.1to7.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
url.Urlinstances in theWebSocketconstructor(692d7b4).
WebSocket#{p{i,o}ng,send}()has changed when thereadyStateattribute is notOPEN(#1532)CONNECTING, an exception is thrown.CLOSINGorCLOSEDbufferedAmountattribute is increased by the length of thedataargument in bytes.
callbackfunction is called with an error.callbackfunction is not provided.Commits
The new version differs by 23 commits.
092a822[dist] 7.0.01b85466[minor] Usecrypto.randomFillSync()to generate the masking key993b0cd[minor] Makeextension.parse()use null-prototype objectsaca3858[example] Clean up examples4a9a773[example] Rename serverstats to server-stats3eff077[example] Remove unmaintained fileapi example379def6[lint] enable no-var rule01bb91d[ci] Test on node 126824e8c[minor] UseReflect.apply()ddf0aca[minor] Use object spread syntax instead ofObject.assign()692d7b4[major] Drop support forurl.Urlin theWebSocketconstructor1e6999b[major] Drop support for Node.js 65d751fb[major] ChangeWebSocket#{p{i,o}ng,send}()behavior (#1532)5479eae[pkg] Use caret ranges for all dependencies1a15120[pkg] Update nyc to version 14.0.0There are 23 commits in total.
See the full diff
FAQ and help
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper bot 🌴