Update index.js
Update index.js

Added missing hasOwnProperty check to for .. in loop.
socketio/socket.io-adapter,nkzawa/socket.io-adapter,Automattic/socket.io-adapter,darrachequesne/socket.io-adapter,ReikoR/socket.io-adapter,socketio/socket.io-adapter