@listenai/cskburn
Advanced tools
Comparing version 1.9.5 to 1.9.6
const { join } = require('path'); | ||
const { existsSync } = require('fs'); | ||
const { family, MUSL } = require('detect-libc'); | ||
const { arch, platform } = process; | ||
@@ -7,3 +8,4 @@ | ||
const suffix = (platform == 'win32') ? '.exe' : ''; | ||
const binary = join(__dirname, `cskburn-${platform}-${arch}${suffix}`); | ||
const libc = (platform == 'linux' && family == MUSL) ? '-musl' : ''; | ||
const binary = join(__dirname, `cskburn-${platform}-${arch}${libc}${suffix}`); | ||
if (existsSync(binary)) { | ||
@@ -10,0 +12,0 @@ return binary; |
{ | ||
"name": "@listenai/cskburn", | ||
"version": "1.9.5", | ||
"version": "1.9.6", | ||
"description": "Burn tool for CSK300X/400X series", | ||
@@ -12,3 +12,5 @@ "main": "index.js", | ||
"license": "UNLICENSED", | ||
"dependencies": {} | ||
"dependencies": { | ||
"detect-libc": "^1.0.3" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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 2 instances 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
714788
9
14
1
5
+ Addeddetect-libc@^1.0.3
+ Addeddetect-libc@1.0.3(transitive)