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 5.0.2 to 6.0.0

6

index.js
import execa from 'execa';
import executable from '@xhmikosr/executable';
import isexe from 'isexe';

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

return executable(bin)
return isexe(bin)
.then(works => {

@@ -26,3 +26,3 @@ if (!works) {

if (!executable.sync(bin)) {
if (!isexe.sync(bin)) {
throw new Error(`Couldn't execute the "${bin}" binary. Make sure it has the right permissions.`);

@@ -29,0 +29,0 @@ }

{
"name": "@xhmikosr/bin-check",
"version": "5.0.2",
"version": "6.0.0",
"description": "Check if a binary is working",

@@ -40,4 +40,4 @@ "license": "MIT",

"dependencies": {
"@xhmikosr/executable": "^5.0.1",
"execa": "^5.1.1"
"execa": "^5.1.1",
"isexe": "^2.0.0"
},

@@ -44,0 +44,0 @@ "devDependencies": {

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