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:
^3.3.3
->^5.0.0
By merging this PR, the issue #118 will be automatically resolved and closed:
Release Notes
websockets/ws (ws)
v5.2.4
Compare Source
Bug fixes
e55e510
to the 5.x release line (4abd8f6
).v5.2.3
Compare Source
Bug fixes
00c425e
to the 5.x release line (76d47c1
).v5.2.2
Compare Source
Bug fixes
6046a28
(8aba871
).v5.2.1
Compare Source
Bug fixes
certain circumstances (
6046a28
).v5.2.0
Compare Source
Features
v5.1.1
Compare Source
Bug fixes
9e152f9
(#1347).v5.1.0
Compare Source
Features
address
argument of theWebSocket
constructor can now be a [URL
][URL]instance (#1329).
options
argument of theWebSocket
constructor now accepts any TLSoption that is also accepted by [
https.request()
][https.request()] (#1332).v5.0.0
Compare Source
Breaking changes
the client's requested subprotocols (#1312).
net.Socket
errors are no longer re-emitted (a4050db
).Features
(#1302).
v4.1.0
Compare Source
Features
WebSocketServer.prototype.address()
(#1294).zlib{Deflate,Inflate}Options
options (#1306).v4.0.0
Compare Source
Breaking changes
no status code (
a31b1f6
).695c5ea
).onerror
event handler now receives anErrorEvent
instead of JavaScripterror (
63e275e
).WebSocket.prototype.ping()
andWebSocket.prototype.pong()
is no longer a boolean but an optional callback(
30c9f71
).protocolVersion
andbytesReceived
attributes have beenremoved (
30c9f71
...ee9b5f3).extensions
attribute is no longer an object but a string representingthe extensions selected by the server (
fdec524
).'headers'
event on the client has been renamed to'upgrade'
. Listenersof this event now receive only the
response
argument (1c783c2
).WebSocket.prototype.pause()
andWebSocket.prototype.resume()
methodshave been removed to prevent the user from interfering with the state of the
underlying
net.Socket
stream (a206e98
).