Skip to content

Commit

Permalink
Update dependency socket.io-client to v4.7.5 (#23)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [socket.io-client](https://togithub.com/socketio/socket.io-client) |
[`4.6.0` ->
`4.7.5`](https://renovatebot.com/diffs/npm/socket.io-client/4.6.0/4.7.5)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/socket.io-client/4.7.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/socket.io-client/4.7.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/socket.io-client/4.6.0/4.7.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/socket.io-client/4.6.0/4.7.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>socketio/socket.io-client (socket.io-client)</summary>

###
[`v4.7.5`](https://togithub.com/socketio/socket.io-client/blob/HEAD/CHANGELOG.md#475-2024-03-14)

[Compare
Source](https://togithub.com/socketio/socket.io-client/compare/4.7.4...4.7.5)

##### Bug Fixes

- discard acknowledgements upon disconnection
([34cbfbb](https://togithub.com/socketio/socket.io-client/commit/34cbfbb532ae333f4dd034138e8f87cb80a8e382))

##### Dependencies

-
[`engine.io-client@~6.5.2`](https://togithub.com/socketio/engine.io-client/releases/tag/6.5.2)
(no change)
- [`ws@~8.11.0`](https://togithub.com/websockets/ws/releases/tag/8.11.0)
(no change)

###
[`v4.7.4`](https://togithub.com/socketio/socket.io-client/blob/HEAD/CHANGELOG.md#474-2024-01-12)

[Compare
Source](https://togithub.com/socketio/socket.io-client/compare/4.7.3...4.7.4)

There were some minor bug fixes on the server side, which mandate a
client bump.

##### Dependencies

-
[`engine.io-client@~6.5.2`](https://togithub.com/socketio/engine.io-client/releases/tag/6.5.2)
(no change)
- [`ws@~8.11.0`](https://togithub.com/websockets/ws/releases/tag/8.11.0)
(no change)

###
[`v4.7.3`](https://togithub.com/socketio/socket.io-client/blob/HEAD/CHANGELOG.md#473-2024-01-03)

[Compare
Source](https://togithub.com/socketio/socket.io-client/compare/4.7.2...4.7.3)

##### Bug Fixes

- improve compatibility with node16 module resolution
([#&#8203;1595](https://togithub.com/socketio/socket.io-client/issues/1595))
([605de78](https://togithub.com/socketio/socket.io-client/commit/605de78d2cd7303bf25d9e2146e2b707dbf63d4f))
- **typings:** accept string | undefined as init argument
([5a3eafe](https://togithub.com/socketio/socket.io-client/commit/5a3eafed1c4118ac3a06ec81a24491eec7d0655f))
- **typings:** fix the type of the socket#id attribute
([f9c16f2](https://togithub.com/socketio/socket.io-client/commit/f9c16f226512fc8a8df461e3a07e392720462165))

##### Dependencies

-
[`engine.io-client@~6.5.2`](https://togithub.com/socketio/engine.io-client/releases/tag/6.5.2)
(no change)
- [`ws@~8.11.0`](https://togithub.com/websockets/ws/releases/tag/8.11.0)
(no change)

###
[`v4.7.2`](https://togithub.com/socketio/socket.io-client/blob/HEAD/CHANGELOG.md#472-2023-08-02)

[Compare
Source](https://togithub.com/socketio/socket.io-client/compare/4.7.1...4.7.2)

Some bug fixes are included from the `engine.io-client` package:

- **webtransport:** add proper framing
([d55c39e](https://togithub.com/socketio/engine.io-client/commit/d55c39e0ed5cb7b3a34875a398efc111c91184f6))
- **webtransport:** honor the binaryType attribute
([8270e00](https://togithub.com/socketio/engine.io-client/commit/8270e00d5b865278d136a4d349b344cbc2b38dc5))

##### Dependencies

-
[`engine.io-client@~6.5.2`](https://togithub.com/socketio/engine.io-client/releases/tag/6.5.2)
([diff](https://togithub.com/socketio/engine.io-client/compare/6.5.1...6.5.2))
- [`ws@~8.11.0`](https://togithub.com/websockets/ws/releases/tag/8.11.0)
(no change)

###
[`v4.7.1`](https://togithub.com/socketio/socket.io-client/blob/HEAD/CHANGELOG.md#471-2023-06-28)

[Compare
Source](https://togithub.com/socketio/socket.io-client/compare/4.7.0...4.7.1)

Some bug fixes are included from the `engine.io-client` package:

- make closeOnBeforeunload default to false
([a63066b](https://togithub.com/socketio/engine.io-client/commit/a63066bdc8ae9e6746c3113d06c2ead78f4a4851))
- **webtransport:** properly handle abruptly closed connections
([cf6aa1f](https://togithub.com/socketio/engine.io-client/commit/cf6aa1f43c27a56c076bf26fddfce74bfeb65040))

##### Dependencies

-
[`engine.io-client@~6.5.1`](https://togithub.com/socketio/engine.io-client/releases/tag/6.5.1)
([diff](https://togithub.com/socketio/engine.io-client/compare/6.5.0...6.5.1))
- [`ws@~8.11.0`](https://togithub.com/websockets/ws/releases/tag/8.11.0)
(no change)

###
[`v4.7.0`](https://togithub.com/socketio/socket.io-client/blob/HEAD/CHANGELOG.md#470-2023-06-22)

[Compare
Source](https://togithub.com/socketio/socket.io-client/compare/4.6.2...4.7.0)

##### Bug Fixes

- properly report timeout error when connecting
([5bc94b5](https://togithub.com/socketio/socket.io-client/commit/5bc94b56bc1788bab16d9d514d2c8abf3b1d8f87))
- use same scope for setTimeout and clearTimeout calls
([#&#8203;1568](https://togithub.com/socketio/socket.io-client/issues/1568))
([f2892ab](https://togithub.com/socketio/socket.io-client/commit/f2892aba0beeae7c9be930221655d7da6094c5f1))

##### 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:

-   https://w3c.github.io/webtransport/
-   https://developer.mozilla.org/en-US/docs/Web/API/WebTransport
-   https://developer.chrome.com/articles/webtransport/

**For Node.js clients**: until WebTransport support lands [in
Node.js](https://togithub.com/nodejs/node/issues/38478), you can use the
`@fails-components/webtransport` package:

```js
import { WebTransport } from "@&#8203;fails-components/webtransport";

global.WebTransport = WebTransport;
```

Added in
[7195c0f](https://togithub.com/socketio/engine.io-client/commit/7195c0f305b482f7b1ca2ed812030caaf72c0906).

##### 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.

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

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

Added in
[5fc88a6](https://togithub.com/socketio/engine.io-client/commit/5fc88a62d4017cdc144fa39b9755deadfff2db34).

##### 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](https://togithub.com/socketio/socket.io-client/commit/16b65698aed766e1e645c78847f2e91bfc5b6f56)).

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

You can now import the build which includes the `debug` packages with a
[conditional
import](https://nodejs.org/api/packages.html#conditional-exports).
Example with vite:

```js
import { defineConfig } from 'vite'
import react from '@&#8203;vitejs/plugin-react'

export default defineConfig({
  plugins: [react()],
  server: {
    port: 4000
  },
  resolve: {
    conditions: ["development"]
  }
})
```

Reference: https://v2.vitejs.dev/config/#resolve-conditions

Added in
[781d753](https://togithub.com/socketio/socket.io-client/commit/781d753a626d01e675056a2ff4e27f5dd599564f).

##### Dependencies

-
[`engine.io-client@~6.5.0`](https://togithub.com/socketio/engine.io-client/releases/tag/6.5.0)
([diff](https://togithub.com/socketio/engine.io-client/compare/6.4.0...6.5.0))
- [`ws@~8.11.0`](https://togithub.com/websockets/ws/releases/tag/8.11.0)
(no change)

###
[`v4.6.2`](https://togithub.com/socketio/socket.io-client/blob/HEAD/CHANGELOG.md#462-2023-05-31)

[Compare
Source](https://togithub.com/socketio/socket.io-client/compare/4.6.1...4.6.2)

##### Bug Fixes

- **exports:** move `types` condition to the top
([#&#8203;1580](https://togithub.com/socketio/socket.io-client/issues/1580))
([7ead241](https://togithub.com/socketio/socket.io-client/commit/7ead241ecfd9f122db6789b5f2d11c04e9427953))

##### Dependencies

-
[`engine.io-client@~6.4.0`](https://togithub.com/socketio/engine.io-client/releases/tag/6.4.0)
(no change)
- [`ws@~8.11.0`](https://togithub.com/websockets/ws/releases/tag/8.11.0)
(no change)

###
[`v4.6.1`](https://togithub.com/socketio/socket.io-client/blob/HEAD/CHANGELOG.md#461-2023-02-20)

[Compare
Source](https://togithub.com/socketio/socket.io-client/compare/4.6.0...4.6.1)

##### Bug Fixes

- do not drain the queue while the socket is offline
([4996f9e](https://togithub.com/socketio/socket.io-client/commit/4996f9ee71074e2d62a0f8fa95fcf7d43e99615d))
- prevent duplicate connections when multiplexing
([46213a6](https://togithub.com/socketio/socket.io-client/commit/46213a647ea0d4453b00bca09268f69ffd259509))

##### Dependencies

-
[`engine.io-client@~6.4.0`](https://togithub.com/socketio/engine.io-client/releases/tag/6.4.0)
(no change)
- [`ws@~8.11.0`](https://togithub.com/websockets/ws/releases/tag/8.11.0)
(no change)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/realbrodiwhite/royalgames-client).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI2MS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
  • Loading branch information
realbrodiwhite committed Mar 21, 2024
2 parents 0f90036 + 38ad9d4 commit 56471e2
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 56471e2

Please sign in to comment.