Update to WS 6.x and fix all it broke

Significant update to the ws module to get it completely up to date.

The jump from 1.x to 6.x has required a rewrite of our WS handling. Most
specifically the means by which you can have multiple ws servers on a
single http server has completely changed; we now have to handle the
'upgrade' event on the server ourselves.
This commit is contained in:
Nick O'Leary
2019-01-08 16:21:36 +00:00
parent 201d1926bc
commit ed31a0cf15
4 changed files with 79 additions and 55 deletions

View File

@@ -70,7 +70,7 @@
"sentiment": "2.1.0",
"uglify-js": "3.4.9",
"when": "3.7.8",
"ws": "1.1.5",
"ws": "6.1.2",
"xml2js": "0.4.19"
},
"optionalDependencies": {