Skip to content

Commit

Permalink
Bump ws and @wordpress/scripts in /future/includes/gutenberg (#2154) …
Browse files Browse the repository at this point in the history
…[ci skip]

Bumps [ws](https://github.com/websockets/ws) to 8.18.0 and updates
ancestor dependency
[@wordpress/scripts](https://github.com/WordPress/gutenberg/tree/HEAD/packages/scripts).
These dependencies need to be updated together.

Updates `ws` from 8.13.0 to 8.18.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.18.0</h2>
<h1>Features</h1>
<ul>
<li>Added support for <code>Blob</code> (<a
href="https://redirect.github.com/websockets/ws/issues/2229">#2229</a>).</li>
</ul>
<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>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/websockets/ws/commit/976c53c4065c49ede73bfba824caf5a6e0f290cb"><code>976c53c</code></a>
[dist] 8.18.0</li>
<li><a
href="https://github.com/websockets/ws/commit/59b9629b78aa66bcf9acce20468004cd3751c136"><code>59b9629</code></a>
[feature] Add support for <code>Blob</code> (<a
href="https://redirect.github.com/websockets/ws/issues/2229">#2229</a>)</li>
<li><a
href="https://github.com/websockets/ws/commit/0d1b5e6c4acad16a6b1a1904426eb266a5ba2f72"><code>0d1b5e6</code></a>
[security] Use more descriptive text for 2017 vulnerability link</li>
<li><a
href="https://github.com/websockets/ws/commit/15f11a052a231d1f819fffef53bf4b287646d1ca"><code>15f11a0</code></a>
[security] Add new DoS vulnerability to SECURITY.md</li>
<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>Additional commits viewable in <a
href="https://github.com/websockets/ws/compare/8.13.0...8.18.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `@wordpress/scripts` from 27.2.0 to 30.0.2
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/WordPress/gutenberg/blob/trunk/packages/scripts/CHANGELOG.md"><code>@​wordpress/scripts</code>'s
changelog</a>.</em></p>
<blockquote>
<!-- raw HTML omitted -->
<h2>Unreleased</h2>
<h2>30.0.0 (2024-09-19)</h2>
<h3>Breaking Changes</h3>
<ul>
<li>Updated <code>stylelint</code> dependency to <code>^16.8.2</code>
(<a
href="https://redirect.github.com/WordPress/gutenberg/pull/64828">#64828</a>).</li>
<li>Switched default config from
<code>@wordpress/stylelint-config/scss</code> to use
<code>@wordpress/stylelint-config/scss-stylistic</code> to keep
stylistic rules (<a
href="https://redirect.github.com/WordPress/gutenberg/pull/64828">#64828</a>).</li>
</ul>
<h2>29.0.0 (2024-09-05)</h2>
<h3>Breaking Changes</h3>
<ul>
<li>Fixed the issue with having 5 high severity vulnerabilities by
upgrading the <code>puppeteer-core</code> package to the latest major
version <code>^23.1.0</code> (<a
href="https://redirect.github.com/WordPress/gutenberg/pull/64597">#64597</a>).</li>
</ul>
<h3>Enhancements</h3>
<ul>
<li>Inlines CSS files imported from other CSS files before optimization
in the <code>build</code> command (<a
href="https://redirect.github.com/WordPress/gutenberg/pull/61121">#61121</a>).</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Added chunk filename in webpack config to avoid reading stale files
(<a
href="https://redirect.github.com/WordPress/gutenberg/pull/58176">#58176</a>).</li>
</ul>
<h2>28.6.0 (2024-08-21)</h2>
<h2>28.5.0 (2024-08-07)</h2>
<h2>28.4.0 (2024-07-24)</h2>
<h3>New Features</h3>
<ul>
<li>Update webpack configuration for the <code>build</code> and
<code>start</code> commands to automatically copy PHP files listed in
the <code>variations</code> field of <code>block.json</code> files from
the source to the build folder (<a
href="https://redirect.github.com/WordPress/gutenberg/pull/63098">#63098</a>).</li>
</ul>
<h2>28.3.0 (2024-07-10)</h2>
<h2>28.2.0 (2024-06-26)</h2>
<h2>28.1.0 (2024-06-15)</h2>
<h2>28.0.0 (2024-05-31)</h2>
<h3>Breaking Changes</h3>
<p><strong>Note</strong> If you're using
<code>@​wordpress/scripts</code> for building JS scripts to target
WordPress 6.5 or earlier, you should not upgrade to this version and
continue using <code>@​wordpress/scripts</code><a
href="https://github.com/27"><code>@​27</code></a>.</p>
<ul>
<li>Use React's automatic runtime to transform JSX (<a
href="https://redirect.github.com/WordPress/gutenberg/pull/61692">#61692</a>).</li>
<li>Variables like <code>process.env.IS_GUTENBERG_PLUGIN</code> have
been replaced by <code>globalThis.IS_GUTENBERG_PLUGIN</code>. Build
systems using <code>process.env</code> should be updated (<a
href="https://redirect.github.com/WordPress/gutenberg/pull/61486">#61486</a>).</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/WordPress/gutenberg/commit/3686e926862c54c6326fe97277e0a19f8bbfafdd"><code>3686e92</code></a>
chore(release): publish</li>
<li><a
href="https://github.com/WordPress/gutenberg/commit/cf707c1f25a2716e310cc8f9afcc8554405c79ac"><code>cf707c1</code></a>
chore(release): publish</li>
<li><a
href="https://github.com/WordPress/gutenberg/commit/7a86c1b8c1b3147e7ac633a04019945a9884f4a7"><code>7a86c1b</code></a>
chore(release): publish</li>
<li><a
href="https://github.com/WordPress/gutenberg/commit/320f84a3e109c5480badf8df2276105facb787e5"><code>320f84a</code></a>
Update changelog files</li>
<li><a
href="https://github.com/WordPress/gutenberg/commit/d649865283aff3545f9754a01c92982e37602dc8"><code>d649865</code></a>
Scripts: Update stylelint dependency and the default config (<a
href="https://github.com/WordPress/gutenberg/tree/HEAD/packages/scripts/issues/64828">#64828</a>)</li>
<li><a
href="https://github.com/WordPress/gutenberg/commit/cc133bfae5fe1b575e754fbcd71ff3505a448a35"><code>cc133bf</code></a>
Build: Include Core blocks' <code>render</code> and
<code>variations</code> files (<a
href="https://github.com/WordPress/gutenberg/tree/HEAD/packages/scripts/issues/63311">#63311</a>)</li>
<li><a
href="https://github.com/WordPress/gutenberg/commit/6108be0fd33b3ef2a7a1b9faf4ce817f693c6b5b"><code>6108be0</code></a>
Upgrade Playwright to v1.47 (<a
href="https://github.com/WordPress/gutenberg/tree/HEAD/packages/scripts/issues/65156">#65156</a>)</li>
<li><a
href="https://github.com/WordPress/gutenberg/commit/05066fadf3bbd82d8e564c362625585ef4a41397"><code>05066fa</code></a>
chore(release): publish</li>
<li><a
href="https://github.com/WordPress/gutenberg/commit/7a711b09c27748c7545fe56677e10479ffe5b96d"><code>7a711b0</code></a>
Update changelog files</li>
<li><a
href="https://github.com/WordPress/gutenberg/commit/6accdd3a2d1c02ea9eea9093c9c751d09e487cbb"><code>6accdd3</code></a>
Scripts: Update <code>puppeteer-core</code> dependency (<a
href="https://github.com/WordPress/gutenberg/tree/HEAD/packages/scripts/issues/64597">#64597</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/WordPress/gutenberg/commits/@wordpress/[email protected]/packages/scripts">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 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/GravityKit/GravityView/network/alerts).

</details>

💾 [Build
file](https://www.dropbox.com/scl/fi/fvqc8bgw397x96sdyd3ub/gravityview-2.28.0-f693fa05b.zip?rlkey=0snzntp07jabf1lhrzh0ejo8y&dl=1)
(f693fa0).
  • Loading branch information
mrcasual authored Sep 27, 2024
2 parents 7926025 + f693fa0 commit dacfe19
Show file tree
Hide file tree
Showing 2 changed files with 3,290 additions and 2,600 deletions.
Loading

0 comments on commit dacfe19

Please sign in to comment.