Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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.0 to 0.2.1

11

index.js

@@ -20,2 +20,3 @@ 'use strict';

this.opts.encoding = null;
this.opts.mode = parseInt(this.opts.mode, 8) || null;
this.opts.proxy = process.env.HTTPS_PROXY ||

@@ -110,2 +111,12 @@ process.env.https_proxy ||

if (opts.mode) {
return fs.chmod(path.join(obj.dest, name), opts.mode, function (err) {
if (err) {
return done(err);
}
done();
});
}
done();

@@ -112,0 +123,0 @@ });

2

package.json
{
"name": "download",
"version": "0.2.0",
"version": "0.2.1",
"description": "Download and extract files effortlessly",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -60,3 +60,3 @@ # download [![Build Status](https://travis-ci.org/kevva/download.svg?branch=master)](https://travis-ci.org/kevva/download)

### extract
### extract

@@ -68,5 +68,12 @@ Type: `Boolean`

### strip
### mode
Type: `Number`
Default: `null`
Set mode on the downloaded file.
### strip
Type: `Number`
Default: `0`

@@ -73,0 +80,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