torrent-discovery
Advanced tools
Comparing version 9.1.0 to 9.1.1
const debug = require('debug')('torrent-discovery') | ||
const DHT = require('bittorrent-dht/client') // empty object in browser | ||
const EventEmitter = require('events').EventEmitter | ||
const extend = require('xtend') | ||
const parallel = require('run-parallel') | ||
@@ -63,3 +62,3 @@ const Tracker = require('bittorrent-tracker/client') | ||
} else if (opts.tracker && typeof opts.tracker === 'object') { | ||
this._trackerOpts = extend(opts.tracker) | ||
this._trackerOpts = Object.assign({}, opts.tracker) | ||
this.tracker = this._createTracker() | ||
@@ -146,3 +145,3 @@ } else { | ||
_createTracker () { | ||
const opts = extend(this._trackerOpts, { | ||
const opts = Object.assign({}, this._trackerOpts, { | ||
infoHash: this.infoHash, | ||
@@ -149,0 +148,0 @@ announce: this._announce, |
{ | ||
"name": "torrent-discovery", | ||
"description": "Discover BitTorrent and WebTorrent peers", | ||
"version": "9.1.0", | ||
"version": "9.1.1", | ||
"author": { | ||
@@ -20,4 +20,3 @@ "name": "WebTorrent, LLC", | ||
"debug": "^3.1.0", | ||
"run-parallel": "^1.1.2", | ||
"xtend": "^4.0.1" | ||
"run-parallel": "^1.1.2" | ||
}, | ||
@@ -24,0 +23,0 @@ "devDependencies": { |
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
4
11340
156
- Removedxtend@^4.0.1
- Removedxtend@4.0.2(transitive)