Socket
Socket
Sign inDemoInstall

download

Package Overview
Dependencies
206
Maintainers
3
Versions
70
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.1.4 to 4.2.0

6

index.js
'use strict';
var path = require('path');
var url = require('url');
var caw = require('caw');
var concatStream = require('concat-stream');

@@ -119,3 +121,5 @@ var decompress = require('gulp-decompress');

var stream = got(get.url, this.opts);
var protocol = url.parse(get.url).protocol;
var agent = caw(this.opts.proxy, {protocol: protocol});
var stream = got(get.url, objectAssign(this.opts, {agent: agent}));

@@ -122,0 +126,0 @@ stream.on('response', function (res) {

5

package.json
{
"name": "download",
"version": "4.1.4",
"version": "4.2.0",
"description": "Download and extract files",

@@ -8,4 +8,4 @@ "license": "MIT",

"author": {
"email": "kevinmartensson@gmail.com",
"name": "Kevin Mårtensson",
"email": "kevinmartensson@gmail.com",
"url": "github.com/kevva"

@@ -30,2 +30,3 @@ },

"dependencies": {
"caw": "^1.0.1",
"concat-stream": "^1.4.7",

@@ -32,0 +33,0 @@ "each-async": "^1.0.0",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc