From ebe371222fd3d23046ff81bf5b851d4397ebe1a8 Mon Sep 17 00:00:00 2001 From: jdalton Date: Tue, 1 Dec 2026 20:12:13 -0500 Subject: [PATCH] fix(npm): preserve optional peers in lockfiles Assisted-by: Codex:GPT-6-Luna --- .config/vitest.config.mts | 6 +- .config/vitest.e2e.config.mts | 6 +- .config/vitest.integration.config.mts | 6 +- .config/vitest.native.config.mts | 6 +- .config/vitest.terminal.config.mts | 6 +- package.json | 4 +- pnpm-lock.yaml | 679 ++++++++++-------- src/shadow/npm/arborist/index.mts | 29 +- src/shadow/npm/arborist/index.test.mts | 14 + .../npm/arborist/lib/arborist/index.mts | 10 +- src/shadow/npm/arborist/types.mts | 2 +- src/shadow/npm/paths.mts | 61 -- 12 files changed, 436 insertions(+), 393 deletions(-) create mode 100644 src/shadow/npm/arborist/index.test.mts delete mode 100644 src/shadow/npm/paths.mts diff --git a/.config/vitest.config.mts b/.config/vitest.config.mts index eefa13d630..106bcea952 100644 --- a/.config/vitest.config.mts +++ b/.config/vitest.config.mts @@ -1,10 +1,10 @@ import { fileURLToPath } from 'node:url' -import { defineConfig } from 'vitest/config' +import type { UserConfig } from 'vitest/config' import { resolveSnapshotPath } from './snapshot-path.mts' -export default defineConfig({ +export default { root: fileURLToPath(new URL('../', import.meta.url)), resolve: { preserveSymlinks: false, @@ -59,4 +59,4 @@ export default defineConfig({ ], }, }, -}) +} satisfies UserConfig diff --git a/.config/vitest.e2e.config.mts b/.config/vitest.e2e.config.mts index 0ed28d4b0d..668a97bdf0 100644 --- a/.config/vitest.e2e.config.mts +++ b/.config/vitest.e2e.config.mts @@ -1,10 +1,10 @@ import { fileURLToPath } from 'node:url' -import { defineConfig } from 'vitest/config' +import type { UserConfig } from 'vitest/config' import { resolveSnapshotPath } from './snapshot-path.mts' -export default defineConfig({ +export default { root: fileURLToPath(new URL('../', import.meta.url)), resolve: { preserveSymlinks: false, @@ -37,4 +37,4 @@ export default defineConfig({ ], }, }, -}) +} satisfies UserConfig diff --git a/.config/vitest.integration.config.mts b/.config/vitest.integration.config.mts index 5b37d08616..20c092a2b2 100644 --- a/.config/vitest.integration.config.mts +++ b/.config/vitest.integration.config.mts @@ -1,10 +1,10 @@ import { fileURLToPath } from 'node:url' -import { defineConfig } from 'vitest/config' +import type { UserConfig } from 'vitest/config' import { resolveSnapshotPath } from './snapshot-path.mts' -export default defineConfig({ +export default { root: fileURLToPath(new URL('../', import.meta.url)), resolve: { preserveSymlinks: false, @@ -29,4 +29,4 @@ export default defineConfig({ 'test/fixtures/**', ], }, -}) +} satisfies UserConfig diff --git a/.config/vitest.native.config.mts b/.config/vitest.native.config.mts index 994807a1a3..bf7b0eede3 100644 --- a/.config/vitest.native.config.mts +++ b/.config/vitest.native.config.mts @@ -1,10 +1,10 @@ import { fileURLToPath } from 'node:url' -import { defineConfig } from 'vitest/config' +import type { UserConfig } from 'vitest/config' import { resolveSnapshotPath } from './snapshot-path.mts' -export default defineConfig({ +export default { root: fileURLToPath(new URL('../', import.meta.url)), resolve: { preserveSymlinks: false, @@ -32,4 +32,4 @@ export default defineConfig({ 'test/fixtures/**', ], }, -}) +} satisfies UserConfig diff --git a/.config/vitest.terminal.config.mts b/.config/vitest.terminal.config.mts index 0636916154..3b40b7130d 100644 --- a/.config/vitest.terminal.config.mts +++ b/.config/vitest.terminal.config.mts @@ -1,10 +1,10 @@ import { fileURLToPath } from 'node:url' -import { defineConfig } from 'vitest/config' +import type { UserConfig } from 'vitest/config' import { resolveSnapshotPath } from './snapshot-path.mts' -export default defineConfig({ +export default { root: fileURLToPath(new URL('../', import.meta.url)), resolve: { preserveSymlinks: false }, test: { @@ -23,4 +23,4 @@ export default defineConfig({ ], exclude: ['**/node_modules/**', '**/dist/**', '.claude/worktrees/**'], }, -}) +} satisfies UserConfig diff --git a/package.json b/package.json index 8d03c3bfec..4d6d101096 100644 --- a/package.json +++ b/package.json @@ -133,7 +133,7 @@ "@dotenvx/dotenvx": "1.49.0", "@eslint/compat": "1.3.2", "@eslint/js": "9.35.0", - "@npmcli/arborist": "9.1.4", + "@npmcli/arborist": "10.0.5", "@npmcli/config": "10.4.0", "@octokit/graphql": "9.0.1", "@octokit/openapi-types": "25.1.0", @@ -166,7 +166,7 @@ "@types/mock-fs": "4.13.4", "@types/node": "24.3.1", "@types/npm-package-arg": "6.1.4", - "@types/npmcli__arborist": "6.3.1", + "@types/npmcli__arborist": "6.3.3", "@types/npmcli__config": "6.0.3", "@types/proc-log": "3.0.4", "@types/semver": "7.7.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f2ee422190..33bf7b8b3e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -332,8 +332,8 @@ importers: specifier: 9.35.0 version: 9.35.0 '@npmcli/arborist': - specifier: 9.1.4 - version: 9.1.4(supports-color@7.2.0) + specifier: 10.0.5 + version: 10.0.5(supports-color@7.2.0) '@npmcli/config': specifier: 10.4.0 version: 10.4.0 @@ -434,8 +434,8 @@ importers: specifier: 6.1.4 version: 6.1.4 '@types/npmcli__arborist': - specifier: 6.3.1 - version: 6.3.1 + specifier: 6.3.3 + version: 6.3.3 '@types/npmcli__config': specifier: 6.0.3 version: 6.0.3 @@ -1507,17 +1507,17 @@ packages: '@npm/types@1.0.2': resolution: {integrity: sha512-KXZccTDEnWqNrrx6JjpJKU/wJvNeg9BDgjS0XhmlZab7br921HtyVbsYzJr4L+xIvjdJ20Wh9dgxgCI2a5CEQw==} - '@npmcli/agent@3.0.0': - resolution: {integrity: sha512-S79NdEgDQd/NGCay6TCoVzXSj74skRZIKJcpJjC5lOq34SZzyI6MqtiiWoiVWoVrTcGjNeC4ipbh1VIHlpfF5Q==} - engines: {node: ^18.17.0 || >=20.5.0} - '@npmcli/agent@4.0.0': resolution: {integrity: sha512-kAQTcEN9E8ERLVg5AsGwLNoFb+oEG6engbqAU2P43gD4JEIkNGMHdVQ096FsOAAYpZPB0RSt0zgInKIAS1l5QA==} engines: {node: ^20.17.0 || >=22.9.0} - '@npmcli/arborist@9.1.4': - resolution: {integrity: sha512-2Co31oEFlzT9hYjGahGL4PqDXXpA18tX9yu55j5on+m2uDiyBoljQjHNnnNVCji4pFUjawlHi23tQ4j2A5gHow==} - engines: {node: ^20.17.0 || >=22.9.0} + '@npmcli/agent@5.0.2': + resolution: {integrity: sha512-EkzGmEsgbQ1rqWkRJe2P0oQHx/ylZozDUNPMXCklLuSFL3GY+QyEfBUjhjCsgGXzh4OGpnHvkboSQgczjP/jJg==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} + + '@npmcli/arborist@10.0.5': + resolution: {integrity: sha512-igPGIIQHSg/+iDD5D3zDWpaw47M3XGjAPnn/7S2QKjF4BIrnFuX3g9ahG6mz78oDEgtil6pI5jNMlDUS5AfR+g==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} hasBin: true '@npmcli/config@10.4.0': @@ -1532,6 +1532,10 @@ packages: resolution: {integrity: sha512-7OsC1gNORBEawOa5+j2pXN9vsicaIOH5cPXxoR6fJOmH6/EXpJB2CajXOu1fPRFun2m1lktEFX11+P89hqO/og==} engines: {node: ^20.17.0 || >=22.9.0} + '@npmcli/fs@6.0.0': + resolution: {integrity: sha512-AheOs4swKka/XLtht6xxJDPezlQ7K2IYQ9Y8lST4JLDjnralnWuMM9AE2CdVcgQJ5omrXhsRzM7F7aYmeZBvKQ==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} + '@npmcli/git@6.0.3': resolution: {integrity: sha512-GUYESQlxZRAdhs3UhbB6pVRNUELQOHXwK9ruDkwmCv2aZ5y0SApQzUJCg02p3A7Ue2J5hxvlk1YI53c00NmRyQ==} engines: {node: ^18.17.0 || >=20.5.0} @@ -1540,9 +1544,13 @@ packages: resolution: {integrity: sha512-vnz7BVGtOctJAIHouCJdvWBhsTVSICMeUgZo2c7XAi5d5Rrl80S1H7oPym7K03cRuinK5Q6s2dw36+PgXQTcMA==} engines: {node: ^20.17.0 || >=22.9.0} - '@npmcli/installed-package-contents@3.0.0': - resolution: {integrity: sha512-fkxoPuFGvxyrH+OQzyTkX2LUEamrF4jZSmxjAtPPHHGO0dqsQ8tTKjnIS8SAnPHdk2I03BDtSMR5K/4loKg79Q==} - engines: {node: ^18.17.0 || >=20.5.0} + '@npmcli/git@8.0.0': + resolution: {integrity: sha512-5P1oo+TbxZNAiiMBtpzHA8QyEGh5D69LYLexNWJEDXLdxnAZvT/SLitGJBXxjtCE4ftAcFOS/Tu2185MeIjooQ==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} + + '@npmcli/installed-package-contents@5.0.0': + resolution: {integrity: sha512-6Ay12sf2Lh7U1ifvnS1mq7TZFeh/rXHMXye+kV7jQrANIubaoVcleeh4HdFumxhsRYwm9OaHycB5lYmSwGrcIQ==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} hasBin: true '@npmcli/map-workspaces@4.0.2': @@ -1553,9 +1561,13 @@ packages: resolution: {integrity: sha512-o2grssXo1e774E5OtEwwrgoszYRh0lqkJH+Pb9r78UcqdGJRDRfhpM8DvZPjzNLLNYeD/rNbjOKM3Ss5UABROw==} engines: {node: ^20.17.0 || >=22.9.0} - '@npmcli/metavuln-calculator@9.0.2': - resolution: {integrity: sha512-eESzlCRLuD30qYefT2jYZTUepgu9DNJQdXABGGxjkir055x2UtnpNfDZCA6OJxButQNgxNKc9AeTchYxSgbMCw==} - engines: {node: ^20.17.0 || >=22.9.0} + '@npmcli/map-workspaces@6.0.1': + resolution: {integrity: sha512-7jUv56bxKcWpHBr5uGr1U9jMCCyPrWe0XDZoMkZtsS6+efTlVRqXDqiShoGtfI8RBBnotXaYL2e/iPepW/DA7Q==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} + + '@npmcli/metavuln-calculator@10.0.0': + resolution: {integrity: sha512-fC56lpGOae+unrFx6hoiWeWa0/4q+bLhOQTSrB65qcy+Zm34i1OdBcevAQFJJdUB/3i9uXw7PjdrrRjt0KSKXw==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} '@npmcli/name-from-folder@3.0.0': resolution: {integrity: sha512-61cDL8LUc9y80fXn+lir+iVt8IS0xHqEKwPu/5jCjxQTVoSCmkXvw4vbMrzAMtmghz3/AkiBjhHkDKUH+kf7kA==} @@ -1565,45 +1577,49 @@ packages: resolution: {integrity: sha512-qfrhVlOSqmKM8i6rkNdZzABj8MKEITGFAY+4teqBziksCQAOLutiAxM1wY2BKEd8KjUSpWmWCYxvXr0y4VTlPg==} engines: {node: ^20.17.0 || >=22.9.0} - '@npmcli/node-gyp@4.0.0': - resolution: {integrity: sha512-+t5DZ6mO/QFh78PByMq1fGSAub/agLJZDRfJRMeOSNCt8s9YVlTjmGpIPwPhvXTGUIJk+WszlT0rQa1W33yzNA==} - engines: {node: ^18.17.0 || >=20.5.0} + '@npmcli/name-from-folder@5.0.0': + resolution: {integrity: sha512-Mua2i5asmOn4sGGAsANS9Guamo7sgUd4BihhQWzlNGz6l/Ki23CzC2oGe4I94r2k/39ImCjDLbyu/rSJr/SXoA==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} + + '@npmcli/node-gyp@6.0.0': + resolution: {integrity: sha512-MFakpea4pcZNlHSTbMi15HK8RY8zl2UpgDtxhZCWOer+KRN3x7HFIMk/fKpOMgR55L4LIcA2qn8IHeyABhIFtw==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} '@npmcli/package-json@6.2.0': resolution: {integrity: sha512-rCNLSB/JzNvot0SEyXqWZ7tX2B5dD2a1br2Dp0vSYVo5jh8Z0EZ7lS9TsZ1UtziddB1UfNUaMCc538/HztnJGA==} engines: {node: ^18.17.0 || >=20.5.0} - '@npmcli/package-json@7.0.1': - resolution: {integrity: sha512-956YUeI0YITbk2+KnirCkD19HLzES0habV+Els+dyZaVsaM6VGSiNwnRu6t3CZaqDLz4KXy2zx+0N/Zy6YjlAA==} - engines: {node: ^20.17.0 || >=22.9.0} - '@npmcli/package-json@7.0.5': resolution: {integrity: sha512-iVuTlG3ORq2iaVa1IWUxAO/jIp77tUKBhoMjuzYW2kL4MLN1bi/ofqkZ7D7OOwh8coAx1/S2ge0rMdGv8sLSOQ==} engines: {node: ^20.17.0 || >=22.9.0} + '@npmcli/package-json@8.0.1': + resolution: {integrity: sha512-pm/9c8qwjdV+FnApJDa7ZF6BLtXg+fJ3MrB2eUePCKg2gOqpzLQt4XyDuBL+fZ01zgdJJ8q2il+9+h5YW8svFg==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} + + '@npmcli/promise-spawn@10.0.1': + resolution: {integrity: sha512-IstFcKAoEIZ7olS9iTwBsyNOZkIturafO2da9ocSP3LifRlm1+sxuo8IVM5phg5sNe0tNYLT0ZqCBRTLNzz0AA==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} + '@npmcli/promise-spawn@8.0.3': resolution: {integrity: sha512-Yb00SWaL4F8w+K8YGhQ55+xE4RUNdMHV43WZGsiTM92gS+lC0mGsn7I4hLug7pbao035S6bj3Y3w0cUNGLfmkg==} engines: {node: ^18.17.0 || >=20.5.0} - '@npmcli/query@4.0.1': - resolution: {integrity: sha512-4OIPFb4weUUwkDXJf4Hh1inAn8neBGq3xsH4ZsAaN6FK3ldrFkH7jSpCc7N9xesi0Sp+EBXJ9eGMDrEww2Ztqw==} - engines: {node: ^18.17.0 || >=20.5.0} - - '@npmcli/redact@3.2.2': - resolution: {integrity: sha512-7VmYAmk4csGv08QzrDKScdzn11jHPFGyqJW39FyPgPuAp3zIaUmuCo1yxw9aGs+NEJuTGQ9Gwqpt93vtJubucg==} - engines: {node: ^18.17.0 || >=20.5.0} + '@npmcli/query@5.0.0': + resolution: {integrity: sha512-8TZWfTQOsODpLqo9SVhVjHovmKXNpevHU0gO9e+y4V4fRIOneiXy0u0sMP9LmS71XivrEWfZWg50ReH4WRT4aQ==} + engines: {node: ^20.17.0 || >=22.9.0} '@npmcli/redact@4.0.0': resolution: {integrity: sha512-gOBg5YHMfZy+TfHArfVogwgfBeQnKbbGo3pSUyK/gSI0AVu+pEiDVcKlQb0D8Mg1LNRZILZ6XG8I5dJ4KuAd9Q==} engines: {node: ^20.17.0 || >=22.9.0} - '@npmcli/run-script@10.0.0': - resolution: {integrity: sha512-vaQj4nccJbAslopIvd49pQH2NhUp7G9pY4byUtmwhe37ZZuubGrx0eB9hW2F37uVNRuDDK6byFGXF+7JCuMSZg==} - engines: {node: ^20.17.0 || >=22.9.0} + '@npmcli/redact@5.0.0': + resolution: {integrity: sha512-3zcN5Q3yEmeyxXBzqB6fXPQFzYa2ROsGFSr69W0ArXIAGJqxl/aFECOVPD2kbkYPm0U/EHxFKgclK3UA9WQg5A==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} - '@npmcli/run-script@9.1.0': - resolution: {integrity: sha512-aoNSbxtkePXUlbZB+anS1LqsJdctG5n3UVhfU47+CDdwMi6uNTBMF9gPcQRnqghQd2FGzcwwIFBruFMxjhBewg==} - engines: {node: ^18.17.0 || >=20.5.0} + '@npmcli/run-script@11.0.1': + resolution: {integrity: sha512-8A6ICbU8FBUd5a1jPlCozJj5HDF3MaYUbIIM0K57QcKaZcK/9vTuYf+ME+ThzaMO5XAxhvrAQRO4zL+/fEt98A==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} '@octokit/auth-token@6.0.0': resolution: {integrity: sha512-P4YJBPdPSpWTQ1NU4XYdvHvXJJDxM6YwpS0FZHRgP7YFkdVxsWcpWGy/NVqlAA7PcPCnMacXlRm1y2PFZRWL/w==} @@ -2759,8 +2775,8 @@ packages: '@types/npm-registry-fetch@8.0.8': resolution: {integrity: sha512-VL/chssZawBkaQ5gFD5njblJce/ny9OICBlWAG9X6/m/ypPNJMWYiM22SY2mhLIGoknd4AyEJyi+FGyrBnsr+A==} - '@types/npmcli__arborist@6.3.1': - resolution: {integrity: sha512-CUADRvIKRFwVuiroLQ0wWzOpeOcL8OacCbODtZZxMOA+PBg1au/D8ry/zBnQWdEH+i0IXKeNL2Nt0er30bYWng==} + '@types/npmcli__arborist@6.3.3': + resolution: {integrity: sha512-kyrX932Qr+/Y4OB47Jamgc2YWa/HlXTCN0KVJsq04XDHUGkfbprJA8rd66zZXHmHmvnz1LR4X17zsE/H8Mklew==} '@types/npmcli__config@6.0.3': resolution: {integrity: sha512-JasDNjgkmtYWGJxMmhmfc8gRrRgcONd4DRaUTD/jWGhwIJSkUMSGHPatTVfUmD7QopQh93TzDH14FZL5tB2tEA==} @@ -3073,6 +3089,10 @@ packages: resolution: {integrity: sha512-AO2ac6pjRB3SJmGJo+v5/aK6Omggp6fsLrs6wN9bd35ulu4cCwaAU9+7ZhXjeqHVkaHThLuzH0nZr0YpCDhygg==} engines: {node: ^18.17.0 || >=20.5.0} + abbrev@5.0.0: + resolution: {integrity: sha512-/XrFJgzQQQHpti1raDJC6m4ws6aNktmjBlhk8Fdlk7LwCEuDoieEJJY9OFHjfiFJFFRM2tK+Ky/IsfbbmlMu1w==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} + acorn-jsx@5.3.2: resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} peerDependencies: @@ -3185,9 +3205,9 @@ packages: before-after-hook@4.0.0: resolution: {integrity: sha512-q6tR3RPqIB1pMiTRMFcZwuG5T8vwp+vUvEG0vuI6B+Rikh5BfPp2fQ82c925FOs+b0lcFQ8CFrL+KbilfZFhOQ==} - bin-links@5.0.0: - resolution: {integrity: sha512-sdleLVfCjBtgO5cNjA2HVRvWBJAHs4zwenaCPMNJAJU0yNxpzj80IpjOIimkpkr+mhlA+how5poQtt53PygbHA==} - engines: {node: ^18.17.0 || >=20.5.0} + bin-links@7.0.1: + resolution: {integrity: sha512-lgxd7FtxW02eSuafotQOGEQf1iGfDExMz2BRaL+e1tU5xTLx+vvSVA5oHIO6B1tR91LDKcWqYGsktUHdFMtHHQ==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} blessed-contrib@4.11.0: resolution: {integrity: sha512-P00Xji3xPp53+FdU9f74WpvnOAn/SS0CKLy4vLAf5Ps7FGDOTY711ruJPZb3/7dpFuP+4i7f4a/ZTZdLlKG9WA==} @@ -3246,14 +3266,14 @@ packages: resolution: {integrity: sha512-LMDU/U2yA4IPIY8KT0NsNPWEYZvAMkbgyspxJ6btJaYV+WMDOHAZCmB0lsTObiHaRS1V/ztKAl7+TSkTqXyeoA==} engines: {node: '>=20.19.0'} - cacache@19.0.1: - resolution: {integrity: sha512-hdsUxulXCi5STId78vRVYEtDAjq99ICAUktLTeTYsLoTE6Z8dS0c8pWNCxwdrk9YfJeobDZc2Y186hD/5ZQgFQ==} - engines: {node: ^18.17.0 || >=20.5.0} - cacache@20.0.1: resolution: {integrity: sha512-+7LYcYGBYoNqTp1Rv7Ny1YjUo5E0/ftkQtraH3vkfAGgVHc+ouWdC8okAwQgQR7EVIdW6JTzTmhKFwzb+4okAQ==} engines: {node: ^20.17.0 || >=22.9.0} + cacache@21.0.2: + resolution: {integrity: sha512-P1W9H2p3vBmvDhk5g/82aKTOxB3RpHK55IdiH2cAjX7Ts0bE/3OJI9F8HHoNTrCqsZq9XM3XB+ZblaDL8Ycd/g==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} + callsites@3.1.0: resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} engines: {node: '>=6'} @@ -3341,6 +3361,10 @@ packages: resolution: {integrity: sha512-rtpaCbr164TPPh+zFdkWpCyZuKkjpAzODfaZCf/SVJZzJN+4bHQb/LP3Jzq5/+84um3XXY8r548XiWKSborwVw==} engines: {node: ^18.17.0 || >=20.5.0} + cmd-shim@9.0.2: + resolution: {integrity: sha512-xVHoI+wNrM4tDB9iC1idf/8D0tYnVimlBp/5zHW+x1sGjjRD69NvR9th3Z1JAYGN/BTW4he6aZFYV6kzy+k+jw==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} + color-convert@1.9.3: resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} @@ -3391,6 +3415,10 @@ packages: common-ancestor-path@1.0.1: resolution: {integrity: sha512-L3sHRo1pXXEqX8VU28kfgUY+YGsk09hPqZiZmLacNib6XNTCM8ubYeT7ryXQw8asB1sKgcU5lkB7ONug08aB8w==} + common-ancestor-path@2.0.0: + resolution: {integrity: sha512-dnN3ibLeoRf2HNC+OlCiNc5d2zxbLJXOtiZUudNFSXZrNSydxcCsSpRzXwfu7BBWCIfHPw+xTayeBvJCP/D8Ng==} + engines: {node: '>= 18'} + commondir@1.0.1: resolution: {integrity: sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==} @@ -3541,6 +3569,10 @@ packages: devlop@1.1.0: resolution: {integrity: sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==} + diff@8.0.4: + resolution: {integrity: sha512-DPi0FmjiSU5EvQV0++GFDOJ9ASQUVFh5kD+OzOnYdi7n3Wpm9hWWGfB/O2blfHcMVTL5WkQXSnRiK9makhrcnw==} + engines: {node: '>=0.3.1'} + dom-serializer@2.0.0: resolution: {integrity: sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==} @@ -3601,9 +3633,6 @@ packages: encoding-sniffer@0.2.1: resolution: {integrity: sha512-5gvq20T6vfpekVtqrYQsSCFZ1wEg5+wW0/QaZMWkFr6BqD3NfKs0rLCx4rrVlSWJeZb5NBJgVLswK/w2MWU+Gw==} - encoding@0.1.13: - resolution: {integrity: sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==} - end-of-stream@1.4.5: resolution: {integrity: sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==} @@ -4012,6 +4041,10 @@ packages: hermes-parser@0.37.0: resolution: {integrity: sha512-8PuWcyaF6VHQHL2dbU+QEIkbtHYQrTX/6+ep4VcBLJ3f/ehevowr5Zj8LQfYXQQGFG2O+df7hIMtt4PkkhfK3Q==} + hosted-git-info@10.1.1: + resolution: {integrity: sha512-DeOnSPAvOndYKfw075gt8yZzQ7S2hNztw34zBTfhIzLhmBTswIBg5/y+pqu/VD5cYWm5goAFTusDmUEmKZ0PEQ==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} + hosted-git-info@2.8.9: resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==} @@ -4070,9 +4103,9 @@ packages: resolution: {integrity: sha512-im9DjEDQ55s9fL4EYzOAv0yMqmMBSZp6G0VvFyTMPKWxiSBHUj9NW/qqLmXUwXrrM7AvqSlTCfvqRb0cM8yYqw==} engines: {node: '>=0.10.0'} - ignore-walk@8.0.0: - resolution: {integrity: sha512-FCeMZT4NiRQGh+YkeKMtWrOmBgWjHjMJ26WQWrRQyoyzqevdaGSakUaJW5xQYmjLlUVk2qUnCjYVBax9EKKg8A==} - engines: {node: ^20.17.0 || >=22.9.0} + ignore-walk@9.0.1: + resolution: {integrity: sha512-2SvJvF/GIOPrVy3wT7w4PXWUI9sSk4naOTlO3f0Dblf/UM51ISAKz4FIvtj3Um9WhvcKy1MySJN+sGjpE2AznQ==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} ignore@5.3.2: resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==} @@ -4100,6 +4133,10 @@ packages: resolution: {integrity: sha512-+N0ngpO3e7cRUWOJAS7qw0IZIVc6XPrW4MlFBdD066F2L4k1L6ker3hLqSq7iXxU5tgS4WGkIUElWn5vogAEnw==} engines: {node: ^18.17.0 || >=20.5.0} + ini@7.0.0: + resolution: {integrity: sha512-ifK0CgjALofS5bkrcTy4RaQ9Vx2Knf/eLeIO+NaswQEpH1UblrtTSCIvN71qQDMq0PeQ/SSPojvEJp9vvvfr+w==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} + ionstore@1.0.1: resolution: {integrity: sha512-g+99vyka3EiNFJCnbq3NxegjV211RzGtkDUMbZGB01Con8ZqUmMx/FpWMeqgDXOqgM7QoVeDhe+CfYCWznaDVA==} @@ -4186,6 +4223,10 @@ packages: resolution: {integrity: sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==} engines: {node: '>=16'} + isexe@4.0.0: + resolution: {integrity: sha512-FFUtZMpoZ8RqHS3XeXEmHWLA4thH+ZxCv2lOiPIn1Xc7CxrqhWzNSDzD+/chS/zbYezmiwWLdQC09JdQKmthOw==} + engines: {node: '>=20'} + jackspeak@3.4.3: resolution: {integrity: sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==} @@ -4230,6 +4271,10 @@ packages: resolution: {integrity: sha512-ZF1nxZ28VhQouRWhUcVlUIN3qwSgPuswK05s/HIaoetAoE/9tngVmCHjSxmSQPav1nd+lPtTL0YZ/2AFdR/iYQ==} engines: {node: ^20.17.0 || >=22.9.0} + json-parse-even-better-errors@6.0.0: + resolution: {integrity: sha512-2/8adwnK1/+Fdjyts4r6wSpfANWw8zdNhU9U/Llk59c6O+DjSisPWPykwoL8gZmocP9Dy64S7oie2g+Mia123A==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} + json-schema-traverse@0.4.1: resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} @@ -4411,18 +4456,14 @@ packages: magicast@0.5.5: resolution: {integrity: sha512-UicdXN8zQ3JHlxVq+28afMXPr1z7WNY6+7EJnzTdQWkTAlMLF5fNCCKxJHBQwGaNGR11581EiQmQzx73+MvszA==} - make-fetch-happen@14.0.3: - resolution: {integrity: sha512-QMjGbFTP0blj97EeidG5hk/QhKQ3T4ICckQGLgz38QF7Vgbk6e6FTARN8KhKxyBbWn8R0HU+bnw8aSoFPD4qtQ==} - engines: {node: ^18.17.0 || >=20.5.0} - - make-fetch-happen@15.0.2: - resolution: {integrity: sha512-sI1NY4lWlXBAfjmCtVWIIpBypbBdhHtcjnwnv+gtCnsaOffyFil3aidszGC8hgzJe+fT1qix05sWxmD/Bmf/oQ==} - engines: {node: ^20.17.0 || >=22.9.0} - make-fetch-happen@15.0.6: resolution: {integrity: sha512-Je0fLJ0F5atA7F+eIlLzk+Wkcl57JDf4kf+EW8xiP5E31xOQxkIxTbgf1Oi1Lw9tRI9UEMRdI5Vz2xTzoNU1Jw==} engines: {node: ^20.17.0 || >=22.9.0} + make-fetch-happen@16.0.2: + resolution: {integrity: sha512-IUlTXyoHTIWxcy4ZoQEyWzPwyE5GX9At5NcJTWzlW+5JXhvWDjDOj0F0qYIgoREKRR8csah8wNpxRuDeiGlEGQ==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} + map-canvas@0.1.5: resolution: {integrity: sha512-f7M3sOuL9+up0NCOZbb1rQpWDLZwR/ftCiNbyscjl9LUUEwrRaoumH4sz6swgs58lF21DQ0hsYOCw5C6Zz7hbg==} @@ -4631,14 +4672,14 @@ packages: resolution: {integrity: sha512-D7V8PO9oaz7PWGLbCACuI1qEOsq7UKfLotx/C0Aet43fCUB/wfQ7DYeq2oR/svFJGYDHPr38SHATeaj/ZoKHKw==} engines: {node: '>=16 || 14 >=14.17'} - minipass-fetch@4.0.1: - resolution: {integrity: sha512-j7U11C5HXigVuutxebFadoYBbd7VSdZWggSe64NVdvWNBqGAiXPL2QVCehjmw7lY1oF9gOllYbORh+hiNgfPgQ==} - engines: {node: ^18.17.0 || >=20.5.0} - minipass-fetch@5.0.2: resolution: {integrity: sha512-2d0q2a8eCi2IRg/IGubCNRJoYbA1+YPXAzQVRFmB45gdGZafyivnZ5YSEfo3JikbjGxOdntGFvBQGqaSMXlAFQ==} engines: {node: ^20.17.0 || >=22.9.0} + minipass-fetch@6.0.1: + resolution: {integrity: sha512-wV03kbBre0q+NJLfcUswkG+6vGn/atIdXOMiD0uKIqdWpevHiCFg3ML9V8jolPoKM7H/kmDV9Xsk0j7/FDRyhA==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} + minipass-flush@1.0.5: resolution: {integrity: sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw==} engines: {node: '>= 8'} @@ -4647,10 +4688,6 @@ packages: resolution: {integrity: sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==} engines: {node: '>=8'} - minipass-sized@1.0.3: - resolution: {integrity: sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g==} - engines: {node: '>=8'} - minipass-sized@2.0.0: resolution: {integrity: sha512-zSsHhto5BcUVM2m1LurnXY6M//cGhVaegT71OfOXoprxT6o780GZd792ea6FfrQkuU4usHZIUczAQMRUE2plzA==} engines: {node: '>=8'} @@ -4746,9 +4783,9 @@ packages: node-fetch-native@1.6.7: resolution: {integrity: sha512-g9yhqoedzIUm0nTnTqAQvueMPVOuIY16bqgAJJC8XOOubYFNwz6IER9qs0Gq2Xd0+CecCKFjtdDTMA4u4xG06Q==} - node-gyp@11.4.2: - resolution: {integrity: sha512-3gD+6zsrLQH7DyYOUIutaauuXrcyxeTPyQuZQCQoNPZMHMMS5m4y0xclNpvYzoK3VNzuyxT6eF4mkIL4WSZ1eQ==} - engines: {node: ^18.17.0 || >=20.5.0} + node-gyp@13.1.0: + resolution: {integrity: sha512-FpNzOLFACKG0oRBYbZ5WOeWD1EqRTIWX90MaRIWTO18lVYPx8fqIjrdS3pihjnCkSmgop6zVGkSqg1vXZLksuw==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} hasBin: true node-pty@1.2.0-beta.18: @@ -4766,6 +4803,11 @@ packages: resolution: {integrity: sha512-EHpIatM09Pg7dZOsowDwqqdacYpogTBb1BNSMIy8g/J+MGpaxy0k+qmrbYrjLNRPXtW3fqf+Q3b2Q0yFRnQdIw==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + nopt@10.0.1: + resolution: {integrity: sha512-df3sBr/6ax9hSGuC3CspvLlbnX8cP5L5nZwXF8cGN8l0zSWR6BvzmQ6jPUKjvo6+/xdpkNvEcucBNUdBeeV13g==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} + hasBin: true + nopt@2.1.2: resolution: {integrity: sha512-x8vXm7BZ2jE1Txrxh/hO74HTuYZQEbo8edoRcANgdZ4+PCV+pbjd/xdummkmjjC7LU5EjPzlu8zEq/oxWylnKA==} hasBin: true @@ -4782,14 +4824,18 @@ packages: resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} engines: {node: '>=0.10.0'} - npm-bundled@4.0.0: - resolution: {integrity: sha512-IxaQZDMsqfQ2Lz37VvyyEtKLe8FsRZuysmedy/N06TU1RyVppYKXrO4xIhR0F+7ubIBox6Q7nir6fQI3ej39iA==} - engines: {node: ^18.17.0 || >=20.5.0} + npm-bundled@6.0.0: + resolution: {integrity: sha512-EqdodKEW6pYM+dPxA66TZQfMEqVDiuzjDM9edSjuPI1mXUbUJwVxkgqMZSJvs8RTXz2CGq8HUol/AffTZX5g8w==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} npm-install-checks@7.1.2: resolution: {integrity: sha512-z9HJBCYw9Zr8BqXcllKIs5nI+QggAImbBdHphOzVYrz2CB4iQ6FzWyKmlqDZua+51nAu7FcemlbTc9VgQN5XDQ==} engines: {node: ^18.17.0 || >=20.5.0} + npm-install-checks@9.0.0: + resolution: {integrity: sha512-t05Izcgi7p15cpldqoiXYpjzlkTTvBw33sgjmL/JjcvtV0ydbm2O4iEXO8A6smqComu5FAQhUas86HTMQ6Z1Uw==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} + npm-normalize-package-bin@4.0.0: resolution: {integrity: sha512-TZKxPvItzai9kN9H/TkmCtx/ZN/hvr3vUycjlfmH0ootY9yFBzNOpiXAdIn1Iteqsvk4lQn6B5PTrt+n6h8k/w==} engines: {node: ^18.17.0 || >=20.5.0} @@ -4798,13 +4844,17 @@ packages: resolution: {integrity: sha512-CJi3OS4JLsNMmr2u07OJlhcrPxCeOeP/4xq67aWNai6TNWWbTrlNDgl8NcFKVlcBKp18GPj+EzbNIgrBfZhsag==} engines: {node: ^20.17.0 || >=22.9.0} + npm-normalize-package-bin@6.0.0: + resolution: {integrity: sha512-tdt4aFn9QamlhdN3HV2D2ccpBwO5/fyjjbXUxYA6uBjyekMZcZvDq0aSj9t5Jo+tih6AYFnt/cuIRn9013e0Uw==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} + npm-package-arg@13.0.0: resolution: {integrity: sha512-+t2etZAGcB7TbbLHfDwooV9ppB2LhhcT6A+L9cahsf9mEUAoQ6CktLEVvEnpD0N5CkX7zJqnPGaFtoQDy9EkHQ==} engines: {node: ^20.17.0 || >=22.9.0} - npm-packlist@10.0.2: - resolution: {integrity: sha512-DrIWNiWT0FTdDRjGOYfEEZUNe1IzaSZ+up7qBTKnrQDySpdmuOQvytrqQlpK5QrCA4IThMvL4wTumqaa1ZvVIQ==} - engines: {node: ^20.17.0 || >=22.9.0} + npm-packlist@11.3.2: + resolution: {integrity: sha512-ajrn5RG0LrQNsjur9zv22Yp1oPYlc1DuzwjV+8H7THvU0BgCWfZNI+uvDNZOAsmC9IbScBqor73KpAGuKhjE+A==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} npm-pick-manifest@10.0.0: resolution: {integrity: sha512-r4fFa4FqYY8xaM7fHecQ9Z2nE9hgNfJR+EmoKv0+chvzWkBcORX3r0FpTByP+CbOVJDladMXnPQGVN8PBLGuTQ==} @@ -4814,13 +4864,13 @@ packages: resolution: {integrity: sha512-HnU7FYSWbo7dTVHtK0G+BXbZ0aIfxz/aUCVLN0979Ec6rGUX5cJ6RbgVx5fqb5G31ufz+BVFA7y1SkRTPVNoVQ==} engines: {node: ^20.17.0 || >=22.9.0} - npm-registry-fetch@18.0.2: - resolution: {integrity: sha512-LeVMZBBVy+oQb5R6FDV9OlJCcWDU+al10oKpe+nsvcHnG24Z3uM3SvJYKfGJlfGjVU8v9liejCrUR/M5HO5NEQ==} - engines: {node: ^18.17.0 || >=20.5.0} + npm-pick-manifest@12.0.0: + resolution: {integrity: sha512-8Fs3YLrnNOhrCdPNZy18MzNgVC58LTDAFzq1FdZO/p3BHeCC/coz+t4F5Pxabys8HJpyTUorMea26GkXsb4J/Q==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} - npm-registry-fetch@19.0.0: - resolution: {integrity: sha512-DFxSAemHUwT/POaXAOY4NJmEWBPB0oKbwD6FFDE9hnt1nORkt/FXvgjD4hQjoKoHw9u0Ezws9SPXwV7xE/Gyww==} - engines: {node: ^20.17.0 || >=22.9.0} + npm-registry-fetch@20.0.2: + resolution: {integrity: sha512-bWLzEezfbIY2U23lUCQFA16j5PboZxB1QrYhZUQEFXZ1+y+CRmsTeMbMsqfYmu+qi6BAfMKsa23tlRTKDHzM3A==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} npm-run-all2@8.0.4: resolution: {integrity: sha512-wdbB5My48XKp2ZfJUlhnLVihzeuA1hgBnqB2J9ahV77wLS+/YAJAlN8I+X3DIFIPZ3m5L7nplmlbhNiFDmXRDA==} @@ -4944,9 +4994,9 @@ packages: package-manager-detector@1.9.0: resolution: {integrity: sha512-zAMfbta9nPA8AKkA4WdmNAT8R8s6Dk0/xwPsqNnRidMFcLo1YkLuPDTgs2f64XdzS8vbLNnoJ+uUIkgbz7oRHA==} - pacote@21.0.3: - resolution: {integrity: sha512-itdFlanxO0nmQv4ORsvA9K1wv40IPfB9OmWqfaJWvoJ30VKyHsqNgDVeG+TVhI7Gk7XW8slUy7cA9r6dF5qohw==} - engines: {node: ^20.17.0 || >=22.9.0} + pacote@22.0.1: + resolution: {integrity: sha512-pu51B21E5u3MXD+ujjYO09ppqXmFLph1iPR17ySgKoakAj/iDApcMoQprUff8Wj96emV2tFhMRFkCvEMFnIDPQ==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} hasBin: true pako@1.0.11: @@ -4956,14 +5006,14 @@ packages: resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} engines: {node: '>=6'} - parse-conflict-json@4.0.0: - resolution: {integrity: sha512-37CN2VtcuvKgHUs8+0b1uJeEsbGn61GRHz469C94P5xiOoqpDYJYwjg4RY9Vmz39WyZAVkR5++nbJwLMIgOCnQ==} - engines: {node: ^18.17.0 || >=20.5.0} - parse-conflict-json@5.0.1: resolution: {integrity: sha512-ZHEmNKMq1wyJXNwLxyHnluPfRAFSIliBvbK/UiOceROt4Xh9Pz0fq49NytIaeaCUf5VR86hwQ/34FCcNU5/LKQ==} engines: {node: ^20.17.0 || >=22.9.0} + parse-conflict-json@6.0.0: + resolution: {integrity: sha512-JIdsITvN0yVRpYxiip9DpCduYi75AryIDSCf6ez/Yul6PV46L0B/8SxSvLiMmWiUZKopLrD1BZgexxCfufoT9w==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} + parse-json@5.2.0: resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} engines: {node: '>=8'} @@ -5116,9 +5166,13 @@ packages: resolution: {integrity: sha512-iG+GYldRf2BQ0UDUAd6JQ/RwzaQy6mXmsk/IzlYyal4A4SNFw54MeH4/tLkF4I5WoWG9SQwuqWzS99jaFQHBuQ==} engines: {node: ^20.17.0 || >=22.9.0} - proggy@3.0.0: - resolution: {integrity: sha512-QE8RApCM3IaRRxVzxrjbgNMpQEX6Wu0p0KBeoSiSEw5/bsGwZHsshF4LCxH2jp/r6BU+bqA3LrMDEYNfJnpD8Q==} - engines: {node: ^18.17.0 || >=20.5.0} + proc-log@7.0.0: + resolution: {integrity: sha512-FYgfaA69XZ93zaXLoMNQ+ViDXGGBgR8aLh03txzcFhV+9xOXx7+8DLCULrKKpR9+GsH9ZfHm82aSUPpozX0Ztg==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} + + proggy@4.0.0: + resolution: {integrity: sha512-MbA4R+WQT76ZBm/5JUpV9yqcJt92175+Y0Bodg3HgiXzrmKu7Ggq+bpn6y6wHH+gN9NcyKn3yg1+d47VaKwNAQ==} + engines: {node: ^20.17.0 || >=22.9.0} promise-all-reject-late@1.0.1: resolution: {integrity: sha512-vuf0Lf0lOxyQREH7GDIOUMLS7kz+gs8i6B+Yi8dC68a2sychGrHTJYghMBD6k7eUcH0H5P73EckCA48xijWqXw==} @@ -5164,9 +5218,9 @@ packages: resolution: {integrity: sha512-K5zQjDllxWkf7Z5xJdV0/B0WTNqx6vxG70zJE4N0kBs4LovmEYWJzQGxC9bS9RAKu3bgM40lrd5zoLJ12MQ5BA==} engines: {node: '>= 0.10'} - read-cmd-shim@5.0.0: - resolution: {integrity: sha512-SEbJV7tohp3DAAILbEMPXavBjAnMN0tVnh4+9G8ihV4Pq3HYF9h8QNez9zkJ1ILkv9G2BjdzwctznGZXgu/HGw==} - engines: {node: ^18.17.0 || >=20.5.0} + read-cmd-shim@7.0.1: + resolution: {integrity: sha512-GhAsW4iJS0xNqv8P6HocT3gb5HCKHtEBKLIN7fE2oWr27jGIEihu48lXyGGeexkbiLv1XAbwyXvgjYMfT81kZA==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} read-package-json-fast@4.0.0: resolution: {integrity: sha512-qpt8EwugBWDw2cgE2W+/3oxC+KTez2uSVR8JU9Q36TXPAGCaozfQUs59v4j4GFpWTaw0i6hAZSvOmu1J0uOEUg==} @@ -5313,6 +5367,10 @@ packages: resolution: {integrity: sha512-j7WyPdf0CJoutMzMoPLF/bVXHtKZIT9Rb4eGeEbWw8X2t5oirjPgpL+OpaENZrILYaXqYwnVH+qgUwVbl+pUJQ==} engines: {node: '>= 18'} + socks-proxy-agent@10.1.0: + resolution: {integrity: sha512-WlMj/67cEJ6MDI1OcsnjuYKDNDoyPCCYZ249kuuXPiMDw9F8PXkVaQ7YWu3siTydfQ/4BEZcvGzu+aYvz7dDCQ==} + engines: {node: '>= 20'} + socks-proxy-agent@8.0.5: resolution: {integrity: sha512-HehCEsotFqbPW9sJ8WVYB6UbmIMv7kUUORIF2Nncq4VQvBfNBLibW9YZR5dlYCSUhwcD628pRllm7n+E+YTzJw==} engines: {node: '>= 14'} @@ -5367,6 +5425,10 @@ packages: resolution: {integrity: sha512-QUiRf1+u9wPTL/76GTYlKttDEBWV1ga9ZXW8BG6kfdeyyM8LGPix9gROyg9V2+P0xNyF3X2Go526xKFdMZrHSQ==} engines: {node: ^20.17.0 || >=22.9.0} + ssri@14.0.0: + resolution: {integrity: sha512-jQxKI0yx0ZnTKrqjKkLDV2DXkBQn3k49JVmVqDGcDwKDtGDbImD/GXsq04KD0VVzCQQ9wZJYal3RwR1GzWTSow==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} + stable-hash-x@0.2.0: resolution: {integrity: sha512-o3yWv49B/o4QZk5ZcsALc6t0+eCelPc44zZsLtCQnZPDwFpDYSWcDnrv2TtMmMbQ7uKo3J0HTURCqckw23czNQ==} engines: {node: '>=12.0.0'} @@ -5704,6 +5766,10 @@ packages: resolution: {integrity: sha512-IUoow1YUtvoBBC06dXs8bR8B9vuA3aJfmQNKMoaPG/OFsPmoQvw8xh+6Ye25Gx9DQhoEom3Pcu9MKHerm/NpUQ==} engines: {node: ^18.17.0 || >=20.5.0} + validate-npm-package-name@8.0.0: + resolution: {integrity: sha512-SCv6OOV6Xj2/3cXy3dGmADluJTNcL3o7hZAglNPTe+WYuEuvxgJzxPrSDLZhF+CwyQOubqgecjMmTJGMVLWjYQ==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} + vary@1.1.2: resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} engines: {node: '>= 0.8'} @@ -5830,6 +5896,11 @@ packages: engines: {node: ^18.17.0 || >=20.5.0} hasBin: true + which@7.0.0: + resolution: {integrity: sha512-RancgH2dmbLdHl6LRhEqvklWMgl/Hdnun0Y90KhBOLkMefg8Qa7/Zel8Sm+8HEcP6DEjzsWzpkuBQEZok58isA==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} + hasBin: true + why-is-node-running@3.2.1: resolution: {integrity: sha512-Tb2FUhB4vUsGQlfSquQLYkApkuPAFQXGFzxWKHHumVz2dK+X1RUm/HnID4+TfIGYJ1kTcwOaCk/buYCEJr6YjQ==} engines: {node: '>=20.11'} @@ -5866,9 +5937,9 @@ packages: resolution: {integrity: sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - write-file-atomic@6.0.0: - resolution: {integrity: sha512-GmqrO8WJ1NuzJ2DrziEI2o57jKAVIQNf8a18W3nCYU3H7PNWqCCVTeH6/NQE93CIllIgQS98rrmVkYgTX9fFJQ==} - engines: {node: ^18.17.0 || >=20.5.0} + write-file-atomic@8.0.0: + resolution: {integrity: sha512-dYwyZredl67GyLLIHJnRM3h2PcOmN5SkcgC7eM5DPDEOEl6dLFqVrMg3F1Ea32usj4VSVZtd2H4MtKTNOf6nPg==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} wsl-utils@0.1.0: resolution: {integrity: sha512-h3Fbisa2nKGPxCpm89Hk33lBLsnaGBvctQopaBSOW/uIs6FTe1ATyAnKFJrzVs9vpGdsTe73WF3V4lIsk4Gacw==} @@ -7019,63 +7090,67 @@ snapshots: '@npm/types@1.0.2': {} - '@npmcli/agent@3.0.0(supports-color@7.2.0)': + '@npmcli/agent@4.0.0(supports-color@7.2.0)': dependencies: agent-base: 7.1.4 http-proxy-agent: 7.0.2(supports-color@7.2.0) https-proxy-agent: 7.0.6(supports-color@7.2.0) - lru-cache: 10.4.3 + lru-cache: 11.2.2 socks-proxy-agent: 8.0.5(supports-color@7.2.0) transitivePeerDependencies: - supports-color - '@npmcli/agent@4.0.0(supports-color@7.2.0)': + '@npmcli/agent@5.0.2(supports-color@7.2.0)': dependencies: - agent-base: 7.1.4 - http-proxy-agent: 7.0.2(supports-color@7.2.0) - https-proxy-agent: 7.0.6(supports-color@7.2.0) + agent-base: 9.0.0 + http-proxy-agent: 9.1.0(supports-color@7.2.0) + https-proxy-agent: 9.1.0(supports-color@7.2.0) lru-cache: 11.2.2 - socks-proxy-agent: 8.0.5(supports-color@7.2.0) + socks-proxy-agent: 10.1.0(supports-color@7.2.0) transitivePeerDependencies: + - kerberos - supports-color - '@npmcli/arborist@9.1.4(supports-color@7.2.0)': + '@npmcli/arborist@10.0.5(supports-color@7.2.0)': dependencies: + '@gar/promise-retry': 1.0.3 '@isaacs/string-locale-compare': 1.1.0 - '@npmcli/fs': 4.0.0 - '@npmcli/installed-package-contents': 3.0.0 - '@npmcli/map-workspaces': 4.0.2 - '@npmcli/metavuln-calculator': 9.0.2(supports-color@7.2.0) - '@npmcli/name-from-folder': 3.0.0 - '@npmcli/node-gyp': 4.0.0 - '@npmcli/package-json': 6.2.0 - '@npmcli/query': 4.0.1 - '@npmcli/redact': 3.2.2 - '@npmcli/run-script': 9.1.0(supports-color@7.2.0) - bin-links: 5.0.0 - cacache: 19.0.1 - common-ancestor-path: 1.0.1 - hosted-git-info: 8.1.0 + '@npmcli/fs': 6.0.0 + '@npmcli/installed-package-contents': 5.0.0 + '@npmcli/map-workspaces': 6.0.1 + '@npmcli/metavuln-calculator': 10.0.0(supports-color@7.2.0) + '@npmcli/name-from-folder': 5.0.0 + '@npmcli/node-gyp': 6.0.0 + '@npmcli/package-json': 8.0.1 + '@npmcli/query': 5.0.0 + '@npmcli/redact': 5.0.0 + '@npmcli/run-script': 11.0.1 + bin-links: 7.0.1 + cacache: 21.0.2 + common-ancestor-path: 2.0.0 + diff: 8.0.4 + hosted-git-info: 10.1.1 json-stringify-nice: 1.1.4 - lru-cache: 10.4.3 + lru-cache: 11.2.2 minimatch: 11.0.9 - nopt: 8.1.0 - npm-install-checks: 7.1.2 + nopt: 10.0.1 + npm-install-checks: 9.0.0 npm-package-arg: 13.0.0 - npm-pick-manifest: 10.0.0 - npm-registry-fetch: 18.0.2(supports-color@7.2.0) - pacote: 21.0.3(supports-color@7.2.0) - parse-conflict-json: 4.0.0 - proc-log: 5.0.0 - proggy: 3.0.0 + npm-pick-manifest: 12.0.0 + npm-registry-fetch: 20.0.2(supports-color@7.2.0) + pacote: 22.0.1(supports-color@7.2.0) + parse-conflict-json: 6.0.0 + proc-log: 7.0.0 + proggy: 4.0.0 promise-all-reject-late: 1.0.1 promise-call-limit: 3.0.2 - read-package-json-fast: 4.0.0 semver: 7.7.2 - ssri: 12.0.0 + ssri: 14.0.0 treeverse: 3.0.0 + validate-npm-package-name: 8.0.0 walk-up-path: 4.0.0 transitivePeerDependencies: + - kerberos - supports-color '@npmcli/config@10.4.0': @@ -7097,6 +7172,10 @@ snapshots: dependencies: semver: 7.7.2 + '@npmcli/fs@6.0.0': + dependencies: + semver: 7.7.2 + '@npmcli/git@6.0.3': dependencies: '@npmcli/promise-spawn': 8.0.3 @@ -7119,10 +7198,21 @@ snapshots: semver: 7.7.2 which: 5.0.0 - '@npmcli/installed-package-contents@3.0.0': + '@npmcli/git@8.0.0': dependencies: - npm-bundled: 4.0.0 - npm-normalize-package-bin: 4.0.0 + '@gar/promise-retry': 1.0.3 + '@npmcli/promise-spawn': 10.0.1 + ini: 7.0.0 + lru-cache: 11.2.2 + npm-pick-manifest: 12.0.0 + proc-log: 7.0.0 + semver: 7.7.2 + which: 7.0.0 + + '@npmcli/installed-package-contents@5.0.0': + dependencies: + npm-bundled: 6.0.0 + npm-normalize-package-bin: 6.0.0 '@npmcli/map-workspaces@4.0.2': dependencies: @@ -7138,21 +7228,31 @@ snapshots: glob: 14.0.6 minimatch: 11.0.9 - '@npmcli/metavuln-calculator@9.0.2(supports-color@7.2.0)': + '@npmcli/map-workspaces@6.0.1': dependencies: - cacache: 20.0.1 - json-parse-even-better-errors: 4.0.0 - pacote: 21.0.3(supports-color@7.2.0) - proc-log: 5.0.0 + '@npmcli/name-from-folder': 5.0.0 + '@npmcli/package-json': 8.0.1 + glob: 14.0.6 + minimatch: 11.0.9 + + '@npmcli/metavuln-calculator@10.0.0(supports-color@7.2.0)': + dependencies: + cacache: 21.0.2 + json-parse-even-better-errors: 6.0.0 + pacote: 22.0.1(supports-color@7.2.0) + proc-log: 7.0.0 semver: 7.7.2 transitivePeerDependencies: + - kerberos - supports-color '@npmcli/name-from-folder@3.0.0': {} '@npmcli/name-from-folder@4.0.0': {} - '@npmcli/node-gyp@4.0.0': {} + '@npmcli/name-from-folder@5.0.0': {} + + '@npmcli/node-gyp@6.0.0': {} '@npmcli/package-json@6.2.0': dependencies: @@ -7164,16 +7264,6 @@ snapshots: semver: 7.7.2 validate-npm-package-license: 3.0.4 - '@npmcli/package-json@7.0.1': - dependencies: - '@npmcli/git': 7.0.0 - glob: 11.1.0 - hosted-git-info: 9.0.2 - json-parse-even-better-errors: 4.0.0 - proc-log: 5.0.0 - semver: 7.7.2 - validate-npm-package-license: 3.0.4 - '@npmcli/package-json@7.0.5': dependencies: '@npmcli/git': 7.0.0 @@ -7184,39 +7274,39 @@ snapshots: semver: 7.7.2 spdx-expression-parse: 4.0.0 + '@npmcli/package-json@8.0.1': + dependencies: + '@npmcli/git': 8.0.0 + glob: 14.0.6 + hosted-git-info: 10.1.1 + json-parse-even-better-errors: 6.0.0 + proc-log: 7.0.0 + semver: 7.7.2 + spdx-expression-parse: 4.0.0 + + '@npmcli/promise-spawn@10.0.1': + dependencies: + which: 7.0.0 + '@npmcli/promise-spawn@8.0.3': dependencies: which: 5.0.0 - '@npmcli/query@4.0.1': + '@npmcli/query@5.0.0': dependencies: postcss-selector-parser: 7.2.1 - '@npmcli/redact@3.2.2': {} - '@npmcli/redact@4.0.0': {} - '@npmcli/run-script@10.0.0(supports-color@7.2.0)': - dependencies: - '@npmcli/node-gyp': 4.0.0 - '@npmcli/package-json': 7.0.1 - '@npmcli/promise-spawn': 8.0.3 - node-gyp: 11.4.2(supports-color@7.2.0) - proc-log: 5.0.0 - which: 5.0.0 - transitivePeerDependencies: - - supports-color + '@npmcli/redact@5.0.0': {} - '@npmcli/run-script@9.1.0(supports-color@7.2.0)': + '@npmcli/run-script@11.0.1': dependencies: - '@npmcli/node-gyp': 4.0.0 - '@npmcli/package-json': 6.2.0 - '@npmcli/promise-spawn': 8.0.3 - node-gyp: 11.4.2(supports-color@7.2.0) - proc-log: 5.0.0 - which: 5.0.0 - transitivePeerDependencies: - - supports-color + '@npmcli/node-gyp': 6.0.0 + '@npmcli/package-json': 8.0.1 + '@npmcli/promise-spawn': 10.0.1 + node-gyp: 13.1.0 + proc-log: 7.0.0 '@octokit/auth-token@6.0.0': {} @@ -8088,7 +8178,7 @@ snapshots: '@types/npmlog': 7.0.0 '@types/ssri': 7.1.5 - '@types/npmcli__arborist@6.3.1': + '@types/npmcli__arborist@6.3.3': dependencies: '@npm/types': 1.0.2 '@types/cacache': 19.0.0 @@ -8382,6 +8472,8 @@ snapshots: abbrev@3.0.1: {} + abbrev@5.0.0: {} + acorn-jsx@5.3.2(acorn@8.15.0): dependencies: acorn: 8.15.0 @@ -8484,13 +8576,13 @@ snapshots: before-after-hook@4.0.0: {} - bin-links@5.0.0: + bin-links@7.0.1: dependencies: - cmd-shim: 7.0.0 - npm-normalize-package-bin: 4.0.0 - proc-log: 5.0.0 - read-cmd-shim: 5.0.0 - write-file-atomic: 6.0.0 + cmd-shim: 9.0.2 + npm-normalize-package-bin: 6.0.0 + proc-log: 7.0.0 + read-cmd-shim: 7.0.1 + write-file-atomic: 8.0.0 blessed-contrib@4.11.0(patch_hash=2c9f0a87aa8ce9ed95ce201819ef3fcdb9a00f1cabe12815f586d2a3c0bff69e): dependencies: @@ -8569,34 +8661,32 @@ snapshots: cac@7.1.0: {} - cacache@19.0.1: + cacache@20.0.1: dependencies: '@npmcli/fs': 4.0.0 fs-minipass: 3.0.3 - glob: 10.5.0 - lru-cache: 10.4.3 - minipass: 7.1.2 + glob: 11.1.0 + lru-cache: 11.2.2 + minipass: 7.1.3 minipass-collect: 2.0.1 minipass-flush: 1.0.5 minipass-pipeline: 1.2.4 p-map: 7.0.3 ssri: 12.0.0 - tar: 7.5.23 unique-filename: 4.0.0 - cacache@20.0.1: + cacache@21.0.2: dependencies: - '@npmcli/fs': 4.0.0 + '@npmcli/fs': 6.0.0 fs-minipass: 3.0.3 - glob: 11.1.0 + glob: 14.0.6 lru-cache: 11.2.2 - minipass: 7.1.2 + minipass: 7.1.3 minipass-collect: 2.0.1 minipass-flush: 1.0.5 minipass-pipeline: 1.2.4 p-map: 7.0.3 - ssri: 12.0.0 - unique-filename: 4.0.0 + ssri: 14.0.0 callsites@3.1.0: {} @@ -8697,6 +8787,8 @@ snapshots: cmd-shim@7.0.0: {} + cmd-shim@9.0.2: {} + color-convert@1.9.3: dependencies: color-name: 1.1.3 @@ -8731,6 +8823,8 @@ snapshots: common-ancestor-path@1.0.1: {} + common-ancestor-path@2.0.0: {} + commondir@1.0.1: {} compressible@2.0.18: @@ -8889,6 +8983,8 @@ snapshots: dependencies: dequal: 2.0.3 + diff@8.0.4: {} + dom-serializer@2.0.0: dependencies: domelementtype: 2.3.0 @@ -8951,11 +9047,6 @@ snapshots: iconv-lite: 0.6.3 whatwg-encoding: 3.1.1 - encoding@0.1.13: - dependencies: - iconv-lite: 0.6.3 - optional: true - end-of-stream@1.4.5: dependencies: once: 1.4.0 @@ -9359,7 +9450,7 @@ snapshots: foreground-child: 3.3.1 jackspeak: 4.1.1 minimatch: 11.0.9 - minipass: 7.1.2 + minipass: 7.1.3 package-json-from-dist: 1.0.1 path-scurry: 2.0.2 @@ -9408,6 +9499,10 @@ snapshots: hermes-estree: 0.37.0 optional: true + hosted-git-info@10.1.1: + dependencies: + lru-cache: 11.2.2 + hosted-git-info@2.8.9: {} hosted-git-info@8.1.0: @@ -9483,7 +9578,7 @@ snapshots: safer-buffer: '@socketregistry/safer-buffer@1.0.10' optional: true - ignore-walk@8.0.0: + ignore-walk@9.0.1: dependencies: minimatch: 11.0.9 @@ -9504,6 +9599,8 @@ snapshots: ini@5.0.0: {} + ini@7.0.0: {} + ionstore@1.0.1: {} ip-address@10.7.6: {} @@ -9564,6 +9661,8 @@ snapshots: isexe@3.1.1: {} + isexe@4.0.0: {} + jackspeak@3.4.3: dependencies: '@isaacs/cliui': 8.0.2 @@ -9596,6 +9695,8 @@ snapshots: json-parse-even-better-errors@5.0.0: {} + json-parse-even-better-errors@6.0.0: {} + json-schema-traverse@0.4.1: {} json-schema-traverse@1.0.0: {} @@ -9767,53 +9868,39 @@ snapshots: '@babel/types': 7.29.14 source-map-js: 1.2.3 - make-fetch-happen@14.0.3(supports-color@7.2.0): - dependencies: - '@npmcli/agent': 3.0.0(supports-color@7.2.0) - cacache: 19.0.1 - http-cache-semantics: 4.2.0 - minipass: 7.1.2 - minipass-fetch: 4.0.1 - minipass-flush: 1.0.5 - minipass-pipeline: 1.2.4 - negotiator: 1.0.0 - proc-log: 5.0.0 - promise-retry: 2.0.1 - ssri: 12.0.0 - transitivePeerDependencies: - - supports-color - - make-fetch-happen@15.0.2(supports-color@7.2.0): + make-fetch-happen@15.0.6(supports-color@7.2.0): dependencies: + '@gar/promise-retry': 1.0.3 '@npmcli/agent': 4.0.0(supports-color@7.2.0) + '@npmcli/redact': 4.0.0 cacache: 20.0.1 http-cache-semantics: 4.2.0 minipass: 7.1.3 - minipass-fetch: 4.0.1 + minipass-fetch: 5.0.2 minipass-flush: 1.0.5 minipass-pipeline: 1.2.4 negotiator: 1.0.0 - proc-log: 5.0.0 - promise-retry: 2.0.1 - ssri: 12.0.0 + proc-log: 6.1.0 + ssri: 13.0.1 transitivePeerDependencies: - supports-color - make-fetch-happen@15.0.6(supports-color@7.2.0): + make-fetch-happen@16.0.2(supports-color@7.2.0): dependencies: '@gar/promise-retry': 1.0.3 - '@npmcli/agent': 4.0.0(supports-color@7.2.0) - '@npmcli/redact': 4.0.0 - cacache: 20.0.1 + '@npmcli/agent': 5.0.2(supports-color@7.2.0) + '@npmcli/redact': 5.0.0 + cacache: 21.0.2 http-cache-semantics: 4.2.0 minipass: 7.1.3 - minipass-fetch: 5.0.2 + minipass-fetch: 6.0.1 minipass-flush: 1.0.5 minipass-pipeline: 1.2.4 negotiator: 1.0.0 - proc-log: 6.1.0 - ssri: 13.0.1 + proc-log: 7.0.0 + ssri: 14.0.0 transitivePeerDependencies: + - kerberos - supports-color map-canvas@0.1.5: @@ -10187,15 +10274,15 @@ snapshots: dependencies: minipass: 7.1.3 - minipass-fetch@4.0.1: + minipass-fetch@5.0.2: dependencies: - minipass: 7.1.2 - minipass-sized: 1.0.3 + minipass: 7.1.3 + minipass-sized: 2.0.0 minizlib: 3.1.0 optionalDependencies: - encoding: 0.1.13 + iconv-lite: 0.7.2 - minipass-fetch@5.0.2: + minipass-fetch@6.0.1: dependencies: minipass: 7.1.3 minipass-sized: 2.0.0 @@ -10211,10 +10298,6 @@ snapshots: dependencies: minipass: 3.3.6 - minipass-sized@1.0.3: - dependencies: - minipass: 3.3.6 - minipass-sized@2.0.0: dependencies: minipass: 7.1.3 @@ -10298,20 +10381,18 @@ snapshots: node-fetch-native@1.6.7: {} - node-gyp@11.4.2(supports-color@7.2.0): + node-gyp@13.1.0: dependencies: env-paths: 2.2.1 exponential-backoff: 3.1.3 graceful-fs: 4.2.11(patch_hash=17007d43dcc01ee2047730ab13eb23c41adc01ae0f24ee872b1fe69142db5200) - make-fetch-happen: 14.0.3(supports-color@7.2.0) - nopt: 8.1.0 - proc-log: 5.0.0 + nopt: 10.0.1 + proc-log: 7.0.0 semver: 7.7.2 tar: 7.5.23 tinyglobby: 0.2.17 - which: 5.0.0 - transitivePeerDependencies: - - supports-color + undici: 6.29.1 + which: 7.0.0 node-pty@1.2.0-beta.18: dependencies: @@ -10323,6 +10404,10 @@ snapshots: noop-stream@1.0.0: {} + nopt@10.0.1: + dependencies: + abbrev: 5.0.0 + nopt@2.1.2: dependencies: abbrev: 1.1.1 @@ -10340,18 +10425,24 @@ snapshots: normalize-path@3.0.0: {} - npm-bundled@4.0.0: + npm-bundled@6.0.0: dependencies: - npm-normalize-package-bin: 4.0.0 + npm-normalize-package-bin: 6.0.0 npm-install-checks@7.1.2: dependencies: semver: 7.7.2 + npm-install-checks@9.0.0: + dependencies: + semver: 7.7.2 + npm-normalize-package-bin@4.0.0: {} npm-normalize-package-bin@5.0.0: {} + npm-normalize-package-bin@6.0.0: {} + npm-package-arg@13.0.0: dependencies: hosted-git-info: 9.0.2 @@ -10359,10 +10450,11 @@ snapshots: semver: 7.7.2 validate-npm-package-name: 6.0.2 - npm-packlist@10.0.2: + npm-packlist@11.3.2: dependencies: - ignore-walk: 8.0.0 - proc-log: 5.0.0 + glob: 14.0.6 + ignore-walk: 9.0.1 + proc-log: 7.0.0 npm-pick-manifest@10.0.0: dependencies: @@ -10378,30 +10470,25 @@ snapshots: npm-package-arg: 13.0.0 semver: 7.7.2 - npm-registry-fetch@18.0.2(supports-color@7.2.0): + npm-pick-manifest@12.0.0: dependencies: - '@npmcli/redact': 3.2.2 - jsonparse: 1.3.1 - make-fetch-happen: 14.0.3(supports-color@7.2.0) - minipass: 7.1.2 - minipass-fetch: 4.0.1 - minizlib: 3.1.0 + npm-install-checks: 9.0.0 + npm-normalize-package-bin: 6.0.0 npm-package-arg: 13.0.0 - proc-log: 5.0.0 - transitivePeerDependencies: - - supports-color + semver: 7.7.2 - npm-registry-fetch@19.0.0(supports-color@7.2.0): + npm-registry-fetch@20.0.2(supports-color@7.2.0): dependencies: - '@npmcli/redact': 3.2.2 + '@npmcli/redact': 5.0.0 jsonparse: 1.3.1 - make-fetch-happen: 15.0.2(supports-color@7.2.0) + make-fetch-happen: 16.0.2(supports-color@7.2.0) minipass: 7.1.3 - minipass-fetch: 4.0.1 + minipass-fetch: 6.0.1 minizlib: 3.1.0 npm-package-arg: 13.0.0 - proc-log: 5.0.0 + proc-log: 7.0.0 transitivePeerDependencies: + - kerberos - supports-color npm-run-all2@8.0.4: @@ -10573,26 +10660,27 @@ snapshots: package-manager-detector@1.9.0: {} - pacote@21.0.3(supports-color@7.2.0): + pacote@22.0.1(supports-color@7.2.0): dependencies: - '@npmcli/git': 7.0.0 - '@npmcli/installed-package-contents': 3.0.0 - '@npmcli/package-json': 7.0.1 - '@npmcli/promise-spawn': 8.0.3 - '@npmcli/run-script': 10.0.0(supports-color@7.2.0) - cacache: 20.0.1 + '@gar/promise-retry': 1.0.3 + '@npmcli/git': 8.0.0 + '@npmcli/installed-package-contents': 5.0.0 + '@npmcli/package-json': 8.0.1 + '@npmcli/promise-spawn': 10.0.1 + '@npmcli/run-script': 11.0.1 + cacache: 21.0.2 fs-minipass: 3.0.3 - minipass: 7.1.2 + minipass: 7.1.3 npm-package-arg: 13.0.0 - npm-packlist: 10.0.2 - npm-pick-manifest: 11.0.1 - npm-registry-fetch: 19.0.0(supports-color@7.2.0) - proc-log: 5.0.0 - promise-retry: 2.0.1 + npm-packlist: 11.3.2 + npm-pick-manifest: 12.0.0 + npm-registry-fetch: 20.0.2(supports-color@7.2.0) + proc-log: 7.0.0 sigstore: 4.1.1(supports-color@7.2.0) - ssri: 12.0.0 + ssri: 14.0.0 tar: 7.5.23 transitivePeerDependencies: + - kerberos - supports-color pako@1.0.11: @@ -10602,15 +10690,15 @@ snapshots: dependencies: callsites: 3.1.0 - parse-conflict-json@4.0.0: + parse-conflict-json@5.0.1: dependencies: - json-parse-even-better-errors: 4.0.0 + json-parse-even-better-errors: 5.0.0 just-diff: 6.0.2 just-diff-apply: 5.5.0 - parse-conflict-json@5.0.1: + parse-conflict-json@6.0.0: dependencies: - json-parse-even-better-errors: 5.0.0 + json-parse-even-better-errors: 6.0.0 just-diff: 6.0.2 just-diff-apply: 5.5.0 @@ -10743,7 +10831,9 @@ snapshots: proc-log@6.1.0: {} - proggy@3.0.0: {} + proc-log@7.0.0: {} + + proggy@4.0.0: {} promise-all-reject-late@1.0.1: {} @@ -10783,7 +10873,7 @@ snapshots: unpipe: 1.0.0 optional: true - read-cmd-shim@5.0.0: {} + read-cmd-shim@7.0.1: {} read-package-json-fast@4.0.0: dependencies: @@ -10965,6 +11055,14 @@ snapshots: smol-toml@1.9.1: {} + socks-proxy-agent@10.1.0(supports-color@7.2.0): + dependencies: + agent-base: 9.0.0 + debug: 4.4.3(supports-color@7.2.0) + socks: 2.8.7 + transitivePeerDependencies: + - supports-color + socks-proxy-agent@8.0.5(supports-color@7.2.0): dependencies: agent-base: 7.1.4 @@ -11020,12 +11118,16 @@ snapshots: ssri@12.0.0: dependencies: - minipass: 7.1.2 + minipass: 7.1.3 ssri@13.0.1: dependencies: minipass: 7.1.3 + ssri@14.0.0: + dependencies: + minipass: 7.1.3 + stable-hash-x@0.2.0: {} statuses@1.5.0: @@ -11239,7 +11341,7 @@ snapshots: dependencies: '@tufjs/models': 4.1.0 debug: 4.4.3(supports-color@7.2.0) - make-fetch-happen: 15.0.2(supports-color@7.2.0) + make-fetch-happen: 15.0.6(supports-color@7.2.0) transitivePeerDependencies: - supports-color @@ -11417,6 +11519,8 @@ snapshots: validate-npm-package-name@6.0.2: {} + validate-npm-package-name@8.0.0: {} + vary@1.1.2: optional: true @@ -11482,6 +11586,10 @@ snapshots: dependencies: isexe: 3.1.1 + which@7.0.0: + dependencies: + isexe: 4.0.0 + why-is-node-running@3.2.1: {} word-wrap@1.2.5: {} @@ -11519,9 +11627,8 @@ snapshots: imurmurhash: 0.1.4 signal-exit: 4.1.0 - write-file-atomic@6.0.0: + write-file-atomic@8.0.0: dependencies: - imurmurhash: 0.1.4 signal-exit: 4.1.0 wsl-utils@0.1.0: diff --git a/src/shadow/npm/arborist/index.mts b/src/shadow/npm/arborist/index.mts index e1ee6fe44f..1ddec81cf4 100755 --- a/src/shadow/npm/arborist/index.mts +++ b/src/shadow/npm/arborist/index.mts @@ -1,38 +1,17 @@ import { createRequire } from 'node:module' -// @ts-ignore -import UntypedEdge from '@npmcli/arborist/lib/edge.js' -// @ts-ignore -import UntypedNode from '@npmcli/arborist/lib/node.js' -// @ts-ignore -import UntypedOverrideSet from '@npmcli/arborist/lib/override-set.js' - -import { - getArboristClassPath, - getArboristEdgeClassPath, - getArboristNodeClassPath, - getArboristOverrideSetClassPath, -} from '../paths.mts' import { Arborist, SafeArborist } from './lib/arborist/index.mts' - -import type { EdgeClass, NodeClass, OverrideSetClass } from './types.mts' +import { getNpmRequire } from '../../../utils/npm-paths.mts' const require = createRequire(import.meta.url) export { Arborist, SafeArborist } -export const Edge: EdgeClass = UntypedEdge - -export const Node: NodeClass = UntypedNode - -export const OverrideSet: OverrideSetClass = UntypedOverrideSet - export function installSafeArborist() { // Override '@npmcli/arborist' module exports with patched variants based on // https://github.com/npm/cli/pull/8089. const cache: { [key: string]: any } = require.cache - cache[getArboristClassPath()] = { exports: SafeArborist } - cache[getArboristEdgeClassPath()] = { exports: Edge } - cache[getArboristNodeClassPath()] = { exports: Node } - cache[getArboristOverrideSetClassPath()] = { exports: OverrideSet } + cache[getNpmRequire().resolve('@npmcli/arborist/lib/arborist/index.js')] = { + exports: SafeArborist, + } } diff --git a/src/shadow/npm/arborist/index.test.mts b/src/shadow/npm/arborist/index.test.mts new file mode 100644 index 0000000000..36d4ab5caa --- /dev/null +++ b/src/shadow/npm/arborist/index.test.mts @@ -0,0 +1,14 @@ +import { describe, expect, it } from 'vitest' + +import { SafeArborist } from './index.mts' +import { getNpmRequire } from '../../../utils/npm-paths.mts' + +describe('npm Arborist compatibility', () => { + it('uses the Arborist and tree classes shipped with the selected npm', () => { + const npmRequire = getNpmRequire() + + expect(Object.getPrototypeOf(SafeArborist)).toBe( + npmRequire('@npmcli/arborist/lib/arborist/index.js'), + ) + }) +}) diff --git a/src/shadow/npm/arborist/lib/arborist/index.mts b/src/shadow/npm/arborist/lib/arborist/index.mts index 3f046e5bfa..3a8bec5ab8 100755 --- a/src/shadow/npm/arborist/lib/arborist/index.mts +++ b/src/shadow/npm/arborist/lib/arborist/index.mts @@ -1,6 +1,3 @@ -// @ts-ignore -import UntypedArborist from '@npmcli/arborist/lib/arborist/index.js' - import constants, { NODE_MODULES, NPX } from '../../../../../constants.mts' import { findUp } from '../../../../../utils/fs.mts' import { logger } from '../../../../../utils/logger.mts' @@ -15,6 +12,13 @@ import type { ArboristReifyOptions, NodeClass, } from '../../types.mts' +import { getNpmRequire } from '../../../../../utils/npm-paths.mts' + +// npm ships its own Arborist version. The shadowed npm process must inherit +// that implementation so the tree classes and lockfile semantics agree. +const UntypedArborist = getNpmRequire()( + '@npmcli/arborist/lib/arborist/index.js', +) const { kInternalsSymbol, diff --git a/src/shadow/npm/arborist/types.mts b/src/shadow/npm/arborist/types.mts index 7c1099a4df..b4d889c58c 100755 --- a/src/shadow/npm/arborist/types.mts +++ b/src/shadow/npm/arborist/types.mts @@ -18,7 +18,7 @@ export type ArboristOptions = BaseArboristOptions & { npmVersion?: string | undefined } -export type ArboristClass = ArboristInstance & { +export type ArboristClass = { new (...args: any): ArboristInstance } diff --git a/src/shadow/npm/paths.mts b/src/shadow/npm/paths.mts deleted file mode 100644 index 530a096a20..0000000000 --- a/src/shadow/npm/paths.mts +++ /dev/null @@ -1,61 +0,0 @@ -import path from 'node:path' - -import constants from '../../constants.mts' -import { getNpmRequire } from '../../utils/npm-paths.mts' -import { normalizePath } from '../../utils/path.mts' - -let _arboristPkgPath: string | undefined -export function getArboristPackagePath() { - if (_arboristPkgPath === undefined) { - const pkgName = '@npmcli/arborist' - const mainPathWithForwardSlashes = normalizePath( - getNpmRequire().resolve(pkgName), - ) - const arboristPkgPathWithForwardSlashes = mainPathWithForwardSlashes.slice( - 0, - mainPathWithForwardSlashes.lastIndexOf(pkgName) + pkgName.length, - ) - _arboristPkgPath = constants.WIN32 - ? path.normalize(arboristPkgPathWithForwardSlashes) - : arboristPkgPathWithForwardSlashes - } - return _arboristPkgPath -} - -let _arboristClassPath: string | undefined -export function getArboristClassPath() { - if (_arboristClassPath === undefined) { - _arboristClassPath = path.join( - getArboristPackagePath(), - 'lib/arborist/index.js', - ) - } - return _arboristClassPath -} - -let _arboristEdgeClassPath: string | undefined -export function getArboristEdgeClassPath() { - if (_arboristEdgeClassPath === undefined) { - _arboristEdgeClassPath = path.join(getArboristPackagePath(), 'lib/edge.js') - } - return _arboristEdgeClassPath -} - -let _arboristNodeClassPath: string | undefined -export function getArboristNodeClassPath() { - if (_arboristNodeClassPath === undefined) { - _arboristNodeClassPath = path.join(getArboristPackagePath(), 'lib/node.js') - } - return _arboristNodeClassPath -} - -let _arboristOverrideSetClassPath: string | undefined -export function getArboristOverrideSetClassPath() { - if (_arboristOverrideSetClassPath === undefined) { - _arboristOverrideSetClassPath = path.join( - getArboristPackagePath(), - 'lib/override-set.js', - ) - } - return _arboristOverrideSetClassPath -}