fix(deps): update dependency ws to v8#74
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/ws-8.x
branch
2 times, most recently
from
March 30, 2023 19:20
9a7e6d4 to
68c8073
Compare
renovate
Bot
force-pushed
the
renovate/ws-8.x
branch
from
June 30, 2023 12:48
68c8073 to
6121854
Compare
renovate
Bot
force-pushed
the
renovate/ws-8.x
branch
2 times, most recently
from
July 12, 2023 08:28
4c649a1 to
3887424
Compare
renovate
Bot
force-pushed
the
renovate/ws-8.x
branch
2 times, most recently
from
July 28, 2023 15:38
7764b3d to
0b6b7ef
Compare
renovate
Bot
force-pushed
the
renovate/ws-8.x
branch
2 times, most recently
from
November 13, 2023 09:54
d80a2b0 to
68bf7d3
Compare
renovate
Bot
force-pushed
the
renovate/ws-8.x
branch
2 times, most recently
from
July 11, 2024 14:17
61b35fb to
be04119
Compare
renovate
Bot
force-pushed
the
renovate/ws-8.x
branch
3 times, most recently
from
January 3, 2025 12:53
086d545 to
dd352b0
Compare
renovate
Bot
force-pushed
the
renovate/ws-8.x
branch
from
August 10, 2025 14:13
dd352b0 to
ba1da3f
Compare
renovate
Bot
force-pushed
the
renovate/ws-8.x
branch
2 times, most recently
from
September 29, 2025 15:21
64b726f to
7539617
Compare
renovate
Bot
force-pushed
the
renovate/ws-8.x
branch
2 times, most recently
from
October 9, 2025 13:35
64d40b9 to
5b81428
Compare
renovate
Bot
force-pushed
the
renovate/ws-8.x
branch
from
December 9, 2025 07:41
5b81428 to
75429ce
Compare
renovate
Bot
force-pushed
the
renovate/ws-8.x
branch
2 times, most recently
from
January 5, 2026 21:10
d254ff5 to
8f232ac
Compare
renovate
Bot
force-pushed
the
renovate/ws-8.x
branch
from
January 19, 2026 19:56
8f232ac to
bd82007
Compare
renovate
Bot
force-pushed
the
renovate/ws-8.x
branch
from
March 21, 2026 21:32
bd82007 to
c2fb39d
Compare
renovate
Bot
force-pushed
the
renovate/ws-8.x
branch
from
May 12, 2026 18:11
c2fb39d to
38ee529
Compare
renovate
Bot
force-pushed
the
renovate/ws-8.x
branch
from
May 22, 2026 22:59
38ee529 to
1a0543c
Compare
renovate
Bot
force-pushed
the
renovate/ws-8.x
branch
from
July 18, 2026 23:51
1a0543c to
ac91c43
Compare
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR contains the following updates:
^7.5.1→^8.0.0Release Notes
websockets/ws (ws)
v8.21.1Compare Source
Bug fixes
a2f4e7c).maxBufferedChunksandmaxFragmentsoptions havebeen reduced (
f197ac6).v8.21.0Compare Source
Features
maxBufferedChunksandmaxFragmentsoptions (2b2abd4).Bug fixes
2b2abd4).A high volume of tiny fragments and data chunks could be sent by a peer, using
modest network traffic, to crash a
wsserver or client due to OOM.The vulnerability was responsibly disclosed and fixed by Nadav Magier.
In vulnerable versions, the issue can be mitigated by lowering the value of the
maxPayloadoption if possible.v8.20.1Compare Source
Bug fixes
websocket.close()(
c0327ec).Providing a
TypedArray(e.g.Float32Array) as thereasonargument forwebsocket.close(), rather than the supported string orBuffertypes, causeduninitialized memory to be disclosed to the remote peer.
The issue was privately reported by Nikita Skovoroda.
v8.20.0Compare Source
Features
PerMessageDeflateclass and utilities for theSec-WebSocket-ExtensionsandSec-WebSocket-Protocolheaders (d3503c1).v8.19.0Compare Source
Features
closeTimeoutoption (#2308).Bug fixes
1998485).v8.18.3Compare Source
Bug fixes
Sec-WebSocket-Versionheader was not addedto the HTTP response if the client requested version was either invalid or
unacceptable (#2291).
v8.18.2Compare Source
Bug fixes
exceeded, led to the emission of an inaccurate error and closure of the
connection with an improper close code (#2285).
v8.18.1Compare Source
Bug fixes
make them work when run via CITGM (
021f7b8).v8.18.0Compare Source
Features
Blob(#2229).v8.17.1Compare Source
Bug fixes
A request with a number of headers exceeding the
server.maxHeadersCountthreshold could be used to crash a ws server.
The vulnerability was reported by Ryan LaPointe in #2230.
In vulnerable versions of ws, the issue can be mitigated in the following ways:
--max-http-header-size=sizeand/or themaxHeaderSizeoptions sothat no more headers than the
server.maxHeadersCountlimit can be sent.server.maxHeadersCountto0so that no limit is applied.v8.17.0Compare Source
Features
WebSocketconstructor now accepts thecreateConnectionoption (#2219).Other notable changes
allowSynchronousEventsoption has been changed totrue(#2221).This is a breaking change in a patch release. The assumption is that the option
is not widely used.
v8.16.0Compare Source
Features
autoPongoption (01ba54e).v8.15.1Compare Source
Notable changes
allowMultipleEventsPerMicrotaskoption has been renamed toallowSynchronousEvents(4ed7fe5).This is a breaking change in a patch release that could have been avoided with
an alias, but the renamed option was added only 3 days ago, so hopefully it
hasn't already been widely used.
v8.15.0Compare Source
Features
allowMultipleEventsPerMicrotaskoption (93e3552).v8.14.2Compare Source
Bug fixes
swallowed when running tests (
7f4e1a7).v8.14.1Compare Source
Bug fixes
fd3c64c).v8.14.0Compare Source
Features
WebSocketconstructor now accepts HTTP(S) URLs (#2162).socketargument ofserver.handleUpgrade()can now be a genericDuplexstream (#2165).Other notable changes
v8.13.0Compare Source
Features
finishRequestoption to support late addition of headers (#2123).v8.12.1Compare Source
Bug fixes
browsercondition to package.json (#2118).v8.12.0Compare Source
Features
utf-8-validate@6(ff63bba).Other notable changes
buffer.isUtf8()is now used instead ofutf-8-validateif available(
42d79f6).v8.11.0Compare Source
Features
WebSocket.prototype.addEventListener()now supports an event listenerspecified as an object with a
handleEvent()method. (9ab743a).Bug fixes
WebSocket.prototype.addEventListener()now adds an event listener only if itis not already in the list of the event listeners for the specified event type
(
1cec17d).v8.10.0Compare Source
Features
211d5d3).v8.9.0Compare Source
Features
v8.8.1Compare Source
Bug fixes
AuthorizationandCookieheaders are no longer sent if the originalrequest for the opening handshake is sent to an IPC server and the client is
redirected to another IPC server (
bc8bd34).v8.8.0Compare Source
Features
WS_NO_BUFFER_UTILandWS_NO_UTF_8_VALIDATEenvironmentvariables (
becf237).v8.7.0Compare Source
Features
them with a custom HTTP response. (
6e5a5ce).Bug fixes
Upgradeheader field value in the HTTPresponse is not a case-insensitive match for the value "websocket" (
0fdcc0a).AuthorizationandCookieheaders are no longer sent when following aninsecure redirect (wss: to ws:) to the same host (
d68ba9e).v8.6.0Compare Source
Features
v8.5.0Compare Source
Features
WebSocketclass on the server (#2007).Bug fixes
AuthorizationandCookieheaders are nolonger sent if the redirect host is different from the original host (#2013).
v8.4.2Compare Source
Bug fixes
v8.4.1Compare Source
Notable changes
websocket.ping(),websocket.pong(), andwebsocket.send()are no longer converted toBuffers if the data does not need to be masked (#2000).v8.4.0Compare Source
Features
v8.3.0Compare Source
Features
WebSocket(0a8c7a9).Bug fixes
using the stream API (
ed2b803).redirect URL is invalid (#1980).
v8.2.3Compare Source
Bug fixes
is below the value of the
perMessageDeflate.thresholdoption (41ae563).v8.2.2Compare Source
Bug fixes
ec9377c).v8.2.1Compare Source
Bug fixes
from being closed cleanly (
869c989).v8.2.0Compare Source
Features
WebSocket.WebSocketas an alias forWebSocketandWebSocket.WebSocketServeras an alias forWebSocket.Serverto fix nameconsistency and improve interoperability with the ES module wrapper (#1935).
v8.1.0Compare Source
Features
Bug fixes
6a72da3).c95e695).v8.0.0Compare Source
Breaking changes
The
WebSocketconstructor now throws aSyntaxErrorif any of thesubprotocol names are invalid or duplicated (
0aecf0c).The server now aborts the opening handshake if an invalid
Sec-WebSocket-Protocolheader field value is received (1877dde).The
protocolsargument ofhandleProtocolshook is no longer anArraybuta
Set(1877dde).The opening handshake is now aborted if the
Sec-WebSocket-Extensionsheaderfield value is empty or it begins or ends with a white space (
e814110).Dropped support for Node.js < 10.0.0 (
552b506).The
WebSocketconstructor now throws aSyntaxErrorif the connection URLcontains a fragment identifier or if the URL's protocol is not one of
'ws:','wss:', or'ws+unix:'(ebea038).Text messages and close reasons are no longer decoded to strings. They are
passed as
Buffers to the listeners of their respective events. The listenersof the
'message'event now take a boolean argument specifying whether or notthe message is binary (
e173423).Existing code can be migrated by decoding the buffer explicitly.
The package now uses an ES module wrapper (
78adf5f).WebSocketServer.prototype.close()no longer closes existing connections(
df7de57).Existing code can be migrated by closing the connections manually.
The callback of
WebSocketServer.prototype.close()is now called with anerror if the server is already closed (
abde9cf).WebSocket.prototype.addEventListener()is now a noop if thetypeargumentis not one of
'close','error','message', or'open'(9558ed1).WebSocket.prototype.removeEventListener()now only removes listeners addedwith
WebSocket.prototype.addEventListener()and only one at time (ea95d9c).The value of the
onclose,onerror,onmessage, andonopenproperties isnow
nullif the respective event handler is not set (6756cf5).The
OpenEventclass has been removed (21e6500).Bug fixes
event listeners added with
WebSocket.prototype.addEventListener()(
0b21c03).Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.