Socket
Socket
Sign inDemoInstall

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.3.3 to 0.3.4

12

index.js

@@ -148,13 +148,3 @@ 'use strict';

if (self.opts.version) {
return binCheck(self.use(), ['--version'], function (err, works, msg) {
if (msg.indexOf(self.opts.version) !== -1) {
return cb(null, self.use());
}
cb('wrong version');
});
}
cb(null, self.use());
cb();
});

@@ -161,0 +151,0 @@ }

2

package.json
{
"name": "bin-wrapper",
"version": "0.3.3",
"version": "0.3.4",
"description": "Binary wrapper that makes your programs seamlessly available as local dependencies",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -15,3 +15,3 @@ # bin-wrapper [![Build Status](https://travis-ci.org/kevva/bin-wrapper.svg?branch=master)](https://travis-ci.org/kevva/bin-wrapper)

var BinWrapper = require('bin-wrapper');
var bin = new BinWrapper({ version: 1.80, global: true });
var bin = new BinWrapper({ global: true });

@@ -35,3 +35,3 @@ bin

```js
console.log(bin.use); // => path/to/vendor/jpegtran.exe
console.log(bin.use()); // => path/to/vendor/jpegtran.exe
```

@@ -43,4 +43,3 @@

Creates a new `BinWrapper` instance. Use the `version` option to define a specific
version and the `global` option to enable or disable global checking.
Creates a new `BinWrapper` instance. Use the `global` option to enable or disable global checking.

@@ -67,9 +66,2 @@ ### .src(str)

### version
Type: `String`
Default: `undefined`
Define a specific version.
### global

@@ -76,0 +68,0 @@

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