build(peer-deps): use uws fork backport (#2782)

* build(peer-deps): uws backport

* chore: update to 149 for uws
This commit is contained in:
Crawl
2018-08-31 00:55:31 +02:00
committed by Isabella
parent da2d4d7230
commit 641ee86105
5 changed files with 6 additions and 5 deletions

View File

@@ -16,7 +16,7 @@ const erlpack = (function findErlpack() {
const WebSocket = (function findWebSocket() {
if (browser) return window.WebSocket; // eslint-disable-line no-undef
try {
return require('uws');
return require('@discordjs/uws');
} catch (e) {
return require('ws');
}