Skip to content

Commit 643ae71

Browse files
committed
chore: update mock-registry to use local arborist
1 parent 398fed4 commit 643ae71

File tree

4 files changed

+17
-168
lines changed

4 files changed

+17
-168
lines changed

DEPENDENCIES.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
"libnpmversion"
2222
],
2323
[
24-
"@npmcli/run-script",
2524
"@npmcli/map-workspaces",
25+
"@npmcli/run-script",
2626
"libnpmaccess",
2727
"libnpmorg",
2828
"libnpmpublish",
@@ -41,25 +41,25 @@
4141
],
4242
[
4343
"@npmcli/smoke-tests",
44-
"npm-pick-manifest",
4544
"@npmcli/installed-package-contents",
45+
"npm-pick-manifest",
4646
"cacache",
4747
"promzard"
4848
],
4949
[
5050
"@npmcli/docs",
51-
"npm-package-arg",
51+
"@npmcli/fs",
52+
"npm-bundled",
5253
"@npmcli/promise-spawn",
5354
"npm-install-checks",
54-
"npm-bundled",
55-
"@npmcli/fs",
55+
"npm-package-arg",
5656
"unique-filename",
5757
"npm-packlist",
58-
"@npmcli/mock-globals",
5958
"bin-links",
6059
"nopt",
6160
"parse-conflict-json",
6261
"read-package-json-fast",
62+
"@npmcli/mock-globals",
6363
"read",
6464
"normalize-package-data"
6565
],
@@ -68,20 +68,20 @@
6868
"@npmcli/template-oss",
6969
"ignore-walk",
7070
"semver",
71+
"npm-normalize-package-bin",
72+
"@npmcli/name-from-folder",
73+
"which",
74+
"ini",
7175
"hosted-git-info",
7276
"proc-log",
7377
"validate-npm-package-name",
74-
"which",
75-
"ini",
76-
"npm-normalize-package-bin",
7778
"json-parse-even-better-errors",
78-
"@npmcli/node-gyp",
7979
"ssri",
8080
"unique-slug",
81+
"@npmcli/node-gyp",
8182
"@npmcli/redact",
8283
"@npmcli/agent",
8384
"minipass-fetch",
84-
"@npmcli/name-from-folder",
8585
"@npmcli/query",
8686
"cmd-shim",
8787
"read-cmd-shim",

DEPENDENCIES.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -781,9 +781,9 @@ packages higher up the chain.
781781
- @npmcli/arborist
782782
- @npmcli/metavuln-calculator
783783
- pacote, @npmcli/config, libnpmversion
784-
- @npmcli/run-script, @npmcli/map-workspaces, libnpmaccess, libnpmorg, libnpmpublish, libnpmsearch, libnpmteam, init-package-json, npm-profile
784+
- @npmcli/map-workspaces, @npmcli/run-script, libnpmaccess, libnpmorg, libnpmpublish, libnpmsearch, libnpmteam, init-package-json, npm-profile
785785
- @npmcli/package-json, npm-registry-fetch
786786
- @npmcli/git, make-fetch-happen
787-
- @npmcli/smoke-tests, npm-pick-manifest, @npmcli/installed-package-contents, cacache, promzard
788-
- @npmcli/docs, npm-package-arg, @npmcli/promise-spawn, npm-install-checks, npm-bundled, @npmcli/fs, unique-filename, npm-packlist, @npmcli/mock-globals, bin-links, nopt, parse-conflict-json, read-package-json-fast, read, normalize-package-data
789-
- @npmcli/eslint-config, @npmcli/template-oss, ignore-walk, semver, hosted-git-info, proc-log, validate-npm-package-name, which, ini, npm-normalize-package-bin, json-parse-even-better-errors, @npmcli/node-gyp, ssri, unique-slug, @npmcli/redact, @npmcli/agent, minipass-fetch, @npmcli/name-from-folder, @npmcli/query, cmd-shim, read-cmd-shim, write-file-atomic, abbrev, proggy, minify-registry-metadata, mute-stream, npm-audit-report, npm-user-validate
787+
- @npmcli/smoke-tests, @npmcli/installed-package-contents, npm-pick-manifest, cacache, promzard
788+
- @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
789+
- @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

mock-registry/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
]
4747
},
4848
"devDependencies": {
49-
"@npmcli/arborist": "^8.0.0",
49+
"@npmcli/arborist": "^9.0.0",
5050
"@npmcli/eslint-config": "^5.0.1",
5151
"@npmcli/template-oss": "4.24.4",
5252
"json-stringify-safe": "^5.0.1",

package-lock.json

Lines changed: 1 addition & 152 deletions
Original file line numberDiff line numberDiff line change
@@ -2007,7 +2007,7 @@
20072007
"version": "1.0.0",
20082008
"license": "ISC",
20092009
"devDependencies": {
2010-
"@npmcli/arborist": "^8.0.0",
2010+
"@npmcli/arborist": "^9.0.0",
20112011
"@npmcli/eslint-config": "^5.0.1",
20122012
"@npmcli/template-oss": "4.24.4",
20132013
"json-stringify-safe": "^5.0.1",
@@ -2020,157 +2020,6 @@
20202020
"node": "^20.17.0 || >=22.9.0"
20212021
}
20222022
},
2023-
"mock-registry/node_modules/@npmcli/arborist": {
2024-
"version": "8.0.0",
2025-
"resolved": "https://registry.npmjs.org/@npmcli/arborist/-/arborist-8.0.0.tgz",
2026-
"integrity": "sha512-APDXxtXGSftyXibl0dZ3CuZYmmVnkiN3+gkqwXshY4GKC2rof2+Lg0sGuj6H1p2YfBAKd7PRwuMVhu6Pf/nQ/A==",
2027-
"dev": true,
2028-
"license": "ISC",
2029-
"dependencies": {
2030-
"@isaacs/string-locale-compare": "^1.1.0",
2031-
"@npmcli/fs": "^4.0.0",
2032-
"@npmcli/installed-package-contents": "^3.0.0",
2033-
"@npmcli/map-workspaces": "^4.0.1",
2034-
"@npmcli/metavuln-calculator": "^8.0.0",
2035-
"@npmcli/name-from-folder": "^3.0.0",
2036-
"@npmcli/node-gyp": "^4.0.0",
2037-
"@npmcli/package-json": "^6.0.1",
2038-
"@npmcli/query": "^4.0.0",
2039-
"@npmcli/redact": "^3.0.0",
2040-
"@npmcli/run-script": "^9.0.1",
2041-
"bin-links": "^5.0.0",
2042-
"cacache": "^19.0.1",
2043-
"common-ancestor-path": "^1.0.1",
2044-
"hosted-git-info": "^8.0.0",
2045-
"json-parse-even-better-errors": "^4.0.0",
2046-
"json-stringify-nice": "^1.1.4",
2047-
"lru-cache": "^10.2.2",
2048-
"minimatch": "^9.0.4",
2049-
"nopt": "^8.0.0",
2050-
"npm-install-checks": "^7.1.0",
2051-
"npm-package-arg": "^12.0.0",
2052-
"npm-pick-manifest": "^10.0.0",
2053-
"npm-registry-fetch": "^18.0.1",
2054-
"pacote": "^19.0.0",
2055-
"parse-conflict-json": "^4.0.0",
2056-
"proc-log": "^5.0.0",
2057-
"proggy": "^3.0.0",
2058-
"promise-all-reject-late": "^1.0.0",
2059-
"promise-call-limit": "^3.0.1",
2060-
"read-package-json-fast": "^4.0.0",
2061-
"semver": "^7.3.7",
2062-
"ssri": "^12.0.0",
2063-
"treeverse": "^3.0.0",
2064-
"walk-up-path": "^3.0.1"
2065-
},
2066-
"bin": {
2067-
"arborist": "bin/index.js"
2068-
},
2069-
"engines": {
2070-
"node": "^18.17.0 || >=20.5.0"
2071-
}
2072-
},
2073-
"mock-registry/node_modules/@npmcli/arborist/node_modules/pacote": {
2074-
"version": "19.0.1",
2075-
"resolved": "https://registry.npmjs.org/pacote/-/pacote-19.0.1.tgz",
2076-
"integrity": "sha512-zIpxWAsr/BvhrkSruspG8aqCQUUrWtpwx0GjiRZQhEM/pZXrigA32ElN3vTcCPUDOFmHr6SFxwYrvVUs5NTEUg==",
2077-
"dev": true,
2078-
"license": "ISC",
2079-
"dependencies": {
2080-
"@npmcli/git": "^6.0.0",
2081-
"@npmcli/installed-package-contents": "^3.0.0",
2082-
"@npmcli/package-json": "^6.0.0",
2083-
"@npmcli/promise-spawn": "^8.0.0",
2084-
"@npmcli/run-script": "^9.0.0",
2085-
"cacache": "^19.0.0",
2086-
"fs-minipass": "^3.0.0",
2087-
"minipass": "^7.0.2",
2088-
"npm-package-arg": "^12.0.0",
2089-
"npm-packlist": "^9.0.0",
2090-
"npm-pick-manifest": "^10.0.0",
2091-
"npm-registry-fetch": "^18.0.0",
2092-
"proc-log": "^5.0.0",
2093-
"promise-retry": "^2.0.1",
2094-
"sigstore": "^3.0.0",
2095-
"ssri": "^12.0.0",
2096-
"tar": "^6.1.11"
2097-
},
2098-
"bin": {
2099-
"pacote": "bin/index.js"
2100-
},
2101-
"engines": {
2102-
"node": "^18.17.0 || >=20.5.0"
2103-
}
2104-
},
2105-
"mock-registry/node_modules/@npmcli/metavuln-calculator": {
2106-
"version": "8.0.1",
2107-
"resolved": "https://registry.npmjs.org/@npmcli/metavuln-calculator/-/metavuln-calculator-8.0.1.tgz",
2108-
"integrity": "sha512-WXlJx9cz3CfHSt9W9Opi1PTFc4WZLFomm5O8wekxQZmkyljrBRwATwDxfC9iOXJwYVmfiW1C1dUe0W2aN0UrSg==",
2109-
"dev": true,
2110-
"license": "ISC",
2111-
"dependencies": {
2112-
"cacache": "^19.0.0",
2113-
"json-parse-even-better-errors": "^4.0.0",
2114-
"pacote": "^20.0.0",
2115-
"proc-log": "^5.0.0",
2116-
"semver": "^7.3.5"
2117-
},
2118-
"engines": {
2119-
"node": "^18.17.0 || >=20.5.0"
2120-
}
2121-
},
2122-
"mock-registry/node_modules/@npmcli/metavuln-calculator/node_modules/pacote": {
2123-
"version": "20.0.0",
2124-
"resolved": "https://registry.npmjs.org/pacote/-/pacote-20.0.0.tgz",
2125-
"integrity": "sha512-pRjC5UFwZCgx9kUFDVM9YEahv4guZ1nSLqwmWiLUnDbGsjs+U5w7z6Uc8HNR1a6x8qnu5y9xtGE6D1uAuYz+0A==",
2126-
"dev": true,
2127-
"license": "ISC",
2128-
"dependencies": {
2129-
"@npmcli/git": "^6.0.0",
2130-
"@npmcli/installed-package-contents": "^3.0.0",
2131-
"@npmcli/package-json": "^6.0.0",
2132-
"@npmcli/promise-spawn": "^8.0.0",
2133-
"@npmcli/run-script": "^9.0.0",
2134-
"cacache": "^19.0.0",
2135-
"fs-minipass": "^3.0.0",
2136-
"minipass": "^7.0.2",
2137-
"npm-package-arg": "^12.0.0",
2138-
"npm-packlist": "^9.0.0",
2139-
"npm-pick-manifest": "^10.0.0",
2140-
"npm-registry-fetch": "^18.0.0",
2141-
"proc-log": "^5.0.0",
2142-
"promise-retry": "^2.0.1",
2143-
"sigstore": "^3.0.0",
2144-
"ssri": "^12.0.0",
2145-
"tar": "^6.1.11"
2146-
},
2147-
"bin": {
2148-
"pacote": "bin/index.js"
2149-
},
2150-
"engines": {
2151-
"node": "^18.17.0 || >=20.5.0"
2152-
}
2153-
},
2154-
"mock-registry/node_modules/npm-packlist": {
2155-
"version": "9.0.0",
2156-
"resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-9.0.0.tgz",
2157-
"integrity": "sha512-8qSayfmHJQTx3nJWYbbUmflpyarbLMBc6LCAjYsiGtXxDB68HaZpb8re6zeaLGxZzDuMdhsg70jryJe+RrItVQ==",
2158-
"dev": true,
2159-
"license": "ISC",
2160-
"dependencies": {
2161-
"ignore-walk": "^7.0.0"
2162-
},
2163-
"engines": {
2164-
"node": "^18.17.0 || >=20.5.0"
2165-
}
2166-
},
2167-
"mock-registry/node_modules/walk-up-path": {
2168-
"version": "3.0.1",
2169-
"resolved": "https://registry.npmjs.org/walk-up-path/-/walk-up-path-3.0.1.tgz",
2170-
"integrity": "sha512-9YlCL/ynK3CTlrSRrDxZvUauLzAswPCrsaCgilqFevUYpeEW0/3ScEjaa3kbW/T0ghhkEr7mv+fpjqn1Y1YuTA==",
2171-
"dev": true,
2172-
"license": "ISC"
2173-
},
21742023
"node_modules/@actions/core": {
21752024
"version": "1.11.1",
21762025
"resolved": "https://registry.npmjs.org/@actions/core/-/core-1.11.1.tgz",

0 commit comments

Comments
 (0)