Skip to content

Commit c23f056

Browse files
chore(deps): bump the npm_and_yarn group across 1 directory with 3 updates (#32)
Bumps the npm_and_yarn group with 3 updates in the / directory: [ws](https://github.com/websockets/ws), [ethers](https://github.com/ethers-io/ethers.js) and [viem](https://github.com/wevm/viem). Updates `ws` from 8.5.0 to 8.17.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.17.1</h2> <h1>Bug fixes</h1> <ul> <li>Fixed a DoS vulnerability (<a href="https://redirect.github.com/websockets/ws/issues/2231">#2231</a>).</li> </ul> <p>A request with a number of headers exceeding the[<code>server.maxHeadersCount</code>][] threshold could be used to crash a ws server.</p> <pre lang="js"><code>const http = require('http'); const WebSocket = require('ws'); <p>const wss = new WebSocket.Server({ port: 0 }, function () { const chars = &quot;!#$%&amp;'*+-.0123456789abcdefghijklmnopqrstuvwxyz^_`|~&quot;.split(''); const headers = {}; let count = 0;</p> <p>for (let i = 0; i &lt; chars.length; i++) { if (count === 2000) break;</p> <pre><code>for (let j = 0; j &amp;lt; chars.length; j++) { const key = chars[i] + chars[j]; headers[key] = 'x'; if (++count === 2000) break; } </code></pre> <p>}</p> <p>headers.Connection = 'Upgrade'; headers.Upgrade = 'websocket'; headers['Sec-WebSocket-Key'] = 'dGhlIHNhbXBsZSBub25jZQ=='; headers['Sec-WebSocket-Version'] = '13';</p> <p>const request = http.request({ headers: headers, host: '127.0.0.1', port: wss.address().port });</p> <p>request.end(); }); </code></pre></p> <p>The vulnerability was reported by <a href="https://github.com/rrlapointe">Ryan LaPointe</a> in <a href="https://redirect.github.com/websockets/ws/issues/2230">websockets/ws#2230</a>.</p> <p>In vulnerable versions of ws, the issue can be mitigated in the following ways:</p> <ol> <li>Reduce the maximum allowed length of the request headers using the [<code>--max-http-header-size=size</code>][] and/or the [<code>maxHeaderSize</code>][] options so that no more headers than the <code>server.maxHeadersCount</code> limit can be sent.</li> </ol> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/websockets/ws/commit/3c56601092872f7d7566989f0e379271afd0e4a1"><code>3c56601</code></a> [dist] 8.17.1</li> <li><a href="https://github.com/websockets/ws/commit/e55e5106f10fcbaac37cfa89759e4cc0d073a52c"><code>e55e510</code></a> [security] Fix crash when the Upgrade header cannot be read (<a href="https://redirect.github.com/websockets/ws/issues/2231">#2231</a>)</li> <li><a href="https://github.com/websockets/ws/commit/6a00029edd924499f892aed8003cef1fa724cfe5"><code>6a00029</code></a> [test] Increase code coverage</li> <li><a href="https://github.com/websockets/ws/commit/ddfe4a804d79e7788ab136290e609f91cf68423f"><code>ddfe4a8</code></a> [perf] Reduce the amount of <code>crypto.randomFillSync()</code> calls</li> <li><a href="https://github.com/websockets/ws/commit/b73b11828d166e9692a9bffe9c01a7e93bab04a8"><code>b73b118</code></a> [dist] 8.17.0</li> <li><a href="https://github.com/websockets/ws/commit/29694a5905fa703e86667928e6bacac397469471"><code>29694a5</code></a> [test] Use the <code>highWaterMark</code> variable</li> <li><a href="https://github.com/websockets/ws/commit/934c9d6b938b93c045cb13e5f7c19c27a8dd925a"><code>934c9d6</code></a> [ci] Test on node 22</li> <li><a href="https://github.com/websockets/ws/commit/1817bac06e1204bfb578b8b3f4bafd0fa09623d0"><code>1817bac</code></a> [ci] Do not test on node 21</li> <li><a href="https://github.com/websockets/ws/commit/96c9b3deddf56cacb2d756aaa918071e03cdbc42"><code>96c9b3d</code></a> [major] Flip the default value of <code>allowSynchronousEvents</code> (<a href="https://redirect.github.com/websockets/ws/issues/2221">#2221</a>)</li> <li><a href="https://github.com/websockets/ws/commit/e5f32c7e1e6d3d19cd4a1fdec84890e154db30c1"><code>e5f32c7</code></a> [fix] Emit at most one event per event loop iteration (<a href="https://redirect.github.com/websockets/ws/issues/2218">#2218</a>)</li> <li>Additional commits viewable in <a href="https://github.com/websockets/ws/compare/8.5.0...8.17.1">compare view</a></li> </ul> </details> <br /> Updates `ws` from 7.5.9 to 8.17.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.17.1</h2> <h1>Bug fixes</h1> <ul> <li>Fixed a DoS vulnerability (<a href="https://redirect.github.com/websockets/ws/issues/2231">#2231</a>).</li> </ul> <p>A request with a number of headers exceeding the[<code>server.maxHeadersCount</code>][] threshold could be used to crash a ws server.</p> <pre lang="js"><code>const http = require('http'); const WebSocket = require('ws'); <p>const wss = new WebSocket.Server({ port: 0 }, function () { const chars = &quot;!#$%&amp;'*+-.0123456789abcdefghijklmnopqrstuvwxyz^_`|~&quot;.split(''); const headers = {}; let count = 0;</p> <p>for (let i = 0; i &lt; chars.length; i++) { if (count === 2000) break;</p> <pre><code>for (let j = 0; j &amp;lt; chars.length; j++) { const key = chars[i] + chars[j]; headers[key] = 'x'; if (++count === 2000) break; } </code></pre> <p>}</p> <p>headers.Connection = 'Upgrade'; headers.Upgrade = 'websocket'; headers['Sec-WebSocket-Key'] = 'dGhlIHNhbXBsZSBub25jZQ=='; headers['Sec-WebSocket-Version'] = '13';</p> <p>const request = http.request({ headers: headers, host: '127.0.0.1', port: wss.address().port });</p> <p>request.end(); }); </code></pre></p> <p>The vulnerability was reported by <a href="https://github.com/rrlapointe">Ryan LaPointe</a> in <a href="https://redirect.github.com/websockets/ws/issues/2230">websockets/ws#2230</a>.</p> <p>In vulnerable versions of ws, the issue can be mitigated in the following ways:</p> <ol> <li>Reduce the maximum allowed length of the request headers using the [<code>--max-http-header-size=size</code>][] and/or the [<code>maxHeaderSize</code>][] options so that no more headers than the <code>server.maxHeadersCount</code> limit can be sent.</li> </ol> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/websockets/ws/commit/3c56601092872f7d7566989f0e379271afd0e4a1"><code>3c56601</code></a> [dist] 8.17.1</li> <li><a href="https://github.com/websockets/ws/commit/e55e5106f10fcbaac37cfa89759e4cc0d073a52c"><code>e55e510</code></a> [security] Fix crash when the Upgrade header cannot be read (<a href="https://redirect.github.com/websockets/ws/issues/2231">#2231</a>)</li> <li><a href="https://github.com/websockets/ws/commit/6a00029edd924499f892aed8003cef1fa724cfe5"><code>6a00029</code></a> [test] Increase code coverage</li> <li><a href="https://github.com/websockets/ws/commit/ddfe4a804d79e7788ab136290e609f91cf68423f"><code>ddfe4a8</code></a> [perf] Reduce the amount of <code>crypto.randomFillSync()</code> calls</li> <li><a href="https://github.com/websockets/ws/commit/b73b11828d166e9692a9bffe9c01a7e93bab04a8"><code>b73b118</code></a> [dist] 8.17.0</li> <li><a href="https://github.com/websockets/ws/commit/29694a5905fa703e86667928e6bacac397469471"><code>29694a5</code></a> [test] Use the <code>highWaterMark</code> variable</li> <li><a href="https://github.com/websockets/ws/commit/934c9d6b938b93c045cb13e5f7c19c27a8dd925a"><code>934c9d6</code></a> [ci] Test on node 22</li> <li><a href="https://github.com/websockets/ws/commit/1817bac06e1204bfb578b8b3f4bafd0fa09623d0"><code>1817bac</code></a> [ci] Do not test on node 21</li> <li><a href="https://github.com/websockets/ws/commit/96c9b3deddf56cacb2d756aaa918071e03cdbc42"><code>96c9b3d</code></a> [major] Flip the default value of <code>allowSynchronousEvents</code> (<a href="https://redirect.github.com/websockets/ws/issues/2221">#2221</a>)</li> <li><a href="https://github.com/websockets/ws/commit/e5f32c7e1e6d3d19cd4a1fdec84890e154db30c1"><code>e5f32c7</code></a> [fix] Emit at most one event per event loop iteration (<a href="https://redirect.github.com/websockets/ws/issues/2218">#2218</a>)</li> <li>Additional commits viewable in <a href="https://github.com/websockets/ws/compare/8.5.0...8.17.1">compare view</a></li> </ul> </details> <br /> Updates `ethers` from 6.13.0 to 6.13.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/ethers-io/ethers.js/releases">ethers's releases</a>.</em></p> <blockquote> <h2>ethers/v6.13.1 (2024-06-18 02:37)</h2> <ul> <li>Update ws package to address possible DoS vulnerability (<a href="https://github.com/ethers-io/ethers.js/commit/a4b1d1f43fca14f2e826e3c60e0d45f5b6ef3ec4">a4b1d1f</a>).</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/ethers-io/ethers.js/blob/main/CHANGELOG.md">ethers's changelog</a>.</em></p> <blockquote> <h2>ethers/v6.13.1 (2024-06-18 02:09)</h2> <ul> <li>Update ws package to address possible DoS vulnerability (<a href="https://github.com/ethers-io/ethers.js/commit/a4b1d1f43fca14f2e826e3c60e0d45f5b6ef3ec4">a4b1d1f</a>).</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ethers-io/ethers.js/commit/a4b1d1f43fca14f2e826e3c60e0d45f5b6ef3ec4"><code>a4b1d1f</code></a> Update ws package to address possible DoS vulnerability.</li> <li><a href="https://github.com/ethers-io/ethers.js/commit/16b8e18a42d91a174637a493ea9732521a53251f"><code>16b8e18</code></a> docs: fixed paragraph leaking into code in migration docs</li> <li><a href="https://github.com/ethers-io/ethers.js/commit/92761872198cf6c9334570da3d110bca2bafa641"><code>9276187</code></a> admin: updated dist files</li> <li>See full diff in <a href="https://github.com/ethers-io/ethers.js/compare/v6.13.0...v6.13.1">compare view</a></li> </ul> </details> <br /> Updates `viem` from 2.12.0 to 2.15.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/wevm/viem/releases">viem's releases</a>.</em></p> <blockquote> <h2>viem@2.15.1</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://github.com/wevm/viem/commit/d8e44f7df36cd405b00d76438e9100d82cdd5ed6"><code>d8e44f7</code></a> Thanks <a href="https://github.com/jxom"><code>@​jxom</code></a>! - Bumped <code>ws</code> dependency.</li> </ul> <h2>viem@2.15.0</h2> <h3>Minor Changes</h3> <ul> <li><a href="https://redirect.github.com/wevm/viem/pull/2418">#2418</a> <a href="https://github.com/wevm/viem/commit/6c36745e2a7f1826d691cff1037504546ad4fed0"><code>6c36745</code></a> Thanks <a href="https://github.com/jxom"><code>@​jxom</code></a>! - Added support for a <a href="https://viem.sh/docs/accounts/createNonceManager">Nonce Manager</a> on Local Accounts via <code>nonceManager</code>.</li> </ul> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/wevm/viem/pull/2419">#2419</a> <a href="https://github.com/wevm/viem/commit/ec831b52301312c5c985a2cac128536e2639922f"><code>ec831b5</code></a> Thanks <a href="https://github.com/iosh"><code>@​iosh</code></a>! - Updated Conflux eSpace RPC URL</p> </li> <li> <p><a href="https://redirect.github.com/wevm/viem/pull/2418">#2418</a> <a href="https://github.com/wevm/viem/commit/6c36745e2a7f1826d691cff1037504546ad4fed0"><code>6c36745</code></a> Thanks <a href="https://github.com/jxom"><code>@​jxom</code></a>! - Implemented in-flight request deduplication for Transport JSON-RPC requests.</p> </li> <li> <p><a href="https://github.com/wevm/viem/commit/a5c97c556f17895742c164295f62bad793139f42"><code>a5c97c5</code></a> Thanks <a href="https://github.com/jxom"><code>@​jxom</code></a>! - Added <code>berachainTestnetbArtio</code> chain.</p> </li> </ul> <h2>viem@2.14.2</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/wevm/viem/pull/2414">#2414</a> <a href="https://github.com/wevm/viem/commit/3636c5c6c099dba1910f1d215d019acc6e12f101"><code>3636c5c</code></a> Thanks <a href="https://github.com/turtlemoji"><code>@​turtlemoji</code></a>! - Added <code>l2OutputOracle</code>, <code>portal</code> and <code>l1StandardBridge</code> contracts to <code>mode</code> chain.</li> </ul> <h2>viem@2.14.1</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/wevm/viem/pull/2411">#2411</a> <a href="https://github.com/wevm/viem/commit/2fc14e50df3d6796cd29add44d0467320cb06195"><code>2fc14e50</code></a> Thanks <a href="https://github.com/tmm"><code>@​tmm</code></a>! - Deprecated <code>getBytecode</code> (use <code>getCode</code> instead).</p> </li> <li> <p><a href="https://redirect.github.com/wevm/viem/pull/2408">#2408</a> <a href="https://github.com/wevm/viem/commit/21cb684a6e41fc65ac0f15c0ee08df296f2b1a15"><code>21cb684a</code></a> Thanks <a href="https://github.com/jxom"><code>@​jxom</code></a>! - Added <code>code</code> as a parameter to <code>call</code> + <code>readContract</code> – to enable <a href="https://viem.sh/docs/actions/public/call#bytecode">Deployless Calls via Bytecode</a>.</p> </li> </ul> <h2>viem@2.14.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/wevm/viem/pull/2405">#2405</a> <a href="https://github.com/wevm/viem/commit/fc8919f5e73f4859627c268cceede3f1a2d9c9c3"><code>fc8919f5</code></a> Thanks <a href="https://github.com/jxom"><code>@​jxom</code></a>! - Added <code>factory</code> &amp; <code>factoryData</code> parameters to <code>call</code> &amp; <code>readContract</code> to enable <a href="https://viem.sh/docs/actions/public/call#deployless-calls">Deployless Calls</a> (calling a function on a contract which has not been deployed) via a <a href="https://docs.alchemy.com/docs/create2-an-alternative-to-deriving-contract-addresses#create2-contract-factory">Factory Contract</a>.</p> <p>This is particularly useful for the use case of calling functions on <a href="https://eips.ethereum.org/EIPS/eip-4337">ERC-4337 Smart Accounts</a> that have not been deployed yet.</p> </li> </ul> <h2>viem@2.13.10</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/wevm/viem/pull/2399">#2399</a> <a href="https://github.com/wevm/viem/commit/a61a90c077c02cee80c88256461d5a71a35dbc0f"><code>a61a90c</code></a> Thanks <a href="https://github.com/jxom"><code>@​jxom</code></a>! - Added <code>getEip712Domain</code> Action.</li> </ul> <h2>viem@2.13.9</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/wevm/viem/pull/2398">#2398</a> <a href="https://github.com/wevm/viem/commit/f2695cfb81a3bf954879ab2f14d1c55bad1175f1"><code>f2695cf</code></a> Thanks <a href="https://github.com/jxom"><code>@​jxom</code></a>! - Fixed an issue where zero <code>r</code> and <code>s</code> values were not being serialized correctly.</p> </li> <li> <p><a href="https://redirect.github.com/wevm/viem/pull/2374">#2374</a> <a href="https://github.com/wevm/viem/commit/a81965e0984a2d239df0d5e989e6b2119aa4c680"><code>a81965e</code></a> Thanks <a href="https://github.com/roninjin10"><code>@​roninjin10</code></a>! - Updated <code>EncodeDeployDataParameters</code> type.</p> </li> <li> <p><a href="https://redirect.github.com/wevm/viem/pull/2388">#2388</a> <a href="https://github.com/wevm/viem/commit/895e7d11a2df3d7aaf7e13476b1c893abb055aaa"><code>895e7d1</code></a> Thanks <a href="https://github.com/bajpai244"><code>@​bajpai244</code></a>! - Updated <code>kakarotSepolia</code> chain id.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/wevm/viem/commit/a7c1ab1d101f730e8d25bbe848304c73b43564f7"><code>a7c1ab1</code></a> Version Packages (<a href="https://redirect.github.com/wevm/viem/issues/2422">#2422</a>)</li> <li><a href="https://github.com/wevm/viem/commit/d6053239c4106c160f66863a8afff43961569f5e"><code>d605323</code></a> chore: lockfile</li> <li><a href="https://github.com/wevm/viem/commit/d8e44f7df36cd405b00d76438e9100d82cdd5ed6"><code>d8e44f7</code></a> chore: bump <code>ws</code></li> <li><a href="https://github.com/wevm/viem/commit/97937a2dc2330949efc1e7e4a2f9635ce2ab529c"><code>97937a2</code></a> chore: format</li> <li><a href="https://github.com/wevm/viem/commit/8d79597f8223fa48a4fb55c7b574b7d1af3525ab"><code>8d79597</code></a> Version Packages (<a href="https://redirect.github.com/wevm/viem/issues/2421">#2421</a>)</li> <li><a href="https://github.com/wevm/viem/commit/cde7b26c40d778773af3f23faa115a56fd42860f"><code>cde7b26</code></a> chore: knip</li> <li><a href="https://github.com/wevm/viem/commit/a5c97c556f17895742c164295f62bad793139f42"><code>a5c97c5</code></a> chore: format</li> <li><a href="https://github.com/wevm/viem/commit/815e30dd1bc4474eeb3c69fb52c343e225987c3b"><code>815e30d</code></a> feat: berachain bArtio 80084 (<a href="https://redirect.github.com/wevm/viem/issues/2420">#2420</a>)</li> <li><a href="https://github.com/wevm/viem/commit/ec831b52301312c5c985a2cac128536e2639922f"><code>ec831b5</code></a> chore: update Conflux eSpace RPC URL (<a href="https://redirect.github.com/wevm/viem/issues/2419">#2419</a>)</li> <li><a href="https://github.com/wevm/viem/commit/6c36745e2a7f1826d691cff1037504546ad4fed0"><code>6c36745</code></a> feat: nonce manager + dedupe in-flight requests (<a href="https://redirect.github.com/wevm/viem/issues/2418">#2418</a>)</li> <li>Additional commits viewable in <a href="https://github.com/wevm/viem/compare/viem@2.12.0...viem@2.15.1">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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/settlemint/solidity-empty/network/alerts). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 8821b89 commit c23f056

File tree

1 file changed

+18
-42
lines changed

1 file changed

+18
-42
lines changed

package-lock.json

Lines changed: 18 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)