mirror of
https://github.com/socketio/socket.io.git
synced 2026-01-14 09:27:54 -05:00
Before this change, `require("socket.io").Socket` would return
"undefined".
Note: having access to the Socket class allows users to modify its
prototype.
Related: https://github.com/socketio/socket.io/issues/3726