Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump ws from 1.1.2 to 4.1.0 #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github May 29, 2021

Bumps ws from 1.1.2 to 4.1.0.

Release notes

Sourced from ws's releases.

4.1.0

Features

  • Added WebSocketServer.prototype.address() (#1294).
  • Added zlib{Deflate,Inflate}Options options (#1306).

4.0.0

Breaking changes

  • The close status code is now set to 1005 if the received close frame contains no status code (a31b1f6).
  • Error messages and types have been updated (695c5ea).
  • The onerror event handler now receives an ErrorEvent instead of JavaScript error (63e275e).
  • The third argument of WebSocket.prototype.ping() and WebSocket.prototype.pong() is no longer a boolean but an optional callback (30c9f71).
  • The non-standard protocolVersion and bytesReceived attributes have been removed (30c9f71...ee9b5f3).
  • The extensions attribute is no longer an object but a string representing the extensions selected by the server (fdec524).
  • The 'headers' event on the client has been renamed to 'upgrade'. Listeners of this event now receive only the response argument (1c783c2).
  • The WebSocket.prototype.pause() and WebSocket.prototype.resume() methods have been removed to prevent the user from interfering with the state of the underlying net.Socket stream (a206e98).

3.3.3

Bug fixes

  • net.Socket errors are no longer swallowed (beff620).
  • The status code and close reason are now always taken from the close frame if received (beff620).

3.3.2

Bug fixes

  • The parser of the Sec-WebSocket-Extensions header has been rewritten to make it spec-compliant (#1240).

3.3.1

Bug fixes

  • Fixed a DoS vulnerability (c4fe466).

A specially crafted value of the Sec-WebSocket-Extensions header that used Object.prototype property names as extension or parameter names could be used to make a ws server crash.

</tr></table> 

... (truncated)

Commits
  • d390dc5 [dist] 4.1.0
  • a70bd65 [test] Fix typo
  • d8da1b2 [doc] Add missing zlibInflateOptions option
  • 053a322 [minor] Add zlib{Deflate,Inflate}Options options (#1306)
  • f2b5105 chore(package): update eslint-plugin-import to version 2.9.0 (#1309)
  • 84fa837 chore(package): update eslint-config-standard to version 11.0.0 (#1307)
  • 36f249d chore(package): update eslint to version 4.18.0 (#1304)
  • 563edbd [test] Use WebSocketServer#address()
  • 75b6397 [fix] Ensure that the status code is not incorrectly overwritten
  • c8408c0 [doc] Fix docs for onerror listener
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [ws](https://github.com/websockets/ws) from 1.1.2 to 4.1.0.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](websockets/ws@1.1.2...4.1.0)

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants