swh:1:snp:c53ab93da1867a0ee99951a3636bca865f9194df

sort by:
Revision Author Date Message Commit Date
af4f722 [dist] 7.2.2 08 March 2020, 06:42:47 UTC
b29154b [fix] Call buffered send callbacks on abnormal closure (#1702) If the socket is closed while data is being compressed, invoke the current send callback and the buffered send callbacks with an error before emitting the `'close'` event. Refs: https://github.com/nodejs/node/pull/30596 07 March 2020, 20:23:19 UTC
3e7f69c [fix] Do not swallow errors emitted while destroying (#1672) Refs: https://github.com/nodejs/node/pull/29197 29 February 2020, 18:27:31 UTC
a39756a [doc] Clear the timer on close (#1696) In the heartbeat example, clear the timer on close. 16 February 2020, 17:54:12 UTC
9535702 [fix] Make `_final()` a noop if no socket is assigned Prevent `_final()` from throwing an error if `duplex.end()` is called while the websocket is closing and no socket is assigned to it. 25 January 2020, 11:41:22 UTC
1863504 [test] Use `WebSocket.CONNECTING` instead of 0 Use the `WebSocket.CONNECTING` constant instead of hardcoding its value. 25 January 2020, 11:40:04 UTC
cd607c0 [pkg] Update mocha to version 7.0.0 24 January 2020, 17:03:07 UTC
4f293a8 [fix] Close the connection if the MASK bit is incorrectly set (#1681) Follow the specification and close the connection when a non masked frame is received on the server or a masked frame is received on the client. Refs: https://tools.ietf.org/html/rfc6455#section-5.1 Closes #1679 21 January 2020, 20:03:22 UTC
b6430fe [fix] Allow close code 1014 (#1682) IANA has assigned 1014 as "Bad Gateway". Refs: https://www.iana.org/assignments/websocket/websocket.xhtml#close-code-number Refs: https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent 21 January 2020, 20:00:04 UTC
748a844 [minor] Use spread syntax instead of `Object.assign()` 19 January 2020, 07:31:44 UTC
401a585 [minor] Fix misleading comment As of commit https://github.com/nodejs/node/commit/0e89b64d66 the `zlib.flush()` callback can be called if `zlib.close()` is called while data is being processed. 04 January 2020, 09:52:57 UTC
b59eff6 [pkg] Update nyc to version 15.0.0 (#1671) 23 December 2019, 13:53:08 UTC
9531cd0 [dist] 7.2.1 14 December 2019, 09:11:53 UTC
a4b9e0b [ci] Test on node 13 11 December 2019, 20:01:54 UTC
6df06d9 [minor] Use `Infinity` if `concurrency` value is falsy Refs: https://github.com/websockets/ws/commit/950e41a8#r36203961 30 November 2019, 16:34:58 UTC
950e41a [minor] Remove async-limiter dependency 29 November 2019, 19:00:43 UTC
3293284 [minor] Remove unnecessary optimization It does not make much sense to optimize for empty messages. 23 November 2019, 14:57:48 UTC
f06a738 [pkg] Add engines field 14 November 2019, 07:31:12 UTC
289724f [pkg] Add bufferutil and utf-8-validate as peer dependencies (#1626) Add bufferutil and utf-8-validate as optional peer dependencies. 23 October 2019, 19:07:01 UTC
65f7800 [dist] 7.2.0 19 October 2019, 14:23:07 UTC
54e3011 [doc] Fix Travis CI URL 19 October 2019, 14:15:41 UTC
a6c4238 [example] Close the WebSocket connection on logout Fixes #1653 19 October 2019, 13:46:32 UTC
2b7d84d [minor] Add ability to specify the `readableObjectMode` option (#1647) Fixes #1640 14 October 2019, 14:29:40 UTC
96d8c8f [test] Increase timeout for failing tests on Windows 06 October 2019, 19:21:52 UTC
08c6c8b [fix] Ensure that `concat()` never returns uninitialized data (#1600) This is just a safeguard that ensures that for cases if `totalLength` is by some mistake miscalculated, no uninitialized memory would be leaked. 15 September 2019, 07:14:54 UTC
5b7315f [perf] Use `TypedArray#set()` instead of `Buffer#copy()` 25 August 2019, 10:39:12 UTC
74bac8e [dist] 7.1.2 12 August 2019, 15:47:05 UTC
3a695e8 [fix] Ensure `_compress()` callback is always called (#1618) Fixes #1617 12 August 2019, 15:41:28 UTC
fa99173 [doc] Fix nits 05 August 2019, 13:33:39 UTC
0a61236 [doc] Discourage use of `verifyClient` hook (#1613) 04 August 2019, 19:13:09 UTC
91b5173 [minor] Set the flag to detect invalid API usage only when needed 22 July 2019, 15:11:12 UTC
cf467db [dist] 7.1.1 19 July 2019, 14:41:37 UTC
3641266 [minor] Throw an error on invalid usage Throw an error if the same `server` option is used for multiple WebSocket servers at the same time. 14 July 2019, 12:41:28 UTC
dd42c8b [dist] 7.1.0 08 July 2019, 15:54:05 UTC
a49a827 [feature] Add utility to wrap a `WebSocket` in a `Duplex` stream (#1589) Fixes #113 08 July 2019, 15:48:57 UTC
dbacf58 Revert "[minor] Remove unneeded `if` statement" This reverts commit 297f56df79f6bf4757465fb6b59884faf5b75337. 05 July 2019, 19:43:33 UTC
db14864 [pkg] Update eslint-config-prettier to version 6.0.0 (#1599) 25 June 2019, 19:27:50 UTC
c62ea9f [doc] Improve comment in code snippet (#1597) 23 June 2019, 16:59:34 UTC
47e7d64 [pkg] Update eslint to version 6.0.0 (#1595) 22 June 2019, 08:52:31 UTC
d9b5562 [doc] Improve server broadcast example (#1590) 19 June 2019, 05:39:53 UTC
38d3bf2 [dist] 7.0.1 17 June 2019, 16:13:43 UTC
a0af764 [test] Use the correct value for the Content-Length header 17 June 2019, 16:03:49 UTC
b086179 [fix] Allow to disable sending the SNI extension (#1587) 15 June 2019, 20:08:01 UTC
e9e8ba5 [pkg] Update eslint-config-prettier to version 5.0.0 (#1588) 15 June 2019, 09:53:23 UTC
36ef757 [doc] Add missing dependency in code snippet (#1581) 08 June 2019, 09:55:55 UTC
911bb6f [minor] Fix typo in JSDoc comment (#1565) 14 May 2019, 13:04:20 UTC
8050d5f [lint] Enable quotes rule 12 May 2019, 17:20:54 UTC
995c527 [test] Enable --throw-deprecation 04 May 2019, 07:25:32 UTC
fbc077b [test] Do not use the deprecated `outgoingMessage._headers` property 02 May 2019, 16:15:24 UTC
092a822 [dist] 7.0.0 30 April 2019, 16:01:37 UTC
1b85466 [minor] Use `crypto.randomFillSync()` to generate the masking key 26 April 2019, 12:35:26 UTC
993b0cd [minor] Make `extension.parse()` use null-prototype objects 26 April 2019, 10:33:21 UTC
aca3858 [example] Clean up examples 25 April 2019, 17:46:55 UTC
4a9a773 [example] Rename serverstats to server-stats 25 April 2019, 16:04:07 UTC
3eff077 [example] Remove unmaintained fileapi example 25 April 2019, 15:19:48 UTC
379def6 [lint] enable no-var rule 25 April 2019, 15:14:46 UTC
01bb91d [ci] Test on node 12 25 April 2019, 12:47:39 UTC
6824e8c [minor] Use `Reflect.apply()` It is faster than `Function.prototype.apply()`. 25 April 2019, 10:56:40 UTC
ddf0aca [minor] Use object spread syntax instead of `Object.assign()` 25 April 2019, 10:04:51 UTC
692d7b4 [major] Drop support for `url.Url` in the `WebSocket` constructor 25 April 2019, 08:57:49 UTC
1e6999b [major] Drop support for Node.js 6 25 April 2019, 08:23:20 UTC
5d751fb [major] Change `WebSocket#{p{i,o}ng,send}()` behavior (#1532) - If the `readyState` attribute is `CONNECTING`, throw an exception. - If the `readyState` attribute is `CLOSING` or `CLOSED` - Increase the `bufferedAmount` attribute by the length of the `data` argument in bytes. - If specified, call the `callback` function with an error. Fixes #1515 25 April 2019, 06:45:10 UTC
5479eae [pkg] Use caret ranges for all dependencies 18 April 2019, 05:26:31 UTC
1a15120 [pkg] Update nyc to version 14.0.0 18 April 2019, 05:01:22 UTC
beccc79 [pkg] Remove package-lock.json 17 April 2019, 06:43:15 UTC
ebdf0f7 [pkg] Move Greenkeeper configuration to package.json Fixes #1550 13 April 2019, 07:29:24 UTC
3a7faf7 [pkg] Add greenkeeper.json 13 April 2019, 07:14:18 UTC
078336e [pkg] Add package-lock.json 13 April 2019, 07:14:11 UTC
8a5a2cf chore(package): update prettier to version 1.17.0 (#1549) 13 April 2019, 05:07:58 UTC
e8e39ea [doc] Update HTTPS example, remove new createServer (#1548) 12 April 2019, 20:11:05 UTC
7e7c8d6 chore(package): update mocha to version 6.1.0 (#1544) 08 April 2019, 05:25:37 UTC
736c082 chore(package): update eslint to version 5.16.0 (#1541) 30 March 2019, 18:43:59 UTC
d57db27 [dist] 6.2.1 27 March 2019, 08:34:10 UTC
40734d8 [minor] Add missing option in JSDoc comment 26 March 2019, 21:12:27 UTC
0556f31 [doc] Add TOC to ws.md (#1539) 26 March 2019, 20:48:50 UTC
aa1dcd5 [fix] Make `WebSocket#close()` set the close timer immediately If there is buffered data to write and the stream is not flowing, it is possible that the callback of `Sender.prototype.close()` is never called. 26 March 2019, 17:23:27 UTC
297f56d [minor] Remove unneeded `if` statement The `'error'` event can be emitted after the `'close'` event only if `socket.write()` is called on a closed socket. If this happens, it's a bug. 21 March 2019, 08:06:09 UTC
bcab373 [test] Increase code coverage 20 March 2019, 11:37:14 UTC
3a5a20a Revert "[ci] Cache dependencies" This reverts commit 9a89e5d5164415021db86da665d3b691321656c7. 20 March 2019, 07:53:12 UTC
9a89e5d [ci] Cache dependencies 20 March 2019, 07:10:06 UTC
7f5025d [test] Fix flaky test 19 March 2019, 17:19:47 UTC
148c373 [test] Prefer arrow functions 17 March 2019, 06:49:47 UTC
3df8242 [test] Remove comment to disable eslint rule 16 March 2019, 19:13:03 UTC
a40e29f [minor] Remove length threshold Do not use a length threshold to determine whether or not to copy data. 15 March 2019, 16:47:51 UTC
6c22584 [minor] Buffer writes if the frame to send is made of multiple chunks This allows to write all chunks at the same time via `Socket.prototype._writev()`. 15 March 2019, 15:29:01 UTC
1842197 [test] Remove useless test It should have been removed in 8ead18d0. 15 March 2019, 15:22:44 UTC
eb6f8b0 [dist] 6.2.0 06 March 2019, 07:07:29 UTC
161f303 [feature] Add ability to follow redirects (#1490) Fixes #812 06 March 2019, 06:46:59 UTC
a6e94f4 [minor] Move all buffer conversion functions to the buffer-util module 02 March 2019, 17:55:16 UTC
71ee9ed chore(package): update eslint to version 5.15.0 (#1522) 02 March 2019, 14:23:04 UTC
855494d [test] Fix flaky test 02 March 2019, 14:21:50 UTC
8c21add [codestyle] Add .gitattributes 28 February 2019, 09:25:12 UTC
faf9b36 [ci] Let Travis CI handle x64 Windows tests 28 February 2019, 09:02:04 UTC
bcb8a98 [ci] Test on macOS 28 February 2019, 08:41:07 UTC
5e238fb [doc] Add logos to badges 28 February 2019, 08:31:10 UTC
295786b chore(package): update eslint-config-prettier to version 4.1.0 (#1518) 26 February 2019, 20:07:07 UTC
160af45 [fix] Abort the handshake if the Sec-WebSocket-Key header is invalid 22 February 2019, 09:46:38 UTC
1d93fb2 [codestyle] Use single quotes in YAML files 21 February 2019, 17:28:06 UTC
6ad4d86 [pkg] Remove prettylint 21 February 2019, 17:16:26 UTC
dd5833a chore(package): update mocha to version 6.0.0 (#1511) 19 February 2019, 07:17:37 UTC
back to top