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

@mole-inc/bin-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mole-inc/bin-wrapper - npm Package Compare versions

Comparing version 6.0.0 to 6.0.1

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [6.0.1](https://github.com/mole-inc/bin-wrapper/compare/v6.0.0...v6.0.1) (2020-04-24)
### Bug Fixes
* checking version early in `runCheck` ([79529df](https://github.com/mole-inc/bin-wrapper/commit/79529dfef4d71b5ef4454f7f1f610f29f84d6332))
## [6.0.0](https://github.com/mole-inc/bin-wrapper/compare/v5.0.0...v6.0.0) (2020-04-17)

@@ -7,0 +14,0 @@

10

index.js

@@ -133,8 +133,4 @@ 'use strict';

const bin = this.path();
await binCheck(bin, cmd).catch(() => {
throw new Error(`The \`${bin}\` binary doesn't seem to work correctly`);
});
if (this.version()) {
if (JSON.stringify(['--version']) === JSON.stringify(cmd)) {
if (cmd.length === 1 && cmd[0] === '--version') {
return binVersionCheck(bin, this.version());

@@ -145,2 +141,6 @@ }

}
await binCheck(bin, cmd).catch(() => {
throw new Error(`The \`${bin}\` binary doesn't seem to work correctly`);
});
}

@@ -147,0 +147,0 @@

{
"name": "@mole-inc/bin-wrapper",
"version": "6.0.0",
"version": "6.0.1",
"description": "Binary wrapper that makes your programs seamlessly available as local dependencies",

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

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