websockets/ws
### [`v7.4.3`](https://togithub.com/websockets/ws/releases/7.4.3)
[Compare Source](https://togithub.com/websockets/ws/compare/7.4.2...7.4.3)
##### Bug fixes
- The deflate/inflate stream is now reset instead of reinitialized when context
takeover is disabled ([#1840](https://togithub.com/websockets/ws/issues/1840)).
### [`v7.4.2`](https://togithub.com/websockets/ws/releases/7.4.2)
[Compare Source](https://togithub.com/websockets/ws/compare/7.4.1...7.4.2)
##### Bug fixes
- Silenced a deprecation warning ([`a2c0d44`](https://togithub.com/websockets/ws/commit/a2c0d447)).
### [`v7.4.1`](https://togithub.com/websockets/ws/releases/7.4.1)
[Compare Source](https://togithub.com/websockets/ws/compare/7.4.0...7.4.1)
### Bug fixes
- Added a workaround for a double `'error'` event bug in Node.js < 13 which
caused an uncaught error during the WebSocket handshake ([`38d6ab3`](https://togithub.com/websockets/ws/commit/38d6ab3b)).
### [`v7.4.0`](https://togithub.com/websockets/ws/releases/7.4.0)
[Compare Source](https://togithub.com/websockets/ws/compare/7.3.1...7.4.0)
### Features
- The callback of `WebSocketServer.prototype.handleUpgrade()` now takes the
client HTTP GET request as second argument ([`7d39f19`](https://togithub.com/websockets/ws/commit/7d39f19e)).
### Bug fixes
- Read-only properties are now read-only ([`eabed8f`](https://togithub.com/websockets/ws/commit/eabed8fc)).
- The `CONNECTING`, `OPEN`, `CLOSING`, `CLOSED`, `binaryType`, `bufferedAmount`,
`extensions`, `onclose`, `onerror`, `onmessage`, `onopen`, `protocol`,
`readyState`, and `url` properties are now enumerable ([`2069e68`](https://togithub.com/websockets/ws/commit/2069e684)).
### [`v7.3.1`](https://togithub.com/websockets/ws/releases/7.3.1)
[Compare Source](https://togithub.com/websockets/ws/compare/7.3.0...7.3.1)
### Bug fixes
- Improved `websocket.bufferedAmount` accuracy ([`e1349c0`](https://togithub.com/websockets/ws/commit/e1349c04), [`a162942`](https://togithub.com/websockets/ws/commit/a1629426)).
### [`v7.3.0`](https://togithub.com/websockets/ws/releases/7.3.0)
[Compare Source](https://togithub.com/websockets/ws/compare/7.2.5...7.3.0)
### Features
- `WebSocket.prototype.addEventListener()` now supports the `once` option ([#1754](https://togithub.com/websockets/ws/issues/1754)).
### [`v7.2.5`](https://togithub.com/websockets/ws/releases/7.2.5)
[Compare Source](https://togithub.com/websockets/ws/compare/7.2.3...7.2.5)
### Bug fixes
- Fixed compatibility with Node.js master ([`651d662`](https://togithub.com/websockets/ws/commit/651d6627)).
### [`v7.2.3`](https://togithub.com/websockets/ws/releases/7.2.3)
[Compare Source](https://togithub.com/websockets/ws/compare/7.2.2...7.2.3)
### Bug fixes
- `WebSocket#{p{i,o}ng,close}()` now thow an error if the data to send is too
large to fit in a control frame ([`e54f08d`](https://togithub.com/websockets/ws/commit/e54f08da)).
### [`v7.2.2`](https://togithub.com/websockets/ws/releases/7.2.2)
[Compare Source](https://togithub.com/websockets/ws/compare/7.2.1...7.2.2)
### Bug fixes
- Fixed an issue where calling `webSocketStream.end()` could cause the process
to crash ([`9535702`](https://togithub.com/websockets/ws/commit/9535702e)).
- The connection is now closed if a non-masked frame is received on the server
or a masked frame is received on the client ([#1681](https://togithub.com/websockets/ws/issues/1681)).
- The status code 1014 is now allowed to be used ([#1682](https://togithub.com/websockets/ws/issues/1682)).
### [`v7.2.1`](https://togithub.com/websockets/ws/releases/7.2.1)
[Compare Source](https://togithub.com/websockets/ws/compare/7.2.0...7.2.1)
### Bug fixes
- Added `bufferutil` and `utf-8-validate` as peer dependencies ([#1626](https://togithub.com/websockets/ws/issues/1626)).
### [`v7.2.0`](https://togithub.com/websockets/ws/releases/7.2.0)
[Compare Source](https://togithub.com/websockets/ws/compare/7.1.2...7.2.0)
### Features
- Added ability to specify the `readableObjectMode` option when using
`WebSocket.createWebSocketStream()` ([#1647](https://togithub.com/websockets/ws/issues/1647)).
### [`v7.1.2`](https://togithub.com/websockets/ws/releases/7.1.2)
[Compare Source](https://togithub.com/websockets/ws/compare/7.1.1...7.1.2)
### Bug fixes
- Fixed a bug that caused compress jobs to never be marked as complete
([#1618](https://togithub.com/websockets/ws/issues/1618)).
### [`v7.1.1`](https://togithub.com/websockets/ws/releases/7.1.1)
[Compare Source](https://togithub.com/websockets/ws/compare/7.1.0...7.1.1)
### Bug fixes
- An error is now thrown if the `WebSocket` server constructor is used
incorrectly ([`3641266`](https://togithub.com/websockets/ws/commit/36412662)).
### [`v7.1.0`](https://togithub.com/websockets/ws/releases/7.1.0)
[Compare Source](https://togithub.com/websockets/ws/compare/7.0.1...7.1.0)
### Features
- Added utility to wrap a `WebSocket` in a `Duplex` stream ([#1589](https://togithub.com/websockets/ws/issues/1589)).
### Bug fixes
- Reverted "[minor] Remove unneeded `if` statement" ([`dbacf58`](https://togithub.com/websockets/ws/commit/dbacf582), [#1591](https://togithub.com/websockets/ws/issues/1591)).
### [`v7.0.1`](https://togithub.com/websockets/ws/releases/7.0.1)
[Compare Source](https://togithub.com/websockets/ws/compare/7.0.0...7.0.1)
### Bug fixes
- Added ability to disable sending the SNI extension ([#1587](https://togithub.com/websockets/ws/issues/1587)).
### [`v7.0.0`](https://togithub.com/websockets/ws/releases/7.0.0)
[Compare Source](https://togithub.com/websockets/ws/compare/6.2.1...7.0.0)
### Breaking changes
- Dropped support for Node.js 6 ([`1e6999b`](https://togithub.com/websockets/ws/commit/1e6999bb)).
- Dropped support for `url.Url` instances in the `WebSocket` constructor
([`692d7b4`](https://togithub.com/websockets/ws/commit/692d7b47)).
- The behavior of `WebSocket#{p{i,o}ng,send}()` has changed when the
`readyState` attribute is not `OPEN` ([#1532](https://togithub.com/websockets/ws/issues/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.
Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
^6.2.0
->^7.0.0
Release Notes
websockets/ws
### [`v7.4.3`](https://togithub.com/websockets/ws/releases/7.4.3) [Compare Source](https://togithub.com/websockets/ws/compare/7.4.2...7.4.3) ##### Bug fixes - The deflate/inflate stream is now reset instead of reinitialized when context takeover is disabled ([#1840](https://togithub.com/websockets/ws/issues/1840)). ### [`v7.4.2`](https://togithub.com/websockets/ws/releases/7.4.2) [Compare Source](https://togithub.com/websockets/ws/compare/7.4.1...7.4.2) ##### Bug fixes - Silenced a deprecation warning ([`a2c0d44`](https://togithub.com/websockets/ws/commit/a2c0d447)). ### [`v7.4.1`](https://togithub.com/websockets/ws/releases/7.4.1) [Compare Source](https://togithub.com/websockets/ws/compare/7.4.0...7.4.1) ### Bug fixes - Added a workaround for a double `'error'` event bug in Node.js < 13 which caused an uncaught error during the WebSocket handshake ([`38d6ab3`](https://togithub.com/websockets/ws/commit/38d6ab3b)). ### [`v7.4.0`](https://togithub.com/websockets/ws/releases/7.4.0) [Compare Source](https://togithub.com/websockets/ws/compare/7.3.1...7.4.0) ### Features - The callback of `WebSocketServer.prototype.handleUpgrade()` now takes the client HTTP GET request as second argument ([`7d39f19`](https://togithub.com/websockets/ws/commit/7d39f19e)). ### Bug fixes - Read-only properties are now read-only ([`eabed8f`](https://togithub.com/websockets/ws/commit/eabed8fc)). - The `CONNECTING`, `OPEN`, `CLOSING`, `CLOSED`, `binaryType`, `bufferedAmount`, `extensions`, `onclose`, `onerror`, `onmessage`, `onopen`, `protocol`, `readyState`, and `url` properties are now enumerable ([`2069e68`](https://togithub.com/websockets/ws/commit/2069e684)). ### [`v7.3.1`](https://togithub.com/websockets/ws/releases/7.3.1) [Compare Source](https://togithub.com/websockets/ws/compare/7.3.0...7.3.1) ### Bug fixes - Improved `websocket.bufferedAmount` accuracy ([`e1349c0`](https://togithub.com/websockets/ws/commit/e1349c04), [`a162942`](https://togithub.com/websockets/ws/commit/a1629426)). ### [`v7.3.0`](https://togithub.com/websockets/ws/releases/7.3.0) [Compare Source](https://togithub.com/websockets/ws/compare/7.2.5...7.3.0) ### Features - `WebSocket.prototype.addEventListener()` now supports the `once` option ([#1754](https://togithub.com/websockets/ws/issues/1754)). ### [`v7.2.5`](https://togithub.com/websockets/ws/releases/7.2.5) [Compare Source](https://togithub.com/websockets/ws/compare/7.2.3...7.2.5) ### Bug fixes - Fixed compatibility with Node.js master ([`651d662`](https://togithub.com/websockets/ws/commit/651d6627)). ### [`v7.2.3`](https://togithub.com/websockets/ws/releases/7.2.3) [Compare Source](https://togithub.com/websockets/ws/compare/7.2.2...7.2.3) ### Bug fixes - `WebSocket#{p{i,o}ng,close}()` now thow an error if the data to send is too large to fit in a control frame ([`e54f08d`](https://togithub.com/websockets/ws/commit/e54f08da)). ### [`v7.2.2`](https://togithub.com/websockets/ws/releases/7.2.2) [Compare Source](https://togithub.com/websockets/ws/compare/7.2.1...7.2.2) ### Bug fixes - Fixed an issue where calling `webSocketStream.end()` could cause the process to crash ([`9535702`](https://togithub.com/websockets/ws/commit/9535702e)). - The connection is now closed if a non-masked frame is received on the server or a masked frame is received on the client ([#1681](https://togithub.com/websockets/ws/issues/1681)). - The status code 1014 is now allowed to be used ([#1682](https://togithub.com/websockets/ws/issues/1682)). ### [`v7.2.1`](https://togithub.com/websockets/ws/releases/7.2.1) [Compare Source](https://togithub.com/websockets/ws/compare/7.2.0...7.2.1) ### Bug fixes - Added `bufferutil` and `utf-8-validate` as peer dependencies ([#1626](https://togithub.com/websockets/ws/issues/1626)). ### [`v7.2.0`](https://togithub.com/websockets/ws/releases/7.2.0) [Compare Source](https://togithub.com/websockets/ws/compare/7.1.2...7.2.0) ### Features - Added ability to specify the `readableObjectMode` option when using `WebSocket.createWebSocketStream()` ([#1647](https://togithub.com/websockets/ws/issues/1647)). ### [`v7.1.2`](https://togithub.com/websockets/ws/releases/7.1.2) [Compare Source](https://togithub.com/websockets/ws/compare/7.1.1...7.1.2) ### Bug fixes - Fixed a bug that caused compress jobs to never be marked as complete ([#1618](https://togithub.com/websockets/ws/issues/1618)). ### [`v7.1.1`](https://togithub.com/websockets/ws/releases/7.1.1) [Compare Source](https://togithub.com/websockets/ws/compare/7.1.0...7.1.1) ### Bug fixes - An error is now thrown if the `WebSocket` server constructor is used incorrectly ([`3641266`](https://togithub.com/websockets/ws/commit/36412662)). ### [`v7.1.0`](https://togithub.com/websockets/ws/releases/7.1.0) [Compare Source](https://togithub.com/websockets/ws/compare/7.0.1...7.1.0) ### Features - Added utility to wrap a `WebSocket` in a `Duplex` stream ([#1589](https://togithub.com/websockets/ws/issues/1589)). ### Bug fixes - Reverted "[minor] Remove unneeded `if` statement" ([`dbacf58`](https://togithub.com/websockets/ws/commit/dbacf582), [#1591](https://togithub.com/websockets/ws/issues/1591)). ### [`v7.0.1`](https://togithub.com/websockets/ws/releases/7.0.1) [Compare Source](https://togithub.com/websockets/ws/compare/7.0.0...7.0.1) ### Bug fixes - Added ability to disable sending the SNI extension ([#1587](https://togithub.com/websockets/ws/issues/1587)). ### [`v7.0.0`](https://togithub.com/websockets/ws/releases/7.0.0) [Compare Source](https://togithub.com/websockets/ws/compare/6.2.1...7.0.0) ### Breaking changes - Dropped support for Node.js 6 ([`1e6999b`](https://togithub.com/websockets/ws/commit/1e6999bb)). - Dropped support for `url.Url` instances in the `WebSocket` constructor ([`692d7b4`](https://togithub.com/websockets/ws/commit/692d7b47)). - The behavior of `WebSocket#{p{i,o}ng,send}()` has changed when the `readyState` attribute is not `OPEN` ([#1532](https://togithub.com/websockets/ws/issues/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.Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.