@listenai/cskburn
Advanced tools
Comparing version 1.7.0 to 1.8.0
19
index.js
@@ -1,14 +0,13 @@ | ||
const { platform } = require('os'); | ||
const { join } = require('path'); | ||
const { existsSync } = require('fs'); | ||
const { arch, platform } = process; | ||
exports.CSKBURN = (() => { | ||
switch (platform()) { | ||
case 'darwin': | ||
return join(__dirname, 'cskburn-darwin'); | ||
case 'linux': | ||
return join(__dirname, 'cskburn-linux'); | ||
case 'win32': | ||
return join(__dirname, 'cskburn-win32.exe'); | ||
default: | ||
return null; | ||
const suffix = (platform == 'win32') ? '.exe' : ''; | ||
const binary = join(__dirname, `cskburn-${platform}-${arch}${suffix}`); | ||
if (existsSync(binary)) { | ||
return binary; | ||
} else { | ||
return null; | ||
} | ||
})(); |
{ | ||
"name": "@listenai/cskburn", | ||
"version": "1.7.0", | ||
"version": "1.8.0", | ||
"description": "Burn tool for CSK300X/400X series", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 4 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 3 instances in 1 package
610272
8
12
2
4