Bump ws from 7.5.3 to 8.2.1 in /desktop (#2756)
Summary: Bumps [ws](https://github.com/websockets/ws) from 7.5.3 to 8.2.1. <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>8.2.1</h2> <h1>Bug fixes</h1> <ul> <li>Fixed an issue where the socket was not resumed, preventing the connection from being closed cleanly (869c9892).</li> </ul> <h2>8.2.0</h2> <h1>Features</h1> <ul> <li>Added <code>WebSocket.WebSocket</code> as an alias for <code>WebSocket</code> and <code>WebSocket.WebSocketServer</code> as an alias for <code>WebSocket.Server</code> to fix name consistency and improve interoperability with the ES module wrapper (<a href="https://github-redirect.dependabot.com/websockets/ws/issues/1935">https://github.com/facebook/flipper/issues/1935</a>).</li> </ul> <h2>8.1.0</h2> <h1>Features</h1> <ul> <li>Added ability to skip UTF-8 validation (<a href="https://github-redirect.dependabot.com/websockets/ws/issues/1928">https://github.com/facebook/flipper/issues/1928</a>).</li> </ul> <h1>Bug fixes</h1> <ul> <li>Fixed an issue with a breaking change in Node.js master (6a72da3e).</li> <li>Fixed a misleading error message (c95e695d).</li> </ul> <h2>8.0.0</h2> <h1>Breaking changes</h1> <ul> <li> <p>The <code>WebSocket</code> constructor now throws a <code>SyntaxError</code> if any of the subprotocol names are invalid or duplicated (0aecf0c9).</p> </li> <li> <p>The server now aborts the opening handshake if an invalid <code>Sec-WebSocket-Protocol</code> header field value is received (1877ddeb).</p> </li> <li> <p>The <code>protocols</code> argument of <code>handleProtocols</code> hook is no longer an <code>Array</code> but a <code>Set</code> (1877ddeb).</p> </li> <li> <p>The opening handshake is now aborted if the <code>Sec-WebSocket-Extensions</code> header field value is empty or it begins or ends with a white space (e814110e).</p> </li> <li> <p>Dropped support for Node.js < 10.0.0 (552b5067).</p> </li> <li> <p>The <code>WebSocket</code> constructor now throws a <code>SyntaxError</code> if the connection URL contains a fragment identifier or if the URL's protocol is not one of <code>'ws:'</code>, <code>'wss:'</code>, or <code>'ws+unix:'</code> (ebea038f).</p> </li> <li> <p>Text messages and close reasons are no longer decoded to strings. They are passed as <code>Buffer</code>s to the listeners of their respective events. The listeners of the <code>'message'</code> event now take a boolean argument specifying whether or not the message is binary (e173423c).</p> <p>Existing code can be migrated by decoding the buffer explicitly.</p> <pre lang="js"><code>websocket.on('message', function message(data, isBinary) { const message = isBinary ? data : data.toString(); // Continue as before. }); </code></pre> </li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="cc7a7798b7"><code>cc7a779</code></a> [dist] 8.2.1</li> <li><a href="869c9892cd"><code>869c989</code></a> [fix] Resume the socket in the next tick</li> <li><a href="ea6c054e97"><code>ea6c054</code></a> [test] Reorganize some tests</li> <li><a href="7647a8920b"><code>7647a89</code></a> [dist] 8.2.0</li> <li><a href="d5e3549a03"><code>d5e3549</code></a> [minor] Add <code>WebSocket.WebSocket{,Server}</code> aliases (<a href="https://github-redirect.dependabot.com/websockets/ws/issues/1935">https://github.com/facebook/flipper/issues/1935</a>)</li> <li><a href="c677aab978"><code>c677aab</code></a> [doc] Fix <code>createWebSocketStream()</code> documentation</li> <li><a href="f38247e5e0"><code>f38247e</code></a> [doc] Sort options alphabetically</li> <li><a href="142f0911b5"><code>142f091</code></a> [dist] 8.1.0</li> <li><a href="d21c81034f"><code>d21c810</code></a> [feature] Add ability to skip UTF-8 validation (<a href="https://github-redirect.dependabot.com/websockets/ws/issues/1928">https://github.com/facebook/flipper/issues/1928</a>)</li> <li><a href="9bd3bd1251"><code>9bd3bd1</code></a> [minor] Fix typo (<a href="https://github-redirect.dependabot.com/websockets/ws/issues/1929">https://github.com/facebook/flipper/issues/1929</a>)</li> <li>Additional commits viewable in <a href="https://github.com/websockets/ws/compare/7.5.3...8.2.1">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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) </details> Pull Request resolved: https://github.com/facebook/flipper/pull/2756 Reviewed By: lblasa Differential Revision: D30727123 Pulled By: passy fbshipit-source-id: b06ab55427b7798d004d2f3371f76bda6af69947
This commit is contained in:
committed by
Facebook GitHub Bot
parent
5df03b3b93
commit
93660d6be3
@@ -75,7 +75,7 @@
|
||||
"tmp": "^0.2.1",
|
||||
"uuid": "^8.3.2",
|
||||
"which": "^2.0.1",
|
||||
"ws": "^7.5.2",
|
||||
"ws": "^8.2.1",
|
||||
"xdg-basedir": "^4.0.0"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"mac-ca": "^1.0.6",
|
||||
"mkdirp": "^1.0.4",
|
||||
"node-fetch": "^2.6.1",
|
||||
"ws": "^7.5.2",
|
||||
"ws": "^8.2.1",
|
||||
"xdg-basedir": "^4.0.0",
|
||||
"yargs": "^16.2.0"
|
||||
}
|
||||
|
||||
@@ -13523,7 +13523,7 @@ ws@1.1.5, ws@^1.1.5:
|
||||
options ">=0.0.5"
|
||||
ultron "1.0.x"
|
||||
|
||||
ws@^7.4.5, ws@^7.4.6, ws@^7.5.2, ws@~7.4.2:
|
||||
ws@^7.4.5, ws@^7.4.6, ws@^8.2.1, ws@~7.4.2:
|
||||
version "7.5.4"
|
||||
resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.4.tgz#56bfa20b167427e138a7795de68d134fe92e21f9"
|
||||
integrity sha512-zP9z6GXm6zC27YtspwH99T3qTG7bBFv2VIkeHstMLrLlDJuzA7tQ5ls3OJ1hOGGCzTQPniNJoHXIAOS0Jljohg==
|
||||
|
||||
Reference in New Issue
Block a user