Skip to content

Commit

Permalink
fix(deps): bump ws and @types/ws (#169)
Browse files Browse the repository at this point in the history
Bumps [ws](https://github.com/websockets/ws) and [@types/ws](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/ws). These dependencies needed to be updated together.
Updates `ws` from 7.5.3 to 8.12.0
<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.12.0</h2>
<h1>Features</h1>
<ul>
<li>Added support for <code>utf-8-validate@6</code> (ff63bba3).</li>
</ul>
<h1>Other notable changes</h1>
<ul>
<li><a href="https://nodejs.org/api/buffer.html#bufferisutf8input"><code>buffer.isUtf8()</code></a> is now used instead of <code>utf-8-validate</code> if available
(42d79f60).</li>
</ul>
<h2>8.11.0</h2>
<h1>Features</h1>
<ul>
<li><code>WebSocket.prototype.addEventListener()</code> now supports an event listener
specified as an object with a <code>handleEvent()</code> method. (9ab743aa).</li>
</ul>
<h1>Bug fixes</h1>
<ul>
<li><code>WebSocket.prototype.addEventListener()</code> now adds an event listener only if it
is not already in the list of the event listeners for the specified event type
(1cec17da).</li>
</ul>
<h2>8.10.0</h2>
<h1>Features</h1>
<ul>
<li>Added an export for package.json (211d5d38).</li>
</ul>
<h2>8.9.0</h2>
<h1>Features</h1>
<ul>
<li>Added the ability to connect to Windows named pipes (<a href="https://github-redirect.dependabot.com/websockets/ws/issues/2079">#2079</a>).</li>
</ul>
<h2>8.8.1</h2>
<h1>Bug fixes</h1>
<ul>
<li>The <code>Authorization</code> and <code>Cookie</code> headers are no longer sent if the original
request for the opening handshake is sent to an IPC server and the client is
redirected to another IPC server (bc8bd34e).</li>
</ul>
<h2>8.8.0</h2>
<h1>Features</h1>
<ul>
<li>Added the <code>WS_NO_BUFFER_UTIL</code> and <code>WS_NO_UTF_8_VALIDATE</code> environment
variables (becf237c).</li>
</ul>
<h2>8.7.0</h2>
<h1>Features</h1>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/websockets/ws/commit/a3214d31b63acee8e31065be9f5ce3dd89203055"><code>a3214d3</code></a> [dist] 8.12.0</li>
<li><a href="https://github.com/websockets/ws/commit/42d79f60efb739b349b84b020c9d0ee062150633"><code>42d79f6</code></a> [minor] Use <code>buffer.isUtf8()</code> if possible</li>
<li><a href="https://github.com/websockets/ws/commit/ff63bba37fc0c052a609c7db88cc6d47bfc320e7"><code>ff63bba</code></a> [pkg] Update utf-8-validate to version 6.0.0</li>
<li><a href="https://github.com/websockets/ws/commit/d412358ccb5320bc00c8993ecd5d9b992df0753e"><code>d412358</code></a> [minor] Fix nits</li>
<li><a href="https://github.com/websockets/ws/commit/2dc2812942c8a70d55012887e99723795590d448"><code>2dc2812</code></a> [minor] Make <code>sendAfterClose()</code> call the callback in the next tick</li>
<li><a href="https://github.com/websockets/ws/commit/fb1dfd217861757d60c1d02c6e66b4da3630cc93"><code>fb1dfd2</code></a> [doc] Fix badge URL</li>
<li><a href="https://github.com/websockets/ws/commit/83c72cfbe03ba9a5cc999776524f72f472c8ac29"><code>83c72cf</code></a> [perf] Make <code>toBuffer()</code> use <code>FastBuffer</code></li>
<li><a href="https://github.com/websockets/ws/commit/1b057f98709b2b3be31827ec8a89549fa012d52a"><code>1b057f9</code></a> [minor] Fix nit</li>
<li><a href="https://github.com/websockets/ws/commit/e6a32f85a77c56f9bfe03e91b38b504192c8df5a"><code>e6a32f8</code></a> [perf] Use <code>FastBuffer</code> instead of <code>Buffer#subarray()</code></li>
<li><a href="https://github.com/websockets/ws/commit/9e0fd77799a0fcf16b8eb2f767358ef8bb834ec8"><code>9e0fd77</code></a> [minor] Use <code>Buffer#subarray()</code> instead of <code>Buffer#slice()</code></li>
<li>Additional commits viewable in <a href="https://github.com/websockets/ws/compare/7.5.3...8.12.0">compare view</a></li>
</ul>
</details>
<br />

Updates `@types/ws` from 8.5.3 to 8.5.4
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/ws">compare view</a></li>
</ul>
</details>
<br />


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>
  • Loading branch information
dependabot[bot] authored Feb 13, 2023
1 parent 252bf2a commit 7763040
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 21 deletions.
35 changes: 16 additions & 19 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@
},
"dependencies": {
"buffer-to-arraybuffer": "0.0.6",
"ws": "^7.5.3"
"ws": "^8.12.0"
},
"peerDependencies": {
"ws": ">= 7.4.1 < 8"
},
"devDependencies": {
"@relaycorp/shared-config": "^1.9.1",
"@types/ws": "^8.5.3",
"@types/ws": "^8.5.4",
"del-cli": "^5.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.4",
Expand Down

0 comments on commit 7763040

Please sign in to comment.