webtorrent
Advanced tools
Comparing version 2.3.2 to 2.3.3
@@ -219,3 +219,4 @@ # Authors | ||
- Parsa Yazdani (parsa@yazdani.au) | ||
- Todd Tanner (lostit1278@gmail.com) | ||
#### Generated by scripts/update-authors.sh. |
@@ -294,2 +294,3 @@ /*! webtorrent. MIT License. WebTorrent LLC <https://webtorrent.io/opensource> */ | ||
this.emit('add', torrent) | ||
return torrent | ||
@@ -415,3 +416,5 @@ } | ||
if (typeof opts === 'function') return this._remove(torrent, null, opts) | ||
this.torrents.splice(this.torrents.indexOf(torrent), 1) | ||
const index = this.torrents.indexOf(torrent) | ||
if (index === -1) return | ||
this.torrents.splice(index, 1) | ||
torrent.destroy(opts, cb) | ||
@@ -421,2 +424,3 @@ if (this.dht) { | ||
} | ||
this.emit('remove', torrent) | ||
} | ||
@@ -423,0 +427,0 @@ |
{ | ||
"name": "webtorrent", | ||
"description": "Streaming torrent client", | ||
"version": "2.3.2", | ||
"version": "2.3.3", | ||
"author": { | ||
@@ -52,3 +52,3 @@ "name": "WebTorrent LLC", | ||
"cross-fetch-ponyfill": "^1.0.3", | ||
"debug": "^4.3.4", | ||
"debug": "^4.3.5", | ||
"escape-html": "^1.0.3", | ||
@@ -55,0 +55,0 @@ "fs-chunk-store": "^4.1.0", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5979922
8533
Updateddebug@^4.3.5