2069e68 | Luigi Pinca | 07 November 2020, 07:56:02 UTC | [fix] Fix the enumerability of some properties Make the `CONNECTING`, `OPEN`, `CLOSING`, `CLOSED`, `binaryType`, `bufferedAmount`, `extensions`, `onclose`, `onerror`, `onmessage`, `onopen`, `protocol`, `readyState`, and `url` properties enumerable. | 07 November 2020, 08:29:12 UTC |
eabed8f | Luigi Pinca | 07 November 2020, 07:21:53 UTC | [fix] Make read-only properties read-only Fixes #1814 | 07 November 2020, 08:29:06 UTC |
7d39f19 | Luigi Pinca | 06 November 2020, 19:02:30 UTC | [minor] Pass the request object to `server.handleUpgrade()` callback Fixes #1813 | 06 November 2020, 19:02:30 UTC |
572c81f | Luigi Pinca | 05 November 2020, 19:53:09 UTC | [ci] Test on node 15 | 05 November 2020, 19:53:09 UTC |
237960e | Luigi Pinca | 22 October 2020, 10:37:37 UTC | [codestyle] Use 80 characters per line in JSDoc comments | 22 October 2020, 10:37:37 UTC |
02ecf45 | Dmitry Kirilyuk | 22 October 2020, 09:50:15 UTC | [minor] Specify optional parameters in JSDoc (#1799) | 22 October 2020, 10:22:40 UTC |
69172fc | Luigi Pinca | 22 October 2020, 07:35:07 UTC | [minor] Add missing parameters in JSDoc comments | 22 October 2020, 08:47:26 UTC |
d972c33 | Eugene Maslovich | 17 September 2020, 05:48:21 UTC | [example] Write 401 response before destroying the socket (#1798) | 17 September 2020, 05:48:21 UTC |
535c556 | Luigi Pinca | 01 September 2020, 19:00:19 UTC | [ci] Do not test on node 13 | 01 September 2020, 19:02:17 UTC |
40a9d2a | Luigi Pinca | 06 August 2020, 05:42:37 UTC | [test] Fix typo | 06 August 2020, 05:42:37 UTC |
9a99197 | Luigi Pinca | 05 August 2020, 17:19:39 UTC | [test] Clarify comment | 05 August 2020, 17:19:39 UTC |
42abb0e | Luigi Pinca | 05 August 2020, 14:24:00 UTC | [test] Use `os.tmpdir()` instead of hardcoded /tmp | 05 August 2020, 15:10:09 UTC |
622e2f3 | Luigi Pinca | 29 July 2020, 18:14:33 UTC | [meta] Remove 3rd-Eden from FUNDING.yml 3rd-Eden is not yet enrolled in GitHub Sponsors. | 29 July 2020, 18:22:35 UTC |
cc656df | Luigi Pinca | 29 July 2020, 17:10:05 UTC | [meta] Add FUNDING.yml | 29 July 2020, 17:10:05 UTC |
da42ea1 | Luigi Pinca | 20 July 2020, 18:11:25 UTC | [doc] Improve documentation for `websocket.bufferedAmount` Closes #492 | 20 July 2020, 18:15:43 UTC |
d09daaf | Luigi Pinca | 05 July 2020, 05:18:22 UTC | [dist] 7.3.1 | 05 July 2020, 05:18:22 UTC |
a162942 | Luigi Pinca | 29 June 2020, 17:28:46 UTC | [fix] Use `socket._writableState.length` instead of `socket.bufferSize` Refs: https://github.com/nodejs/node/pull/34088 | 29 June 2020, 17:33:59 UTC |
41b0f9b | Luigi Pinca | 24 June 2020, 16:26:09 UTC | [minor] Fix nit | 24 June 2020, 17:32:06 UTC |
44bcbc8 | Luigi Pinca | 24 June 2020, 16:24:28 UTC | [minor] Fix JSDoc comments | 24 June 2020, 17:32:06 UTC |
e1349c0 | Luigi Pinca | 24 June 2020, 15:44:40 UTC | [fix] Take into account the data that is being compressed Improve `websocket.bufferedAmount` accuracy by taking into account the number of bytes of a message while it is being compressed. | 24 June 2020, 17:30:04 UTC |
0954abc | sa-linetco | 23 June 2020, 17:07:56 UTC | [doc] Add clarification for `http{,s}.request()` options (#1773) | 23 June 2020, 17:07:56 UTC |
88d0345 | Luigi Pinca | 13 June 2020, 06:48:58 UTC | [pkg] Update prettier to version 2.0.5 | 13 June 2020, 06:51:03 UTC |
b6ae22a | Luigi Pinca | 13 June 2020, 06:40:10 UTC | [pkg] Update eslint to version 7.2.0 | 13 June 2020, 06:44:49 UTC |
c4c7f3c | Luigi Pinca | 13 June 2020, 06:22:34 UTC | [ci] Run the lint script only once | 13 June 2020, 06:44:42 UTC |
14d53d7 | Luigi Pinca | 13 June 2020, 05:44:08 UTC | [pkg] Do not run the lint script before the test script | 13 June 2020, 06:37:34 UTC |
c02a4b7 | Luigi Pinca | 03 June 2020, 18:04:41 UTC | [pkg] Remove Greenkeeper configuration | 03 June 2020, 18:04:41 UTC |
01b07e1 | Luigi Pinca | 27 May 2020, 15:27:18 UTC | [minor] Add missing tag to JSDoc comment | 27 May 2020, 15:27:18 UTC |
41f5e4f | Luigi Pinca | 10 May 2020, 05:23:28 UTC | [dist] 7.3.0 | 10 May 2020, 05:23:28 UTC |
2e5c01f | Sceat | 07 May 2020, 17:57:28 UTC | [feature] Make `addEventListener()` support the `once` option (#1754) | 07 May 2020, 17:57:28 UTC |
97ddfce | Luigi Pinca | 07 May 2020, 06:42:28 UTC | [ci] Test on node 14 | 07 May 2020, 06:42:28 UTC |
2b49c48 | Luigi Pinca | 07 May 2020, 06:41:06 UTC | Revert "[ci] Use GitHub Actions (#1644)" This reverts commit 49ed88968d0abb04e6bc8c7a20f584ce2ab71289. | 07 May 2020, 06:41:06 UTC |
82f0537 | Luigi Pinca | 07 May 2020, 06:30:46 UTC | Revert "[ci] Test on node 14" This reverts commit 73f8bb67b74d8b2317c5bc80a2eff8a10318c1be. | 07 May 2020, 06:30:46 UTC |
b167d1c | Luigi Pinca | 07 May 2020, 06:30:12 UTC | Revert "[ci] Update Coveralls GitHub Action to version 1.1.1" This reverts commit 78e1c01959c59e07a9e1a9f464dd90f8a012c4fb. | 07 May 2020, 06:30:12 UTC |
78e1c01 | Luigi Pinca | 02 May 2020, 05:49:40 UTC | [ci] Update Coveralls GitHub Action to version 1.1.1 | 02 May 2020, 05:49:40 UTC |
e694979 | Luigi Pinca | 25 April 2020, 11:26:51 UTC | [doc] Fix badge URL | 25 April 2020, 11:30:30 UTC |
67983cb | Luigi Pinca | 25 April 2020, 10:46:08 UTC | [dist] 7.2.5 | 25 April 2020, 10:46:08 UTC |
18d773d | Luigi Pinca | 25 April 2020, 10:21:17 UTC | [test] Fix failing tests Do not rely on the `'drain'` event for synchronous writes. Refs: https://github.com/nodejs/node/pull/32887 | 25 April 2020, 10:36:03 UTC |
73f8bb6 | Luigi Pinca | 23 April 2020, 19:43:14 UTC | [ci] Test on node 14 | 23 April 2020, 19:43:14 UTC |
7a0ad90 | Luigi Pinca | 23 April 2020, 19:21:03 UTC | [doc] move ISSUE_TEMPLATE.md to .github/issue_template.md | 23 April 2020, 19:40:43 UTC |
49ed889 | Luigi Pinca | 23 April 2020, 07:15:01 UTC | [ci] Use GitHub Actions (#1644) | 23 April 2020, 07:15:01 UTC |
3730467 | Luigi Pinca | 12 April 2020, 12:08:20 UTC | [test] Do not call `duplex.end()` prematurely Keep the `WebSocket` connection open while the test is run. Refs: https://github.com/nodejs/node/pull/32780 | 22 April 2020, 08:27:09 UTC |
651d662 | Luigi Pinca | 12 April 2020, 10:47:15 UTC | [fix] Call the `_final()` callback before destroying the stream Ensure that `'finish'` event is emitted. Refs: https://github.com/nodejs/node/pull/32780 | 22 April 2020, 08:27:09 UTC |
62f71d1 | Luigi Pinca | 19 April 2020, 07:59:11 UTC | [minor] Throw an error on invalid method usage Throw an error if `WebSocketServer.prototype.completeUpgrade()` is called more than once with the same socket argument. | 22 April 2020, 05:32:24 UTC |
79dfbcf | Luigi Pinca | 19 April 2020, 06:58:23 UTC | [test] Move test to appropriate section | 22 April 2020, 05:32:24 UTC |
06d8660 | Luigi Pinca | 19 April 2020, 06:55:54 UTC | Revert "[minor] Throw an error on invalid usage" This reverts commit 364126620bf3fe4e6e0042d3b74ec53b5ccbbb08. | 22 April 2020, 05:32:24 UTC |
c56d4ec | Luigi Pinca | 19 April 2020, 06:55:23 UTC | Revert "[minor] Set the flag to detect invalid API usage only when needed" This reverts commit 91b5173c776881dc1a229ac5b0ba928dcb775602. | 22 April 2020, 05:32:24 UTC |
1a501d5 | Luigi Pinca | 19 April 2020, 17:57:45 UTC | [doc] Fix example to not use deprecated property Fixes #1743 | 19 April 2020, 18:06:06 UTC |
6b4e2a8 | RomanTerentev | 16 April 2020, 18:43:52 UTC | [doc] Improve authentication example (#1741) | 16 April 2020, 18:43:52 UTC |
c31150f | Luigi Pinca | 15 April 2020, 17:33:32 UTC | [test] Remove unneeded options object | 15 April 2020, 17:33:32 UTC |
3bf4ac8 | Luigi Pinca | 15 April 2020, 17:21:11 UTC | [test] Remove unneeded `Buffer#slice()` call | 15 April 2020, 17:21:11 UTC |
bdfb987 | Luigi Pinca | 15 April 2020, 17:07:43 UTC | [minor] Use `Buffer.from()` instead of `viewToBuffer()` | 15 April 2020, 17:07:43 UTC |
db55f77 | Luigi Pinca | 11 April 2020, 14:10:47 UTC | [dist] 7.2.4 | 11 April 2020, 14:10:47 UTC |
af279e3 | Luigi Pinca | 11 April 2020, 13:47:42 UTC | [minor] Fix nits | 11 April 2020, 14:01:27 UTC |
eaf2ad1 | Eneko Lakasta | 11 April 2020, 11:44:22 UTC | [fix] Honor the `auth` option (#1734) | 11 April 2020, 11:44:22 UTC |
021d4ef | 龙腾道 | 18 March 2020, 14:58:37 UTC | [minor] Fix typo (#1715) | 18 March 2020, 14:58:37 UTC |
5fcdc42 | Luigi Pinca | 09 March 2020, 17:15:31 UTC | [dist] 7.2.3 | 09 March 2020, 17:15:31 UTC |
e54f08d | Luigi Pinca | 09 March 2020, 17:03:39 UTC | [fix] Make `WebSocket#{p{i,o}ng,close}()` check the data size Throw an error if the data size is too large to fit in a control frame. | 09 March 2020, 17:03:39 UTC |
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 |