Comparing version 0.2.4 to 1.0.0
18
index.js
@@ -110,3 +110,4 @@ 'use strict'; | ||
if (res.statusCode < 200 || res.statusCode >= 300) { | ||
return cb(res.statusCode); | ||
cb(res.statusCode); | ||
return; | ||
} | ||
@@ -120,3 +121,4 @@ | ||
if (err) { | ||
return done(err); | ||
done(err); | ||
return; | ||
} | ||
@@ -130,3 +132,4 @@ | ||
if (err) { | ||
return done(err); | ||
done(err); | ||
return; | ||
} | ||
@@ -137,3 +140,4 @@ | ||
if (err) { | ||
return done(err); | ||
done(err); | ||
return; | ||
} | ||
@@ -151,3 +155,4 @@ | ||
if (err) { | ||
return cb(err); | ||
cb(err); | ||
return; | ||
} | ||
@@ -191,3 +196,4 @@ | ||
if (err) { | ||
return cb(err); | ||
cb(err); | ||
return; | ||
} | ||
@@ -194,0 +200,0 @@ |
{ | ||
"name": "download", | ||
"version": "0.2.4", | ||
"version": "1.0.0", | ||
"description": "Download and extract files effortlessly", | ||
@@ -29,6 +29,6 @@ "license": "MIT", | ||
"dependencies": { | ||
"decompress": "^0.3.0", | ||
"decompress": "^1.0.1", | ||
"each-async": "^1.0.0", | ||
"fs-extra": "^0.10.0", | ||
"object-assign": "^0.3.1", | ||
"fs-extra": "^0.11.0", | ||
"object-assign": "^1.0.0", | ||
"request": "^2.34.0", | ||
@@ -39,5 +39,5 @@ "ware": "^0.3.0" | ||
"mocha": "^1.21.4", | ||
"nock": "^0.27.1", | ||
"nock": "^0.44.3", | ||
"rimraf": "^2.2.5" | ||
} | ||
} |
@@ -7,3 +7,3 @@ # download [![Build Status](https://travis-ci.org/kevva/download.svg?branch=master)](https://travis-ci.org/kevva/download) | ||
```bash | ||
```sh | ||
$ npm install --save download | ||
@@ -10,0 +10,0 @@ ``` |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
167
1
7292
+ Addedabbrev@1.1.1(transitive)
+ Addedansi-regex@0.2.1(transitive)
+ Addedansi-styles@1.1.0(transitive)
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbrace-expansion@1.1.11(transitive)
+ Addedchalk@0.5.1(transitive)
+ Addedcommander@2.20.3(transitive)
+ Addedconcat-map@0.0.1(transitive)
+ Addeddecompress@1.0.7(transitive)
+ Addeddecompress-tar@1.0.3(transitive)
+ Addeddecompress-tarbz2@1.0.2(transitive)
+ Addeddecompress-targz@1.0.3(transitive)
+ Addeddecompress-unzip@1.0.0(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedfs-extra@0.11.1(transitive)
+ Addedfs.realpath@1.0.0(transitive)
+ Addedfstream@1.0.12(transitive)
+ Addedget-stdin@3.0.2(transitive)
+ Addedglob@7.2.3(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedhas-ansi@0.1.0(transitive)
+ Addedinflight@1.0.6(transitive)
+ Addedis-absolute@0.1.7(transitive)
+ Addedis-bzip2@1.0.0(transitive)
+ Addedis-finite@1.1.0(transitive)
+ Addedis-gzip@1.0.0(transitive)
+ Addedis-integer@1.0.7(transitive)
+ Addedis-relative@0.1.3(transitive)
+ Addedis-tar@1.0.0(transitive)
+ Addedjsonfile@2.4.0(transitive)
+ Addedminimatch@3.1.2(transitive)
+ Addedncp@0.6.0(transitive)
+ Addednopt@3.0.6(transitive)
+ Addedobject-assign@1.0.0(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedos-tmpdir@1.0.2(transitive)
+ Addedpath-is-absolute@1.0.1(transitive)
+ Addedrimraf@2.7.1(transitive)
+ Addedseek-bzip@1.0.6(transitive)
+ Addedstrip-ansi@0.3.0(transitive)
+ Addedstrip-dirs@0.1.1(transitive)
+ Addedsupports-color@0.2.0(transitive)
+ Addedtar@1.0.3(transitive)
+ Addedtemp-write@1.1.2(transitive)
+ Addeduuid@2.0.3(transitive)
+ Addedwrappy@1.0.2(transitive)
- Removedarchive-type@0.1.4(transitive)
- Removeddecompress@0.3.3(transitive)
- Removeddecompress-tar@0.1.1(transitive)
- Removeddecompress-targz@0.1.1(transitive)
- Removeddecompress-unzip@0.1.2(transitive)
- Removedfs-extra@0.10.00.8.1(transitive)
- Removedfstream@0.1.31(transitive)
- Removedget-stdin@1.0.0(transitive)
- Removedgraceful-fs@3.0.12(transitive)
- Removedis-7zip@0.1.0(transitive)
- Removedis-bzip2@0.1.0(transitive)
- Removedis-gzip@0.1.0(transitive)
- Removedis-rar@0.1.0(transitive)
- Removedis-tar@0.1.1(transitive)
- Removedjsonfile@1.1.11.2.0(transitive)
- Removedmkdirp@0.3.5(transitive)
- Removednatives@1.1.6(transitive)
- Removedncp@0.4.20.5.1(transitive)
- Removedobject-assign@0.3.1(transitive)
- Removedread-chunk@0.1.0(transitive)
- Removedrimraf@2.2.8(transitive)
- Removedtar@0.1.20(transitive)
- Removedtemp-write@0.3.1(transitive)
- Removeduuid@1.4.2(transitive)
- Removedware@0.2.1(transitive)
Updateddecompress@^1.0.1
Updatedfs-extra@^0.11.0
Updatedobject-assign@^1.0.0