about summary refs log tree commit diff
path: root/package.json
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2021-03-24 09:37:41 +0100
committerGitHub <noreply@github.com>2021-03-24 09:37:41 +0100
commit49814d579932496b52cd8f6a0194c21c21f83099 (patch)
treefd82dcd8897d97df06f49b81a16e863735351497 /package.json
parentc3aef491d66aec743a3a53e934a494f653745b61 (diff)
Switch from deprecated ClusterWS/cws to ws package (#15932)
* Switch from deprecated ClusterWS/cws to ws package

Fixes #15184

Co-authored-by: Edho Arief <me@nanaya.pro>

* Make bufferutil and utf-8-validate optional dependencies

Co-authored-by: Edho Arief <me@nanaya.pro>
Diffstat (limited to 'package.json')
-rw-r--r--package.json8
1 files changed, 6 insertions, 2 deletions
diff --git a/package.json b/package.json
index 1a6eb8001..a8896ecfb 100644
--- a/package.json
+++ b/package.json
@@ -67,7 +67,6 @@
     "@babel/preset-env": "^7.13.10",
     "@babel/preset-react": "^7.12.13",
     "@babel/runtime": "^7.13.10",
-    "@clusterws/cws": "^3.0.0",
     "@gamestdio/websocket": "^0.3.2",
     "@github/webauthn-json": "^0.5.7",
     "@rails/ujs": "^6.1.3",
@@ -169,7 +168,8 @@
     "webpack-bundle-analyzer": "^4.4.0",
     "webpack-cli": "^3.3.12",
     "webpack-merge": "^5.7.3",
-    "wicg-inert": "^3.1.1"
+    "wicg-inert": "^3.1.1",
+    "ws": "^7.4.4"
   },
   "devDependencies": {
     "@testing-library/jest-dom": "^5.11.9",
@@ -191,5 +191,9 @@
   },
   "resolutions": {
     "kind-of": "^6.0.3"
+  },
+  "optionalDependencies": {
+    "bufferutil": "^4.0.3",
+    "utf-8-validate": "^5.0.4"
   }
 }