Skip to content

Commit 6d27f37

Browse files
committed
wip: all deps
1 parent 58065bc commit 6d27f37

File tree

320 files changed

+30257
-2478
lines changed

Some content is hidden

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

320 files changed

+30257
-2478
lines changed

DEPENDENCIES.md

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ graph LR;
88
bin-links-->read-cmd-shim;
99
bin-links-->write-file-atomic;
1010
cacache-->fs-minipass;
11-
cacache-->infer-owner;
1211
cacache-->npmcli-fs["@npmcli/fs"];
1312
cacache-->npmcli-move-file["@npmcli/move-file"];
1413
cacache-->ssri;
@@ -212,16 +211,13 @@ graph LR;
212211
npmcli-metavuln-calculator-->semver;
213212
npmcli-package-json-->json-parse-even-better-errors;
214213
npmcli-promise-spawn-->infer-owner;
215-
npmcli-query-->npm-package-arg;
216-
npmcli-query-->semver;
217214
npmcli-run-script-->npmcli-node-gyp["@npmcli/node-gyp"];
218215
npmcli-run-script-->npmcli-promise-spawn["@npmcli/promise-spawn"];
219216
npmcli-run-script-->read-package-json-fast;
220217
npmlog-->are-we-there-yet;
221218
npmlog-->gauge;
222219
pacote-->cacache;
223220
pacote-->fs-minipass;
224-
pacote-->infer-owner;
225221
pacote-->npm-package-arg;
226222
pacote-->npm-packlist;
227223
pacote-->npm-pick-manifest;
@@ -341,10 +337,8 @@ graph LR;
341337
babel-types-->babel-helper-validator-identifier["@babel/helper-validator-identifier"];
342338
babel-types-->to-fast-properties;
343339
bin-links-->cmd-shim;
344-
bin-links-->mkdirp-infer-owner;
345340
bin-links-->npm-normalize-package-bin;
346341
bin-links-->read-cmd-shim;
347-
bin-links-->rimraf;
348342
bin-links-->write-file-atomic;
349343
bindings-->file-uri-to-path;
350344
bl-->buffer;
@@ -387,7 +381,6 @@ graph LR;
387381
cmark-gfm-->bindings;
388382
cmark-gfm-->node-addon-api;
389383
cmark-gfm-->prebuild-install;
390-
cmd-shim-->mkdirp-infer-owner;
391384
color-convert-->color-name;
392385
columnify-->strip-ansi;
393386
columnify-->wcwidth;
@@ -845,7 +838,6 @@ graph LR;
845838
npmcli-arborist-->treeverse;
846839
npmcli-arborist-->walk-up-path;
847840
npmcli-config-->ini;
848-
npmcli-config-->mkdirp-infer-owner;
849841
npmcli-config-->nopt;
850842
npmcli-config-->npmcli-map-workspaces["@npmcli/map-workspaces"];
851843
npmcli-config-->proc-log;
@@ -891,9 +883,7 @@ graph LR;
891883
npmcli-move-file-->rimraf;
892884
npmcli-package-json-->json-parse-even-better-errors;
893885
npmcli-promise-spawn-->infer-owner;
894-
npmcli-query-->npm-package-arg;
895886
npmcli-query-->postcss-selector-parser;
896-
npmcli-query-->semver;
897887
npmcli-run-script-->node-gyp;
898888
npmcli-run-script-->npmcli-node-gyp["@npmcli/node-gyp"];
899889
npmcli-run-script-->npmcli-promise-spawn["@npmcli/promise-spawn"];
@@ -912,11 +902,8 @@ graph LR;
912902
optionator-->word-wrap;
913903
p-map-->aggregate-error;
914904
pacote-->cacache;
915-
pacote-->chownr;
916905
pacote-->fs-minipass;
917-
pacote-->infer-owner;
918906
pacote-->minipass;
919-
pacote-->mkdirp;
920907
pacote-->npm-package-arg;
921908
pacote-->npm-packlist;
922909
pacote-->npm-pick-manifest;
@@ -929,7 +916,6 @@ graph LR;
929916
pacote-->promise-retry;
930917
pacote-->read-package-json-fast;
931918
pacote-->read-package-json;
932-
pacote-->rimraf;
933919
pacote-->ssri;
934920
pacote-->tar;
935921
parse-conflict-json-->json-parse-even-better-errors;
@@ -1127,6 +1113,6 @@ packages higher up the chain.
11271113
- pacote, libnpmaccess, libnpmhook, libnpmorg, libnpmsearch, libnpmteam, npm-profile
11281114
- npm-registry-fetch, libnpmversion
11291115
- @npmcli/git, make-fetch-happen, @npmcli/config, init-package-json
1130-
- @npmcli/docs, @npmcli/installed-package-contents, @npmcli/map-workspaces, cacache, npm-pick-manifest, @npmcli/run-script, read-package-json, @npmcli/query, readdir-scoped-modules, promzard
1116+
- @npmcli/docs, @npmcli/installed-package-contents, @npmcli/map-workspaces, cacache, npm-pick-manifest, @npmcli/run-script, read-package-json, readdir-scoped-modules, promzard
11311117
- @npmcli/fs, npm-bundled, read-package-json-fast, unique-filename, @npmcli/promise-spawn, npm-install-checks, npm-package-arg, npm-packlist, normalize-package-data, @npmcli/package-json, bin-links, nopt, npmlog, parse-conflict-json, dezalgo, read
1132-
- semver, ignore-walk, @npmcli/eslint-config, @npmcli/template-oss, npm-normalize-package-bin, @npmcli/name-from-folder, json-parse-even-better-errors, @npmcli/move-file, fs-minipass, infer-owner, ssri, unique-slug, hosted-git-info, proc-log, validate-npm-package-name, @npmcli/node-gyp, minipass-fetch, cmd-shim, read-cmd-shim, write-file-atomic, abbrev, are-we-there-yet, gauge, wrappy, treeverse, minify-registry-metadata, @npmcli/disparity-colors, @npmcli/ci-detect, mute-stream, ini, npm-audit-report, npm-user-validate
1118+
- semver, ignore-walk, @npmcli/eslint-config, @npmcli/template-oss, npm-normalize-package-bin, @npmcli/name-from-folder, json-parse-even-better-errors, @npmcli/move-file, fs-minipass, ssri, unique-slug, infer-owner, hosted-git-info, proc-log, validate-npm-package-name, @npmcli/node-gyp, minipass-fetch, @npmcli/query, cmd-shim, read-cmd-shim, write-file-atomic, abbrev, are-we-there-yet, gauge, wrappy, treeverse, minify-registry-metadata, @npmcli/disparity-colors, @npmcli/ci-detect, mute-stream, ini, npm-audit-report, npm-user-validate

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"@npmcli/fs": "^2.1.0",
2626
"cmark-gfm": "^0.9.0",
2727
"front-matter": "^4.0.2",
28-
"ignore-walk": "^5.0.1",
28+
"ignore-walk": "^6.0.0",
2929
"jsdom": "^20.0.1",
3030
"marked-man": "^0.7.0",
3131
"mkdirp": "^1.0.4",

node_modules/.gitignore

Lines changed: 40 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@
2121
!/@npmcli/fs
2222
!/@npmcli/git
2323
!/@npmcli/installed-package-contents
24-
!/@npmcli/installed-package-contents/node_modules/
25-
/@npmcli/installed-package-contents/node_modules/*
26-
!/@npmcli/installed-package-contents/node_modules/npm-bundled
2724
!/@npmcli/map-workspaces
2825
!/@npmcli/metavuln-calculator
2926
!/@npmcli/move-file
@@ -37,6 +34,7 @@
3734
/@tootallnate/*
3835
!/@tootallnate/once
3936
!/abbrev
37+
!/abort-controller
4038
!/agent-base
4139
!/agentkeepalive
4240
!/aggregate-error
@@ -45,16 +43,23 @@
4543
!/aproba
4644
!/archy
4745
!/are-we-there-yet
46+
!/are-we-there-yet/node_modules/
47+
/are-we-there-yet/node_modules/*
48+
!/are-we-there-yet/node_modules/buffer
49+
!/are-we-there-yet/node_modules/readable-stream
4850
!/asap
4951
!/balanced-match
52+
!/base64-js
5053
!/bin-links
51-
!/bin-links/node_modules/
52-
/bin-links/node_modules/*
53-
!/bin-links/node_modules/npm-normalize-package-bin
5454
!/binary-extensions
5555
!/brace-expansion
5656
!/builtins
5757
!/cacache
58+
!/cacache/node_modules/
59+
/cacache/node_modules/*
60+
!/cacache/node_modules/@npmcli/
61+
/cacache/node_modules/@npmcli/*
62+
!/cacache/node_modules/@npmcli/fs
5863
!/chalk
5964
!/chownr
6065
!/cidr-regex
@@ -85,6 +90,8 @@
8590
!/encoding
8691
!/env-paths
8792
!/err-code
93+
!/event-target-shim
94+
!/events
8895
!/fastest-levenshtein
8996
!/fs-minipass
9097
!/fs.realpath
@@ -101,6 +108,7 @@
101108
!/https-proxy-agent
102109
!/humanize-ms
103110
!/iconv-lite
111+
!/ieee754
104112
!/ignore-walk
105113
!/imurmurhash
106114
!/indent-string
@@ -134,6 +142,9 @@
134142
!/libnpmversion
135143
!/lru-cache
136144
!/make-fetch-happen
145+
!/make-fetch-happen/node_modules/
146+
/make-fetch-happen/node_modules/*
147+
!/make-fetch-happen/node_modules/minipass-fetch
137148
!/minimatch
138149
!/minipass-collect
139150
!/minipass-fetch
@@ -151,29 +162,45 @@
151162
!/node-gyp
152163
!/node-gyp/node_modules/
153164
/node-gyp/node_modules/*
165+
!/node-gyp/node_modules/@npmcli/
166+
/node-gyp/node_modules/@npmcli/*
167+
!/node-gyp/node_modules/@npmcli/move-file
168+
!/node-gyp/node_modules/are-we-there-yet
154169
!/node-gyp/node_modules/brace-expansion
170+
!/node-gyp/node_modules/cacache
171+
!/node-gyp/node_modules/cacache/node_modules/
172+
/node-gyp/node_modules/cacache/node_modules/*
173+
!/node-gyp/node_modules/cacache/node_modules/brace-expansion
174+
!/node-gyp/node_modules/cacache/node_modules/glob
175+
!/node-gyp/node_modules/cacache/node_modules/minimatch
176+
!/node-gyp/node_modules/gauge
155177
!/node-gyp/node_modules/glob
178+
!/node-gyp/node_modules/make-fetch-happen
156179
!/node-gyp/node_modules/minimatch
157180
!/node-gyp/node_modules/nopt
181+
!/node-gyp/node_modules/npmlog
182+
!/node-gyp/node_modules/ssri
183+
!/node-gyp/node_modules/unique-filename
184+
!/node-gyp/node_modules/unique-slug
158185
!/nopt
159186
!/normalize-package-data
160-
!/normalize-package-data/node_modules/
161-
/normalize-package-data/node_modules/*
162-
!/normalize-package-data/node_modules/hosted-git-info
163187
!/npm-audit-report
188+
!/npm-bundled
164189
!/npm-install-checks
165190
!/npm-normalize-package-bin
166191
!/npm-package-arg
167192
!/npm-package-arg/node_modules/
168193
/npm-package-arg/node_modules/*
169194
!/npm-package-arg/node_modules/hosted-git-info
195+
!/npm-package-arg/node_modules/proc-log
196+
!/npm-package-arg/node_modules/validate-npm-package-name
170197
!/npm-packlist
171198
!/npm-pick-manifest
172-
!/npm-pick-manifest/node_modules/
173-
/npm-pick-manifest/node_modules/*
174-
!/npm-pick-manifest/node_modules/npm-normalize-package-bin
175199
!/npm-profile
176200
!/npm-registry-fetch
201+
!/npm-registry-fetch/node_modules/
202+
/npm-registry-fetch/node_modules/*
203+
!/npm-registry-fetch/node_modules/minipass-fetch
177204
!/npm-user-validate
178205
!/npmlog
179206
!/once
@@ -184,6 +211,7 @@
184211
!/path-is-absolute
185212
!/postcss-selector-parser
186213
!/proc-log
214+
!/process
187215
!/promise-all-reject-late
188216
!/promise-call-limit
189217
!/promise-inflight
@@ -193,9 +221,6 @@
193221
!/read-cmd-shim
194222
!/read-package-json-fast
195223
!/read-package-json
196-
!/read-package-json/node_modules/
197-
/read-package-json/node_modules/*
198-
!/read-package-json/node_modules/npm-normalize-package-bin
199224
!/read
200225
!/readable-stream
201226
!/readdir-scoped-modules

node_modules/@npmcli/config/lib/index.js

Lines changed: 9 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,20 @@
22
const walkUp = require('walk-up-path')
33
const ini = require('ini')
44
const nopt = require('nopt')
5-
const mkdirp = require('mkdirp-infer-owner')
65
const mapWorkspaces = require('@npmcli/map-workspaces')
76
const rpj = require('read-package-json-fast')
87
const log = require('proc-log')
98

10-
/* istanbul ignore next */
11-
const myUid = process.getuid && process.getuid()
12-
/* istanbul ignore next */
13-
const myGid = process.getgid && process.getgid()
14-
159
const { resolve, dirname, join } = require('path')
1610
const { homedir } = require('os')
17-
const { promisify } = require('util')
18-
const fs = require('fs')
19-
const readFile = promisify(fs.readFile)
20-
const writeFile = promisify(fs.writeFile)
21-
const chmod = promisify(fs.chmod)
22-
const chown = promisify(fs.chown)
23-
const unlink = promisify(fs.unlink)
24-
const stat = promisify(fs.stat)
11+
const {
12+
readFile,
13+
writeFile,
14+
chmod,
15+
unlink,
16+
stat,
17+
mkdir,
18+
} = require('fs/promises')
2519

2620
const hasOwnProperty = (obj, key) =>
2721
Object.prototype.hasOwnProperty.call(obj, key)
@@ -731,16 +725,8 @@ class Config {
731725
return
732726
}
733727
const dir = dirname(conf.source)
734-
await mkdirp(dir)
728+
await mkdir(dir, { recursive: true })
735729
await writeFile(conf.source, iniData, 'utf8')
736-
// don't leave a root-owned config file lying around
737-
/* istanbul ignore if - this is best-effort and a pita to test */
738-
if (myUid === 0) {
739-
const st = await stat(dir).catch(() => null)
740-
if (st && (st.uid !== myUid || st.gid !== myGid)) {
741-
await chown(conf.source, st.uid, st.gid).catch(() => {})
742-
}
743-
}
744730
const mode = where === 'user' ? 0o600 : 0o666
745731
await chmod(conf.source, mode)
746732
}

node_modules/@npmcli/config/package.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@npmcli/config",
3-
"version": "5.0.0",
3+
"version": "6.0.1",
44
"files": [
55
"bin/",
66
"lib/"
@@ -31,17 +31,16 @@
3131
]
3232
},
3333
"devDependencies": {
34-
"@npmcli/eslint-config": "^3.0.1",
35-
"@npmcli/template-oss": "4.5.0",
34+
"@npmcli/eslint-config": "^4.0.0",
35+
"@npmcli/template-oss": "4.5.1",
3636
"tap": "^16.0.1"
3737
},
3838
"dependencies": {
39-
"@npmcli/map-workspaces": "^2.0.2",
39+
"@npmcli/map-workspaces": "^3.0.0",
4040
"ini": "^3.0.0",
41-
"mkdirp-infer-owner": "^2.0.0",
4241
"nopt": "^6.0.0",
43-
"proc-log": "^2.0.0",
44-
"read-package-json-fast": "^2.0.3",
42+
"proc-log": "^3.0.0",
43+
"read-package-json-fast": "^3.0.0",
4544
"semver": "^7.3.5",
4645
"walk-up-path": "^1.0.0"
4746
},
@@ -50,6 +49,6 @@
5049
},
5150
"templateOSS": {
5251
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
53-
"version": "4.5.0"
52+
"version": "4.5.1"
5453
}
5554
}

node_modules/@npmcli/disparity-colors/package.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "@npmcli/disparity-colors",
3-
"version": "2.0.0",
3+
"version": "3.0.0",
44
"main": "lib/index.js",
55
"files": [
66
"bin/",
77
"lib/"
88
],
99
"engines": {
10-
"node": "^12.13.0 || ^14.15.0 || >=16.0.0"
10+
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
1111
},
1212
"description": "Colorizes unified diff output",
1313
"repository": {
@@ -43,27 +43,28 @@
4343
"pretest": "npm run lint",
4444
"test": "tap",
4545
"snap": "tap",
46-
"preversion": "npm test",
47-
"postversion": "npm publish",
48-
"prepublishOnly": "git push origin --follow-tags",
4946
"postlint": "template-oss-check",
5047
"template-oss-apply": "template-oss-apply --force",
5148
"lintfix": "npm run lint -- --fix",
5249
"posttest": "npm run lint"
5350
},
5451
"tap": {
55-
"check-coverage": true
52+
"check-coverage": true,
53+
"nyc-arg": [
54+
"--exclude",
55+
"tap-snapshots/**"
56+
]
5657
},
5758
"devDependencies": {
5859
"@npmcli/eslint-config": "^3.0.1",
59-
"@npmcli/template-oss": "3.2.2",
60+
"@npmcli/template-oss": "4.5.1",
6061
"tap": "^16.0.1"
6162
},
6263
"dependencies": {
6364
"ansi-styles": "^4.3.0"
6465
},
6566
"templateOSS": {
6667
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
67-
"version": "3.2.2"
68+
"version": "4.5.1"
6869
}
6970
}

0 commit comments

Comments
 (0)