Packages

socket.io

4.8.4 · 25 Sep 2026MIT16.6M / weekRepositoryHomepagenpmAtom feed

Your version

4.1.0

11 May 2021Where it was published

4.8.4 is the newest release of 4.x.

In short

4 new1 faster

Security

1 advisory affects 4.1.0; 4.6.2 fixes them

Release note

The section about socket.io of a note shared by several packages.

Features

  • Add support for inter-server communication

  • Notify upon namespace creation

  • Add a "connection_error" event (7096e98, from engine.io)

  • Add the "initial_headers" and "headers" events (2527543, from engine.io)

Performance Improvements

  • Add support for the "wsPreEncoded" writing option