detect-libc
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -0,3 +1,5 @@ | ||
#!/usr/bin/env node | ||
'use strict'; | ||
process.stdout.write(require('./').family); |
@@ -0,3 +1,5 @@ | ||
#!/usr/bin/env node | ||
'use strict'; | ||
process.stdout.write(require('./').version); |
@@ -23,3 +23,3 @@ 'use strict'; | ||
family = 'musl'; | ||
version = ldd.stdout.split(/\n/)[1].trim().split(' ')[1]; | ||
version = ldd.stdout.split(/[\r\n]+/)[1].trim().split(/\s/)[1]; | ||
} | ||
@@ -33,3 +33,3 @@ } | ||
family = 'bsd'; | ||
version = otool.stdout.split(/\n/)[1].trim().split(' ')[6].replace(')', ''); | ||
version = otool.stdout.split(/[\r\n]+/)[1].trim().split(/\s/)[6].replace(')', ''); | ||
} | ||
@@ -36,0 +36,0 @@ } |
{ | ||
"name": "detect-libc", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Node.js module to detect the C standard library (libc) implementation family and version", | ||
@@ -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
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
13387
40