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

bin-wrapper

Package Overview
Dependencies
Maintainers
2
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bin-wrapper - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

8

bin-wrapper.js

@@ -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": [

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