Socket
Socket
Sign inDemoInstall

download

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

download - npm Package Compare versions

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 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc