Skip to content

Commit

Permalink
deps: npm-install-checks@6.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Aug 30, 2023
1 parent 88ece81 commit 4c9eb17
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions node_modules/npm-install-checks/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ const checkEngine = (target, npmVer, nodeVer, force = false) => {

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

const checkPlatform = (target, force = false) => {
const checkPlatform = (target, force = false, environment = {}) => {
if (force) {
return
}

const platform = process.platform
const arch = process.arch
const platform = environment.os || process.platform
const arch = environment.cpu || process.arch
const osOk = target.os ? checkList(platform, target.os) : true
const cpuOk = target.cpu ? checkList(arch, target.cpu) : true

Expand Down
6 changes: 3 additions & 3 deletions node_modules/npm-install-checks/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "npm-install-checks",
"version": "6.1.1",
"version": "6.2.0",
"description": "Check the engines and platform fields in package.json",
"main": "lib/index.js",
"dependencies": {
"semver": "^7.1.1"
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.13.0",
"@npmcli/template-oss": "4.18.0",
"tap": "^16.0.1"
},
"scripts": {
Expand Down Expand Up @@ -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.13.0",
"version": "4.18.0",
"publish": "true"
},
"tap": {
Expand Down
10 changes: 5 additions & 5 deletions package-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
"node-gyp": "^9.4.0",
"nopt": "^7.2.0",
"npm-audit-report": "^5.0.0",
"npm-install-checks": "^6.1.1",
"npm-install-checks": "^6.2.0",
"npm-package-arg": "^10.1.0",
"npm-pick-manifest": "^8.0.2",
"npm-profile": "^8.0.0",
Expand Down Expand Up @@ -9648,9 +9648,9 @@
}
},
"node_modules/npm-install-checks": {
"version": "6.1.1",
"resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-6.1.1.tgz",
"integrity": "sha512-dH3GmQL4vsPtld59cOn8uY0iOqRmqKvV+DLGwNXV/Q7MDgD2QfOADWd/mFXcIE5LVhYYGjA3baz6W9JneqnuCw==",
"version": "6.2.0",
"resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-6.2.0.tgz",
"integrity": "sha512-744wat5wAAHsxa4590mWO0tJ8PKxR8ORZsH9wGpQc3nWTzozMAgBN/XyqYw7mg3yqLM8dLwEnwSfKMmXAjF69g==",
"inBundle": true,
"dependencies": {
"semver": "^7.1.1"
Expand Down Expand Up @@ -15830,7 +15830,7 @@
"json-stringify-nice": "^1.1.4",
"minimatch": "^9.0.0",
"nopt": "^7.0.0",
"npm-install-checks": "^6.0.0",
"npm-install-checks": "^6.2.0",
"npm-package-arg": "^10.1.0",
"npm-pick-manifest": "^8.0.2",
"npm-registry-fetch": "^15.0.0",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"node-gyp": "^9.4.0",
"nopt": "^7.2.0",
"npm-audit-report": "^5.0.0",
"npm-install-checks": "^6.1.1",
"npm-install-checks": "^6.2.0",
"npm-package-arg": "^10.1.0",
"npm-pick-manifest": "^8.0.2",
"npm-profile": "^8.0.0",
Expand Down
2 changes: 1 addition & 1 deletion workspaces/arborist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"json-stringify-nice": "^1.1.4",
"minimatch": "^9.0.0",
"nopt": "^7.0.0",
"npm-install-checks": "^6.0.0",
"npm-install-checks": "^6.2.0",
"npm-package-arg": "^10.1.0",
"npm-pick-manifest": "^8.0.2",
"npm-registry-fetch": "^15.0.0",
Expand Down

0 comments on commit 4c9eb17

Please sign in to comment.