download-github-repo
Advanced tools
Comparing version 0.1.3 to 0.1.4
10
index.js
@@ -19,11 +19,7 @@ var wget = require('download'); | ||
var url = github(normalize(repo)); | ||
var dl = wget(url, dest, { extract: true, strip: 1 }); | ||
dl.on('error', function(err){ | ||
wget(url, dest, { extract: true, strip: 1 }).then(function () { | ||
fn(); | ||
}).catch(function(err) { | ||
fn(err); | ||
}); | ||
dl.on('close', function(){ | ||
fn(); | ||
}); | ||
} | ||
@@ -30,0 +26,0 @@ |
{ | ||
"name": "download-github-repo", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"license": "MIT", | ||
@@ -17,3 +17,3 @@ "repository": "git://github.com/ianstormtaylor/download-github-repo", | ||
"dependencies": { | ||
"download": "^0.1.11" | ||
"download": "^6.2.5" | ||
}, | ||
@@ -28,2 +28,2 @@ "devDependencies": { | ||
} | ||
} | ||
} |
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
3751
13
81
+ Addedbase64-js@1.5.1(transitive)
+ Addedbl@1.2.3(transitive)
+ Addedbuffer@5.7.1(transitive)
+ Addedbuffer-alloc@1.2.0(transitive)
+ Addedbuffer-alloc-unsafe@1.1.0(transitive)
+ Addedbuffer-crc32@0.2.13(transitive)
+ Addedbuffer-fill@1.0.0(transitive)
+ Addedcaw@2.0.1(transitive)
+ Addedcommander@2.20.3(transitive)
+ Addedconfig-chain@1.1.13(transitive)
+ Addedcontent-disposition@0.5.4(transitive)
+ Addeddecompress@4.2.1(transitive)
+ Addeddecompress-response@3.3.0(transitive)
+ Addeddecompress-tar@4.1.1(transitive)
+ Addeddecompress-tarbz2@4.1.1(transitive)
+ Addeddecompress-targz@4.1.1(transitive)
+ Addeddecompress-unzip@4.0.1(transitive)
+ Addeddownload@6.2.5(transitive)
+ Addedduplexer3@0.1.5(transitive)
+ Addedend-of-stream@1.4.4(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedext-list@2.2.2(transitive)
+ Addedext-name@5.0.0(transitive)
+ Addedfd-slicer@1.1.0(transitive)
+ Addedfile-type@3.9.05.2.06.2.0(transitive)
+ Addedfilename-reserved-regex@2.0.0(transitive)
+ Addedfilenamify@2.1.0(transitive)
+ Addedfs-constants@1.0.0(transitive)
+ Addedget-proxy@2.1.0(transitive)
+ Addedget-stream@2.3.13.0.0(transitive)
+ Addedgot@7.1.0(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedhas-symbol-support-x@1.4.2(transitive)
+ Addedhas-to-string-tag-x@1.4.1(transitive)
+ Addedieee754@1.2.1(transitive)
+ Addedini@1.3.8(transitive)
+ Addedis-natural-number@4.0.1(transitive)
+ Addedis-object@1.0.2(transitive)
+ Addedis-plain-obj@1.1.0(transitive)
+ Addedis-retry-allowed@1.2.0(transitive)
+ Addedis-stream@1.1.0(transitive)
+ Addedisarray@1.0.0(transitive)
+ Addedisurl@1.0.0(transitive)
+ Addedlowercase-keys@1.0.1(transitive)
+ Addedmake-dir@1.3.0(transitive)
+ Addedmime-db@1.53.0(transitive)
+ Addedmimic-response@1.0.1(transitive)
+ Addednpm-conf@1.1.3(transitive)
+ Addedobject-assign@4.1.1(transitive)
+ Addedp-cancelable@0.3.0(transitive)
+ Addedp-event@1.3.0(transitive)
+ Addedp-finally@1.0.0(transitive)
+ Addedp-timeout@1.2.1(transitive)
+ Addedpend@1.2.0(transitive)
+ Addedpify@2.3.03.0.0(transitive)
+ Addedpinkie@2.0.4(transitive)
+ Addedpinkie-promise@2.0.1(transitive)
+ Addedprepend-http@1.0.4(transitive)
+ Addedprocess-nextick-args@2.0.1(transitive)
+ Addedproto-list@1.2.4(transitive)
+ Addedreadable-stream@2.3.8(transitive)
+ Addedsafe-buffer@5.1.2(transitive)
+ Addedseek-bzip@1.0.6(transitive)
+ Addedsort-keys@1.1.2(transitive)
+ Addedsort-keys-length@1.0.1(transitive)
+ Addedstring_decoder@1.1.1(transitive)
+ Addedstrip-dirs@2.1.0(transitive)
+ Addedstrip-outer@1.0.1(transitive)
+ Addedtar-stream@1.6.2(transitive)
+ Addedthrough@2.3.8(transitive)
+ Addedtimed-out@4.0.1(transitive)
+ Addedto-buffer@1.1.1(transitive)
+ Addedtrim-repeated@1.0.0(transitive)
+ Addedunbzip2-stream@1.4.3(transitive)
+ Addedurl-parse-lax@1.0.0(transitive)
+ Addedurl-to-options@1.0.1(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addedxtend@4.0.2(transitive)
+ Addedyauzl@2.10.0(transitive)
- Removedabbrev@1.1.1(transitive)
- Removedadm-zip@0.4.16(transitive)
- Removedajv@6.12.6(transitive)
- Removedasn1@0.2.6(transitive)
- Removedassert-plus@1.0.0(transitive)
- Removedasynckit@0.4.0(transitive)
- Removedaws-sign2@0.7.0(transitive)
- Removedaws4@1.13.2(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbcrypt-pbkdf@1.0.2(transitive)
- Removedblock-stream@0.0.9(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedcaseless@0.12.0(transitive)
- Removedcombined-stream@1.0.8(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedcore-util-is@1.0.2(transitive)
- Removeddashdash@1.14.1(transitive)
- Removeddecompress@0.2.5(transitive)
- Removeddelayed-stream@1.0.0(transitive)
- Removeddownload@0.1.19(transitive)
- Removedduplexer@0.1.2(transitive)
- Removedeach-async@0.1.3(transitive)
- Removedecc-jsbn@0.1.2(transitive)
- Removedext-list@0.2.0(transitive)
- Removedext-name@1.0.1(transitive)
- Removedextend@3.0.2(transitive)
- Removedextsprintf@1.3.0(transitive)
- Removedfast-deep-equal@3.1.3(transitive)
- Removedfast-json-stable-stringify@2.1.0(transitive)
- Removedforever-agent@0.6.1(transitive)
- Removedform-data@2.3.3(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedfstream@0.1.31(transitive)
- Removedget-stdin@0.1.0(transitive)
- Removedget-urls@0.1.2(transitive)
- Removedgetpass@0.1.7(transitive)
- Removedglob@7.2.3(transitive)
- Removedgot@0.2.0(transitive)
- Removedgraceful-fs@3.0.12(transitive)
- Removedhar-schema@2.0.0(transitive)
- Removedhar-validator@5.1.5(transitive)
- Removedhttp-signature@1.2.0(transitive)
- Removedinflight@1.0.6(transitive)
- Removedis-typedarray@1.0.0(transitive)
- Removedisarray@0.0.1(transitive)
- Removedisstream@0.1.2(transitive)
- Removedjsbn@0.1.1(transitive)
- Removedjson-schema@0.4.0(transitive)
- Removedjson-schema-traverse@0.4.1(transitive)
- Removedjson-stringify-safe@5.0.1(transitive)
- Removedjsprim@1.4.2(transitive)
- Removedmime-db@1.52.0(transitive)
- Removedmime-types@2.1.35(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedminimist@1.2.8(transitive)
- Removedmkdirp@0.3.50.5.6(transitive)
- Removednatives@1.1.6(transitive)
- Removednopt@2.2.1(transitive)
- Removedoauth-sign@0.9.0(transitive)
- Removedobject-assign@0.3.1(transitive)
- Removedobject-keys@0.4.0(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedperformance-now@2.1.0(transitive)
- Removedpsl@1.10.0(transitive)
- Removedpunycode@2.3.1(transitive)
- Removedqs@6.5.3(transitive)
- Removedreadable-stream@1.0.34(transitive)
- Removedrequest@2.88.2(transitive)
- Removedrimraf@2.7.1(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedsshpk@1.18.0(transitive)
- Removedstream-combiner@0.0.4(transitive)
- Removedstring_decoder@0.10.31(transitive)
- Removedtar@0.1.20(transitive)
- Removedtempfile@0.1.3(transitive)
- Removedthrough2@0.4.2(transitive)
- Removedtough-cookie@2.5.0(transitive)
- Removedtweetnacl@0.14.5(transitive)
- Removedunderscore.string@2.3.3(transitive)
- Removeduri-js@4.4.1(transitive)
- Removeduuid@1.4.23.4.0(transitive)
- Removedverror@1.10.0(transitive)
- Removedxtend@2.1.2(transitive)
Updateddownload@^6.2.5