Socket
Socket
Sign inDemoInstall

socket.io-client

Package Overview
Dependencies
11
Maintainers
2
Versions
127
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1245
13Next

4.3.1

Diff

Changelog

Source

4.3.1 (2021-10-15)

Bug Fixes

  • restore the default export (f0aae84)
  • restore the namespace export (8737d0a)
darrachequesne
published 4.3.0 •

Changelog

Source

4.3.0 (2021-10-14)

An ESM bundle is now provided:

<script type="module">
  import { io } from "https://cdn.socket.io/4.3.0/socket.io.esm.min.js";

  const socket = io();

  socket.emit("hello", "world");
</script>

Features

  • typings: add missing types for some emitter methods (#1502) (a9e5b85)
  • provide an ESM build with and without debug (16b6569)
  • migrate to rollup (0661564)
darrachequesne
published 4.2.0 •

Changelog

Source

4.2.0 (2021-08-30)

Bug Fixes

  • typings: allow async listener in typed events (66e00b7)
  • allow to set randomizationFactor to 0 (#1447) (dfb46b5)

Features

  • add an option to use native timer functions (#1479) (4e1b656)
darrachequesne
published 4.1.3 •

Changelog

Source

4.1.3 (2021-07-10)

darrachequesne
published 4.1.2 •

Changelog

Source

4.1.2 (2021-05-17)

Bug Fixes

  • typings: add missing closeOnBeforeunload option (#1469) (35d27df)
  • typings: add missing requestTimeout option (#1467) (c8dfbb1)
darrachequesne
published 4.1.1 •

Changelog

Source

4.1.1 (2021-05-11)

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

darrachequesne
published 4.1.0 •

Changelog

Source

4.1.0 (2021-05-11)

Features

  • add the "closeOnBeforeunload" option (dcb85e9, from engine.io-client)
darrachequesne
published 4.0.2 •

Changelog

Source

4.0.2 (2021-05-06)

Bug Fixes

  • typings: add fallback to untyped event listener (5394669)
  • ensure buffered events are sent in order (34f822f)
  • ensure connections are properly multiplexed (dd2a8fc)
  • properly export the Socket class (e20d487)
darrachequesne
published 4.0.1 •

Changelog

Source

4.0.1 (2021-03-31)

Bug Fixes

darrachequesne
published 3.1.3 •

Changelog

Source

3.1.3 (2021-03-12)

Bug Fixes

  • bundle: restore support for JS modules (afa7953)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc