Sourced from ws's releases.
7.4.2
Bug fixes
- Silenced a deprecation warning (d1a8af4d).
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 (38d6ab3b).7.4.0
Features
- The callback of
WebSocketServer.prototype.handleUpgrade()now takes the client HTTP GET request as second argument (7d39f19e).Bug fixes
- Read-only properties are now read-only (eabed8fc).
- The
CONNECTING,OPEN,CLOSING,CLOSED,binaryType,bufferedAmount,extensions,onclose,onerror,onmessage,onopen,protocol,readyState, andurlproperties are now enumerable (2069e684).7.3.1
Bug fixes
- Improved
websocket.bufferedAmountaccuracy (e1349c04, a1629426).
d1a8af4 [dist] 7.4.248a2349 [pkg] Update eslint-config-prettier to version 7.1.0a2c0d44 [minor] Silence deprecation warningc171962 [dist] 7.4.138d6ab3 [fix] Handle cases where the 'error' event is emitted multiple times3d5066a [test] Check configurability and enumerability of WebSocket propertieseb36a63 [dist] 7.4.03f185bf [minor] Use the public binaryType property2069e68 [fix] Fix the enumerability of some propertieseabed8f [fix] Make read-only properties read-only