bin-wrapper
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -30,2 +30,7 @@ 'use strict'; | ||
this.buildScript = this.opts.buildScript; | ||
this.proxy = process.env.http_proxy || | ||
process.env.HTTP_PROXY || | ||
process.env.https_proxy || | ||
process.env.HTTPS_PROXY || | ||
null; | ||
} | ||
@@ -61,3 +66,3 @@ | ||
download(this.url, this.dest, { mode: '0755' }).on('close', function () { | ||
download(this.url, this.dest, { mode: '0755', proxy: this.proxy }).on('close', function () { | ||
return self._test(cmd, cb); | ||
@@ -71,3 +76,3 @@ }); | ||
var tmp = path.join(tmpDir, this.name); | ||
var get = download(this.src, tmp, { extract: true, strip: '1' }); | ||
var get = download(this.src, tmp, { extract: true, strip: '1', proxy: this.proxy }); | ||
@@ -74,0 +79,0 @@ if (!cb || !mout.lang.isFunction(cb)) { |
{ | ||
"name": "bin-wrapper", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Binary wrapper for Node.js that makes your programs seamlessly available as local dependencies", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 4 instances 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
5813
134
6