npm-install-checks
Advanced tools
Comparing version 6.2.0 to 6.3.0
@@ -39,3 +39,5 @@ const semver = require('semver') | ||
// libc checks only work in linux, any value is a failure if we aren't | ||
if (platform !== 'linux') { | ||
if (environment.libc) { | ||
libcOk = checkList(environment.libc, target.libc) | ||
} else if (platform !== 'linux') { | ||
libcOk = false | ||
@@ -42,0 +44,0 @@ } else { |
{ | ||
"name": "npm-install-checks", | ||
"version": "6.2.0", | ||
"version": "6.3.0", | ||
"description": "Check the engines and platform fields in package.json", | ||
@@ -11,3 +11,3 @@ "main": "lib/index.js", | ||
"@npmcli/eslint-config": "^4.0.0", | ||
"@npmcli/template-oss": "4.18.0", | ||
"@npmcli/template-oss": "4.19.0", | ||
"tap": "^16.0.1" | ||
@@ -43,3 +43,3 @@ }, | ||
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", | ||
"version": "4.18.0", | ||
"version": "4.19.0", | ||
"publish": "true" | ||
@@ -46,0 +46,0 @@ }, |
@@ -28,4 +28,4 @@ # npm-install-checks | ||
`environment` overrides the execution environment which comes from `process.platform` and `process.arch` by default. `environment.os` and `environment.cpu` are available. | ||
`environment` overrides the execution environment which comes from `process.platform` `process.arch` and current `libc` environment by default. `environment.os` `environment.cpu` and `environment.libc` are available. | ||
Error code: 'EBADPLATFORM' |
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
6209
92