summaryrefslogtreecommitdiff
path: root/includes/external/pair/node_modules/ws/browser.js
diff options
context:
space:
mode:
authorRaindropsSys <contact@minteck.org>2023-05-12 16:43:04 +0200
committerRaindropsSys <contact@minteck.org>2023-05-12 16:43:04 +0200
commit0e4f6cea6a4f8d1f860ded405a66f9fca9d93d96 (patch)
treef8dcad460d9120442e23c8c567ba246eed39f71a /includes/external/pair/node_modules/ws/browser.js
parent761c84c0c17c04113608a20e8401270023741c7e (diff)
downloadpluralconnect-0e4f6cea6a4f8d1f860ded405a66f9fca9d93d96.tar.gz
pluralconnect-0e4f6cea6a4f8d1f860ded405a66f9fca9d93d96.tar.bz2
pluralconnect-0e4f6cea6a4f8d1f860ded405a66f9fca9d93d96.zip
Updated 5 files and added 29 files (automated)
Diffstat (limited to 'includes/external/pair/node_modules/ws/browser.js')
-rw-r--r--includes/external/pair/node_modules/ws/browser.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/includes/external/pair/node_modules/ws/browser.js b/includes/external/pair/node_modules/ws/browser.js
new file mode 100644
index 0000000..ca4f628
--- /dev/null
+++ b/includes/external/pair/node_modules/ws/browser.js
@@ -0,0 +1,8 @@
+'use strict';
+
+module.exports = function () {
+ throw new Error(
+ 'ws does not work in the browser. Browser clients must use the native ' +
+ 'WebSocket object'
+ );
+};