You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/09/25 12:21:38 UTC

[GitHub] [echarts-doc] dependabot[bot] opened a new pull request, #297: chore(deps): bump engine.io and socket.io in /editor

dependabot[bot] opened a new pull request, #297:
URL: https://github.com/apache/echarts-doc/pull/297

   Bumps [engine.io](https://github.com/socketio/engine.io) to 3.6.0 and updates ancestor dependency [socket.io](https://github.com/socketio/socket.io). These dependencies need to be updated together.
   
   Updates `engine.io` from 3.4.2 to 3.6.0
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a href="https://github.com/socketio/engine.io/releases">engine.io's releases</a>.</em></p>
   <blockquote>
   <h2>3.6.0</h2>
   <h3>Bug Fixes</h3>
   <ul>
   <li>add extension in the package.json main entry (<a href="https://github-redirect.dependabot.com/socketio/engine.io/issues/608">#608</a>) (<a href="https://github.com/socketio/engine.io/commit/3ad0567dbd57cfb7c2ff4e8b7488d80f37022b4a">3ad0567</a>)</li>
   <li>do not reset the ping timer after upgrade (<a href="https://github.com/socketio/engine.io/commit/1f5d4699862afee1e410fcb0e1f5e751ebcd2f9f">1f5d469</a>)</li>
   </ul>
   <h3>Features</h3>
   <ul>
   <li>decrease the default value of maxHttpBufferSize (<a href="https://github.com/socketio/engine.io/commit/58e274c437e9cbcf69fd913c813aad8fbd253703">58e274c</a>)</li>
   </ul>
   <p>This change reduces the default value from 100 mb to a more sane 1 mb.</p>
   <p>This helps protect the server against denial of service attacks by malicious clients sending huge amounts of data.</p>
   <p>See also: <a href="https://github.com/advisories/GHSA-j4f2-536g-r55m">https://github.com/advisories/GHSA-j4f2-536g-r55m</a></p>
   <ul>
   <li>increase the default value of pingTimeout (<a href="https://github.com/socketio/engine.io/commit/f55a79a28a5fbc6c9edae876dd11308b89cc979e">f55a79a</a>)</li>
   </ul>
   <h4>Links</h4>
   <ul>
   <li>Diff: <a href="https://github.com/socketio/engine.io/compare/3.5.0...3.6.0">https://github.com/socketio/engine.io/compare/3.5.0...3.6.0</a></li>
   <li>Client release: -</li>
   <li>ws version: <a href="https://github.com/websockets/ws/releases/tag/7.4.2">~7.4.2</a></li>
   </ul>
   <h2>3.5.0</h2>
   <h3>Features</h3>
   <ul>
   <li>add support for all cookie options (<a href="https://github.com/socketio/engine.io/commit/19cc58264a06dca47ed401fbaca32dcdb80a903b">19cc582</a>)</li>
   <li>disable perMessageDeflate by default (<a href="https://github.com/socketio/engine.io/commit/5ad273601eb66c7b318542f87026837bf9dddd21">5ad2736</a>)</li>
   </ul>
   <h4>Links</h4>
   <ul>
   <li>Diff: <a href="https://github.com/socketio/engine.io/compare/3.4.2...3.5.0">https://github.com/socketio/engine.io/compare/3.4.2...3.5.0</a></li>
   <li>Client release: <a href="https://github.com/socketio/engine.io-client/releases/tag/3.5.0">3.5.0</a></li>
   <li>ws version: <a href="https://github.com/websockets/ws/releases/tag/7.4.2">~7.4.2</a></li>
   </ul>
   </blockquote>
   </details>
   <details>
   <summary>Changelog</summary>
   <p><em>Sourced from <a href="https://github.com/socketio/engine.io/blob/main/CHANGELOG.md">engine.io's changelog</a>.</em></p>
   <blockquote>
   <h1><a href="https://github.com/socketio/engine.io/compare/3.5.0...3.6.0">3.6.0</a> (2022-06-06)</h1>
   <h3>Bug Fixes</h3>
   <ul>
   <li>add extension in the package.json main entry (<a href="https://github-redirect.dependabot.com/socketio/engine.io/issues/608">#608</a>) (<a href="https://github.com/socketio/engine.io/commit/3ad0567dbd57cfb7c2ff4e8b7488d80f37022b4a">3ad0567</a>)</li>
   <li>do not reset the ping timer after upgrade (<a href="https://github.com/socketio/engine.io/commit/1f5d4699862afee1e410fcb0e1f5e751ebcd2f9f">1f5d469</a>), closes <a href="https://github-redirect.dependabot.com//github-redirect.dependabot.com/socketio/socket.io-client-swift/pull/1309/issues/issuecomment-768475704">socketio/socket.io-client-swift#1309</a></li>
   </ul>
   <h3>Features</h3>
   <ul>
   <li>decrease the default value of maxHttpBufferSize (<a href="https://github.com/socketio/engine.io/commit/58e274c437e9cbcf69fd913c813aad8fbd253703">58e274c</a>)</li>
   </ul>
   <p>This change reduces the default value from 100 mb to a more sane 1 mb.</p>
   <p>This helps protect the server against denial of service attacks by malicious clients sending huge amounts of data.</p>
   <p>See also: <a href="https://github.com/advisories/GHSA-j4f2-536g-r55m">https://github.com/advisories/GHSA-j4f2-536g-r55m</a></p>
   <ul>
   <li>increase the default value of pingTimeout (<a href="https://github.com/socketio/engine.io/commit/f55a79a28a5fbc6c9edae876dd11308b89cc979e">f55a79a</a>)</li>
   </ul>
   <h1><a href="https://github.com/socketio/engine.io/compare/6.1.3...6.2.0">6.2.0</a> (2022-04-17)</h1>
   <h3>Features</h3>
   <ul>
   <li>add the &quot;maxPayload&quot; field in the handshake details (<a href="https://github.com/socketio/engine.io/commit/088dcb4dff60df39785df13d0a33d3ceaa1dff38">088dcb4</a>)</li>
   </ul>
   <p>So that clients in HTTP long-polling can decide how many packets they have to send to stay under the maxHttpBufferSize
   value.</p>
   <p>This is a backward compatible change which should not mandate a new major revision of the protocol (we stay in v4), as
   we only add a field in the JSON-encoded handshake data:</p>
   <pre><code>0{&quot;sid&quot;:&quot;lv_VI97HAXpY6yYWAAAC&quot;,&quot;upgrades&quot;:[&quot;websocket&quot;],&quot;pingInterval&quot;:25000,&quot;pingTimeout&quot;:5000,&quot;maxPayload&quot;:1000000}
   </code></pre>
   <h2><a href="https://github.com/socketio/engine.io/compare/6.1.2...6.1.3">6.1.3</a> (2022-02-23)</h2>
   <h3>Bug Fixes</h3>
   <ul>
   <li><strong>typings:</strong> allow CorsOptionsDelegate as cors options (<a href="https://github-redirect.dependabot.com/socketio/engine.io/issues/641">#641</a>) (<a href="https://github.com/socketio/engine.io/commit/a463d268ed90064e7863679bda423951de108c36">a463d26</a>)</li>
   <li><strong>uws:</strong> properly handle chunked content (<a href="https://github-redirect.dependabot.com/socketio/engine.io/issues/642">#642</a>) (<a href="https://github.com/socketio/engine.io/commit/33674403084c329dc6ad026c4122333a6f8a9992">3367440</a>)</li>
   </ul>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a href="https://github.com/socketio/engine.io/commit/f62f26530cdb9c7bbfd295f3110cc2d911561fda"><code>f62f265</code></a> chore(release): 3.6.0</li>
   <li><a href="https://github.com/socketio/engine.io/commit/f55a79a28a5fbc6c9edae876dd11308b89cc979e"><code>f55a79a</code></a> feat: increase the default value of pingTimeout</li>
   <li><a href="https://github.com/socketio/engine.io/commit/1f5d4699862afee1e410fcb0e1f5e751ebcd2f9f"><code>1f5d469</code></a> fix: do not reset the ping timer after upgrade</li>
   <li><a href="https://github.com/socketio/engine.io/commit/3ad0567dbd57cfb7c2ff4e8b7488d80f37022b4a"><code>3ad0567</code></a> fix: add extension in the package.json main entry (<a href="https://github-redirect.dependabot.com/socketio/engine.io/issues/608">#608</a>)</li>
   <li><a href="https://github.com/socketio/engine.io/commit/58e274c437e9cbcf69fd913c813aad8fbd253703"><code>58e274c</code></a> feat: decrease the default value of maxHttpBufferSize</li>
   <li><a href="https://github.com/socketio/engine.io/commit/b9dee7ba6700b7523a009f1c90ef98b603941f6e"><code>b9dee7b</code></a> chore(release): 3.5.0</li>
   <li><a href="https://github.com/socketio/engine.io/commit/19cc58264a06dca47ed401fbaca32dcdb80a903b"><code>19cc582</code></a> feat: add support for all cookie options</li>
   <li><a href="https://github.com/socketio/engine.io/commit/5ad273601eb66c7b318542f87026837bf9dddd21"><code>5ad2736</code></a> feat: disable perMessageDeflate by default</li>
   <li><a href="https://github.com/socketio/engine.io/commit/f632269ff133d77ce80dacd23867048cba2f7124"><code>f632269</code></a> chore: bump ws version</li>
   <li><a href="https://github.com/socketio/engine.io/commit/ddb80a20cf375dac434a5add3a8d9b9bbeea74f6"><code>ddb80a2</code></a> ci: migrate to GitHub Actions</li>
   <li>See full diff in <a href="https://github.com/socketio/engine.io/compare/3.4.2...3.6.0">compare view</a></li>
   </ul>
   </details>
   <br />
   
   Updates `socket.io` from 2.3.0 to 2.5.0
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a href="https://github.com/socketio/socket.io/releases">socket.io's releases</a>.</em></p>
   <blockquote>
   <h2>2.5.0</h2>
   <p>:warning: WARNING :warning:</p>
   <p>The default value of the <code>maxHttpBufferSize</code> option has been decreased from 100 MB to 1 MB, in order to prevent attacks by denial of service.</p>
   <p>Security advisory: <a href="https://github.com/advisories/GHSA-j4f2-536g-r55m">https://github.com/advisories/GHSA-j4f2-536g-r55m</a></p>
   <h3>Bug Fixes</h3>
   <ul>
   <li>fix race condition in dynamic namespaces (<a href="https://github.com/socketio/socket.io/commit/05e1278cfa99f3ecf3f8f0531ffe57d850e9a05b">05e1278</a>)</li>
   <li>ignore packet received after disconnection (<a href="https://github.com/socketio/socket.io/commit/22d4bdf00d1a03885dc0171125faddfaef730066">22d4bdf</a>)</li>
   <li>only set 'connected' to true after middleware execution (<a href="https://github.com/socketio/socket.io/commit/226cc16165f9fe60f16ff4d295fb91c8971cde35">226cc16</a>)</li>
   <li>prevent the socket from joining a room after disconnection (<a href="https://github.com/socketio/socket.io/commit/f223178eb655a7713303b21a78f9ef9e161d6458">f223178</a>)</li>
   </ul>
   <h4>Links:</h4>
   <ul>
   <li>Diff: <a href="https://github.com/socketio/socket.io/compare/2.4.1...2.5.0">https://github.com/socketio/socket.io/compare/2.4.1...2.5.0</a></li>
   <li>Client release: <a href="https://github.com/socketio/socket.io-client/releases/tag/2.5.0">2.5.0</a></li>
   <li>engine.io version:  <code>~3.6.0</code> (<a href="https://github.com/socketio/engine.io/compare/3.5.0...3.6.0">diff</a>)</li>
   <li>ws version: <code>~7.4.2</code></li>
   </ul>
   <h2>2.4.1</h2>
   <p>This release reverts the breaking change introduced in <code>2.4.0</code> (<a href="https://github.com/socketio/socket.io/commit/f78a575f66ab693c3ea96ea88429ddb1a44c86c7">https://github.com/socketio/socket.io/commit/f78a575f66ab693c3ea96ea88429ddb1a44c86c7</a>).</p>
   <p>If you are using Socket.IO v2, you should explicitly allow/disallow cross-origin requests:</p>
   <ul>
   <li>without CORS (server and client are served from the same domain):</li>
   </ul>
   <pre lang="js"><code>const io = require(&quot;socket.io&quot;)(httpServer, {
     allowRequest: (req, callback) =&gt; {
       callback(null, req.headers.origin === undefined); // cross-origin requests will not be allowed
     }
   });
   </code></pre>
   <ul>
   <li>with CORS (server and client are served from distinct domains):</li>
   </ul>
   <pre lang="js"><code>io.origins([&quot;http://localhost:3000&quot;]); // for local development
   io.origins([&quot;https://example.com&quot;]);
   </code></pre>
   <p>In any case, please consider upgrading to Socket.IO v3, where this security issue is now fixed (CORS is disabled by default).</p>
   <h3>Reverts</h3>
   <ul>
   <li>fix(security): do not allow all origins by default (<a href="https://github.com/socketio/socket.io/commit/a1690509470e9dd5559cec4e60908ca6c23e9ba0">a169050</a>)</li>
   </ul>
   <h4>Links:</h4>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Changelog</summary>
   <p><em>Sourced from <a href="https://github.com/socketio/socket.io/blob/2.5.0/CHANGELOG.md">socket.io's changelog</a>.</em></p>
   <blockquote>
   <h1><a href="https://github.com/socketio/socket.io/compare/2.4.1...2.5.0">2.5.0</a> (2022-06-26)</h1>
   <h3>Bug Fixes</h3>
   <ul>
   <li>fix race condition in dynamic namespaces (<a href="https://github.com/socketio/socket.io/commit/05e1278cfa99f3ecf3f8f0531ffe57d850e9a05b">05e1278</a>)</li>
   <li>ignore packet received after disconnection (<a href="https://github.com/socketio/socket.io/commit/22d4bdf00d1a03885dc0171125faddfaef730066">22d4bdf</a>)</li>
   <li>only set 'connected' to true after middleware execution (<a href="https://github.com/socketio/socket.io/commit/226cc16165f9fe60f16ff4d295fb91c8971cde35">226cc16</a>)</li>
   <li>prevent the socket from joining a room after disconnection (<a href="https://github.com/socketio/socket.io/commit/f223178eb655a7713303b21a78f9ef9e161d6458">f223178</a>)</li>
   </ul>
   <h2><a href="https://github.com/socketio/socket.io/compare/2.4.0...2.4.1">2.4.1</a> (2021-01-07)</h2>
   <h3>Reverts</h3>
   <ul>
   <li>fix(security): do not allow all origins by default (<a href="https://github.com/socketio/socket.io/commit/a1690509470e9dd5559cec4e60908ca6c23e9ba0">a169050</a>)</li>
   </ul>
   <h1><a href="https://github.com/socketio/socket.io/compare/2.3.0...2.4.0">2.4.0</a> (2021-01-04)</h1>
   <h3>Bug Fixes</h3>
   <ul>
   <li><strong>security:</strong> do not allow all origins by default (<a href="https://github.com/socketio/socket.io/commit/f78a575f66ab693c3ea96ea88429ddb1a44c86c7">f78a575</a>)</li>
   <li>properly overwrite the query sent in the handshake (<a href="https://github.com/socketio/socket.io/commit/d33a619905a4905c153d4fec337c74da5b533a9e">d33a619</a>)</li>
   </ul>
   </blockquote>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a href="https://github.com/socketio/socket.io/commit/baa6804440fe5dc98fcbd5249dee2f4fa6ef1b8a"><code>baa6804</code></a> chore(release): 2.5.0</li>
   <li><a href="https://github.com/socketio/socket.io/commit/f223178eb655a7713303b21a78f9ef9e161d6458"><code>f223178</code></a> fix: prevent the socket from joining a room after disconnection</li>
   <li><a href="https://github.com/socketio/socket.io/commit/226cc16165f9fe60f16ff4d295fb91c8971cde35"><code>226cc16</code></a> fix: only set 'connected' to true after middleware execution</li>
   <li><a href="https://github.com/socketio/socket.io/commit/05e1278cfa99f3ecf3f8f0531ffe57d850e9a05b"><code>05e1278</code></a> fix: fix race condition in dynamic namespaces</li>
   <li><a href="https://github.com/socketio/socket.io/commit/22d4bdf00d1a03885dc0171125faddfaef730066"><code>22d4bdf</code></a> fix: ignore packet received after disconnection</li>
   <li><a href="https://github.com/socketio/socket.io/commit/dfded535933ad29d37b0784ed98040090ad860c6"><code>dfded53</code></a> chore: update engine.io version to 3.6.0</li>
   <li><a href="https://github.com/socketio/socket.io/commit/e6b869738c73fa0ce9928974d823e50cc92f7a1a"><code>e6b8697</code></a> chore(release): 2.4.1</li>
   <li><a href="https://github.com/socketio/socket.io/commit/a1690509470e9dd5559cec4e60908ca6c23e9ba0"><code>a169050</code></a> revert: fix(security): do not allow all origins by default</li>
   <li><a href="https://github.com/socketio/socket.io/commit/873fdc55eddd672960fdbc1325ccb7c4bf466f05"><code>873fdc5</code></a> chore(release): 2.4.0</li>
   <li><a href="https://github.com/socketio/socket.io/commit/f78a575f66ab693c3ea96ea88429ddb1a44c86c7"><code>f78a575</code></a> fix(security): do not allow all origins by default</li>
   <li>Additional commits viewable in <a href="https://github.com/socketio/socket.io/compare/2.3.0...2.5.0">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)
   - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
   - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
   - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
   - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
   
   You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/apache/echarts-doc/network/alerts).
   
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts-doc] Ovilia merged pull request #297: chore(deps): bump engine.io and socket.io in /editor

Posted by GitBox <gi...@apache.org>.
Ovilia merged PR #297:
URL: https://github.com/apache/echarts-doc/pull/297


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org