mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
build(peer-deps): use uws fork backport (#2782)
* build(peer-deps): uws backport * chore: update to 149 for uws
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user