diff --git a/node_modules/npm-install-checks/lib/index.js b/node_modules/npm-install-checks/lib/index.js index f0ba2c07ad081..545472b61dc60 100644 --- a/node_modules/npm-install-checks/lib/index.js +++ b/node_modules/npm-install-checks/lib/index.js @@ -36,7 +36,9 @@ const checkPlatform = (target, force = false, environment = {}) => { let libcFamily = null if (target.libc) { // 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 } else { const report = process.report.getReport() diff --git a/node_modules/npm-install-checks/package.json b/node_modules/npm-install-checks/package.json index 50378808d75d0..11a3b87750e25 100644 --- a/node_modules/npm-install-checks/package.json +++ b/node_modules/npm-install-checks/package.json @@ -1,6 +1,6 @@ { "name": "npm-install-checks", - "version": "6.2.0", + "version": "6.3.0", "description": "Check the engines and platform fields in package.json", "main": "lib/index.js", "dependencies": { @@ -8,7 +8,7 @@ }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.18.0", + "@npmcli/template-oss": "4.19.0", "tap": "^16.0.1" }, "scripts": { @@ -39,7 +39,7 @@ "author": "GitHub Inc.", "templateOSS": { "//@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" }, "tap": { diff --git a/package-lock.json b/package-lock.json index b65dca6ee905e..a30bbf0928db7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -133,7 +133,7 @@ "nopt": "^7.2.0", "normalize-package-data": "^5.0.0", "npm-audit-report": "^5.0.0", - "npm-install-checks": "^6.2.0", + "npm-install-checks": "^6.3.0", "npm-package-arg": "^10.1.0", "npm-pick-manifest": "^8.0.2", "npm-profile": "^7.0.1", @@ -9967,9 +9967,10 @@ } }, "node_modules/npm-install-checks": { - "version": "6.2.0", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-6.3.0.tgz", + "integrity": "sha512-W29RiK/xtpCGqn6f3ixfRYGk+zRyr+Ew9F2E20BfXxT5/euLdA/Nm7fO7OeTGuAmTs30cpgInyJ0cYe708YTZw==", "inBundle": true, - "license": "BSD-2-Clause", "dependencies": { "semver": "^7.1.1" }, diff --git a/package.json b/package.json index e9b583d4e35ae..fef7f2d95a5a9 100644 --- a/package.json +++ b/package.json @@ -96,7 +96,7 @@ "nopt": "^7.2.0", "normalize-package-data": "^5.0.0", "npm-audit-report": "^5.0.0", - "npm-install-checks": "^6.2.0", + "npm-install-checks": "^6.3.0", "npm-package-arg": "^10.1.0", "npm-pick-manifest": "^8.0.2", "npm-profile": "^7.0.1",