Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
55bec9d
deps: remove read-package-json-fast
wraithgar Dec 6, 2024
7c7b73f
chore: use latest/local arborist in mock-registry
wraithgar Jul 7, 2025
6c630e2
fix: use @npmcli/package-json to parse package.json
wraithgar Jul 7, 2025
bab0e5f
deps: @npmcli/package-json@7.0.1
wraithgar Sep 17, 2025
44de33b
deps: @npmcli/map-workspaces@5.0.0
wraithgar Sep 17, 2025
eca8dcf
deps: pacote@21.0.3
wraithgar Sep 17, 2025
10695b3
deps: init-package-json@8.2.2
wraithgar Sep 17, 2025
e8a7818
deps: @npmcli/run-script@10.0.0
wraithgar Sep 17, 2025
b279e83
deps: cacache@20.0.1
wraithgar Sep 17, 2025
893bce0
deps: @npmcli/metavuln-calculator@9.0.2
wraithgar Sep 17, 2025
6875790
deps: npm-profile@12.0.0
wraithgar Sep 17, 2025
48e355c
deps: npm-registry-fetch@19.0.0
wraithgar Sep 17, 2025
40c009a
deps: sigstore@4.0.0
wraithgar Sep 17, 2025
00520a8
deps: @sigstore/tuf@4.0.0
wraithgar Sep 17, 2025
84a485f
deps: make-fetch-happen@15.0.2
wraithgar Sep 17, 2025
ea5adf5
deps: hosted-git-info@9.0.0
wraithgar Sep 17, 2025
43ed4b5
deps: normalize-package-data@8.0.0
wraithgar Sep 17, 2025
b2cc0ea
deps: npm-package-manifest@11.0.1
wraithgar Sep 17, 2025
41e16c8
deps: npm-package-arg@13.0.0
wraithgar Sep 17, 2025
4d9ed52
deps: @npmcli/git@7.0.0
wraithgar Sep 18, 2025
93ed5ee
deps: lru-cache@11.2.1
wraithgar Sep 18, 2025
dc91c35
deps: @npmcli/agent@4.0.0
wraithgar Sep 18, 2025
c8dad48
deps: negotiator@1.0.0
wraithgar Sep 18, 2025
83e9c05
deps: minizlib@3.0.2
wraithgar Sep 18, 2025
ddf3c17
deps: ignore-walk@8.0.0
wraithgar Sep 18, 2025
86dcf1f
deps: glob@11.0.3
wraithgar Sep 18, 2025
b6e23d2
deps: mkdirp@3.0.1
wraithgar Sep 18, 2025
b18b768
deps: minimatch@10.0.3
wraithgar Sep 18, 2025
2bf8f88
chore: @tufjs/repo-mock@4.0.0
wraithgar Sep 18, 2025
efbc673
deps: rimraf@6.0.1
wraithgar Sep 18, 2025
575181a
deps: @npmcli/promise-spawn@8.0.3
wraithgar Sep 18, 2025
c858db0
deps: node-gyp@11.4.2
wraithgar Sep 18, 2025
9564321
deps: npm-install-checks@7.1.2
wraithgar Sep 18, 2025
f1533f6
deps: tinyglobby@0.2.15
wraithgar Sep 18, 2025
a5b93e8
deps: socks@2.8.7
wraithgar Sep 18, 2025
ced6408
deps: spdx-license-ids@3.0.22
wraithgar Sep 18, 2025
6d9362f
deps: debug@4.4.3
wraithgar Sep 18, 2025
9927e12
deps: chalk@5.6.2
wraithgar Sep 18, 2025
52c22bf
deps: supports-color@10.2.2
wraithgar Sep 18, 2025
14b74d8
chore: dev dependency updates
wraithgar Sep 18, 2025
c32e392
deps: isexe@3.1.1
wraithgar Sep 18, 2025
578e061
deps: fdir@6.5.0
wraithgar Sep 18, 2025
bbbcf4c
deps: add fdir, isexe, and picomatch to node_modules
wraithgar Sep 18, 2025
2831e4e
chore: @npmcli/template-oss@4.25.1
wraithgar Sep 18, 2025
72da3f1
deps: diff@8.0.2
wraithgar Sep 18, 2025
af4059d
chore: ajv-formats@3.0.1
wraithgar Sep 18, 2025
1695246
deps: is-cidr@6.0.0
wraithgar Sep 18, 2025
04118b4
deps: tiny-relative-date@2.0.2
wraithgar Sep 18, 2025
d3b0983
chore: remark@15.0.1
wraithgar Sep 18, 2025
2719ba9
chore: remark-parse@11.0.0
wraithgar Sep 18, 2025
7a38328
chore: remark-github@12.0.0
wraithgar Sep 18, 2025
942b7db
chore: remark-gfm@4.0.1
wraithgar Sep 18, 2025
8cb2c11
chore: rehype-stringify@10.0.1
wraithgar Sep 18, 2025
67003d4
chore: remark-man@9.0.0
wraithgar Sep 18, 2025
8d8b708
chore: remark-rehype@11.1.2
wraithgar Sep 18, 2025
52e4c23
chore: unified@11.0.5
wraithgar Sep 18, 2025
cfe06a0
chore: jsdom@27.0.0
wraithgar Sep 18, 2025
ab38b2a
deps: binary-extensions@3.1.0
wraithgar Sep 23, 2025
b2ba3e5
chore: properly use arborist and cache in test
owlstronaut Sep 22, 2025
b7882c3
chore: update package-lock with peer flag fixes
wraithgar Sep 23, 2025
b4673aa
fix: attach path to json parse error
wraithgar Sep 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion DEPENDENCIES.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
"bin-links",
"nopt",
"parse-conflict-json",
"read-package-json-fast",
"@npmcli/mock-globals",
"read",
"normalize-package-data"
Expand Down
15 changes: 3 additions & 12 deletions DEPENDENCIES.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ graph LR;
libnpmexec-->npmcli-template-oss["@npmcli/template-oss"];
libnpmexec-->pacote;
libnpmexec-->proc-log;
libnpmexec-->read-package-json-fast;
libnpmexec-->read;
libnpmexec-->semver;
libnpmfund-->npmcli-arborist["@npmcli/arborist"];
Expand Down Expand Up @@ -178,7 +177,6 @@ graph LR;
npmcli-arborist-->parse-conflict-json;
npmcli-arborist-->proc-log;
npmcli-arborist-->proggy;
npmcli-arborist-->read-package-json-fast;
npmcli-arborist-->semver;
npmcli-arborist-->ssri;
npmcli-config-->ini;
Expand Down Expand Up @@ -248,8 +246,6 @@ graph LR;
parse-conflict-json-->json-parse-even-better-errors;
promzard-->read;
read-->mute-stream;
read-package-json-fast-->json-parse-even-better-errors;
read-package-json-fast-->npm-normalize-package-bin;
unique-filename-->unique-slug;
```

Expand Down Expand Up @@ -306,9 +302,8 @@ graph LR;
init-package-json-->semver;
init-package-json-->validate-npm-package-license;
init-package-json-->validate-npm-package-name;
ip-address-->jsbn;
ip-address-->sprintf-js;
is-cidr-->cidr-regex;
isaacs-brace-expansion-->isaacs-balanced-match["@isaacs/balanced-match"];
isaacs-cliui-->string-width-cjs;
isaacs-cliui-->string-width;
isaacs-cliui-->strip-ansi-cjs;
Expand All @@ -317,7 +312,6 @@ graph LR;
isaacs-cliui-->wrap-ansi;
isaacs-fs-minipass-->minipass;
jackspeak-->isaacs-cliui["@isaacs/cliui"];
jackspeak-->pkgjs-parseargs["@pkgjs/parseargs"];
libnpmaccess-->npm-package-arg;
libnpmaccess-->npm-registry-fetch;
libnpmaccess-->npmcli-eslint-config["@npmcli/eslint-config"];
Expand Down Expand Up @@ -350,7 +344,6 @@ graph LR;
libnpmexec-->pacote;
libnpmexec-->proc-log;
libnpmexec-->promise-retry;
libnpmexec-->read-package-json-fast;
libnpmexec-->read;
libnpmexec-->semver;
libnpmexec-->signal-exit;
Expand Down Expand Up @@ -421,6 +414,7 @@ graph LR;
make-fetch-happen-->promise-retry;
make-fetch-happen-->ssri;
minimatch-->brace-expansion;
minimatch-->isaacs-brace-expansion["@isaacs/brace-expansion"];
minipass-->yallist;
minipass-collect-->minipass;
minipass-fetch-->encoding;
Expand Down Expand Up @@ -593,7 +587,6 @@ graph LR;
npmcli-arborist-->proggy;
npmcli-arborist-->promise-all-reject-late;
npmcli-arborist-->promise-call-limit;
npmcli-arborist-->read-package-json-fast;
npmcli-arborist-->semver;
npmcli-arborist-->ssri;
npmcli-arborist-->tap;
Expand Down Expand Up @@ -710,8 +703,6 @@ graph LR;
promise-retry-->retry;
promzard-->read;
read-->mute-stream;
read-package-json-fast-->json-parse-even-better-errors;
read-package-json-fast-->npm-normalize-package-bin;
shebang-command-->shebang-regex;
sigstore-->sigstore-bundle["@sigstore/bundle"];
sigstore-->sigstore-core["@sigstore/core"];
Expand Down Expand Up @@ -787,5 +778,5 @@ packages higher up the chain.
- @npmcli/package-json, npm-registry-fetch
- @npmcli/git, make-fetch-happen
- @npmcli/smoke-tests, @npmcli/installed-package-contents, npm-pick-manifest, cacache, promzard
- @npmcli/docs, @npmcli/fs, npm-bundled, @npmcli/promise-spawn, npm-install-checks, npm-package-arg, unique-filename, npm-packlist, bin-links, nopt, parse-conflict-json, read-package-json-fast, @npmcli/mock-globals, read, normalize-package-data
- @npmcli/docs, @npmcli/fs, npm-bundled, @npmcli/promise-spawn, npm-install-checks, npm-package-arg, unique-filename, npm-packlist, bin-links, nopt, parse-conflict-json, @npmcli/mock-globals, read, normalize-package-data
- @npmcli/eslint-config, @npmcli/template-oss, ignore-walk, semver, npm-normalize-package-bin, @npmcli/name-from-folder, which, ini, hosted-git-info, proc-log, validate-npm-package-name, json-parse-even-better-errors, ssri, unique-slug, @npmcli/node-gyp, @npmcli/redact, @npmcli/agent, minipass-fetch, @npmcli/query, cmd-shim, read-cmd-shim, write-file-atomic, abbrev, proggy, minify-registry-metadata, mute-stream, npm-audit-report, npm-user-validate
20 changes: 10 additions & 10 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,18 @@
"devDependencies": {
"@isaacs/string-locale-compare": "^1.1.0",
"@npmcli/eslint-config": "^5.0.1",
"@npmcli/template-oss": "4.24.4",
"@npmcli/template-oss": "4.25.1",
"front-matter": "^4.0.2",
"ignore-walk": "^7.0.0",
"jsdom": "^24.0.0",
"rehype-stringify": "^9.0.3",
"remark-gfm": "^3.0.1",
"remark-man": "^8.0.1",
"remark-parse": "^10.0.1",
"remark-rehype": "^10.1.0",
"ignore-walk": "^8.0.0",
"jsdom": "^27.0.0",
"rehype-stringify": "^10.0.1",
"remark-gfm": "^4.0.1",
"remark-man": "^9.0.0",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.2",
"semver": "^7.3.8",
"tap": "^16.3.8",
"unified": "^10.1.2",
"unified": "^11.0.5",
"yaml": "^2.2.1"
},
"author": "GitHub Inc.",
Expand All @@ -56,7 +56,7 @@
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"ciVersions": "latest",
"version": "4.24.4",
"version": "4.25.1",
"content": "../scripts/template-oss/index.js",
"workspaceRepo": {
"add": {
Expand Down
4 changes: 2 additions & 2 deletions mock-globals/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.24.4",
"version": "4.25.1",
"content": "../scripts/template-oss/index.js"
},
"tap": {
Expand All @@ -50,7 +50,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^5.0.1",
"@npmcli/template-oss": "4.24.4",
"@npmcli/template-oss": "4.25.1",
"tap": "^16.3.8"
}
}
10 changes: 5 additions & 5 deletions mock-registry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.24.4",
"version": "4.25.1",
"content": "../scripts/template-oss/index.js"
},
"tap": {
Expand All @@ -46,13 +46,13 @@
]
},
"devDependencies": {
"@npmcli/arborist": "^9.0.0",
"@npmcli/arborist": "^9.1.2",
"@npmcli/eslint-config": "^5.0.1",
"@npmcli/template-oss": "4.24.4",
"@npmcli/template-oss": "4.25.1",
"json-stringify-safe": "^5.0.1",
"nock": "^13.3.3",
"npm-package-arg": "^12.0.0",
"pacote": "^21.0.0",
"npm-package-arg": "^13.0.0",
"pacote": "^21.0.2",
"tap": "^16.3.8"
}
}
56 changes: 29 additions & 27 deletions node_modules/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
# Allow all bundled deps
!/@isaacs/
/@isaacs/*
!/@isaacs/balanced-match
!/@isaacs/brace-expansion
!/@isaacs/cliui
!/@isaacs/cliui/node_modules/
/@isaacs/cliui/node_modules/*
Expand Down Expand Up @@ -44,6 +46,9 @@
/@tufjs/*
!/@tufjs/canonical-json
!/@tufjs/models
!/@tufjs/models/node_modules/
/@tufjs/models/node_modules/*
!/@tufjs/models/node_modules/minimatch
!/abbrev
!/agent-base
!/ansi-regex
Expand All @@ -55,13 +60,6 @@
!/binary-extensions
!/brace-expansion
!/cacache
!/cacache/node_modules/
/cacache/node_modules/*
!/cacache/node_modules/chownr
!/cacache/node_modules/minizlib
!/cacache/node_modules/mkdirp
!/cacache/node_modules/tar
!/cacache/node_modules/yallist
!/chalk
!/chownr
!/ci-info
Expand All @@ -74,6 +72,7 @@
!/cross-spawn
!/cross-spawn/node_modules/
/cross-spawn/node_modules/*
!/cross-spawn/node_modules/isexe
!/cross-spawn/node_modules/which
!/cssesc
!/debug
Expand Down Expand Up @@ -104,23 +103,16 @@
!/is-fullwidth-code-point
!/isexe
!/jackspeak
!/jsbn
!/json-parse-even-better-errors
!/json-stringify-nice
!/jsonparse
!/just-diff-apply
!/just-diff
!/lru-cache
!/make-fetch-happen
!/make-fetch-happen/node_modules/
/make-fetch-happen/node_modules/*
!/make-fetch-happen/node_modules/negotiator
!/minimatch
!/minipass-collect
!/minipass-fetch
!/minipass-fetch/node_modules/
/minipass-fetch/node_modules/*
!/minipass-fetch/node_modules/minizlib
!/minipass-flush
!/minipass-flush/node_modules/
/minipass-flush/node_modules/*
Expand All @@ -135,18 +127,24 @@
!/minipass-sized/node_modules/minipass
!/minipass
!/minizlib
!/minizlib/node_modules/
/minizlib/node_modules/*
!/minizlib/node_modules/minipass
!/mkdirp
!/ms
!/mute-stream
!/negotiator
!/node-gyp
!/node-gyp/node_modules/
/node-gyp/node_modules/*
!/node-gyp/node_modules/@npmcli/
/node-gyp/node_modules/@npmcli/*
!/node-gyp/node_modules/@npmcli/agent
!/node-gyp/node_modules/cacache
!/node-gyp/node_modules/chownr
!/node-gyp/node_modules/minizlib
!/node-gyp/node_modules/mkdirp
!/node-gyp/node_modules/glob
!/node-gyp/node_modules/jackspeak
!/node-gyp/node_modules/lru-cache
!/node-gyp/node_modules/make-fetch-happen
!/node-gyp/node_modules/minimatch
!/node-gyp/node_modules/path-scurry
!/node-gyp/node_modules/tar
!/node-gyp/node_modules/yallist
!/nopt
Expand All @@ -160,13 +158,15 @@
!/npm-pick-manifest
!/npm-profile
!/npm-registry-fetch
!/npm-registry-fetch/node_modules/
/npm-registry-fetch/node_modules/*
!/npm-registry-fetch/node_modules/minizlib
!/npm-user-validate
!/p-map
!/package-json-from-dist
!/pacote
!/pacote/node_modules/
/pacote/node_modules/*
!/pacote/node_modules/chownr
!/pacote/node_modules/tar
!/pacote/node_modules/yallist
!/parse-conflict-json
!/path-key
!/path-scurry
Expand All @@ -179,7 +179,6 @@
!/promzard
!/qrcode-terminal
!/read-cmd-shim
!/read-package-json-fast
!/read
!/retry
!/safer-buffer
Expand All @@ -198,7 +197,6 @@
!/spdx-exceptions
!/spdx-expression-parse
!/spdx-license-ids
!/sprintf-js
!/ssri
!/string-width-cjs
!/string-width
Expand All @@ -212,7 +210,14 @@
!/tar/node_modules/fs-minipass/node_modules/
/tar/node_modules/fs-minipass/node_modules/*
!/tar/node_modules/fs-minipass/node_modules/minipass
!/tar/node_modules/fs-minipass/node_modules/yallist
!/tar/node_modules/minipass
!/tar/node_modules/minizlib
!/tar/node_modules/minizlib/node_modules/
/tar/node_modules/minizlib/node_modules/*
!/tar/node_modules/minizlib/node_modules/minipass
!/tar/node_modules/minizlib/node_modules/yallist
!/tar/node_modules/mkdirp
!/text-table
!/tiny-relative-date
!/tinyglobby
Expand All @@ -232,9 +237,6 @@
!/validate-npm-package-name
!/walk-up-path
!/which
!/which/node_modules/
/which/node_modules/*
!/which/node_modules/isexe
!/wrap-ansi-cjs
!/wrap-ansi-cjs/node_modules/
/wrap-ansi-cjs/node_modules/*
Expand Down
23 changes: 23 additions & 0 deletions node_modules/@isaacs/balanced-match/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
(MIT)

Original code Copyright Julian Gruber <julian@juliangruber.com>

Port to TypeScript Copyright Isaac Z. Schlueter <i@izs.me>

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading
Loading