diff --git a/package.json b/package.json index c5170334a9..5428fd4426 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "@types/node": "^20.5.9", "async": "^3.2.1", "execa": "^8.0.0", - "knip": "^2.33.4", + "knip": "^3.0.0", "minimist": "^1.2.6", "package-dependency-graph": "^1.14.4", "prettier": "^3.0.0", diff --git a/packages/alfa-toolchain/package.json b/packages/alfa-toolchain/package.json index 93ef591e1f..4ad52c1e54 100644 --- a/packages/alfa-toolchain/package.json +++ b/packages/alfa-toolchain/package.json @@ -33,10 +33,10 @@ "registry": "https://npm.pkg.github.com/" }, "dependencies": { - "@changesets/assemble-release-plan": "^5.2.4", - "@changesets/config": "^2.3.1", + "@changesets/assemble-release-plan": "^6.0.0", + "@changesets/config": "^3.0.0", "@changesets/get-github-info": "^0.5.2", - "@changesets/git": "^2.0.0", + "@changesets/git": "^3.0.0", "@changesets/read": "^0.5.9", "@manypkg/get-packages": "=1.1.3", "@siteimprove/alfa-array": "workspace:^0.69.0", @@ -46,7 +46,7 @@ "resolve-from": "^5.0.0" }, "devDependencies": { - "@changesets/types": "^5.2.1", + "@changesets/types": "^6.0.0", "@siteimprove/alfa-test": "workspace:^0.69.0" } } diff --git a/yarn.lock b/yarn.lock index 80138e76d2..654fc46720 100644 --- a/yarn.lock +++ b/yarn.lock @@ -83,6 +83,20 @@ __metadata: languageName: node linkType: hard +"@changesets/assemble-release-plan@npm:^6.0.0": + version: 6.0.0 + resolution: "@changesets/assemble-release-plan@npm:6.0.0" + dependencies: + "@babel/runtime": "npm:^7.20.1" + "@changesets/errors": "npm:^0.2.0" + "@changesets/get-dependents-graph": "npm:^2.0.0" + "@changesets/types": "npm:^6.0.0" + "@manypkg/get-packages": "npm:^1.1.3" + semver: "npm:^7.5.3" + checksum: 7ccff4dba07fd5c7d219b69d6f5e5ec4ea942b3f3482a76be6f9caa072ae5b2128b4d6c561030cb488ca1bc23416a2f8f638daa784f4ae9792c89c9b571231b3 + languageName: node + linkType: hard + "@changesets/changelog-git@npm:^0.1.14": version: 0.1.14 resolution: "@changesets/changelog-git@npm:0.1.14" @@ -150,6 +164,21 @@ __metadata: languageName: node linkType: hard +"@changesets/config@npm:^3.0.0": + version: 3.0.0 + resolution: "@changesets/config@npm:3.0.0" + dependencies: + "@changesets/errors": "npm:^0.2.0" + "@changesets/get-dependents-graph": "npm:^2.0.0" + "@changesets/logger": "npm:^0.1.0" + "@changesets/types": "npm:^6.0.0" + "@manypkg/get-packages": "npm:^1.1.3" + fs-extra: "npm:^7.0.1" + micromatch: "npm:^4.0.2" + checksum: c64463a92b99986e42657c3b8804851aab8b592bb64532177ce35769a7fedfad3ce1395ad0e2ab3e357e3029fd23333bff1ce51bc3634e6f43223724398639d3 + languageName: node + linkType: hard + "@changesets/errors@npm:^0.1.4": version: 0.1.4 resolution: "@changesets/errors@npm:0.1.4" @@ -159,6 +188,15 @@ __metadata: languageName: node linkType: hard +"@changesets/errors@npm:^0.2.0": + version: 0.2.0 + resolution: "@changesets/errors@npm:0.2.0" + dependencies: + extendable-error: "npm:^0.1.5" + checksum: f2757c752ab04e9733b0dfd7903f1caf873f9e603794c4d9ea2294af4f937c73d07273c24be864ad0c30b6a98424360d5b96a6eab14f97f3cf2cbfd3763b95c1 + languageName: node + linkType: hard + "@changesets/get-dependents-graph@npm:^1.3.6": version: 1.3.6 resolution: "@changesets/get-dependents-graph@npm:1.3.6" @@ -172,6 +210,19 @@ __metadata: languageName: node linkType: hard +"@changesets/get-dependents-graph@npm:^2.0.0": + version: 2.0.0 + resolution: "@changesets/get-dependents-graph@npm:2.0.0" + dependencies: + "@changesets/types": "npm:^6.0.0" + "@manypkg/get-packages": "npm:^1.1.3" + chalk: "npm:^2.1.0" + fs-extra: "npm:^7.0.1" + semver: "npm:^7.5.3" + checksum: 68ac8f7f0b7b6f671b9809541238798aebe9250b083f6d9dace1305c436b565a71634412e83f642c6b21ed8656f4d548c92f583d2f4c6bf7a8665f6dddf14309 + languageName: node + linkType: hard + "@changesets/get-github-info@npm:^0.5.2": version: 0.5.2 resolution: "@changesets/get-github-info@npm:0.5.2" @@ -219,6 +270,21 @@ __metadata: languageName: node linkType: hard +"@changesets/git@npm:^3.0.0": + version: 3.0.0 + resolution: "@changesets/git@npm:3.0.0" + dependencies: + "@babel/runtime": "npm:^7.20.1" + "@changesets/errors": "npm:^0.2.0" + "@changesets/types": "npm:^6.0.0" + "@manypkg/get-packages": "npm:^1.1.3" + is-subdir: "npm:^1.1.1" + micromatch: "npm:^4.0.2" + spawndamnit: "npm:^2.0.0" + checksum: 75b0ce2d8c52c8141a2d07be1cc05da15463d6f93a8a95351e171c6c3d48345b3134f33bfeb695a11467adbcc51ff3d87487995a61fba99af89063eac4a8ce7a + languageName: node + linkType: hard + "@changesets/logger@npm:^0.0.5": version: 0.0.5 resolution: "@changesets/logger@npm:0.0.5" @@ -228,6 +294,15 @@ __metadata: languageName: node linkType: hard +"@changesets/logger@npm:^0.1.0": + version: 0.1.0 + resolution: "@changesets/logger@npm:0.1.0" + dependencies: + chalk: "npm:^2.1.0" + checksum: b40365a4e62be4bf7a75c5900e8f95b1abd8fb9ff9f2cf71a7b567532377ddd5490b0ee1d566189a91e8c8250c9e875d333cfb3e44a34c230a11fd61337f923e + languageName: node + linkType: hard + "@changesets/parse@npm:^0.3.16": version: 0.3.16 resolution: "@changesets/parse@npm:0.3.16" @@ -281,6 +356,13 @@ __metadata: languageName: node linkType: hard +"@changesets/types@npm:^6.0.0": + version: 6.0.0 + resolution: "@changesets/types@npm:6.0.0" + checksum: e755f208792547e3b9ece15ce4da22466267da810c6fd87d927a1b8cec4d7fb7f0eea0d1a7585747676238e3e4ba1ffdabe016ccb05cfa537b4e4b03ec399f41 + languageName: node + linkType: hard + "@changesets/write@npm:^0.2.3": version: 0.2.3 resolution: "@changesets/write@npm:0.2.3" @@ -310,7 +392,7 @@ __metadata: languageName: node linkType: hard -"@ericcornelissen/bash-parser@npm:^0.5.2": +"@ericcornelissen/bash-parser@npm:0.5.2": version: 0.5.2 resolution: "@ericcornelissen/bash-parser@npm:0.5.2" dependencies: @@ -506,7 +588,7 @@ __metadata: languageName: node linkType: hard -"@npmcli/map-workspaces@npm:^3.0.4": +"@npmcli/map-workspaces@npm:3.0.4": version: 3.0.4 resolution: "@npmcli/map-workspaces@npm:3.0.4" dependencies: @@ -665,7 +747,7 @@ __metadata: languageName: node linkType: hard -"@pnpm/workspace.pkgs-graph@npm:2.0.11": +"@pnpm/workspace.pkgs-graph@npm:^2.0.10": version: 2.0.11 resolution: "@pnpm/workspace.pkgs-graph@npm:2.0.11" dependencies: @@ -736,6 +818,13 @@ __metadata: languageName: node linkType: hard +"@sindresorhus/merge-streams@npm:^1.0.0": + version: 1.0.0 + resolution: "@sindresorhus/merge-streams@npm:1.0.0" + checksum: 43d077170845dc621002e9730aea567e6e126e84b3bbff01b8575266efdb2c81d223939d3bec24020e53960c154b4640bef7746aeb245abd94c5d32972dd6854 + languageName: node + linkType: hard + "@siteimprove/alfa-act@workspace:^0.69.0, @siteimprove/alfa-act@workspace:packages/alfa-act": version: 0.0.0-use.local resolution: "@siteimprove/alfa-act@workspace:packages/alfa-act" @@ -1757,12 +1846,12 @@ __metadata: version: 0.0.0-use.local resolution: "@siteimprove/alfa-toolchain@workspace:packages/alfa-toolchain" dependencies: - "@changesets/assemble-release-plan": "npm:^5.2.4" - "@changesets/config": "npm:^2.3.1" + "@changesets/assemble-release-plan": "npm:^6.0.0" + "@changesets/config": "npm:^3.0.0" "@changesets/get-github-info": "npm:^0.5.2" - "@changesets/git": "npm:^2.0.0" + "@changesets/git": "npm:^3.0.0" "@changesets/read": "npm:^0.5.9" - "@changesets/types": "npm:^5.2.1" + "@changesets/types": "npm:^6.0.0" "@manypkg/get-packages": "npm:=1.1.3" "@siteimprove/alfa-array": "workspace:^0.69.0" "@siteimprove/alfa-option": "workspace:^0.69.0" @@ -1913,7 +2002,7 @@ __metadata: "@types/node": "npm:^20.5.9" async: "npm:^3.2.1" execa: "npm:^8.0.0" - knip: "npm:^2.33.4" + knip: "npm:^3.0.0" minimist: "npm:^1.2.6" package-dependency-graph: "npm:^1.14.4" prettier: "npm:^3.0.0" @@ -1921,7 +2010,7 @@ __metadata: languageName: unknown linkType: soft -"@snyk/github-codeowners@npm:^1.1.0": +"@snyk/github-codeowners@npm:1.1.0": version: 1.1.0 resolution: "@snyk/github-codeowners@npm:1.1.0" dependencies: @@ -3077,7 +3166,7 @@ __metadata: languageName: node linkType: hard -"easy-table@npm:^1.2.0": +"easy-table@npm:1.2.0": version: 1.2.0 resolution: "easy-table@npm:1.2.0" dependencies: @@ -3365,7 +3454,7 @@ __metadata: languageName: node linkType: hard -"fast-glob@npm:3.3.2, fast-glob@npm:^3.2.11, fast-glob@npm:^3.2.9": +"fast-glob@npm:3.3.2, fast-glob@npm:^3.2.9, fast-glob@npm:^3.3.2": version: 3.3.2 resolution: "fast-glob@npm:3.3.2" dependencies: @@ -3751,16 +3840,17 @@ __metadata: languageName: node linkType: hard -"globby@npm:^13.1.3": - version: 13.2.0 - resolution: "globby@npm:13.2.0" +"globby@npm:^14.0.0": + version: 14.0.0 + resolution: "globby@npm:14.0.0" dependencies: - dir-glob: "npm:^3.0.1" - fast-glob: "npm:^3.2.11" - ignore: "npm:^5.2.0" - merge2: "npm:^1.4.1" - slash: "npm:^4.0.0" - checksum: d1ea2b09dbb24961d16413cdb45764cb63280a2a7066739df5e5b33292ce4980d9da1d168a6a135c332ea1856f921e28d8ffcc2c6c24b82d4f4208477bfe62b4 + "@sindresorhus/merge-streams": "npm:^1.0.0" + fast-glob: "npm:^3.3.2" + ignore: "npm:^5.2.4" + path-type: "npm:^5.0.0" + slash: "npm:^5.1.0" + unicorn-magic: "npm:^0.1.0" + checksum: 6d98738a419f948ef23da019275b15ca5c65bb7e354ecea52a3015f4dae6b28a713fcf73bf3aab1c04039f4f62da71cff191a7ececc37c0e4c9b4320a047505f languageName: node linkType: hard @@ -4018,6 +4108,13 @@ __metadata: languageName: node linkType: hard +"ignore@npm:^5.2.4": + version: 5.3.0 + resolution: "ignore@npm:5.3.0" + checksum: dc06bea5c23aae65d0725a957a0638b57e235ae4568dda51ca142053ed2c352de7e3bc93a69b2b32ac31966a1952e9a93c5ef2e2ab7c6b06aef9808f6b55b571 + languageName: node + linkType: hard + "import-fresh@npm:^3.3.0": version: 3.3.0 resolution: "import-fresh@npm:3.3.0" @@ -4400,26 +4497,26 @@ __metadata: languageName: node linkType: hard -"js-yaml@npm:^3.13.0, js-yaml@npm:^3.13.1, js-yaml@npm:^3.6.1": - version: 3.14.1 - resolution: "js-yaml@npm:3.14.1" +"js-yaml@npm:4.1.0, js-yaml@npm:^4.1.0": + version: 4.1.0 + resolution: "js-yaml@npm:4.1.0" dependencies: - argparse: "npm:^1.0.7" - esprima: "npm:^4.0.0" + argparse: "npm:^2.0.1" bin: js-yaml: bin/js-yaml.js - checksum: 6746baaaeac312c4db8e75fa22331d9a04cccb7792d126ed8ce6a0bbcfef0cedaddd0c5098fade53db067c09fe00aa1c957674b4765610a8b06a5a189e46433b + checksum: 184a24b4eaacfce40ad9074c64fd42ac83cf74d8c8cd137718d456ced75051229e5061b8633c3366b8aada17945a7a356b337828c19da92b51ae62126575018f languageName: node linkType: hard -"js-yaml@npm:^4.1.0": - version: 4.1.0 - resolution: "js-yaml@npm:4.1.0" +"js-yaml@npm:^3.13.0, js-yaml@npm:^3.13.1, js-yaml@npm:^3.6.1": + version: 3.14.1 + resolution: "js-yaml@npm:3.14.1" dependencies: - argparse: "npm:^2.0.1" + argparse: "npm:^1.0.7" + esprima: "npm:^4.0.0" bin: js-yaml: bin/js-yaml.js - checksum: 184a24b4eaacfce40ad9074c64fd42ac83cf74d8c8cd137718d456ced75051229e5061b8633c3366b8aada17945a7a356b337828c19da92b51ae62126575018f + checksum: 6746baaaeac312c4db8e75fa22331d9a04cccb7792d126ed8ce6a0bbcfef0cedaddd0c5098fade53db067c09fe00aa1c957674b4765610a8b06a5a189e46433b languageName: node linkType: hard @@ -4502,33 +4599,35 @@ __metadata: languageName: node linkType: hard -"knip@npm:^2.33.4": - version: 2.43.0 - resolution: "knip@npm:2.43.0" +"knip@npm:^3.0.0": + version: 3.4.0 + resolution: "knip@npm:3.4.0" dependencies: - "@ericcornelissen/bash-parser": "npm:^0.5.2" - "@npmcli/map-workspaces": "npm:^3.0.4" + "@ericcornelissen/bash-parser": "npm:0.5.2" + "@npmcli/map-workspaces": "npm:3.0.4" "@pkgjs/parseargs": "npm:0.11.0" "@pnpm/logger": "npm:5.0.0" - "@pnpm/workspace.pkgs-graph": "npm:2.0.11" - "@snyk/github-codeowners": "npm:^1.1.0" + "@pnpm/workspace.pkgs-graph": "npm:^2.0.10" + "@snyk/github-codeowners": "npm:1.1.0" chalk: "npm:^5.2.0" - easy-table: "npm:^1.2.0" + easy-table: "npm:1.2.0" fast-glob: "npm:3.3.2" - globby: "npm:^13.1.3" + globby: "npm:^14.0.0" jiti: "npm:1.21.0" - js-yaml: "npm:^4.1.0" - micromatch: "npm:^4.0.5" - minimist: "npm:^1.2.8" - pretty-ms: "npm:^8.0.0" - strip-json-comments: "npm:^5.0.0" - summary: "npm:^2.1.0" - typescript: "npm:^5.0.2" + js-yaml: "npm:4.1.0" + micromatch: "npm:4.0.5" + minimist: "npm:1.2.8" + pretty-ms: "npm:8.0.0" + strip-json-comments: "npm:5.0.1" + summary: "npm:2.1.0" zod: "npm:3.22.4" - zod-validation-error: "npm:1.5.0" + zod-validation-error: "npm:2.1.0" + peerDependencies: + "@types/node": ">=18" + typescript: ">=5.0.4" bin: - knip: dist/cli.js - checksum: ff988f12622ed8a407cdbc02a6b51b493688a2bb9e0d2523637cf649adc6d83d6c3e332f05330eb6bca710a6be0b81b873228878a167b2a083ec342a79b28979 + knip: bin/knip.js + checksum: b88d95001ab5c2f176f0ae3f956dabc4d5d2366808683948cbc436080f641244f0911f0f90d857befccc01ebab5e51ed635d0f97dbec9974934a0ecbe717e66f languageName: node linkType: hard @@ -4780,7 +4879,7 @@ __metadata: languageName: node linkType: hard -"micromatch@npm:^4.0.2, micromatch@npm:^4.0.4, micromatch@npm:^4.0.5": +"micromatch@npm:4.0.5, micromatch@npm:^4.0.2, micromatch@npm:^4.0.4": version: 4.0.5 resolution: "micromatch@npm:4.0.5" dependencies: @@ -4872,7 +4971,7 @@ __metadata: languageName: node linkType: hard -"minimist@npm:1, minimist@npm:^1.2.5, minimist@npm:^1.2.6, minimist@npm:^1.2.8": +"minimist@npm:1, minimist@npm:1.2.8, minimist@npm:^1.2.5, minimist@npm:^1.2.6": version: 1.2.8 resolution: "minimist@npm:1.2.8" checksum: 19d3fcdca050087b84c2029841a093691a91259a47def2f18222f41e7645a0b7c44ef4b40e88a1e58a40c84d2ef0ee6047c55594d298146d0eb3f6b737c20ce6 @@ -5493,6 +5592,13 @@ __metadata: languageName: node linkType: hard +"path-type@npm:^5.0.0": + version: 5.0.0 + resolution: "path-type@npm:5.0.0" + checksum: e8f4b15111bf483900c75609e5e74e3fcb79f2ddb73e41470028fcd3e4b5162ec65da9907be077ee5012c18801ff7fffb35f9f37a077f3f81d85a0b7d6578efd + languageName: node + linkType: hard + "pend@npm:~1.2.0": version: 1.2.0 resolution: "pend@npm:1.2.0" @@ -5560,7 +5666,7 @@ __metadata: languageName: node linkType: hard -"pretty-ms@npm:^8.0.0": +"pretty-ms@npm:8.0.0": version: 8.0.0 resolution: "pretty-ms@npm:8.0.0" dependencies: @@ -6081,10 +6187,10 @@ __metadata: languageName: node linkType: hard -"slash@npm:^4.0.0": - version: 4.0.0 - resolution: "slash@npm:4.0.0" - checksum: b522ca75d80d107fd30d29df0549a7b2537c83c4c4ecd12cd7d4ea6c8aaca2ab17ada002e7a1d78a9d736a0261509f26ea5b489082ee443a3a810586ef8eff18 +"slash@npm:^5.1.0": + version: 5.1.0 + resolution: "slash@npm:5.1.0" + checksum: eb48b815caf0bdc390d0519d41b9e0556a14380f6799c72ba35caf03544d501d18befdeeef074bc9c052acf69654bc9e0d79d7f1de0866284137a40805299eb3 languageName: node linkType: hard @@ -6402,10 +6508,10 @@ __metadata: languageName: node linkType: hard -"strip-json-comments@npm:^5.0.0": - version: 5.0.0 - resolution: "strip-json-comments@npm:5.0.0" - checksum: cbc89c9439d5e8d8fb2f5d3d6d6bebfe829d3d67364f8dc8bdaef976dace1b16a35e3a70d27cc53eb5a84621fb2776462f7ff2e2177a41302482375b5d134c28 +"strip-json-comments@npm:5.0.1": + version: 5.0.1 + resolution: "strip-json-comments@npm:5.0.1" + checksum: c9d9d55a0167c57aa688df3aa20628cf6f46f0344038f189eaa9d159978e80b2bfa6da541a40d83f7bde8a3554596259bf6b70578b2172356536a0e3fa5a0982 languageName: node linkType: hard @@ -6416,7 +6522,7 @@ __metadata: languageName: node linkType: hard -"summary@npm:^2.1.0": +"summary@npm:2.1.0": version: 2.1.0 resolution: "summary@npm:2.1.0" checksum: 2743c1f940fb303c496ef1b085e654704a6c16872957b6b76648c34bd32c8f0b7a3c5ec4e0f8bfb71dcb8473e34d172fef31026b85562af589cf220aa901698d @@ -6658,7 +6764,7 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^5.0.2, typescript@npm:^5.2.2": +"typescript@npm:^5.2.2": version: 5.3.2 resolution: "typescript@npm:5.3.2" bin: @@ -6678,7 +6784,7 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A^5.0.2#optional!builtin, typescript@patch:typescript@npm%3A^5.2.2#optional!builtin": +"typescript@patch:typescript@npm%3A^5.2.2#optional!builtin": version: 5.3.2 resolution: "typescript@patch:typescript@npm%3A5.3.2#optional!builtin::version=5.3.2&hash=e012d7" bin: @@ -6736,6 +6842,13 @@ __metadata: languageName: node linkType: hard +"unicorn-magic@npm:^0.1.0": + version: 0.1.0 + resolution: "unicorn-magic@npm:0.1.0" + checksum: e4ed0de05b0a05e735c7d8a2930881e5efcfc3ec897204d5d33e7e6247f4c31eac92e383a15d9a6bccb7319b4271ee4bea946e211bf14951fec6ff2cbbb66a92 + languageName: node + linkType: hard + "unique-filename@npm:^1.1.1": version: 1.1.1 resolution: "unique-filename@npm:1.1.1" @@ -7139,12 +7252,12 @@ __metadata: languageName: node linkType: hard -"zod-validation-error@npm:1.5.0": - version: 1.5.0 - resolution: "zod-validation-error@npm:1.5.0" +"zod-validation-error@npm:2.1.0": + version: 2.1.0 + resolution: "zod-validation-error@npm:2.1.0" peerDependencies: zod: ^3.18.0 - checksum: b05d74900fa840e35abb66e0b0f90bd0175bcf8bf0bf9cea7de1383c9a35b75f870951a529cfc2045f2629f00b9ce1b30745b0e4689fd198743d6da91b321a58 + checksum: e8e8a0af64092dfb3388d759bf10fb7cf5358bc1bdb365771b8ac1944b1fb014ccbc8e60fbd69627961ea5873c5694e5c3fe730341c9842312fbb91661a1f451 languageName: node linkType: hard