File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ app.use(morgan('combined', {
58
58
59
59
// socket io
60
60
var io = require ( 'socket.io' ) ( server )
61
- io . engine . ws = new ( require ( 'uws ' ) . Server ) ( {
61
+ io . engine . ws = new ( require ( 'ws ' ) . Server ) ( {
62
62
noServer : true ,
63
63
perMessageDeflate : false
64
64
} )
Original file line number Diff line number Diff line change 125
125
"to-markdown" : " ^3.0.3" ,
126
126
"toobusy-js" : " ^0.5.1" ,
127
127
"uuid" : " ^3.1.0" ,
128
- "uws" : " ~0.14.1" ,
129
128
"validator" : " ^10.4.0" ,
130
129
"velocity-animate" : " ^1.4.0" ,
131
130
"visibilityjs" : " ^1.2.4" ,
132
131
"viz.js" : " ^1.7.0" ,
133
132
"winston" : " ^2.3.0" ,
133
+ "ws" : " ^6.0.0" ,
134
134
"xss" : " ^1.0.3"
135
135
},
136
136
"engines" : {
212
212
" lib/ot" ,
213
213
" public/vendor"
214
214
]
215
+ },
216
+ "optionalDependencies" : {
217
+ "bufferutil" : " ^4.0.0" ,
218
+ "utf-8-validate" : " ^5.0.1"
215
219
}
216
220
}
You can’t perform that action at this time.
0 commit comments