Comparing version 1.0.3 to 1.0.5
16
index.js
@@ -0,1 +1,2 @@ | ||
const WebTorrent = require('webtorrent') | ||
const fs = require('fs-extra') | ||
@@ -45,16 +46,3 @@ const path = require('path') | ||
if(!finalOpts.webtorrent){ | ||
throw new Error('need an instance of webtorrent') | ||
} | ||
this.webtorrent = finalOpts.webtorrent | ||
// this.webtorrent = (() => { | ||
// if(finalOpts.webtorrent){ | ||
// return finalOpts.webtorrent | ||
// } else { | ||
// const WebTorrent = require('webtorrent') | ||
// return new WebTorrent({ dht: { verify: ed.verify } }) | ||
// } | ||
// })(finalOpts) | ||
this.webtorrent = new WebTorrent({ dht: { verify: ed.verify } }) | ||
@@ -61,0 +49,0 @@ this.webtorrent.on('error', error => { |
{ | ||
"name": "torrentz", | ||
"version": "1.0.3", | ||
"version": "1.0.5", | ||
"description": "", | ||
@@ -17,4 +17,5 @@ "main": "index.js", | ||
"fs-extra": "^10.1.0", | ||
"simple-sha1": "^3.1.0" | ||
"simple-sha1": "^3.1.0", | ||
"webtorrent": "^1.8.16" | ||
} | ||
} |
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
25149
6
588
+ Addedwebtorrent@^1.8.16
+ Added@webtorrent/http-node@1.3.0(transitive)
+ Addedaddr-to-ip-port@1.5.4(transitive)
+ Addedb4a@1.6.6(transitive)
+ Addedbare-events@2.4.2(transitive)
+ Addedbase64-js@1.5.1(transitive)
+ Addedbep53-range@1.1.1(transitive)
+ Addedbinary-search@1.3.6(transitive)
+ Addedbitfield@4.2.0(transitive)
+ Addedbittorrent-dht@10.0.7(transitive)
+ Addedbittorrent-lsd@1.1.1(transitive)
+ Addedbittorrent-peerid@1.3.6(transitive)
+ Addedbittorrent-protocol@3.5.5(transitive)
+ Addedbittorrent-tracker@9.19.0(transitive)
+ Addedblob-to-buffer@1.2.9(transitive)
+ Addedblock-iterator@1.1.1(transitive)
+ Addedblock-stream2@2.1.0(transitive)
+ Addedbn.js@5.2.1(transitive)
+ Addedbrowserify-package-json@1.0.1(transitive)
+ Addedbuffer@6.0.3(transitive)
+ Addedbuffer-alloc@1.2.0(transitive)
+ Addedbuffer-alloc-unsafe@1.1.0(transitive)
+ Addedbuffer-fill@1.0.0(transitive)
+ Addedbufferutil@4.0.8(transitive)
+ Addedcache-chunk-store@3.2.2(transitive)
+ Addedchrome-dgram@3.0.6(transitive)
+ Addedchrome-dns@1.0.1(transitive)
+ Addedchrome-net@3.3.4(transitive)
+ Addedchunk-store-stream@4.3.0(transitive)
+ Addedclone@2.1.2(transitive)
+ Addedcompact2string@1.4.1(transitive)
+ Addedcpus@1.0.3(transitive)
+ Addedcreate-torrent@5.0.9(transitive)
+ Addeddebug@4.3.7(transitive)
+ Addeddecompress-response@6.0.0(transitive)
+ Addedend-of-stream@1.4.4(transitive)
+ Addederr-code@3.0.1(transitive)
+ Addedescape-html@1.0.3(transitive)
+ Addedevents@3.3.0(transitive)
+ Addedfast-blob-stream@1.1.1(transitive)
+ Addedfast-fifo@1.3.2(transitive)
+ Addedfast-readable-async-iterator@1.1.2(transitive)
+ Addedfreelist@1.0.3(transitive)
+ Addedfs-chunk-store@3.0.1(transitive)
+ Addedget-browser-rtc@1.1.0(transitive)
+ Addedget-stdin@8.0.0(transitive)
+ Addedhttp-parser-js@0.4.13(transitive)
+ Addedieee754@1.2.1(transitive)
+ Addedimmediate-chunk-store@2.2.0(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedip@1.1.9(transitive)
+ Addedip-address@9.0.5(transitive)
+ Addedip-set@2.1.0(transitive)
+ Addedipaddr.js@2.2.0(transitive)
+ Addedis-ascii@1.0.0(transitive)
+ Addedis-file@1.0.0(transitive)
+ Addedjoin-async-iterator@1.1.1(transitive)
+ Addedjsbn@1.1.0(transitive)
+ Addedjunk@3.1.0(transitive)
+ Addedk-bucket@5.1.0(transitive)
+ Addedk-rpc@5.1.0(transitive)
+ Addedk-rpc-socket@1.11.1(transitive)
+ Addedlast-one-wins@1.0.4(transitive)
+ Addedlimiter@1.1.5(transitive)
+ Addedload-ip-set@2.2.1(transitive)
+ Addedlru@3.1.0(transitive)
+ Addedlt_donthave@1.0.1(transitive)
+ Addedmagnet-uri@6.2.0(transitive)
+ Addedmediasource@2.4.0(transitive)
+ Addedmemory-chunk-store@1.3.5(transitive)
+ Addedmime@3.0.0(transitive)
+ Addedmimic-response@3.1.0(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedmkdirp-classic@0.5.3(transitive)
+ Addedmp4-box-encoding@1.4.1(transitive)
+ Addedmp4-stream@3.1.3(transitive)
+ Addedms@2.1.3(transitive)
+ Addednetmask@2.0.2(transitive)
+ Addednext-event@1.0.0(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedpackage-json-versionify@1.0.4(transitive)
+ Addedparse-torrent@9.1.5(transitive)
+ Addedpiece-length@2.0.1(transitive)
+ Addedpump@3.0.2(transitive)
+ Addedqueue-tick@1.0.1(transitive)
+ Addedrandom-access-file@2.2.1(transitive)
+ Addedrandom-access-storage@1.4.3(transitive)
+ Addedrandom-iterate@1.0.1(transitive)
+ Addedrandombytes@2.1.0(transitive)
+ Addedrange-parser@1.2.1(transitive)
+ Addedrange-slice-stream@2.0.0(transitive)
+ Addedrc4@0.1.5(transitive)
+ Addedreadable-stream@3.6.2(transitive)
+ Addedrecord-cache@1.2.0(transitive)
+ Addedrender-media@4.1.0(transitive)
+ Addedrun-parallel@1.2.0(transitive)
+ Addedrun-parallel-limit@1.1.0(transitive)
+ Addedrun-series@1.1.9(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedsimple-concat@1.0.1(transitive)
+ Addedsimple-get@4.0.1(transitive)
+ Addedsimple-peer@9.11.1(transitive)
+ Addedsimple-websocket@9.1.0(transitive)
+ Addedsmart-buffer@4.2.0(transitive)
+ Addedsocks@2.8.3(transitive)
+ Addedspeed-limiter@1.0.2(transitive)
+ Addedspeedometer@1.1.0(transitive)
+ Addedsplit@1.0.1(transitive)
+ Addedsprintf-js@1.1.3(transitive)
+ Addedstream-to-blob@2.0.1(transitive)
+ Addedstream-to-blob-url@3.0.2(transitive)
+ Addedstream-with-known-length-to-buffer@1.0.4(transitive)
+ Addedstreamx@2.20.1(transitive)
+ Addedstring2compact@1.3.2(transitive)
+ Addedstring_decoder@1.3.0(transitive)
+ Addedtext-decoder@1.2.0(transitive)
+ Addedthirty-two@1.0.2(transitive)
+ Addedthrough@2.3.8(transitive)
+ Addedthroughput@1.0.1(transitive)
+ Addedthunky@1.1.0(transitive)
+ Addedtimeout-refresh@1.0.3(transitive)
+ Addedto-arraybuffer@1.0.1(transitive)
+ Addedtorrent-discovery@9.4.15(transitive)
+ Addedtorrent-piece@2.0.1(transitive)
+ Addeduint64be@2.0.2(transitive)
+ Addedunordered-array-remove@1.0.2(transitive)
+ Addedunordered-set@2.0.1(transitive)
+ Addedut_metadata@3.5.2(transitive)
+ Addedut_pex@3.0.2(transitive)
+ Addedutf-8-validate@5.0.10(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addedutp-native@2.5.3(transitive)
+ Addedvideostream@3.2.2(transitive)
+ Addedwebtorrent@1.9.7(transitive)
+ Addedwrappy@1.0.2(transitive)
+ Addedws@7.5.10(transitive)