af4f722 | Luigi Pinca | 08 March 2020, 06:42:47 UTC | [dist] 7.2.2 | 08 March 2020, 06:42:47 UTC |
b29154b | Luigi Pinca | 07 March 2020, 20:23:19 UTC | [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 | Luigi Pinca | 29 February 2020, 18:27:31 UTC | [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 | Jake Merdich | 16 February 2020, 17:54:12 UTC | [doc] Clear the timer on close (#1696) In the heartbeat example, clear the timer on close. | 16 February 2020, 17:54:12 UTC |
9535702 | Luigi Pinca | 25 January 2020, 09:22:22 UTC | [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 | Luigi Pinca | 25 January 2020, 11:34:45 UTC | [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 | Luigi Pinca | 24 January 2020, 17:03:07 UTC | [pkg] Update mocha to version 7.0.0 | 24 January 2020, 17:03:07 UTC |
4f293a8 | Luigi Pinca | 21 January 2020, 20:03:22 UTC | [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 | Ben Falconer | 21 January 2020, 20:00:04 UTC | [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 | Luigi Pinca | 19 January 2020, 07:29:49 UTC | [minor] Use spread syntax instead of `Object.assign()` | 19 January 2020, 07:31:44 UTC |
401a585 | Luigi Pinca | 04 January 2020, 09:52:57 UTC | [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 | greenkeeper[bot] | 23 December 2019, 13:53:08 UTC | [pkg] Update nyc to version 15.0.0 (#1671) | 23 December 2019, 13:53:08 UTC |
9531cd0 | Luigi Pinca | 14 December 2019, 09:11:53 UTC | [dist] 7.2.1 | 14 December 2019, 09:11:53 UTC |
a4b9e0b | Luigi Pinca | 11 December 2019, 20:01:54 UTC | [ci] Test on node 13 | 11 December 2019, 20:01:54 UTC |
6df06d9 | Luigi Pinca | 30 November 2019, 16:32:29 UTC | [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 | Luigi Pinca | 29 November 2019, 19:00:43 UTC | [minor] Remove async-limiter dependency | 29 November 2019, 19:00:43 UTC |
3293284 | Luigi Pinca | 23 November 2019, 11:26:31 UTC | [minor] Remove unnecessary optimization It does not make much sense to optimize for empty messages. | 23 November 2019, 14:57:48 UTC |
f06a738 | Luigi Pinca | 14 November 2019, 07:31:12 UTC | [pkg] Add engines field | 14 November 2019, 07:31:12 UTC |
289724f | Sebastian Silbermann | 23 October 2019, 19:07:01 UTC | [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 | Luigi Pinca | 19 October 2019, 14:23:07 UTC | [dist] 7.2.0 | 19 October 2019, 14:23:07 UTC |
54e3011 | Luigi Pinca | 19 October 2019, 14:15:41 UTC | [doc] Fix Travis CI URL | 19 October 2019, 14:15:41 UTC |
a6c4238 | Luigi Pinca | 19 October 2019, 13:43:30 UTC | [example] Close the WebSocket connection on logout Fixes #1653 | 19 October 2019, 13:46:32 UTC |
2b7d84d | Tadeusz Wójcik | 14 October 2019, 14:29:40 UTC | [minor] Add ability to specify the `readableObjectMode` option (#1647) Fixes #1640 | 14 October 2019, 14:29:40 UTC |
96d8c8f | Luigi Pinca | 06 October 2019, 19:21:52 UTC | [test] Increase timeout for failing tests on Windows | 06 October 2019, 19:21:52 UTC |
08c6c8b | Сковорода Никита Андреевич | 15 September 2019, 07:14:54 UTC | [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 | Luigi Pinca | 25 August 2019, 10:39:12 UTC | [perf] Use `TypedArray#set()` instead of `Buffer#copy()` | 25 August 2019, 10:39:12 UTC |
74bac8e | Luigi Pinca | 12 August 2019, 15:47:05 UTC | [dist] 7.1.2 | 12 August 2019, 15:47:05 UTC |
3a695e8 | Yosi Attias | 12 August 2019, 15:41:28 UTC | [fix] Ensure `_compress()` callback is always called (#1618) Fixes #1617 | 12 August 2019, 15:41:28 UTC |
fa99173 | Luigi Pinca | 05 August 2019, 13:33:39 UTC | [doc] Fix nits | 05 August 2019, 13:33:39 UTC |
0a61236 | Adrian Hope-Bailie | 04 August 2019, 19:13:09 UTC | [doc] Discourage use of `verifyClient` hook (#1613) | 04 August 2019, 19:13:09 UTC |
91b5173 | Luigi Pinca | 22 July 2019, 15:11:12 UTC | [minor] Set the flag to detect invalid API usage only when needed | 22 July 2019, 15:11:12 UTC |
cf467db | Luigi Pinca | 19 July 2019, 14:41:37 UTC | [dist] 7.1.1 | 19 July 2019, 14:41:37 UTC |
3641266 | Luigi Pinca | 14 July 2019, 12:34:26 UTC | [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 | Luigi Pinca | 08 July 2019, 15:54:05 UTC | [dist] 7.1.0 | 08 July 2019, 15:54:05 UTC |
a49a827 | Luigi Pinca | 08 July 2019, 15:48:57 UTC | [feature] Add utility to wrap a `WebSocket` in a `Duplex` stream (#1589) Fixes #113 | 08 July 2019, 15:48:57 UTC |
dbacf58 | Luigi Pinca | 05 July 2019, 19:43:33 UTC | Revert "[minor] Remove unneeded `if` statement" This reverts commit 297f56df79f6bf4757465fb6b59884faf5b75337. | 05 July 2019, 19:43:33 UTC |
db14864 | greenkeeper[bot] | 25 June 2019, 19:27:50 UTC | [pkg] Update eslint-config-prettier to version 6.0.0 (#1599) | 25 June 2019, 19:27:50 UTC |
c62ea9f | Goktug Yilmaz | 23 June 2019, 16:59:34 UTC | [doc] Improve comment in code snippet (#1597) | 23 June 2019, 16:59:34 UTC |
47e7d64 | greenkeeper[bot] | 22 June 2019, 08:52:31 UTC | [pkg] Update eslint to version 6.0.0 (#1595) | 22 June 2019, 08:52:31 UTC |
d9b5562 | Amit Novick | 19 June 2019, 05:39:53 UTC | [doc] Improve server broadcast example (#1590) | 19 June 2019, 05:39:53 UTC |
38d3bf2 | Luigi Pinca | 17 June 2019, 16:13:43 UTC | [dist] 7.0.1 | 17 June 2019, 16:13:43 UTC |
a0af764 | Luigi Pinca | 17 June 2019, 16:03:49 UTC | [test] Use the correct value for the Content-Length header | 17 June 2019, 16:03:49 UTC |
b086179 | Holger Koser | 15 June 2019, 20:08:01 UTC | [fix] Allow to disable sending the SNI extension (#1587) | 15 June 2019, 20:08:01 UTC |
e9e8ba5 | greenkeeper[bot] | 15 June 2019, 09:53:23 UTC | [pkg] Update eslint-config-prettier to version 5.0.0 (#1588) | 15 June 2019, 09:53:23 UTC |
36ef757 | Michał Gołębiowski | 08 June 2019, 09:55:55 UTC | [doc] Add missing dependency in code snippet (#1581) | 08 June 2019, 09:55:55 UTC |
911bb6f | Rishabh Kohli | 14 May 2019, 13:04:20 UTC | [minor] Fix typo in JSDoc comment (#1565) | 14 May 2019, 13:04:20 UTC |
8050d5f | Luigi Pinca | 12 May 2019, 17:20:54 UTC | [lint] Enable quotes rule | 12 May 2019, 17:20:54 UTC |
995c527 | Luigi Pinca | 04 May 2019, 07:10:00 UTC | [test] Enable --throw-deprecation | 04 May 2019, 07:25:32 UTC |
fbc077b | Luigi Pinca | 02 May 2019, 16:15:24 UTC | [test] Do not use the deprecated `outgoingMessage._headers` property | 02 May 2019, 16:15:24 UTC |
092a822 | Luigi Pinca | 30 April 2019, 16:01:37 UTC | [dist] 7.0.0 | 30 April 2019, 16:01:37 UTC |
1b85466 | Luigi Pinca | 26 April 2019, 12:20:43 UTC | [minor] Use `crypto.randomFillSync()` to generate the masking key | 26 April 2019, 12:35:26 UTC |
993b0cd | Luigi Pinca | 26 April 2019, 10:24:58 UTC | [minor] Make `extension.parse()` use null-prototype objects | 26 April 2019, 10:33:21 UTC |
aca3858 | Luigi Pinca | 25 April 2019, 16:34:41 UTC | [example] Clean up examples | 25 April 2019, 17:46:55 UTC |
4a9a773 | Luigi Pinca | 25 April 2019, 16:04:07 UTC | [example] Rename serverstats to server-stats | 25 April 2019, 16:04:07 UTC |
3eff077 | Luigi Pinca | 25 April 2019, 15:19:48 UTC | [example] Remove unmaintained fileapi example | 25 April 2019, 15:19:48 UTC |
379def6 | Luigi Pinca | 25 April 2019, 15:14:46 UTC | [lint] enable no-var rule | 25 April 2019, 15:14:46 UTC |
01bb91d | Luigi Pinca | 25 April 2019, 12:47:39 UTC | [ci] Test on node 12 | 25 April 2019, 12:47:39 UTC |
6824e8c | Luigi Pinca | 25 April 2019, 10:12:34 UTC | [minor] Use `Reflect.apply()` It is faster than `Function.prototype.apply()`. | 25 April 2019, 10:56:40 UTC |
ddf0aca | Luigi Pinca | 25 April 2019, 10:04:51 UTC | [minor] Use object spread syntax instead of `Object.assign()` | 25 April 2019, 10:04:51 UTC |
692d7b4 | Luigi Pinca | 25 April 2019, 08:21:40 UTC | [major] Drop support for `url.Url` in the `WebSocket` constructor | 25 April 2019, 08:57:49 UTC |
1e6999b | Luigi Pinca | 25 April 2019, 08:15:12 UTC | [major] Drop support for Node.js 6 | 25 April 2019, 08:23:20 UTC |
5d751fb | Luigi Pinca | 25 April 2019, 06:45:10 UTC | [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 | Luigi Pinca | 18 April 2019, 05:26:31 UTC | [pkg] Use caret ranges for all dependencies | 18 April 2019, 05:26:31 UTC |
1a15120 | Luigi Pinca | 18 April 2019, 05:01:22 UTC | [pkg] Update nyc to version 14.0.0 | 18 April 2019, 05:01:22 UTC |
beccc79 | Luigi Pinca | 17 April 2019, 06:43:15 UTC | [pkg] Remove package-lock.json | 17 April 2019, 06:43:15 UTC |
ebdf0f7 | Luigi Pinca | 13 April 2019, 07:29:24 UTC | [pkg] Move Greenkeeper configuration to package.json Fixes #1550 | 13 April 2019, 07:29:24 UTC |
3a7faf7 | Luigi Pinca | 13 April 2019, 07:03:19 UTC | [pkg] Add greenkeeper.json | 13 April 2019, 07:14:18 UTC |
078336e | Luigi Pinca | 13 April 2019, 06:09:39 UTC | [pkg] Add package-lock.json | 13 April 2019, 07:14:11 UTC |
8a5a2cf | greenkeeper[bot] | 13 April 2019, 05:07:58 UTC | chore(package): update prettier to version 1.17.0 (#1549) | 13 April 2019, 05:07:58 UTC |
e8e39ea | Marcin K | 12 April 2019, 20:11:05 UTC | [doc] Update HTTPS example, remove new createServer (#1548) | 12 April 2019, 20:11:05 UTC |
7e7c8d6 | greenkeeper[bot] | 08 April 2019, 05:25:37 UTC | chore(package): update mocha to version 6.1.0 (#1544) | 08 April 2019, 05:25:37 UTC |
736c082 | greenkeeper[bot] | 30 March 2019, 18:43:59 UTC | chore(package): update eslint to version 5.16.0 (#1541) | 30 March 2019, 18:43:59 UTC |
d57db27 | Luigi Pinca | 27 March 2019, 08:34:10 UTC | [dist] 6.2.1 | 27 March 2019, 08:34:10 UTC |
40734d8 | Luigi Pinca | 26 March 2019, 21:12:27 UTC | [minor] Add missing option in JSDoc comment | 26 March 2019, 21:12:27 UTC |
0556f31 | Teddy Toussaint | 26 March 2019, 20:48:50 UTC | [doc] Add TOC to ws.md (#1539) | 26 March 2019, 20:48:50 UTC |
aa1dcd5 | Luigi Pinca | 26 March 2019, 17:23:27 UTC | [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 | Luigi Pinca | 21 March 2019, 06:35:33 UTC | [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 | Luigi Pinca | 20 March 2019, 11:37:14 UTC | [test] Increase code coverage | 20 March 2019, 11:37:14 UTC |
3a5a20a | Luigi Pinca | 20 March 2019, 07:53:12 UTC | Revert "[ci] Cache dependencies" This reverts commit 9a89e5d5164415021db86da665d3b691321656c7. | 20 March 2019, 07:53:12 UTC |
9a89e5d | Luigi Pinca | 20 March 2019, 07:10:06 UTC | [ci] Cache dependencies | 20 March 2019, 07:10:06 UTC |
7f5025d | Luigi Pinca | 19 March 2019, 17:19:47 UTC | [test] Fix flaky test | 19 March 2019, 17:19:47 UTC |
148c373 | Luigi Pinca | 17 March 2019, 06:49:47 UTC | [test] Prefer arrow functions | 17 March 2019, 06:49:47 UTC |
3df8242 | Luigi Pinca | 16 March 2019, 19:04:19 UTC | [test] Remove comment to disable eslint rule | 16 March 2019, 19:13:03 UTC |
a40e29f | Luigi Pinca | 15 March 2019, 16:47:51 UTC | [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 | Luigi Pinca | 15 March 2019, 15:29:01 UTC | [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 | Luigi Pinca | 15 March 2019, 15:22:44 UTC | [test] Remove useless test It should have been removed in 8ead18d0. | 15 March 2019, 15:22:44 UTC |
eb6f8b0 | Luigi Pinca | 06 March 2019, 07:07:29 UTC | [dist] 6.2.0 | 06 March 2019, 07:07:29 UTC |
161f303 | Luigi Pinca | 06 March 2019, 06:46:59 UTC | [feature] Add ability to follow redirects (#1490) Fixes #812 | 06 March 2019, 06:46:59 UTC |
a6e94f4 | Luigi Pinca | 02 March 2019, 17:55:16 UTC | [minor] Move all buffer conversion functions to the buffer-util module | 02 March 2019, 17:55:16 UTC |
71ee9ed | greenkeeper[bot] | 02 March 2019, 14:23:04 UTC | chore(package): update eslint to version 5.15.0 (#1522) | 02 March 2019, 14:23:04 UTC |
855494d | Luigi Pinca | 02 March 2019, 14:21:50 UTC | [test] Fix flaky test | 02 March 2019, 14:21:50 UTC |
8c21add | Luigi Pinca | 28 February 2019, 09:25:12 UTC | [codestyle] Add .gitattributes | 28 February 2019, 09:25:12 UTC |
faf9b36 | Luigi Pinca | 28 February 2019, 09:02:04 UTC | [ci] Let Travis CI handle x64 Windows tests | 28 February 2019, 09:02:04 UTC |
bcb8a98 | Luigi Pinca | 28 February 2019, 08:41:07 UTC | [ci] Test on macOS | 28 February 2019, 08:41:07 UTC |
5e238fb | Luigi Pinca | 28 February 2019, 08:31:10 UTC | [doc] Add logos to badges | 28 February 2019, 08:31:10 UTC |
295786b | greenkeeper[bot] | 26 February 2019, 20:07:07 UTC | chore(package): update eslint-config-prettier to version 4.1.0 (#1518) | 26 February 2019, 20:07:07 UTC |
160af45 | Luigi Pinca | 22 February 2019, 09:46:38 UTC | [fix] Abort the handshake if the Sec-WebSocket-Key header is invalid | 22 February 2019, 09:46:38 UTC |
1d93fb2 | Luigi Pinca | 21 February 2019, 17:23:44 UTC | [codestyle] Use single quotes in YAML files | 21 February 2019, 17:28:06 UTC |
6ad4d86 | Luigi Pinca | 21 February 2019, 16:57:00 UTC | [pkg] Remove prettylint | 21 February 2019, 17:16:26 UTC |
dd5833a | greenkeeper[bot] | 19 February 2019, 07:17:37 UTC | chore(package): update mocha to version 6.0.0 (#1511) | 19 February 2019, 07:17:37 UTC |