Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade socket.io-client from 4.4.1 to 4.5.2 #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

snyk-bot
Copy link
Contributor

Snyk has created this PR to upgrade socket.io-client from 4.4.1 to 4.5.2.

merge advice
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 3 versions ahead of your current version.
  • The recommended version was released 25 days ago, on 2022-09-02.
Release notes
Package name: socket.io-client
  • 4.5.2 - 2022-09-02

    Bug Fixes

    • handle ill-formatted packet from server (c597023)

    Links:

    Size of the bundles:

    min min+gzip
    socket.io.min.js 42.6 KB (-) 13.6 KB (-)
    socket.io.msgpack.min.js 47.7 KB (-) 14.6 KB (-)
    socket.io.esm.min.js 34.5 KB (-) 11.5 KB (-)
  • 4.5.1 - 2022-05-17

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

    Links:

    Size of the bundles:

    min min+gzip
    socket.io.min.js 42.6 KB (-) 13.6 KB (-)
    socket.io.msgpack.min.js 47.7 KB (-) 14.6 KB (-)
    socket.io.esm.min.js 34.5 KB (-) 11.5 KB (-)
  • 4.5.0 - 2022-04-23

    Features

    • add details to the disconnect event (b862924)

    The "disconnect" event will now include additional details to help debugging if anything has gone wrong.

    Example when a payload is over the maxHttpBufferSize value in HTTP long-polling mode:

    socket.on("disconnect", (reason, details) => {
    console.log(reason); // "transport error"

    // in that case, details is an error object
    console.log(details.message); "xhr post error"
    console.log(details.description); // 413 (the HTTP status of the response)

    // details.context refers to the XMLHttpRequest object
    console.log(details.context.status); // 413
    console.log(details.context.responseText); // ""
    });

    • add support for catch-all listeners for outgoing packets (74e3e60)

    This is similar to onAny(), but for outgoing packets.

    Syntax:

    socket.onAnyOutgoing((event, ...args) => {
      console.log(event);
    });
    • slice write buffer according to the maxPayload value (46fdc2f)

    The server will now include a "maxPayload" field in the handshake details, allowing the clients to decide how many packets they have to send to stay under the maxHttpBufferSize value.

    Links:

    Size of the bundles:

    min min+gzip
    socket.io.min.js 42.6 KB (+ 2.2 KB ⬆️) 13.6 KB (+ 0.5 KB ⬆️)
    socket.io.msgpack.min.js 47.7 KB (+ 2.1 KB ⬆️) 14.6 KB (+ 0.4 KB ⬆️)
    socket.io.esm.min.js 34.5 KB (+ 1.4 KB ⬆️) 11.5 KB (+ 0.2 KB ⬆️)
  • 4.4.1 - 2022-01-06

    This release only contains minor changes. Please see the diff for more details.

    Links:

    • Diff: 4.4.0...4.4.1
    • Server release: 4.4.1
    • engine.io-client version: ~6.1.1
    • ws version: ~8.2.3

    Size of the bundles:

    min min+gzip
    socket.io.min.js 40.4 KB (-) 13.1 KB (-)
    socket.io.msgpack.min.js 45.6 KB (-) 14.2 KB (-)
    socket.io.esm.min.js 33.1 KB (-) 11.3 KB (-)
from socket.io-client GitHub release notes
Commit messages
Package name: socket.io-client
  • 2d70813 chore(release): 4.5.2
  • c597023 fix: handle ill-formatted packet from server
  • 8c659bc chore: regenerate lockfile
  • f0350a0 chore(release): 4.5.1
  • abdba07 chore(release): 4.5.0
  • faf68a5 chore: update default label for bug reports
  • c0ba734 chore: add Node.js 16 in the test matrix
  • e859018 refactor: replace the disconnected attribute by a getter
  • 74e3e60 feat: add support for catch-all listeners for outgoing packets
  • 692d54e chore: point the CI badge towards the main branch
  • 6fdf3c9 refactor: import single-file 3rd party modules
  • b862924 feat: add details to the disconnect event
  • eaf782c docs: remove broken badges

Compare


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant