From 0e4f6cea6a4f8d1f860ded405a66f9fca9d93d96 Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Fri, 12 May 2023 16:43:04 +0200 Subject: Updated 5 files and added 29 files (automated) --- includes/external/pair/node_modules/ws/browser.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 includes/external/pair/node_modules/ws/browser.js (limited to 'includes/external/pair/node_modules/ws/browser.js') 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' + ); +}; -- cgit