Commit b45c30f
Merge #466
466: Bump ws from 7.4.2 to 7.5.3 r=bidoubiwa a=dependabot[bot]
Bumps [ws](https://github.com/websockets/ws) from 7.4.2 to 7.5.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/websockets/ws/releases">ws's releases</a>.</em></p>
<blockquote>
<h2>7.5.3</h2>
<h1>Bug fixes</h1>
<ul>
<li>The <code>WebSocketServer</code> constructor now throws an error if more than one of the
<code>noServer</code>, <code>server</code>, and <code>port</code> options are specefied (66e58d27).</li>
<li>Fixed a bug where a <code>'close'</code> event was emitted by a <code>WebSocketServer</code> before
the internal HTTP/S server was actually closed (5a587304).</li>
<li>Fixed a bug that allowed WebSocket connections to be established after
<code>WebSocketServer.prototype.close()</code> was called (772236a1).</li>
</ul>
<h2>7.5.2</h2>
<h1>Bug fixes</h1>
<ul>
<li>The opening handshake is now aborted if the client receives a
<code>Sec-WebSocket-Extensions</code> header but no extension was requested or if the
server indicates an extension not requested by the client (aca94c86).</li>
</ul>
<h2>7.5.1</h2>
<h1>Bug fixes</h1>
<ul>
<li>Fixed an issue that prevented the connection from being closed properly if an
error occurred simultaneously on both peers (b434b9f1).</li>
</ul>
<h2>7.5.0</h2>
<h1>Features</h1>
<ul>
<li>Some errors now have a <code>code</code> property describing the specific type of error
that has occurred (<a href="https://github-redirect.dependabot.com/websockets/ws/issues/1901">#1901</a>).</li>
</ul>
<h1>Bug fixes</h1>
<ul>
<li>A close frame is now sent to the remote peer if an error (such as a data
framing error) occurs (8806aa9a).</li>
<li>The close code is now always 1006 if no close frame is received, even if the
connection is closed due to an error (8806aa9a).</li>
</ul>
<h2>7.4.6</h2>
<h1>Bug fixes</h1>
<ul>
<li>Fixed a ReDoS vulnerability (00c425ec).</li>
</ul>
<p>A specially crafted value of the <code>Sec-Websocket-Protocol</code> header could be used
to significantly slow down a ws server.</p>
<pre lang="js"><code>for (const length of [1000, 2000, 4000, 8000, 16000, 32000]) {
const value = 'b' + ' '.repeat(length) + 'x';
const start = process.hrtime.bigint();
<p>value.trim().split(/ *, */);
</tr></table>
</code></pre></p>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/websockets/ws/commit/4c1849a61e773fe0ce016f6eb59bc3877f09aeee"><code>4c1849a</code></a> [dist] 7.5.3</li>
<li><a href="https://github.com/websockets/ws/commit/772236a13ff2bd28291c911b7c25fbfe99580ed1"><code>772236a</code></a> [fix] Abort the handshake if the server is closing or closed</li>
<li><a href="https://github.com/websockets/ws/commit/5a5873048005cf5d25a2186fb9dc6db2a85096b0"><code>5a58730</code></a> [fix] Emit the <code>'close'</code> event after the server is closed</li>
<li><a href="https://github.com/websockets/ws/commit/ea63b29e81f95f7c5d38079487952b2eae94391e"><code>ea63b29</code></a> [minor] Fix typo</li>
<li><a href="https://github.com/websockets/ws/commit/66e58d279ffabe5108424c08ab71403aceddcad9"><code>66e58d2</code></a> [fix] Make the <code>{noS,s}erver</code>, and <code>port</code> options mutually exclusive</li>
<li><a href="https://github.com/websockets/ws/commit/ecb9d9ea8f126416f2c07a2a8485b1d1e4ab3989"><code>ecb9d9e</code></a> [minor] Improve JSDoc-inferred types (<a href="https://github-redirect.dependabot.com/websockets/ws/issues/1912">#1912</a>)</li>
<li><a href="https://github.com/websockets/ws/commit/0ad1f9d6a48ed1b30bda09b958cb142c1e09cced"><code>0ad1f9d</code></a> [dist] 7.5.2</li>
<li><a href="https://github.com/websockets/ws/commit/aca94c86e000675900b09729559e405f9207d154"><code>aca94c8</code></a> [fix] Abort the handshake if an unexpected extension is received</li>
<li><a href="https://github.com/websockets/ws/commit/38c6c734daf8e15d5cd902ed3e47b8651fd1032c"><code>38c6c73</code></a> [dist] 7.5.1</li>
<li><a href="https://github.com/websockets/ws/commit/2916006477bd50d5a7513640fcb610f7fd0dddda"><code>2916006</code></a> [test] Add more tests for <code>WebSocket.prototype.close()</code></li>
<li>Additional commits viewable in <a href="https://github.com/websockets/ws/compare/7.4.2...7.5.3">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
You can trigger a rebase of this PR by commenting ``@dependabot` rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- ``@dependabot` rebase` will rebase this PR
- ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it
- ``@dependabot` merge` will merge this PR after your CI passes on it
- ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it
- ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging
- ``@dependabot` reopen` will reopen this PR if it is closed
- ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/meilisearch/instant-meilisearch/network/alerts).
</details>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 file changed
+4
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7874 | 7874 | | |
7875 | 7875 | | |
7876 | 7876 | | |
7877 | | - | |
7878 | | - | |
7879 | | - | |
7880 | | - | |
7881 | | - | |
7882 | | - | |
7883 | | - | |
7884 | | - | |
7885 | | - | |
| 7877 | + | |
| 7878 | + | |
| 7879 | + | |
| 7880 | + | |
7886 | 7881 | | |
7887 | 7882 | | |
7888 | 7883 | | |
| |||
0 commit comments