Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>2021-08-06 05:03:04 +0300
committerGitHub <noreply@github.com>2021-08-06 05:03:04 +0300
commit501fd9ed79d1127d74a29c47e230697ed372ba5e (patch)
treecfa28443db16091cd3490175003e7c4be781e0dd /index.js
parent52092078ef49ad83f1394502b3678551f9482b32 (diff)
fix(deps): update dependency create-torrent to v5 (#2165)
* fix(deps): update dependency create-torrent to v5 * Update index.js Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Diego Rodríguez Baquero <github@diegorbaquero.com>
Diffstat (limited to 'index.js')
-rw-r--r--index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.js b/index.js
index 81cac1b..cbca4d3 100644
--- a/index.js
+++ b/index.js
@@ -92,7 +92,7 @@ class WebTorrent extends EventEmitter {
if (this.tracker) {
if (typeof this.tracker !== 'object') this.tracker = {}
- if (global.WRTC && !this.tracker.wrtc) this.tracker.wrtc = global.WRTC
+ if (globalThis.WRTC && !this.tracker.wrtc) this.tracker.wrtc = globalThis.WRTC
}
if (typeof ConnPool === 'function') {