Bump socket.io-client from 4.6.2 to 4.7.0 in /client #32

Merged
dependabot[bot] merged 1 commits from dependabot/npm_and_yarn/client/socket.io-client-4.7.0 into main 2023-06-23 13:04:42 +00:00
dependabot[bot] commented 2023-06-23 01:10:12 +00:00 (Migrated from github.com)

Bumps socket.io-client from 4.6.2 to 4.7.0.

Release notes

Sourced from socket.io-client's releases.

4.7.0

Bug Fixes

  • properly report timeout error when connecting (5bc94b5)
  • use same scope for setTimeout and clearTimeout calls (#1568) (f2892ab)

Features

Support for WebTransport

The Engine.IO client can now use WebTransport as the underlying transport.

WebTransport is a web API that uses the HTTP/3 protocol as a bidirectional transport. It's intended for two-way communications between a web client and an HTTP/3 server.

References:

For Node.js clients: until WebTransport support lands in Node.js, you can use the @fails-components/webtransport package:

import { WebTransport } from "@fails-components/webtransport";

global.WebTransport = WebTransport;

Added in 7195c0f.

Cookie management for the Node.js client

When setting the withCredentials option to true, the Node.js client will now include the cookies in the HTTP requests, making it easier to use it with cookie-based sticky sessions.

import { io } from "socket.io-client";

const socket = io("https://example.com", { withCredentials: true });

Added in 5fc88a6.

Conditional import of the ESM build with debug logs

By default, the ESM build does not include the debug package in the browser environments, because it increases the bundle size (see 16b6569).

Which means that, unfortunately, debug logs are not available in the devtools console, even when setting the localStorage.debug = ... attribute.

... (truncated)

Changelog

Sourced from socket.io-client's changelog.

4.7.0 (2023-06-22)

Bug Fixes

  • properly report timeout error when connecting (5bc94b5)
  • use same scope for setTimeout and clearTimeout calls (#1568) (f2892ab)

Features

Support for WebTransport

The Engine.IO client can now use WebTransport as the underlying transport.

WebTransport is a web API that uses the HTTP/3 protocol as a bidirectional transport. It's intended for two-way communications between a web client and an HTTP/3 server.

References:

For Node.js clients: until WebTransport support lands in Node.js, you can use the @fails-components/webtransport package:

import { WebTransport } from "@fails-components/webtransport";

global.WebTransport = WebTransport;

Added in 7195c0f.

Cookie management for the Node.js client

When setting the withCredentials option to true, the Node.js client will now include the cookies in the HTTP requests, making it easier to use it with cookie-based sticky sessions.

import { io } from "socket.io-client";

const socket = io("https://example.com", { withCredentials: true });

Added in 5fc88a6.

Conditional import of the ESM build with debug logs

By default, the ESM build does not include the debug package in the browser environments, because it increases the bundle size (see 16b6569).

... (truncated)

Commits
  • 9b235ec chore(release): 4.7.0
  • f2892ab fix: use same scope for setTimeout and clearTimeout calls (#1568)
  • 5bc94b5 fix: properly report timeout error when connecting
  • 781d753 feat: expose ESM build with debug (#1585)
  • 8f14b98 chore: bump engine.io-client to version 6.5.0
  • See full diff in compare view

Dependabot compatibility score

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 commands and options

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)
Bumps [socket.io-client](https://github.com/socketio/socket.io-client) from 4.6.2 to 4.7.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/socketio/socket.io-client/releases">socket.io-client's releases</a>.</em></p> <blockquote> <h2>4.7.0</h2> <h3>Bug Fixes</h3> <ul> <li>properly report timeout error when connecting (<a href="https://github.com/socketio/socket.io-client/commit/5bc94b56bc1788bab16d9d514d2c8abf3b1d8f87">5bc94b5</a>)</li> <li>use same scope for setTimeout and clearTimeout calls (<a href="https://redirect.github.com/socketio/socket.io-client/issues/1568">#1568</a>) (<a href="https://github.com/socketio/socket.io-client/commit/f2892aba0beeae7c9be930221655d7da6094c5f1">f2892ab</a>)</li> </ul> <h3>Features</h3> <h4>Support for WebTransport</h4> <p>The Engine.IO client can now use WebTransport as the underlying transport.</p> <p>WebTransport is a web API that uses the HTTP/3 protocol as a bidirectional transport. It's intended for two-way communications between a web client and an HTTP/3 server.</p> <p>References:</p> <ul> <li><a href="https://w3c.github.io/webtransport/">https://w3c.github.io/webtransport/</a></li> <li><a href="https://developer.mozilla.org/en-US/docs/Web/API/WebTransport">https://developer.mozilla.org/en-US/docs/Web/API/WebTransport</a></li> <li><a href="https://developer.chrome.com/articles/webtransport/">https://developer.chrome.com/articles/webtransport/</a></li> </ul> <p><strong>For Node.js clients</strong>: until WebTransport support lands <a href="https://redirect.github.com/nodejs/node/issues/38478">in Node.js</a>, you can use the <code>@fails-components/webtransport</code> package:</p> <pre lang="js"><code>import { WebTransport } from &quot;@fails-components/webtransport&quot;; <p>global.WebTransport = WebTransport; </code></pre></p> <p>Added in <a href="https://github.com/socketio/engine.io-client/commit/7195c0f305b482f7b1ca2ed812030caaf72c0906">7195c0f</a>.</p> <h4>Cookie management for the Node.js client</h4> <p>When setting the <code>withCredentials</code> option to <code>true</code>, the Node.js client will now include the cookies in the HTTP requests, making it easier to use it with cookie-based sticky sessions.</p> <pre lang="js"><code>import { io } from &quot;socket.io-client&quot;; <p>const socket = io(&quot;<a href="https://example.com">https://example.com</a>&quot;, { withCredentials: true }); </code></pre></p> <p>Added in <a href="https://github.com/socketio/engine.io-client/commit/5fc88a62d4017cdc144fa39b9755deadfff2db34">5fc88a6</a>.</p> <h4>Conditional import of the ESM build with debug logs</h4> <p>By default, the ESM build does not include the <code>debug</code> package in the browser environments, because it increases the bundle size (see <a href="https://github.com/socketio/socket.io-client/commit/16b65698aed766e1e645c78847f2e91bfc5b6f56">16b6569</a>).</p> <p>Which means that, unfortunately, debug logs are not available in the devtools console, even when setting the <code>localStorage.debug = ...</code> attribute.</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/socketio/socket.io-client/blob/main/CHANGELOG.md">socket.io-client's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/socketio/socket.io-client/compare/4.6.2...4.7.0">4.7.0</a> (2023-06-22)</h2> <h3>Bug Fixes</h3> <ul> <li>properly report timeout error when connecting (<a href="https://github.com/socketio/socket.io-client/commit/5bc94b56bc1788bab16d9d514d2c8abf3b1d8f87">5bc94b5</a>)</li> <li>use same scope for setTimeout and clearTimeout calls (<a href="https://redirect.github.com/socketio/socket.io-client/issues/1568">#1568</a>) (<a href="https://github.com/socketio/socket.io-client/commit/f2892aba0beeae7c9be930221655d7da6094c5f1">f2892ab</a>)</li> </ul> <h3>Features</h3> <h4>Support for WebTransport</h4> <p>The Engine.IO client can now use WebTransport as the underlying transport.</p> <p>WebTransport is a web API that uses the HTTP/3 protocol as a bidirectional transport. It's intended for two-way communications between a web client and an HTTP/3 server.</p> <p>References:</p> <ul> <li><a href="https://w3c.github.io/webtransport/">https://w3c.github.io/webtransport/</a></li> <li><a href="https://developer.mozilla.org/en-US/docs/Web/API/WebTransport">https://developer.mozilla.org/en-US/docs/Web/API/WebTransport</a></li> <li><a href="https://developer.chrome.com/articles/webtransport/">https://developer.chrome.com/articles/webtransport/</a></li> </ul> <p><strong>For Node.js clients</strong>: until WebTransport support lands <a href="https://redirect.github.com/nodejs/node/issues/38478">in Node.js</a>, you can use the <code>@fails-components/webtransport</code> package:</p> <pre lang="js"><code>import { WebTransport } from &quot;@fails-components/webtransport&quot;; <p>global.WebTransport = WebTransport; </code></pre></p> <p>Added in <a href="https://github.com/socketio/engine.io-client/commit/7195c0f305b482f7b1ca2ed812030caaf72c0906">7195c0f</a>.</p> <h4>Cookie management for the Node.js client</h4> <p>When setting the <code>withCredentials</code> option to <code>true</code>, the Node.js client will now include the cookies in the HTTP requests, making it easier to use it with cookie-based sticky sessions.</p> <pre lang="js"><code>import { io } from &quot;socket.io-client&quot;; <p>const socket = io(&quot;<a href="https://example.com">https://example.com</a>&quot;, { withCredentials: true }); </code></pre></p> <p>Added in <a href="https://github.com/socketio/engine.io-client/commit/5fc88a62d4017cdc144fa39b9755deadfff2db34">5fc88a6</a>.</p> <h4>Conditional import of the ESM build with debug logs</h4> <p>By default, the ESM build does not include the <code>debug</code> package in the browser environments, because it increases the bundle size (see <a href="https://github.com/socketio/socket.io-client/commit/16b65698aed766e1e645c78847f2e91bfc5b6f56">16b6569</a>).</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/socketio/socket.io-client/commit/9b235ec01d2ea7f1685b704bd2c5001597635f51"><code>9b235ec</code></a> chore(release): 4.7.0</li> <li><a href="https://github.com/socketio/socket.io-client/commit/f2892aba0beeae7c9be930221655d7da6094c5f1"><code>f2892ab</code></a> fix: use same scope for setTimeout and clearTimeout calls (<a href="https://redirect.github.com/socketio/socket.io-client/issues/1568">#1568</a>)</li> <li><a href="https://github.com/socketio/socket.io-client/commit/5bc94b56bc1788bab16d9d514d2c8abf3b1d8f87"><code>5bc94b5</code></a> fix: properly report timeout error when connecting</li> <li><a href="https://github.com/socketio/socket.io-client/commit/781d753a626d01e675056a2ff4e27f5dd599564f"><code>781d753</code></a> feat: expose ESM build with debug (<a href="https://redirect.github.com/socketio/socket.io-client/issues/1585">#1585</a>)</li> <li><a href="https://github.com/socketio/socket.io-client/commit/8f14b98fff4307057a53d9e2fbffccda192d24e6"><code>8f14b98</code></a> chore: bump engine.io-client to version 6.5.0</li> <li>See full diff in <a href="https://github.com/socketio/socket.io-client/compare/4.6.2...4.7.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=socket.io-client&package-manager=npm_and_yarn&previous-version=4.6.2&new-version=4.7.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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>
cloudflare-workers-and-pages[bot] commented 2023-06-23 01:11:12 +00:00 (Migrated from github.com)

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: a32d687
Status:   Deploy successful!
Preview URL: https://138fca69.powertools.pages.dev
Branch Preview URL: https://dependabot-npm-and-yarn-clie-vypr.powertools.pages.dev

View logs

## Deploying with &nbsp;<a href="https://pages.dev"><img alt="Cloudflare Pages" src="https://user-images.githubusercontent.com/23264/106598434-9e719e00-654f-11eb-9e59-6167043cfa01.png" width="16"></a> &nbsp;Cloudflare Pages <table><tr><td><strong>Latest commit:</strong> </td><td> <code>a32d687</code> </td></tr> <tr><td><strong>Status:</strong></td><td>&nbsp;✅&nbsp; Deploy successful!</td></tr> <tr><td><strong>Preview URL:</strong></td><td> <a href='https://138fca69.powertools.pages.dev'>https://138fca69.powertools.pages.dev</a> </td></tr> <tr><td><strong>Branch Preview URL:</strong></td><td> <a href='https://dependabot-npm-and-yarn-clie-vypr.powertools.pages.dev'>https://dependabot-npm-and-yarn-clie-vypr.powertools.pages.dev</a> </td></tr> </table> [View logs](https://dash.cloudflare.com/?to=/:account/pages/view/powertools/138fca69-f11a-4cea-b8f9-55e75aeca59b)
This repo is archived. You cannot comment on pull requests.
No description provided.