New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@xhmikosr/bin-check

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

@xhmikosr/bin-check - npm Package Compare versions

Comparing version 6.0.0 to 7.0.0

8

index.js

@@ -1,3 +0,3 @@

import execa from 'execa';
import isexe from 'isexe';
import {execa, execaSync} from 'execa';
import {isexe, sync as isexeSync} from 'isexe';

@@ -25,9 +25,9 @@ const binCheck = (bin, args) => {

if (!isexe.sync(bin)) {
if (!isexeSync(bin)) {
throw new Error(`Couldn't execute the "${bin}" binary. Make sure it has the right permissions.`);
}
return execa.sync(bin, args).exitCode === 0;
return execaSync(bin, args).exitCode === 0;
};
export default binCheck;
{
"name": "@xhmikosr/bin-check",
"version": "6.0.0",
"version": "7.0.0",
"description": "Check if a binary is working",
"license": "MIT",
"repository": "XhmikosR/bin-check",
"repository": {
"type": "git",
"url": "git+https://github.com/XhmikosR/bin-check.git"
},
"publishConfig": {

@@ -16,3 +19,3 @@ "access": "public"

"engines": {
"node": "^14.14.0 || >=16.0.0"
"node": ">=18"
},

@@ -41,9 +44,14 @@ "scripts": {

"dependencies": {
"execa": "^5.1.1",
"isexe": "^2.0.0"
"execa": "^8.0.1",
"isexe": "^3.1.1"
},
"devDependencies": {
"ava": "^5.3.0",
"xo": "^0.54.2"
"ava": "^6.1.2",
"xo": "^0.58.0"
},
"xo": {
"rules": {
"unicorn/prevent-abbreviations": "off"
}
}
}
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