Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from websockets:master #141

Open
wants to merge 280 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
280 commits
Select commit Hold shift + click to select a range
fc7e27d
[ci] Test on node 16
lpinca Apr 23, 2021
8c914d1
[minor] Fix nits
lpinca May 4, 2021
32e3a84
[security] Remove reference to Node Security Project
lpinca May 25, 2021
990306d
[lint] Fix prettier error
lpinca May 25, 2021
00c425e
[security] Fix ReDoS vulnerability
lpinca May 25, 2021
f5297f7
[dist] 7.4.6
lpinca May 25, 2021
c05d51f
[security] Add ReDoS vulnerability to SECURITY.md
lpinca May 25, 2021
2f2b3e8
[test] Update certificates and private keys
lpinca May 26, 2021
d18c677
[security] Update link to point to published security advisories
lpinca May 26, 2021
262e45a
[test] Rename certificates and private keys files
lpinca May 27, 2021
edff6bb
[test] Fix nit
lpinca May 28, 2021
7ee3115
[doc] Add logo to coverage badge
lpinca May 29, 2021
03a7078
[doc] Remove unsafe regex from code snippet
lpinca May 31, 2021
05b8ccd
[doc] Fix broken link (#1897)
Mesteery Jun 5, 2021
8806aa9
[fix] Close the connection cleanly when an error occurs
lpinca Jun 8, 2021
074e6a8
[fix] Don't call `ws.terminate()` unconditionally in `duplex._destroy()`
lpinca Jun 9, 2021
c6e3080
[minor] Attach error codes to all receiver errors (#1901)
pimterry Jun 15, 2021
bb5d44b
[doc] Sort error codes alphabetically
lpinca Jun 15, 2021
6eea0d4
[doc] Fix typo
lpinca Jun 15, 2021
1d3f4cb
[doc] Fix anchor tags for error codes
lpinca Jun 15, 2021
e3f0c17
[dist] 7.5.0
lpinca Jun 16, 2021
145480a
[test] Fix repeated typo
lpinca Jun 20, 2021
c3fdc99
[minor] Fix misleading comment
lpinca Jun 28, 2021
b434b9f
[fix] Fix close edge cases
lpinca Jun 25, 2021
2916006
[test] Add more tests for `WebSocket.prototype.close()`
pimterry Jun 22, 2021
38c6c73
[dist] 7.5.1
lpinca Jun 29, 2021
aca94c8
[fix] Abort the handshake if an unexpected extension is received
lpinca Jul 3, 2021
0ad1f9d
[dist] 7.5.2
lpinca Jul 4, 2021
ecb9d9e
[minor] Improve JSDoc-inferred types (#1912)
lpinca Jul 7, 2021
66e58d2
[fix] Make the `{noS,s}erver`, and `port` options mutually exclusive
lpinca Jul 8, 2021
ea63b29
[minor] Fix typo
lpinca Jul 8, 2021
5a58730
[fix] Emit the `'close'` event after the server is closed
lpinca Jul 9, 2021
772236a
[fix] Abort the handshake if the server is closing or closed
lpinca Jul 9, 2021
4c1849a
[dist] 7.5.3
lpinca Jul 10, 2021
0aecf0c
[major] Validate subprotocol names
lpinca Jun 18, 2021
1877dde
[major] Validate the Sec-WebSocket-Protocol header
lpinca Jun 20, 2021
e814110
[major] Make the Sec-WebSocket-Extensions header parser stricter
lpinca Jun 22, 2021
552b506
[major] Drop support for Node.js < 10
lpinca Jun 22, 2021
ebea038
[major] Throw an error if the connection URL is invalid
lpinca Jun 23, 2021
e173423
[major] Do not decode `Buffer`s to strings
lpinca Jul 2, 2021
78adf5f
[major] Add an ES module wrapper
lpinca Jul 6, 2021
df7de57
[major] Do not close existing connections
lpinca Jul 12, 2021
abde9cf
[major] Call the callback with an error if the server is closed
lpinca Jul 12, 2021
64b3c71
[pkg] Update mocha to version 8.4.0
lpinca Jul 15, 2021
77a675c
[minor] Remove unneeded setters
lpinca Jul 15, 2021
9558ed1
[major] Make `WebSocket#addEventListener()` ignore non standard events
lpinca Jul 16, 2021
ea95d9c
[major] Ignore listeners not added with `WebSocket#addEventListener()`
lpinca Jul 16, 2021
8c61563
[fix] Make listeners added via event handler properties independent
lpinca Jul 16, 2021
6756cf5
[fix] Return `null` if the event handler is not set
lpinca Jul 16, 2021
bd7febb
[minor] Fix nits
lpinca Jul 19, 2021
21e6500
[major] Overhaul event classes
lpinca Jul 20, 2021
fc40248
[dist] 8.0.0
lpinca Jul 28, 2021
04e74a1
[license] Fix license text
lpinca Aug 3, 2021
6a72da3
[fix] Do not rely on undocumented behavior
lpinca Aug 6, 2021
c95e695
[fix] Fix misleading error message
lpinca Aug 6, 2021
fd47c96
[test] Move code block closer to where it is used
lpinca Aug 7, 2021
7f0b5c4
[example] Update uuid to version 8.3.2
lpinca Aug 9, 2021
1e938f1
[major] Use an options object instead of positional arguments
lpinca Aug 11, 2021
9bd3bd1
[minor] Fix typo (#1929)
eltociear Aug 11, 2021
d21c810
[feature] Add ability to skip UTF-8 validation (#1928)
lpinca Aug 11, 2021
142f091
[dist] 8.1.0
lpinca Aug 11, 2021
f38247e
[doc] Sort options alphabetically
lpinca Aug 12, 2021
c677aab
[doc] Fix `createWebSocketStream()` documentation
lpinca Aug 15, 2021
d5e3549
[minor] Add `WebSocket.WebSocket{,Server}` aliases (#1935)
lpinca Aug 17, 2021
7647a89
[dist] 8.2.0
lpinca Aug 18, 2021
ea6c054
[test] Reorganize some tests
lpinca Aug 21, 2021
869c989
[fix] Resume the socket in the next tick
lpinca Aug 28, 2021
cc7a779
[dist] 8.2.1
lpinca Aug 28, 2021
ec9377c
[minor] Skip unnecessary operations if the socket is already closed
lpinca Aug 30, 2021
48c2cb3
[pkg] Update eslint-plugin-prettier to version 4.0.0
lpinca Aug 31, 2021
04c032c
[ci] Use Github Actions for Windows x86 testing
lpinca Aug 31, 2021
3039b6b
[doc] Change label text to CI
lpinca Sep 4, 2021
72296e5
[dist] 8.2.2
lpinca Sep 8, 2021
f871195
[doc] Update issue template
lpinca Sep 9, 2021
5b85322
[ci] Update coverallsapp/github-action action to version 1.1.3
lpinca Sep 11, 2021
055949f
[doc] Remove no longer needed noop function from code snippet
lpinca Sep 13, 2021
474aa36
[doc] Improve `WebSocket#{p{i,o}ng,send}()` documentation
lpinca Sep 28, 2021
41ae563
[fix] Ignore the `threshold` option if context takeover is enabled
lpinca Sep 29, 2021
fef7942
[ci] Fix typo
lpinca Sep 30, 2021
cfd99b6
[dist] 8.2.3
lpinca Oct 2, 2021
a3a22e4
[pkg] Update eslint to version 8.0.0
lpinca Oct 11, 2021
65717f6
[ci] Test on node 17
lpinca Oct 20, 2021
5991c35
[doc] Fix nits
lpinca Nov 1, 2021
4916d03
[minor] Allow to write frames with up to 2^48 - 1 bytes of data (#1973)
prettydiff Nov 16, 2021
89d81e8
[minor] Fix nit
lpinca Nov 16, 2021
5a905e4
[minor] Add missing label to the issue form
lpinca Nov 20, 2021
b8186dd
[fix] Do not throw if the redirect URL is invalid (#1980)
lpinca Nov 22, 2021
ed2b803
[fix] Resume the socket in the `CLOSING` state
lpinca Nov 22, 2021
0a8c7a9
[api] Add `WebSocket#pause()` and `WebSocket#resume()`
lpinca Nov 23, 2021
c82b087
[dist] 8.3.0
lpinca Nov 23, 2021
eb2e3a8
[feature] Introduce the `generateMask` option
lpinca Dec 19, 2021
35d45c2
[perf] Skip masking and unmasking if the masking key is zero
lpinca Dec 19, 2021
00c34d7
[dist] 8.4.0
lpinca Dec 20, 2021
5edf1f4
[doc] Clarify interpretation of `verifyClient` (#1994)
jugglinmike Dec 30, 2021
d2c935a
[doc] Fix typo in `WebSocketServer` description (#1996)
tniessen Jan 4, 2022
4081a36
[test] Do not call the `done` callback prematurely
lpinca Jan 6, 2022
ad3fe6d
[test] Improve test title
lpinca Jan 6, 2022
91f3c07
[minor] Replace echo.websocket.org with websocket-echo.com
lpinca Jan 9, 2022
8de448f
[test] Fix failing tests
lpinca Jan 9, 2022
5b7fbb0
[perf] Reduce buffer allocations (#2000)
lpinca Jan 13, 2022
6ebfeb8
[dist] 8.4.1
lpinca Jan 13, 2022
0c0754b
[fix] Use the byte length of the data (#2004)
ronag Jan 14, 2022
33fd101
[dist] 8.4.2
lpinca Jan 14, 2022
8a7016d
[test] Simplify test
lpinca Jan 30, 2022
e1ddacc
[feature] Introduce the `WebSocket` option (#2007)
vansergen Feb 1, 2022
75fdfa9
[test] Fix nits
lpinca Feb 4, 2022
6946f5f
[security] Drop sensitive headers when following redirects (#2013)
lpinca Feb 7, 2022
c9d5436
[dist] 8.5.0
lpinca Feb 7, 2022
a0524e1
[ci] Update actions/setup-node action to v3
lpinca Feb 25, 2022
7cf94db
[doc] Fix typo in code snippet (#2018)
Proxtx Mar 5, 2022
9c18b1e
[ci] Update actions/checkout action to v3
lpinca Mar 6, 2022
dd3d5a7
[doc] document the default value of the `maxPayload` option (#2020)
airtable-keyhanvakil Mar 10, 2022
ff80d66
[test] Do not use a relative URL
lpinca Mar 24, 2022
d086f4b
[minor] Make `abortHandshake()` emit the error in the next tick
lpinca Mar 26, 2022
2619c00
[minor] Fix nit in comment
lpinca Apr 6, 2022
62e9b19
[doc] Fix nits
lpinca Apr 7, 2022
2cf6202
[example] Use the `WebSocket.WebSocket{,Server}` aliases
lpinca Apr 12, 2022
d062ded
[example] Fix require path
lpinca Apr 15, 2022
0b6eb71
[ci] Do not test on node 17
lpinca Apr 22, 2022
69e6828
[ci] Test on node 18
lpinca Apr 22, 2022
8e3f118
[feature] Introduce the `'redirect'` event (#2030)
lpinca Apr 24, 2022
ba214d9
[dist] 8.6.0
lpinca May 1, 2022
e56cdfe
[minor] Clarify why the handshake is aborted
lpinca May 20, 2022
0fdcc0a
[fix] Abort the handshake if the Upgrade header is invalid
lpinca May 21, 2022
fb658bd
[minor] Use consistent error messages
lpinca May 21, 2022
8889e48
[test] Increase code coverage
lpinca May 21, 2022
a690791
[ci] Exclude node 18 on Windows x86 from the test matrix
lpinca May 21, 2022
d68ba9e
[security] Drop sensitive headers when following insecure redirects
lpinca May 25, 2022
903ec62
[doc] Update the type of the `socket` argument
lpinca May 25, 2022
6e5a5ce
[feature] Introduce the `'wsClientError'` event (#2046)
lpinca May 26, 2022
4b62fbf
[dist] 8.7.0
lpinca May 26, 2022
5e4149e
[test] Fix typo
lpinca May 30, 2022
a6dbd1c
[ci] Set permissions explicitly (#2051)
neilnaveen Jun 4, 2022
c1a126f
[doc] Rename WS Error Codes section to Error codes
lpinca Jun 8, 2022
0792742
[doc] Fix nit
lpinca Jun 8, 2022
becf237
[feature] Add the `WS_NO_{BUFFER_UTIL, UTF_8_VALIDATE}` variables
lpinca Jun 9, 2022
982b782
[dist] 8.8.0
lpinca Jun 9, 2022
3b6af82
[minor] Prevent opening handshake headers from being overridden
lpinca Jun 20, 2022
1117af6
[doc] Fix typo (#2062)
leetrout Jun 30, 2022
0ae302a
[test] Fix nits
lpinca Jul 14, 2022
bc8bd34
[security] Fix same host check for ws+unix: redirects
lpinca Jul 15, 2022
9753821
[dist] 8.8.1
lpinca Jul 15, 2022
c22cbc9
[doc] Revise `WebSocket#send()` docs for clarity (#2077)
DLiblik Sep 18, 2022
2995349
[minor] Simplify the ws+unix: URL form
lpinca Sep 20, 2022
6b71a49
[minor] Rename the `invalidURLMessage` variable
lpinca Sep 21, 2022
0da6036
[test] Remove leftover from test
lpinca Sep 21, 2022
4ed2c87
[doc] Remove "note that"
lpinca Sep 21, 2022
7ff26d9
[doc] Fix nits
lpinca Sep 21, 2022
e628f2b
[feature] Support Windows named pipes (#2079)
lpinca Sep 22, 2022
966f9d4
[dist] 8.9.0
lpinca Sep 22, 2022
c4d6eb3
[ci] Do not use the set-output command
lpinca Oct 20, 2022
211d5d3
[pkg] Add package.json export
lpinca Oct 24, 2022
cdca711
[dist] 8.10.0
lpinca Oct 24, 2022
38f7879
[ci] Test on node 19
lpinca Nov 2, 2022
9ab743a
[feature] Add support for objets with a `handleEvent()` method
lpinca Nov 4, 2022
1cec17d
[fix] Add the same event listener only once
lpinca Nov 4, 2022
afd8c62
[dist] 8.11.0
lpinca Nov 6, 2022
ea76193
[doc] Improve doc for the `callback` argument of `WebSocketServer`
lpinca Nov 25, 2022
8a8fc88
[minor] Validate the payload length of the close frame sooner
lpinca Dec 9, 2022
a6fa37a
[license] Update copyright notice
lpinca Dec 9, 2022
9e0fd77
[minor] Use `Buffer#subarray()` instead of `Buffer#slice()`
lpinca Dec 12, 2022
e6a32f8
[perf] Use `FastBuffer` instead of `Buffer#subarray()`
lpinca Dec 13, 2022
1b057f9
[minor] Fix nit
lpinca Dec 13, 2022
83c72cf
[perf] Make `toBuffer()` use `FastBuffer`
lpinca Dec 13, 2022
fb1dfd2
[doc] Fix badge URL
lpinca Dec 16, 2022
2dc2812
[minor] Make `sendAfterClose()` call the callback in the next tick
lpinca Dec 20, 2022
d412358
[minor] Fix nits
lpinca Dec 20, 2022
ff63bba
[pkg] Update utf-8-validate to version 6.0.0
lpinca Jan 6, 2023
42d79f6
[minor] Use `buffer.isUtf8()` if possible
lpinca Jan 7, 2023
a3214d3
[dist] 8.12.0
lpinca Jan 7, 2023
2862c2f
[doc] Add error handlers to examples and code snippets
lpinca Jan 23, 2023
0d114ef
[pkg] Add browser condition (#2118)
flashd2n Feb 13, 2023
a04578e
[dist] 8.12.1
lpinca Feb 13, 2023
41dc56a
[doc] Remove misleading information
lpinca Feb 14, 2023
b4b9d5a
[test] Fix failing test when using the domain module (#2126)
mvduin Mar 9, 2023
cd89e07
[feature] Add option to support late addition of headers (#2123)
mvduin Mar 10, 2023
23acf8c
[test] Fix nits
lpinca Mar 10, 2023
45e17ac
[pkg] 8.13.0
lpinca Mar 10, 2023
5bdc880
[ci] Do not test on node 19
lpinca Apr 19, 2023
d1bb536
[ci] Test on node 20
lpinca Apr 19, 2023
06728e4
[ci] Update coverallsapp/github-action action to v2
lpinca Apr 25, 2023
0368beb
[pkg] Update prettier to version 3.0.0
lpinca Jul 11, 2023
12a0a9c
[pkg] Update eslint-plugin-prettier to version 5.0.0
lpinca Jul 11, 2023
0b235e0
[ci] Run the lint step on node 20
lpinca Jul 11, 2023
8f5cc9d
[pkg] Update eslint-config-prettier to version 9.0.0
lpinca Aug 19, 2023
5299b0e
[test] Remove redundant tests
lpinca Aug 20, 2023
8eb2c47
[test] Fix nits
lpinca Aug 20, 2023
67007fc
[test] Reduce message size from 20 MiB to 4 MiB
lpinca Aug 21, 2023
79dab96
[fix] Emit at most one event per microtask (#2160)
lpinca Aug 28, 2023
347aab6
[feature] Allow http and https schemes (#2162)
lpinca Aug 28, 2023
31da417
[fix] Make `server.handleUpgrade()` work with any duplex stream (#2165)
pimterry Aug 31, 2023
62521f2
[minor] Fix nits
lpinca Aug 31, 2023
5b577fe
[pkg] Remove native-duplexpair dev dependency
lpinca Sep 6, 2023
c1d26c3
[test] Fix failing test
lpinca Sep 6, 2023
d307684
[dist] 8.14.0
lpinca Sep 6, 2023
ddba690
[doc] Fix the type of the `socket` argument
lpinca Sep 6, 2023
511aefe
[pkg] Silence npm warning
lpinca Sep 6, 2023
ae60ce0
[ci] Cache downloaded npm dependencies (#2166)
jerome-benoit Sep 8, 2023
fd3c64c
[test] Fix flaky tests on Windows
lpinca Sep 8, 2023
397b89e
[ci] Update actions/checkout action to v4
lpinca Sep 8, 2023
7460049
[dist] 8.14.1
lpinca Sep 8, 2023
7f4e1a7
[fix] Add missing rejection handler
lpinca Sep 19, 2023
d8dd485
[dist] 8.14.2
lpinca Sep 19, 2023
a049674
[ci] Update actions/setup-node action to v4
lpinca Nov 4, 2023
726abc3
[test] Fix flaky test
lpinca Dec 8, 2023
208220d
[lint] Fix prettier error
lpinca Dec 8, 2023
dd1994d
[ci] Test on node 21
lpinca Dec 8, 2023
5a3036e
[test] Merge some tests
lpinca Dec 9, 2023
c320738
[test] Fix nits
lpinca Dec 9, 2023
603a039
[doc] Add JSDoc for the `finishRequest` option
lpinca Dec 9, 2023
93e3552
[feature] Introduce the `allowMultipleEventsPerMicrotask` option
lpinca Dec 9, 2023
297fff8
[dist] 8.15.0
lpinca Dec 9, 2023
fccc580
[fix] Emit the event when the microtask is executed
lpinca Dec 12, 2023
4ed7fe5
[major] Rename the `allowMultipleEventsPerMicrotask` option
lpinca Dec 12, 2023
a57e963
[dist] 8.15.1
lpinca Dec 12, 2023
d37756a
[doc] Clarify legacy deps (#2184)
Zamiell Dec 20, 2023
3e230c1
[doc] Fix nits
lpinca Dec 20, 2023
527ec97
[doc] Add missing subsubsection to TOC
lpinca Dec 20, 2023
01ba54e
[feature] Introduce the `autoPong` option
lpinca Dec 25, 2023
391ddf3
[test] Use `stream.getDefaultHighWaterMark()` when available
lpinca Dec 26, 2023
d343a0c
[dist] 8.16.0
lpinca Dec 26, 2023
5e42cfd
[meta] Add FUNDING.json
lpinca Jan 24, 2024
8be840e
[doc] Replace `url.parse()` with `new URL()` (#2208)
Al-phonsio Mar 16, 2024
2405c17
[doc] Add punctuation for readability (#2213)
grjan7 Mar 29, 2024
b119b41
[pkg] Update eslint to version 9.0.0
lpinca Apr 9, 2024
53a8888
[feature] Allow the `createConnection` option (#2219)
pimterry Apr 15, 2024
2aa0405
[minor] Fix nits
lpinca Apr 15, 2024
e5f32c7
[fix] Emit at most one event per event loop iteration (#2218)
lpinca Apr 24, 2024
96c9b3d
[major] Flip the default value of `allowSynchronousEvents` (#2221)
lpinca Apr 24, 2024
1817bac
[ci] Do not test on node 21
lpinca Apr 26, 2024
934c9d6
[ci] Test on node 22
lpinca Apr 26, 2024
29694a5
[test] Use the `highWaterMark` variable
lpinca Apr 26, 2024
b73b118
[dist] 8.17.0
lpinca Apr 28, 2024
ddfe4a8
[perf] Reduce the amount of `crypto.randomFillSync()` calls
lpinca May 18, 2024
6a00029
[test] Increase code coverage
lpinca Jun 13, 2024
e55e510
[security] Fix crash when the Upgrade header cannot be read (#2231)
lpinca Jun 16, 2024
3c56601
[dist] 8.17.1
lpinca Jun 16, 2024
15f11a0
[security] Add new DoS vulnerability to SECURITY.md
lpinca Jun 16, 2024
0d1b5e6
[security] Use more descriptive text for 2017 vulnerability link
lpinca Jun 16, 2024
59b9629
[feature] Add support for `Blob` (#2229)
lpinca Jul 2, 2024
976c53c
[dist] 8.18.0
lpinca Jul 3, 2024
f7dc469
[doc] Fix the type of the `data` argument
lpinca Jul 4, 2024
bfe1b2a
[doc] Remove unnecessary period (#2240)
yuhao423 Jul 4, 2024
019f28f
[minor] Improve JSDoc-inferred types (#2242)
ITenthusiasm Jul 14, 2024
6861472
[ci] Test on node 23
lpinca Oct 26, 2024
c798dd4
[doc] Fix typo (#2271)
SadiqOnGithub Jan 1, 2025
b9ca55b
[pkg] Update eslint-config-prettier to version 10.0.1
lpinca Jan 14, 2025
021f7b8
[test] Shorten the path lengths
lpinca Feb 20, 2025
b3d9747
[doc] Fix nit
lpinca Feb 20, 2025
b92745a
[dist] 8.18.1
lpinca Feb 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[dist] 7.5.0
  • Loading branch information
lpinca committed Jun 16, 2021
commit e3f0c1720aab640fe78dc578907046fb84422ccd
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ws",
"version": "7.4.6",
"version": "7.5.0",
"description": "Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js",
"keywords": [
"HyBi",
Expand Down