Comparing version 4.1.4 to 4.2.0
'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) { |
{ | ||
"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", |
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
8024
164
15
+ Addedcaw@^1.0.1
+ Addedcaw@1.2.0(transitive)
+ Addeddeep-extend@0.6.0(transitive)
+ Addedget-proxy@1.1.0(transitive)
+ Addedini@1.3.8(transitive)
+ Addedis-obj@1.0.1(transitive)
+ Addedrc@1.2.8(transitive)
+ Addedstrip-json-comments@2.0.1(transitive)
+ Addedtunnel-agent@0.4.3(transitive)