Hi ws team,
I've been using ws with node.js for a long time. I have noticed the later versions of ws are missing one of the import properties: upgradeReq, causing apps using it to fail.
Adding one line code at line 288 of websocket-server.js would fix it:
ws.upgradeReq = req;
Thanks
Dashan Chang