Skip to content

Commit 538a4cc

Browse files
committed
deps: update @npmcli/run-script@9.0.1
1 parent b80d048 commit 538a4cc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+1398
-1483
lines changed

node_modules/.gitignore

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,10 @@
6363
/@npmcli/run-script/node_modules/*
6464
!/@npmcli/run-script/node_modules/@npmcli/
6565
/@npmcli/run-script/node_modules/@npmcli/*
66-
!/@npmcli/run-script/node_modules/@npmcli/package-json
67-
!/@npmcli/run-script/node_modules/@npmcli/promise-spawn
66+
!/@npmcli/run-script/node_modules/@npmcli/node-gyp
67+
!/@npmcli/run-script/node_modules/isexe
68+
!/@npmcli/run-script/node_modules/proc-log
69+
!/@npmcli/run-script/node_modules/which
6870
!/@pkgjs/
6971
/@pkgjs/*
7072
!/@pkgjs/parseargs
@@ -209,6 +211,7 @@
209211
/pacote/node_modules/@npmcli/*
210212
!/pacote/node_modules/@npmcli/package-json
211213
!/pacote/node_modules/@npmcli/promise-spawn
214+
!/pacote/node_modules/@npmcli/run-script
212215
!/parse-conflict-json
213216
!/path-key
214217
!/path-scurry
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
ISC License:
2+
3+
Copyright (c) 2023 by GitHub Inc.
4+
5+
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
6+
7+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
const util = require('util')
2+
const fs = require('fs')
3+
const { stat } = fs.promises || { stat: util.promisify(fs.stat) }
4+
5+
async function isNodeGypPackage (path) {
6+
return await stat(`${path}/binding.gyp`)
7+
.then(st => st.isFile())
8+
.catch(() => false)
9+
}
10+
11+
module.exports = {
12+
isNodeGypPackage,
13+
defaultGypInstallScript: 'node-gyp rebuild',
14+
}

node_modules/@npmcli/run-script/node_modules/@npmcli/package-json/package.json renamed to node_modules/@npmcli/run-script/node_modules/@npmcli/node-gyp/package.json

Lines changed: 20 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,45 @@
11
{
2-
"name": "@npmcli/package-json",
3-
"version": "5.2.1",
4-
"description": "Programmatic API to update package.json",
5-
"main": "lib/index.js",
6-
"files": [
7-
"bin/",
8-
"lib/"
9-
],
2+
"name": "@npmcli/node-gyp",
3+
"version": "4.0.0",
4+
"description": "Tools for dealing with node-gyp packages",
105
"scripts": {
11-
"snap": "tap",
126
"test": "tap",
137
"lint": "npm run eslint",
14-
"lintfix": "npm run eslint -- --fix",
15-
"posttest": "npm run lint",
16-
"postsnap": "npm run lintfix --",
178
"postlint": "template-oss-check",
189
"template-oss-apply": "template-oss-apply --force",
10+
"lintfix": "npm run eslint -- --fix",
11+
"snap": "tap",
12+
"posttest": "npm run lint",
1913
"eslint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""
2014
},
15+
"repository": {
16+
"type": "git",
17+
"url": "git+https://github.com/npm/node-gyp.git"
18+
},
2119
"keywords": [
2220
"npm",
23-
"oss"
21+
"cli",
22+
"node-gyp"
23+
],
24+
"files": [
25+
"bin/",
26+
"lib/"
2427
],
28+
"main": "lib/index.js",
2529
"author": "GitHub Inc.",
2630
"license": "ISC",
2731
"devDependencies": {
28-
"@npmcli/eslint-config": "^4.0.0",
32+
"@npmcli/eslint-config": "^5.0.0",
2933
"@npmcli/template-oss": "4.23.3",
30-
"read-package-json": "^7.0.0",
31-
"read-package-json-fast": "^3.0.2",
3234
"tap": "^16.0.1"
3335
},
34-
"dependencies": {
35-
"@npmcli/git": "^5.0.0",
36-
"glob": "^10.2.2",
37-
"hosted-git-info": "^7.0.0",
38-
"json-parse-even-better-errors": "^3.0.0",
39-
"normalize-package-data": "^6.0.0",
40-
"proc-log": "^4.0.0",
41-
"semver": "^7.5.3"
42-
},
43-
"repository": {
44-
"type": "git",
45-
"url": "git+https://github.com/npm/package-json.git"
46-
},
4736
"engines": {
48-
"node": "^16.14.0 || >=18.0.0"
37+
"node": "^18.17.0 || >=20.5.0"
4938
},
5039
"templateOSS": {
5140
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
5241
"version": "4.23.3",
53-
"publish": "true"
42+
"publish": true
5443
},
5544
"tap": {
5645
"nyc-arg": [

node_modules/@npmcli/run-script/node_modules/@npmcli/package-json/LICENSE

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)