socket.io
4.8.4 · 25 Sep 2026MIT16.6M / weekRepositoryHomepagenpmAtom feed
Upgrading socket.io from 4.0.1 to 4.6.2
19 releases in betweenevery note read
- 0
- changes to make
- 1
- advisory fixed
- 24
- new
- 24
- fixes
Security
Fixes 1 advisory affecting 4.0.1
- socket.io has an unhandled 'error' eventmoderate · GHSA-25hc-qcg6-38wj
- 4.5.4
engine.ioin order to fix CVE-2022-41940 - 4.5.4
socket.io-parserin order to fix CVE-2022-2421.
Release by release
- fixed
exports: move
typescondition to the top
- fixed
- fixed
Properly handle manually created dynamic namespaces
- fixed
types: fix nodenext module resolution compatibility
- fixed
- new
Add timeout method to remote socket
- new
emitWithAck() - new
serverSideEmitWithAck() - new
Id
- new
4.5.4nothing new or fixed in the note
- fixed
typings: accept an HTTP2 server in the constructor
- fixed
typings: apply types to "io.timeout(...).emit()" calls
- fixed
- fixed
Prevent the socket from joining a room after disconnection
- fixed
uws: prevent the server from crashing after upgrade
- fixed
- new
typings: add HTTPS server to accepted types
- fixed
Forward the local flag to the adapter when using fetchSockets()
- new
- fixed
typings: ensure compatibility with TypeScript 3.x
- fixed
16 internal lines (docs, tests, tooling) left out.