diff options
author | renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> | 2021-08-06 05:03:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-06 05:03:04 +0300 |
commit | 501fd9ed79d1127d74a29c47e230697ed372ba5e (patch) | |
tree | cfa28443db16091cd3490175003e7c4be781e0dd | |
parent | 52092078ef49ad83f1394502b3678551f9482b32 (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.js | 2 | ||||
-rw-r--r-- | package.json | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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", |