Skip to content

Commit 6cb77df

Browse files
committed
deps: @npmcli/[email protected]
1 parent 05ac7a7 commit 6cb77df

File tree

17 files changed

+681
-134
lines changed

17 files changed

+681
-134
lines changed

node_modules/.gitignore

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,6 @@
6868
!/archy
6969
!/balanced-match
7070
!/bin-links
71-
!/bin-links/node_modules/
72-
/bin-links/node_modules/*
73-
!/bin-links/node_modules/npm-normalize-package-bin
7471
!/binary-extensions
7572
!/brace-expansion
7673
!/cacache
@@ -174,9 +171,6 @@
174171
!/npm-package-arg/node_modules/proc-log
175172
!/npm-packlist
176173
!/npm-pick-manifest
177-
!/npm-pick-manifest/node_modules/
178-
/npm-pick-manifest/node_modules/*
179-
!/npm-pick-manifest/node_modules/npm-normalize-package-bin
180174
!/npm-profile
181175
!/npm-registry-fetch
182176
!/npm-registry-fetch/node_modules/
@@ -188,6 +182,11 @@
188182
!/pacote
189183
!/pacote/node_modules/
190184
/pacote/node_modules/*
185+
!/pacote/node_modules/@npmcli/
186+
/pacote/node_modules/@npmcli/*
187+
!/pacote/node_modules/@npmcli/installed-package-contents
188+
!/pacote/node_modules/npm-bundled
189+
!/pacote/node_modules/npm-normalize-package-bin
191190
!/pacote/node_modules/proc-log
192191
!/parse-conflict-json
193192
!/path-key

node_modules/@npmcli/installed-package-contents/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@npmcli/installed-package-contents",
3-
"version": "3.0.0",
3+
"version": "4.0.0",
44
"description": "Get the list of files installed in a package in node_modules, including bundled dependencies",
55
"author": "GitHub Inc.",
66
"main": "lib/index.js",
@@ -20,12 +20,12 @@
2020
},
2121
"devDependencies": {
2222
"@npmcli/eslint-config": "^5.0.0",
23-
"@npmcli/template-oss": "4.23.3",
23+
"@npmcli/template-oss": "4.27.1",
2424
"tap": "^16.3.0"
2525
},
2626
"dependencies": {
27-
"npm-bundled": "^4.0.0",
28-
"npm-normalize-package-bin": "^4.0.0"
27+
"npm-bundled": "^5.0.0",
28+
"npm-normalize-package-bin": "^5.0.0"
2929
},
3030
"repository": {
3131
"type": "git",
@@ -36,11 +36,11 @@
3636
"lib/"
3737
],
3838
"engines": {
39-
"node": "^18.17.0 || >=20.5.0"
39+
"node": "^20.17.0 || >=22.9.0"
4040
},
4141
"templateOSS": {
4242
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
43-
"version": "4.23.3",
43+
"version": "4.27.1",
4444
"publish": true
4545
},
4646
"tap": {

node_modules/npm-bundled/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "npm-bundled",
3-
"version": "4.0.0",
3+
"version": "5.0.0",
44
"description": "list things in node_modules that are bundledDependencies, or transitive dependencies thereof",
55
"main": "lib/index.js",
66
"repository": {
@@ -11,7 +11,7 @@
1111
"license": "ISC",
1212
"devDependencies": {
1313
"@npmcli/eslint-config": "^5.0.0",
14-
"@npmcli/template-oss": "4.23.3",
14+
"@npmcli/template-oss": "4.27.1",
1515
"mutate-fs": "^2.1.1",
1616
"tap": "^16.3.0"
1717
},
@@ -30,14 +30,14 @@
3030
"lib/"
3131
],
3232
"dependencies": {
33-
"npm-normalize-package-bin": "^4.0.0"
33+
"npm-normalize-package-bin": "^5.0.0"
3434
},
3535
"engines": {
36-
"node": "^18.17.0 || >=20.5.0"
36+
"node": "^20.17.0 || >=22.9.0"
3737
},
3838
"templateOSS": {
3939
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
40-
"version": "4.23.3",
40+
"version": "4.27.1",
4141
"publish": true
4242
},
4343
"tap": {

node_modules/npm-normalize-package-bin/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "npm-normalize-package-bin",
3-
"version": "4.0.0",
3+
"version": "5.0.0",
44
"description": "Turn any flavor of allowable package.json bin into a normalized object",
55
"main": "lib/index.js",
66
"repository": {
@@ -21,19 +21,19 @@
2121
},
2222
"devDependencies": {
2323
"@npmcli/eslint-config": "^5.0.0",
24-
"@npmcli/template-oss": "4.23.3",
24+
"@npmcli/template-oss": "4.27.1",
2525
"tap": "^16.3.0"
2626
},
2727
"files": [
2828
"bin/",
2929
"lib/"
3030
],
3131
"engines": {
32-
"node": "^18.17.0 || >=20.5.0"
32+
"node": "^20.17.0 || >=22.9.0"
3333
},
3434
"templateOSS": {
3535
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
36-
"version": "4.23.3",
36+
"version": "4.27.1",
3737
"publish": "true"
3838
},
3939
"tap": {

node_modules/npm-pick-manifest/node_modules/npm-normalize-package-bin/lib/index.js

Lines changed: 0 additions & 64 deletions
This file was deleted.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
#! /usr/bin/env node
2+
3+
const { relative } = require('path')
4+
const pkgContents = require('../')
5+
6+
const usage = `Usage:
7+
installed-package-contents <path> [-d<n> --depth=<n>]
8+
9+
Lists the files installed for a package specified by <path>.
10+
11+
Options:
12+
-d<n> --depth=<n> Provide a numeric value ("Infinity" is allowed)
13+
to specify how deep in the file tree to traverse.
14+
Default=1
15+
-h --help Show this usage information`
16+
17+
const options = {}
18+
19+
process.argv.slice(2).forEach(arg => {
20+
let match
21+
if ((match = arg.match(/^(?:--depth=|-d)([0-9]+|Infinity)/))) {
22+
options.depth = +match[1]
23+
} else if (arg === '-h' || arg === '--help') {
24+
console.log(usage)
25+
process.exit(0)
26+
} else {
27+
options.path = arg
28+
}
29+
})
30+
31+
if (!options.path) {
32+
console.error('ERROR: no path provided')
33+
console.error(usage)
34+
process.exit(1)
35+
}
36+
37+
const cwd = process.cwd()
38+
39+
pkgContents(options)
40+
.then(list => list.sort().forEach(p => console.log(relative(cwd, p))))
41+
.catch(/* istanbul ignore next - pretty unusual */ er => {
42+
console.error(er)
43+
process.exit(1)
44+
})

0 commit comments

Comments
 (0)