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

bin-wrapper

Package Overview
Dependencies
Maintainers
1
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.3 to 0.1.4

9

bin-wrapper.js

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

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