summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorSheogorath2018-09-17 23:59:50 +0200
committerSheogorath2018-09-18 00:02:23 +0200
commit6b80626dca9bb7bdfffb899423d71b899fdbd9e9 (patch)
tree4e5b67f8a8d541e86b45aafb9eeca96ec82fe841 /package.json
parentfe977434f9e90479c846f8bada2a6ce8df99e656 (diff)
Replace `uws` with `ws` package
`uws` was deprecated by its maintainer and starts to cause more and more problems and issue reports. So it's time to replace it and use a maintained project instead. Lucky us, `uws` and `ws` can be used in an identical way, without problems. To provide better performance, we install the optional packages as well. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
Diffstat (limited to 'package.json')
-rw-r--r--package.json6
1 files changed, 5 insertions, 1 deletions
diff --git a/package.json b/package.json
index b257a114..598cfe40 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": {
@@ -211,5 +211,9 @@
"lib/ot",
"public/vendor"
]
+ },
+ "optionalDependencies": {
+ "bufferutil": "^4.0.0",
+ "utf-8-validate": "^5.0.1"
}
}