Skip to content

Commit 95b5ab0

Browse files
committedSep 1, 2023
deps: npm-install-checks@6.2.0
1 parent 9750720 commit 95b5ab0

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed
 

‎node_modules/npm-install-checks/lib/index.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ const checkEngine = (target, npmVer, nodeVer, force = false) => {
2222

2323
const isMusl = (file) => file.includes('libc.musl-') || file.includes('ld-musl-')
2424

25-
const checkPlatform = (target, force = false) => {
25+
const checkPlatform = (target, force = false, environment = {}) => {
2626
if (force) {
2727
return
2828
}
2929

30-
const platform = process.platform
31-
const arch = process.arch
30+
const platform = environment.os || process.platform
31+
const arch = environment.cpu || process.arch
3232
const osOk = target.os ? checkList(platform, target.os) : true
3333
const cpuOk = target.cpu ? checkList(arch, target.cpu) : true
3434

‎node_modules/npm-install-checks/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "npm-install-checks",
3-
"version": "6.1.1",
3+
"version": "6.2.0",
44
"description": "Check the engines and platform fields in package.json",
55
"main": "lib/index.js",
66
"dependencies": {
77
"semver": "^7.1.1"
88
},
99
"devDependencies": {
1010
"@npmcli/eslint-config": "^4.0.0",
11-
"@npmcli/template-oss": "4.13.0",
11+
"@npmcli/template-oss": "4.18.0",
1212
"tap": "^16.0.1"
1313
},
1414
"scripts": {
@@ -39,7 +39,7 @@
3939
"author": "GitHub Inc.",
4040
"templateOSS": {
4141
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
42-
"version": "4.13.0",
42+
"version": "4.18.0",
4343
"publish": "true"
4444
},
4545
"tap": {

‎package-lock.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
"node-gyp": "^9.4.0",
131131
"nopt": "^7.2.0",
132132
"npm-audit-report": "^5.0.0",
133-
"npm-install-checks": "^6.1.1",
133+
"npm-install-checks": "^6.2.0",
134134
"npm-package-arg": "^10.1.0",
135135
"npm-pick-manifest": "^8.0.1",
136136
"npm-profile": "^7.0.1",
@@ -9531,9 +9531,9 @@
95319531
}
95329532
},
95339533
"node_modules/npm-install-checks": {
9534-
"version": "6.1.1",
9535-
"resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-6.1.1.tgz",
9536-
"integrity": "sha512-dH3GmQL4vsPtld59cOn8uY0iOqRmqKvV+DLGwNXV/Q7MDgD2QfOADWd/mFXcIE5LVhYYGjA3baz6W9JneqnuCw==",
9534+
"version": "6.2.0",
9535+
"resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-6.2.0.tgz",
9536+
"integrity": "sha512-744wat5wAAHsxa4590mWO0tJ8PKxR8ORZsH9wGpQc3nWTzozMAgBN/XyqYw7mg3yqLM8dLwEnwSfKMmXAjF69g==",
95379537
"inBundle": true,
95389538
"dependencies": {
95399539
"semver": "^7.1.1"
@@ -15634,7 +15634,7 @@
1563415634
"json-stringify-nice": "^1.1.4",
1563515635
"minimatch": "^9.0.0",
1563615636
"nopt": "^7.0.0",
15637-
"npm-install-checks": "^6.0.0",
15637+
"npm-install-checks": "^6.2.0",
1563815638
"npm-package-arg": "^10.1.0",
1563915639
"npm-pick-manifest": "^8.0.1",
1564015640
"npm-registry-fetch": "^14.0.3",

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
"node-gyp": "^9.4.0",
9696
"nopt": "^7.2.0",
9797
"npm-audit-report": "^5.0.0",
98-
"npm-install-checks": "^6.1.1",
98+
"npm-install-checks": "^6.2.0",
9999
"npm-package-arg": "^10.1.0",
100100
"npm-pick-manifest": "^8.0.1",
101101
"npm-profile": "^7.0.1",

‎workspaces/arborist/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"json-stringify-nice": "^1.1.4",
2222
"minimatch": "^9.0.0",
2323
"nopt": "^7.0.0",
24-
"npm-install-checks": "^6.0.0",
24+
"npm-install-checks": "^6.2.0",
2525
"npm-package-arg": "^10.1.0",
2626
"npm-pick-manifest": "^8.0.1",
2727
"npm-registry-fetch": "^14.0.3",

0 commit comments

Comments
 (0)
Please sign in to comment.