bin-wrapper
Advanced tools
Comparing version 0.1.6 to 0.1.7
@@ -62,3 +62,3 @@ 'use strict'; | ||
this._download(this.url, this.dest, { mode: '0755', proxy: this.proxy }) | ||
.on('close', function () { | ||
.once('close', function () { | ||
return self._test(cmd, cb); | ||
@@ -89,3 +89,3 @@ }); | ||
get.on('close', function () { | ||
get.once('close', function () { | ||
exec(self.buildScript, { cwd: tmp }, function (err) { | ||
@@ -113,3 +113,3 @@ if (err) { | ||
get.on('response', function (res) { | ||
get.once('response', function (res) { | ||
var len = parseInt(res.headers['content-length'], 10); | ||
@@ -192,3 +192,3 @@ var bar = new ProgressBar(' ' + path.basename(src) + ': downloading [:bar] :percent :etas', { | ||
var platform = process.platform; | ||
var arch = process.arch === 'x64' ? 'x64' : 'x86'; | ||
var arch = process.arch === 'x64' ? 'x64' : process.arch === 'arm' ? 'arm' : 'x86'; | ||
var required = [ | ||
@@ -195,0 +195,0 @@ 'bin', |
{ | ||
"name": "bin-wrapper", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"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
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
7518