New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

node-sound

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

node-sound - npm Package Compare versions

Comparing version
0.0.4
to
0.0.5
+6
-4
lib/utilities/index.js

@@ -9,5 +9,7 @@ const { execSync, spawn } = require('child_process');

let commands = Array.isArray(executables) ? executables : [executables];
return commands.filter(c => {
return this.isInstalled(c);
})[0];
for (const command of commands) {
if (this.isInstalled(command)) {
return command;
}
}
}

@@ -22,3 +24,3 @@

try {
execSync(`which ${executable}`);
execSync(`which ${executable}`, { stdio:'ignore'});
return true;

@@ -25,0 +27,0 @@ }

+1
-1
{
"name": "node-sound",
"version": "0.0.4",
"version": "0.0.5",
"description": "A library to play audio files from nodejs applications",

@@ -5,0 +5,0 @@ "main": "index.js",