From 140d23b72eaa0da14e3bb240b31a1c0314184b77 Mon Sep 17 00:00:00 2001 From: tharvik Date: Mon, 19 Feb 2024 15:33:16 +0100 Subject: [PATCH] iso-wrtc: use wrtc compatible with Apple M2 --- isomorphic-wrtc/node.js | 2 +- isomorphic-wrtc/package.json | 2 +- package-lock.json | 21 +-------------------- 3 files changed, 3 insertions(+), 22 deletions(-) diff --git a/isomorphic-wrtc/node.js b/isomorphic-wrtc/node.js index 51e5e6a99..f0f717dc8 100644 --- a/isomorphic-wrtc/node.js +++ b/isomorphic-wrtc/node.js @@ -1,3 +1,3 @@ "use strict"; -module.exports = require("wrtc"); +module.exports = require("@koush/wrtc"); diff --git a/isomorphic-wrtc/package.json b/isomorphic-wrtc/package.json index 4e3f56d70..fb491459e 100644 --- a/isomorphic-wrtc/package.json +++ b/isomorphic-wrtc/package.json @@ -8,6 +8,6 @@ "author": "", "license": "MIT", "peerDependencies": { - "wrtc": "*" + "@koush/wrtc": "*" } } diff --git a/package-lock.json b/package-lock.json index 1c27a1949..89baf9c9c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -94,7 +94,7 @@ "version": "1.0.0", "license": "MIT", "peerDependencies": { - "wrtc": "*" + "@koush/wrtc": "*" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -19819,25 +19819,6 @@ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" }, - "node_modules/wrtc": { - "version": "0.4.7", - "resolved": "https://registry.npmjs.org/wrtc/-/wrtc-0.4.7.tgz", - "integrity": "sha512-P6Hn7VT4lfSH49HxLHcHhDq+aFf/jd9dPY7lDHeFhZ22N3858EKuwm2jmnlPzpsRGEPaoF6XwkcxY5SYnt4f/g==", - "bundleDependencies": [ - "node-pre-gyp" - ], - "hasInstallScript": true, - "peer": true, - "dependencies": { - "node-pre-gyp": "^0.13.0" - }, - "engines": { - "node": "^8.11.2 || >=10.0.0" - }, - "optionalDependencies": { - "domexception": "^1.0.1" - } - }, "node_modules/ws": { "version": "8.16.0", "resolved": "https://registry.npmjs.org/ws/-/ws-8.16.0.tgz",