roytan883 / pomelo-rpc-ws

websocket rpc framework for pomelo
MIT License
12 stars 7 forks source link

update ws version #2

Closed dubanflorin closed 6 years ago

dubanflorin commented 6 years ago

Can you please update ws version because the current one has some security issues. https://nodesecurity.io/advisories/550

roytan883 commented 6 years ago

@dubanflorin Done, I updated ws to 3.3.1. Beware that I has not test it . So I hope you can give me some feedback if it can work. Thanks

roytan883 commented 6 years ago

@dubanflorin please use pomelo-rpc-ws@1.0.3 and pomelo-rt@1.1.1 also add process.EventEmitter = require('events'); at beginning

also you can use this demo: chat

dubanflorin commented 6 years ago

@roytan883 pomelo-rpc-ws@1.0.3 works for me

Thank you