diff options
author | Christoph (Sheogorath) Kern | 2018-10-03 16:54:35 +0200 |
---|---|---|
committer | GitHub | 2018-10-03 16:54:35 +0200 |
commit | ae8fa41f92edb9464b95fa491683e9d55510b2b6 (patch) | |
tree | d33dba691dc0dc6709099471a41d677690247170 | |
parent | edcd8a23ff02fd6cdda3255cd5c4da8aa73ee8d7 (diff) | |
parent | 6b80626dca9bb7bdfffb899423d71b899fdbd9e9 (diff) |
Merge pull request #958 from SISheogorath/fix/uws
Replace `uws` with `ws` package
Diffstat (limited to '')
-rw-r--r-- | app.js | 2 | ||||
-rw-r--r-- | package.json | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -58,7 +58,7 @@ app.use(morgan('combined', { // socket io var io = require('socket.io')(server) -io.engine.ws = new (require('uws').Server)({ +io.engine.ws = new (require('ws').Server)({ noServer: true, perMessageDeflate: false }) diff --git a/package.json b/package.json index a6f935c5..6d461225 100644 --- a/package.json +++ b/package.json @@ -125,12 +125,12 @@ "to-markdown": "^3.0.3", "toobusy-js": "^0.5.1", "uuid": "^3.1.0", - "uws": "~0.14.1", "validator": "^10.4.0", "velocity-animate": "^1.4.0", "visibilityjs": "^1.2.4", "viz.js": "^1.7.0", "winston": "^2.3.0", + "ws": "^6.0.0", "xss": "^1.0.3" }, "engines": { @@ -212,5 +212,9 @@ "lib/ot", "public/vendor" ] + }, + "optionalDependencies": { + "bufferutil": "^4.0.0", + "utf-8-validate": "^5.0.1" } } |