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
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>
-rw-r--r--index.js2
-rw-r--r--package.json2
2 files changed, 2 insertions, 2 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') {
diff --git a/package.json b/package.json
index d20817a..ec3ae54 100644
--- a/package.json
+++ b/package.json
@@ -44,7 +44,7 @@
"chrome-net": "^3.3.4",
"chunk-store-stream": "^4.3.0",
"cpus": "^1.0.3",
- "create-torrent": "^4.7.2",
+ "create-torrent": "^5.0.0",
"debug": "^4.3.2",
"end-of-stream": "^1.4.4",
"escape-html": "^1.0.3",