dependabot[bot] opened a new pull request, #22513:
URL: https://github.com/apache/flink/pull/22513

   Bumps [engine.io](https://github.com/socketio/engine.io) and 
[socket.io](https://github.com/socketio/socket.io). These dependencies needed 
to be updated together.
   Updates `engine.io` from 6.2.1 to 6.4.2
   <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>6.4.2</h2>
   <p>:warning: This release contains an important security fix :warning:</p>
   <p>A malicious client could send a specially crafted HTTP request, 
triggering an uncaught exception and killing the Node.js process:</p>
   <pre><code>TypeError: Cannot read properties of undefined (reading 
'handlesUpgrades')
     at Server.onWebSocket (build/server.js:515:67)
   </code></pre>
   <p>Please upgrade as soon as possible.</p>
   <h3>Bug Fixes</h3>
   <ul>
   <li>include error handling for Express middlewares (<a 
href="https://redirect.github.com/socketio/engine.io/issues/674";>#674</a>) (<a 
href="https://github.com/socketio/engine.io/commit/93957828be1252c83275b56f0c7c0bd145a0ceb9";>9395782</a>)</li>
   <li>prevent crash when provided with an invalid query param (<a 
href="https://github.com/socketio/engine.io/commit/fc480b4f305e16fe5972cf337d055e598372dc44";>fc480b4</a>)</li>
   <li><strong>typings:</strong> make clientsCount public (<a 
href="https://redirect.github.com/socketio/engine.io/issues/675";>#675</a>) (<a 
href="https://github.com/socketio/engine.io/commit/bd6d4713b02ff646c581872cd9ffe753acff0d73";>bd6d471</a>)</li>
   <li><strong>uws:</strong> prevent crash when using with middlewares (<a 
href="https://github.com/socketio/engine.io/commit/8b2216290330b174c9e67be32765bec0c74769f9";>8b22162</a>)</li>
   </ul>
   <h3>Credits</h3>
   <p>Huge thanks to <a 
href="https://github.com/tyilo";><code>@​tyilo</code></a> and <a 
href="https://github.com/cieldeville";><code>@​cieldeville</code></a> for 
helping!</p>
   <h4>Links</h4>
   <ul>
   <li>Diff: <a 
href="https://github.com/socketio/engine.io/compare/6.4.1...6.4.2";>https://github.com/socketio/engine.io/compare/6.4.1...6.4.2</a></li>
   <li>Client release: -</li>
   <li>ws version: <a 
href="https://github.com/websockets/ws/releases/tag/8.11.0";>~8.11.0</a> (no 
change)</li>
   </ul>
   <h2>6.4.1</h2>
   <p>This release contains <a 
href="https://github.com/socketio/engine.io/commit/6e78489486f0d7570861fd6002a364d1ab87da4a";>6e78489</a>,
 which exports the <code>BaseServer</code> class in order to restore the 
compatibility with the <code>nodenext</code> module resolution strategy of 
TypeScript.</p>
   <p>Reference: <a 
href="https://www.typescriptlang.org/tsconfig/#moduleResolution";>https://www.typescriptlang.org/tsconfig/#moduleResolution</a></p>
   <p>Related: <a 
href="https://redirect.github.com/socketio/socket.io/issues/4621";>socketio/socket.io#4621</a></p>
   <h4>Links</h4>
   <ul>
   <li>Diff: <a 
href="https://github.com/socketio/engine.io/compare/6.4.0...6.4.1";>https://github.com/socketio/engine.io/compare/6.4.0...6.4.1</a></li>
   <li>Client release: -</li>
   <li>ws version: <a 
href="https://github.com/websockets/ws/releases/tag/8.11.0";>~8.11.0</a> (no 
change)</li>
   </ul>
   <h2>6.4.0</h2>
   <h3>Features</h3>
   <ul>
   <li>add support for Express middlewares (<a 
href="https://github.com/socketio/engine.io/commit/24786e77c5403b1c4b5a2bc84e2af06f9187f74a";>24786e7</a>)</li>
   </ul>
   <p>This commit implements middlewares at the Engine.IO level, because 
Socket.IO middlewares are meant for namespace authorization and are not 
executed during a classic HTTP request/response cycle.</p>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </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>
   <h2><a 
href="https://github.com/socketio/engine.io/compare/6.4.1...6.4.2";>6.4.2</a> 
(2023-05-02)</h2>
   <p>:warning: This release contains an important security fix :warning:</p>
   <p>A malicious client could send a specially crafted HTTP request, 
triggering an uncaught exception and killing the Node.js process:</p>
   <pre><code>TypeError: Cannot read properties of undefined (reading 
'handlesUpgrades')
     at Server.onWebSocket (build/server.js:515:67)
   </code></pre>
   <p>Please upgrade as soon as possible.</p>
   <h3>Bug Fixes</h3>
   <ul>
   <li>include error handling for Express middlewares (<a 
href="https://redirect.github.com/socketio/engine.io/issues/674";>#674</a>) (<a 
href="https://github.com/socketio/engine.io/commit/93957828be1252c83275b56f0c7c0bd145a0ceb9";>9395782</a>)</li>
   <li>prevent crash when provided with an invalid query param (<a 
href="https://github.com/socketio/engine.io/commit/fc480b4f305e16fe5972cf337d055e598372dc44";>fc480b4</a>)</li>
   <li><strong>typings:</strong> make clientsCount public (<a 
href="https://redirect.github.com/socketio/engine.io/issues/675";>#675</a>) (<a 
href="https://github.com/socketio/engine.io/commit/bd6d4713b02ff646c581872cd9ffe753acff0d73";>bd6d471</a>)</li>
   <li><strong>uws:</strong> prevent crash when using with middlewares (<a 
href="https://github.com/socketio/engine.io/commit/8b2216290330b174c9e67be32765bec0c74769f9";>8b22162</a>)</li>
   </ul>
   <h3>Credits</h3>
   <p>Huge thanks to <a 
href="https://github.com/tyilo";><code>@​tyilo</code></a> and <a 
href="https://github.com/cieldeville";><code>@​cieldeville</code></a> for 
helping!</p>
   <h3>Dependencies</h3>
   <ul>
   <li><a 
href="https://github.com/websockets/ws/releases/tag/8.11.0";><code>ws@~8.11.0</code></a>
 (no change)</li>
   </ul>
   <h2><a 
href="https://github.com/socketio/engine.io/compare/6.4.0...6.4.1";>6.4.1</a> 
(2023-02-20)</h2>
   <p>This release contains <a 
href="https://github.com/socketio/engine.io/commit/6e78489486f0d7570861fd6002a364d1ab87da4a";>6e78489</a>,
 which exports the <code>BaseServer</code> class in order to restore the 
compatibility with the <code>nodenext</code> module resolution strategy of 
TypeScript.</p>
   <p>Reference: <a 
href="https://www.typescriptlang.org/tsconfig/#moduleResolution";>https://www.typescriptlang.org/tsconfig/#moduleResolution</a></p>
   <p>Related: <a 
href="https://redirect.github.com/socketio/socket.io/issues/4621";>socketio/socket.io#4621</a></p>
   <h3>Dependencies</h3>
   <ul>
   <li><a 
href="https://github.com/websockets/ws/releases/tag/8.11.0";><code>ws@~8.11.0</code></a>
 (no change)</li>
   </ul>
   <h2><a 
href="https://github.com/socketio/engine.io/compare/6.3.1...6.4.0";>6.4.0</a> 
(2023-02-06)</h2>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/socketio/engine.io/commit/95e215387c589025dde3982865bf8c862d049469";><code>95e2153</code></a>
 chore(release): 6.4.2</li>
   <li><a 
href="https://github.com/socketio/engine.io/commit/fc480b4f305e16fe5972cf337d055e598372dc44";><code>fc480b4</code></a>
 fix: prevent crash when provided with an invalid query param</li>
   <li><a 
href="https://github.com/socketio/engine.io/commit/014195118535669af0ad3bde38a76601dafa4d81";><code>0141951</code></a>
 refactor(types): ensure compatibility with Express middlewares</li>
   <li><a 
href="https://github.com/socketio/engine.io/commit/8b2216290330b174c9e67be32765bec0c74769f9";><code>8b22162</code></a>
 fix(uws): prevent crash when using with middlewares</li>
   <li><a 
href="https://github.com/socketio/engine.io/commit/93957828be1252c83275b56f0c7c0bd145a0ceb9";><code>9395782</code></a>
 fix: include error handling for Express middlewares (<a 
href="https://redirect.github.com/socketio/engine.io/issues/674";>#674</a>)</li>
   <li><a 
href="https://github.com/socketio/engine.io/commit/911d0e35757ea9ee93d1807c401c734661615e96";><code>911d0e3</code></a>
 refactor: return HTTP 400 upon invalid request overlap</li>
   <li><a 
href="https://github.com/socketio/engine.io/commit/bd6d4713b02ff646c581872cd9ffe753acff0d73";><code>bd6d471</code></a>
 fix(typings): make clientsCount public (<a 
href="https://redirect.github.com/socketio/engine.io/issues/675";>#675</a>)</li>
   <li><a 
href="https://github.com/socketio/engine.io/commit/7033c0ed278705b569afef0bfe470c1937d1ec38";><code>7033c0e</code></a>
 chore(release): 6.4.1</li>
   <li><a 
href="https://github.com/socketio/engine.io/commit/6e78489486f0d7570861fd6002a364d1ab87da4a";><code>6e78489</code></a>
 refactor: export BaseServer class (<a 
href="https://redirect.github.com/socketio/engine.io/issues/669";>#669</a>)</li>
   <li><a 
href="https://github.com/socketio/engine.io/commit/535b068670848f6a3193528582484826a858d680";><code>535b068</code></a>
 docs: add upgrade event in the documentation</li>
   <li>Additional commits viewable in <a 
href="https://github.com/socketio/engine.io/compare/6.2.1...6.4.2";>compare 
view</a></li>
   </ul>
   </details>
   <br />
   
   Updates `socket.io` from 4.5.1 to 4.6.1
   <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>4.6.1</h2>
   <h3>Bug Fixes</h3>
   <ul>
   <li>properly handle manually created dynamic namespaces (<a 
href="https://github.com/socketio/socket.io/commit/0d0a7a22b5ff95f864216c529114b7dd41738d1e";>0d0a7a2</a>)</li>
   <li><strong>types:</strong> fix nodenext module resolution compatibility (<a 
href="https://redirect.github.com/socketio/socket.io/issues/4625";>#4625</a>) 
(<a 
href="https://github.com/socketio/socket.io/commit/d0b22c630208669aceb7ae013180c99ef90279b0";>d0b22c6</a>)</li>
   </ul>
   <h4>Links</h4>
   <ul>
   <li>Diff: <a 
href="https://github.com/socketio/socket.io/compare/4.6.0...4.6.1";>https://github.com/socketio/socket.io/compare/4.6.0...4.6.1</a></li>
   <li>Client release: <a 
href="https://github.com/socketio/socket.io-client/releases/tag/4.6.1";>4.6.1</a></li>
   <li><a 
href="https://github.com/socketio/engine.io/releases/tag/6.4.1";><code>engine.io@~6.4.1</code></a>
 (<a 
href="https://github.com/socketio/engine.io/compare/6.4.0...6.4.1";>diff</a>)</li>
   <li><a 
href="https://github.com/websockets/ws/releases/tag/8.11.0";><code>ws@~8.11.0</code></a>
 (no change)</li>
   </ul>
   <h2>4.6.0</h2>
   <h3>Bug Fixes</h3>
   <ul>
   <li>add timeout method to remote socket (<a 
href="https://redirect.github.com/socketio/socket.io/issues/4558";>#4558</a>) 
(<a 
href="https://github.com/socketio/socket.io/commit/0c0eb0016317218c2be3641e706cfaa9bea39a2d";>0c0eb00</a>)</li>
   <li><strong>typings:</strong> properly type emits with timeout (<a 
href="https://github.com/socketio/socket.io/commit/f3ada7d8ccc02eeced2b9b9ac8e4bc921eb630d2";>f3ada7d</a>)</li>
   </ul>
   <h3>Features</h3>
   <h4>Promise-based acknowledgements</h4>
   <p>This commit adds some syntactic sugar around acknowledgements:</p>
   <ul>
   <li><code>emitWithAck()</code></li>
   </ul>
   <pre lang="js"><code>try {
     const responses = await 
io.timeout(1000).emitWithAck(&quot;some-event&quot;);
     console.log(responses); // one response per client
   } catch (e) {
     // some clients did not acknowledge the event in the given delay
   }
   <p>io.on(&quot;connection&quot;, async (socket) =&gt; {
   // without timeout
   const response = await socket.emitWithAck(&quot;hello&quot;, 
&quot;world&quot;);</p>
   <p>// with a specific timeout
   try {
   const response = await socket.timeout(1000).emitWithAck(&quot;hello&quot;, 
&quot;world&quot;);
   } catch (err) {
   // the client did not acknowledge the event in the given delay
   }
   });
   </code></pre></p>
   <ul>
   <li><code>serverSideEmitWithAck()</code></li>
   </ul>
   <!-- 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/main/CHANGELOG.md";>socket.io's 
changelog</a>.</em></p>
   <blockquote>
   <h2><a 
href="https://github.com/socketio/socket.io/compare/4.6.0...4.6.1";>4.6.1</a> 
(2023-02-20)</h2>
   <h3>Bug Fixes</h3>
   <ul>
   <li>properly handle manually created dynamic namespaces (<a 
href="https://github.com/socketio/socket.io/commit/0d0a7a22b5ff95f864216c529114b7dd41738d1e";>0d0a7a2</a>)</li>
   <li><strong>types:</strong> fix nodenext module resolution compatibility (<a 
href="https://redirect.github.com/socketio/socket.io/issues/4625";>#4625</a>) 
(<a 
href="https://github.com/socketio/socket.io/commit/d0b22c630208669aceb7ae013180c99ef90279b0";>d0b22c6</a>)</li>
   </ul>
   <h3>Dependencies</h3>
   <ul>
   <li><a 
href="https://github.com/socketio/engine.io/releases/tag/6.4.0";><code>engine.io@~6.4.0</code></a>
 (no change)</li>
   <li><a 
href="https://github.com/websockets/ws/releases/tag/8.11.0";><code>ws@~8.11.0</code></a>
 (no change)</li>
   </ul>
   <h2><a 
href="https://github.com/socketio/socket.io/compare/4.5.4...4.6.0";>4.6.0</a> 
(2023-02-07)</h2>
   <h3>Bug Fixes</h3>
   <ul>
   <li>add timeout method to remote socket (<a 
href="https://redirect.github.com/socketio/socket.io/issues/4558";>#4558</a>) 
(<a 
href="https://github.com/socketio/socket.io/commit/0c0eb0016317218c2be3641e706cfaa9bea39a2d";>0c0eb00</a>)</li>
   <li><strong>typings:</strong> properly type emits with timeout (<a 
href="https://github.com/socketio/socket.io/commit/f3ada7d8ccc02eeced2b9b9ac8e4bc921eb630d2";>f3ada7d</a>)</li>
   </ul>
   <h3>Features</h3>
   <h4>Promise-based acknowledgements</h4>
   <p>This commit adds some syntactic sugar around acknowledgements:</p>
   <ul>
   <li><code>emitWithAck()</code></li>
   </ul>
   <pre lang="js"><code>try {
     const responses = await 
io.timeout(1000).emitWithAck(&quot;some-event&quot;);
     console.log(responses); // one response per client
   } catch (e) {
     // some clients did not acknowledge the event in the given delay
   }
   <p>io.on(&quot;connection&quot;, async (socket) =&gt; {
   // without timeout
   const response = await socket.emitWithAck(&quot;hello&quot;, 
&quot;world&quot;);</p>
   <p>// with a specific timeout
   try {
   const response = await socket.timeout(1000).emitWithAck(&quot;hello&quot;, 
&quot;world&quot;);
   } catch (err) {
   // the client did not acknowledge the event in the given delay
   &lt;/tr&gt;&lt;/table&gt;
   </code></pre></p>
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/socketio/socket.io/commit/7952312911e439f1e794760b50054565ece72845";><code>7952312</code></a>
 chore(release): 4.6.1</li>
   <li><a 
href="https://github.com/socketio/socket.io/commit/0d0a7a22b5ff95f864216c529114b7dd41738d1e";><code>0d0a7a2</code></a>
 fix: properly handle manually created dynamic namespaces</li>
   <li><a 
href="https://github.com/socketio/socket.io/commit/2a8565fd1e4b01990d2995c1e90d31a324cd121a";><code>2a8565f</code></a>
 refactor: catch errors when trying to restore the connection state</li>
   <li><a 
href="https://github.com/socketio/socket.io/commit/d0b22c630208669aceb7ae013180c99ef90279b0";><code>d0b22c6</code></a>
 fix(types): fix nodenext module resolution compatibility (<a 
href="https://redirect.github.com/socketio/socket.io/issues/4625";>#4625</a>)</li>
   <li><a 
href="https://github.com/socketio/socket.io/commit/e71f3d7dbe6e9ddedc63420d877700f1533fb18b";><code>e71f3d7</code></a>
 docs: minor style fix (<a 
href="https://redirect.github.com/socketio/socket.io/issues/4619";>#4619</a>)</li>
   <li><a 
href="https://github.com/socketio/socket.io/commit/a2e5d1f77ff322455d9203c0a956eead4caca527";><code>a2e5d1f</code></a>
 chore(release): 4.6.0</li>
   <li><a 
href="https://github.com/socketio/socket.io/commit/d8143cc0676aa7a8bdcf162f2dc4fcd9f6070bc5";><code>d8143cc</code></a>
 refactor: do not persist session if connection state recovery if disabled</li>
   <li><a 
href="https://github.com/socketio/socket.io/commit/b2dd7cf660049d835fa7128db6c669b5ae3a2b26";><code>b2dd7cf</code></a>
 chore: bump engine.io to version 6.4.0</li>
   <li><a 
href="https://github.com/socketio/socket.io/commit/3734b74b4595da76bcc5f9aa33381e9c405ff546";><code>3734b74</code></a>
 revert: feat: expose current offset to allow deduplication</li>
   <li><a 
href="https://github.com/socketio/socket.io/commit/8aa94991cee5518567d6254eec04b23f81510257";><code>8aa9499</code></a>
 feat: add description to the disconnecting and disconnect events (<a 
href="https://redirect.github.com/socketio/socket.io/issues/4622";>#4622</a>)</li>
   <li>Additional commits viewable in <a 
href="https://github.com/socketio/socket.io/compare/4.5.1...4.6.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 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/apache/flink/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: issues-unsubscr...@flink.apache.org

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

Reply via email to