diff --git a/package.json b/package.json index 20dc75ff73..b77612e564 100644 --- a/package.json +++ b/package.json @@ -101,7 +101,7 @@ "vite": "^6.0.0", "vite-plugin-istanbul": "^6.0.0", "vite-tsconfig-paths": "^4.2.0", - "vitest": "^2.0.0", + "vitest": "^3.0.0", "yup": "^1.0.2" }, "resolutions": { diff --git a/yarn.lock b/yarn.lock index 275e1a39e1..c25ebdd8a9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3385,7 +3385,7 @@ __metadata: vite: "npm:^6.0.0" vite-plugin-istanbul: "npm:^6.0.0" vite-tsconfig-paths: "npm:^4.2.0" - vitest: "npm:^2.0.0" + vitest: "npm:^3.0.0" yup: "npm:^1.0.2" languageName: unknown linkType: soft @@ -5592,35 +5592,34 @@ __metadata: languageName: node linkType: hard -"@vitest/expect@npm:2.1.1": - version: 2.1.1 - resolution: "@vitest/expect@npm:2.1.1" +"@vitest/expect@npm:3.0.0": + version: 3.0.0 + resolution: "@vitest/expect@npm:3.0.0" dependencies: - "@vitest/spy": "npm:2.1.1" - "@vitest/utils": "npm:2.1.1" - chai: "npm:^5.1.1" - tinyrainbow: "npm:^1.2.0" - checksum: 10/ece8d7f9e0c083c5cf30c0df9e052bba4402649736293a18e56a8db4be46a847b18dc7b33cdd1c08bea51bf6f2cb021e40e7227d9cfc24fdba4a955bffe371a2 + "@vitest/spy": "npm:3.0.0" + "@vitest/utils": "npm:3.0.0" + chai: "npm:^5.1.2" + tinyrainbow: "npm:^2.0.0" + checksum: 10/bcd3d82d045590467e9c05736604fb5bbe763043733702a725852546093ceadaf8e6711041c3e27baba38d30589c5d5a80020710a0b513ed279c6aa39d41aa73 languageName: node linkType: hard -"@vitest/mocker@npm:2.1.1": - version: 2.1.1 - resolution: "@vitest/mocker@npm:2.1.1" +"@vitest/mocker@npm:3.0.0": + version: 3.0.0 + resolution: "@vitest/mocker@npm:3.0.0" dependencies: - "@vitest/spy": "npm:^2.1.0-beta.1" + "@vitest/spy": "npm:3.0.0" estree-walker: "npm:^3.0.3" - magic-string: "npm:^0.30.11" + magic-string: "npm:^0.30.17" peerDependencies: - "@vitest/spy": 2.1.1 - msw: ^2.3.5 - vite: ^5.0.0 + msw: ^2.4.9 + vite: ^5.0.0 || ^6.0.0 peerDependenciesMeta: msw: optional: true vite: optional: true - checksum: 10/4fbdaac36e3f603235b131e25d9e561381bd989a34e49522e16652077021532ae6653907b47bbca93c14ae4629e3e6a8f61438e3812620dc5654b61595b45208 + checksum: 10/fac97fe8cc464b9d460edd51724e3c24551d7477944ed8dd80f559a02881fd169811f53e828d2cd06ea5a62d24554ad1269f27d8f8adb917d3e4e6399258a185 languageName: node linkType: hard @@ -5633,42 +5632,42 @@ __metadata: languageName: node linkType: hard -"@vitest/pretty-format@npm:2.1.1": - version: 2.1.1 - resolution: "@vitest/pretty-format@npm:2.1.1" +"@vitest/pretty-format@npm:2.1.5": + version: 2.1.5 + resolution: "@vitest/pretty-format@npm:2.1.5" dependencies: tinyrainbow: "npm:^1.2.0" - checksum: 10/744278a3a91d080e51a94b03eaf7cf43779978d6391060cbfdda6d03194eef744ce8f12a2fe2fa90a9bf9b9f038d4c4c4d88f6192f042c88c5ee4125f38bf892 + checksum: 10/98bf4e20c0efb893ffb2fe7713f84ccafd362d5022222ce097aab2368c2b0eccf3578d7ef4c26ea2f3d52e3c95f5fc7185ba36d7475d95537aab31ec4ac55d3a languageName: node linkType: hard -"@vitest/pretty-format@npm:2.1.5, @vitest/pretty-format@npm:^2.1.1": - version: 2.1.5 - resolution: "@vitest/pretty-format@npm:2.1.5" +"@vitest/pretty-format@npm:3.0.0, @vitest/pretty-format@npm:^3.0.0": + version: 3.0.0 + resolution: "@vitest/pretty-format@npm:3.0.0" dependencies: - tinyrainbow: "npm:^1.2.0" - checksum: 10/98bf4e20c0efb893ffb2fe7713f84ccafd362d5022222ce097aab2368c2b0eccf3578d7ef4c26ea2f3d52e3c95f5fc7185ba36d7475d95537aab31ec4ac55d3a + tinyrainbow: "npm:^2.0.0" + checksum: 10/ccd55e7c70a5af488ae9c03dfc30d7e0f1b610694a1894dc174981232d24711bb594270e2ba07e86e8a86fafcdeb058b11daeab256d424cbf615df8c61973525 languageName: node linkType: hard -"@vitest/runner@npm:2.1.1": - version: 2.1.1 - resolution: "@vitest/runner@npm:2.1.1" +"@vitest/runner@npm:3.0.0": + version: 3.0.0 + resolution: "@vitest/runner@npm:3.0.0" dependencies: - "@vitest/utils": "npm:2.1.1" - pathe: "npm:^1.1.2" - checksum: 10/cf13a2f0bebb494484e60614ff0e7cab06f4310b36c96fe311035ab2eec9cbc057fa5702e904d43e8976fb2214fe550286ceb0b3dc1c72081e23eb1b1f8fa193 + "@vitest/utils": "npm:3.0.0" + pathe: "npm:^2.0.0" + checksum: 10/1cb7dad93b22fe081e92905e2feeef5e40d7730f84a60810aaa6a31de3b8e94ece280f1585938c48dd42723b8474ee6c8c094184ed73a65992ca4917dd973f2e languageName: node linkType: hard -"@vitest/snapshot@npm:2.1.1": - version: 2.1.1 - resolution: "@vitest/snapshot@npm:2.1.1" +"@vitest/snapshot@npm:3.0.0": + version: 3.0.0 + resolution: "@vitest/snapshot@npm:3.0.0" dependencies: - "@vitest/pretty-format": "npm:2.1.1" - magic-string: "npm:^0.30.11" - pathe: "npm:^1.1.2" - checksum: 10/820f429d950cf63316464e7f2bc1f0ba4b7d2691c51f6ad03ba1c6edc7dbdc6a86b017c082f2a519b743ae53880b41366bbb596c8b43cf8cd68032f9433ec844 + "@vitest/pretty-format": "npm:3.0.0" + magic-string: "npm:^0.30.17" + pathe: "npm:^2.0.0" + checksum: 10/0ff51553d0a570a03ea9672e526f31efbe95f2f4946fea35f434cfeaad4b26e00da83dd12d7f76d5a5562ccc930463460d80d7bd0ca03b80df0be123d7769732 languageName: node linkType: hard @@ -5681,12 +5680,12 @@ __metadata: languageName: node linkType: hard -"@vitest/spy@npm:2.1.1, @vitest/spy@npm:^2.1.0-beta.1": - version: 2.1.1 - resolution: "@vitest/spy@npm:2.1.1" +"@vitest/spy@npm:3.0.0": + version: 3.0.0 + resolution: "@vitest/spy@npm:3.0.0" dependencies: - tinyspy: "npm:^3.0.0" - checksum: 10/47e83b4a3d091c4fdc2fbf861ccf2df697d3446a6c69d384b168f9c3e0fa1cabec03e52cc8bec1909735969176ac6272cc4dee8dda945ff059183a5c4568a488 + tinyspy: "npm:^3.0.2" + checksum: 10/a45b4380ad8e26213f53f8bf32cf8fa2580f66c4b9378bfabed1758a216b0fc848c1fbb97ecfef1517e39d6f553913eba119dde6dd60cc0f32d910b3e2ef2d71 languageName: node linkType: hard @@ -5702,14 +5701,14 @@ __metadata: languageName: node linkType: hard -"@vitest/utils@npm:2.1.1": - version: 2.1.1 - resolution: "@vitest/utils@npm:2.1.1" +"@vitest/utils@npm:3.0.0": + version: 3.0.0 + resolution: "@vitest/utils@npm:3.0.0" dependencies: - "@vitest/pretty-format": "npm:2.1.1" - loupe: "npm:^3.1.1" - tinyrainbow: "npm:^1.2.0" - checksum: 10/605f1807c343ac01cde053b062bda8f0cc51b321a3cd9c751424a1e24549a35120896bd58612a14f068460242013f69e08fc0a69355387e981a5a50bce9ae04e + "@vitest/pretty-format": "npm:3.0.0" + loupe: "npm:^3.1.2" + tinyrainbow: "npm:^2.0.0" + checksum: 10/b9e19c4769205cc20cb7fc9ac1e2d236624e666bc242d4aa31b887a0557b1bb8ccb025f488b70830d4320db14803a6ad6ea955a29a91d04f810f30f90e74f7e5 languageName: node linkType: hard @@ -6579,16 +6578,16 @@ __metadata: languageName: node linkType: hard -"chai@npm:^5.1.1": - version: 5.1.1 - resolution: "chai@npm:5.1.1" +"chai@npm:^5.1.1, chai@npm:^5.1.2": + version: 5.1.2 + resolution: "chai@npm:5.1.2" dependencies: assertion-error: "npm:^2.0.1" check-error: "npm:^2.1.1" deep-eql: "npm:^5.0.1" loupe: "npm:^3.1.0" pathval: "npm:^2.0.0" - checksum: 10/ee67279a5613bd36dc1dc13660042429ae2f1dc5a9030a6abcf381345866dfb5bce7bc10b9d74c8de86b6f656489f654bbbef3f3361e06925591e6a00c72afff + checksum: 10/e8c2bbc83cb5a2f87130d93056d4cfbbe04106e12aa798b504816dbe3fa538a9f68541b472e56cbf0f54558b501d7e31867d74b8218abcd5a8cc8ba536fba46c languageName: node linkType: hard @@ -7855,7 +7854,19 @@ __metadata: languageName: node linkType: hard -"debug@npm:4, debug@npm:4.3.7, debug@npm:^4.0.0, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.4, debug@npm:^4.3.6": +"debug@npm:4, debug@npm:^4.0.0, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.4, debug@npm:^4.4.0": + version: 4.4.0 + resolution: "debug@npm:4.4.0" + dependencies: + ms: "npm:^2.1.3" + peerDependenciesMeta: + supports-color: + optional: true + checksum: 10/1847944c2e3c2c732514b93d11886575625686056cd765336212dc15de2d2b29612b6cd80e1afba767bb8e1803b778caf9973e98169ef1a24a7a7009e1820367 + languageName: node + linkType: hard + +"debug@npm:4.3.7": version: 4.3.7 resolution: "debug@npm:4.3.7" dependencies: @@ -8396,10 +8407,10 @@ __metadata: languageName: node linkType: hard -"es-module-lexer@npm:^1.3.1": - version: 1.5.4 - resolution: "es-module-lexer@npm:1.5.4" - checksum: 10/f29c7c97a58eb17640dcbd71bd6ef754ad4f58f95c3073894573d29dae2cad43ecd2060d97ed5b866dfb7804d5590fb7de1d2c5339a5fceae8bd60b580387fc5 +"es-module-lexer@npm:^1.3.1, es-module-lexer@npm:^1.5.4": + version: 1.6.0 + resolution: "es-module-lexer@npm:1.6.0" + checksum: 10/807ee7020cc46a9c970c78cad1f2f3fc139877e5ebad7f66dbfbb124d451189ba1c48c1c632bd5f8ce1b8af2caef3fca340ba044a410fa890d17b080a59024bb languageName: node linkType: hard @@ -8741,6 +8752,13 @@ __metadata: languageName: node linkType: hard +"expect-type@npm:^1.1.0": + version: 1.1.0 + resolution: "expect-type@npm:1.1.0" + checksum: 10/05fca80ddc7d493a89361f783c6b000750fa04a8226bc24701f3b90adb0efc2fb467f2a0baaed4015a02d8b9034ef5bb87521df9dba980f50b1105bd596ef833 + languageName: node + linkType: hard + "expiry-map@npm:^2.0.0": version: 2.0.0 resolution: "expiry-map@npm:2.0.0" @@ -11293,12 +11311,12 @@ __metadata: languageName: node linkType: hard -"magic-string@npm:^0.30.0, magic-string@npm:^0.30.11, magic-string@npm:^0.30.3": - version: 0.30.11 - resolution: "magic-string@npm:0.30.11" +"magic-string@npm:^0.30.0, magic-string@npm:^0.30.17, magic-string@npm:^0.30.3": + version: 0.30.17 + resolution: "magic-string@npm:0.30.17" dependencies: "@jridgewell/sourcemap-codec": "npm:^1.5.0" - checksum: 10/b784d2240252f5b1e755d487354ada4c672cbca16f045144f7185a75b059210e5fcca7be7be03ef1bac2ca754c4428b21d36ae64a9057ba429916f06b8c54eb2 + checksum: 10/2f71af2b0afd78c2e9012a29b066d2c8ba45a9cd0c8070f7fd72de982fb1c403b4e3afdb1dae00691d56885ede66b772ef6bedf765e02e3a7066208fe2fec4aa languageName: node linkType: hard @@ -13622,10 +13640,10 @@ __metadata: languageName: node linkType: hard -"pathe@npm:^1.1.2": - version: 1.1.2 - resolution: "pathe@npm:1.1.2" - checksum: 10/f201d796351bf7433d147b92c20eb154a4e0ea83512017bf4ec4e492a5d6e738fb45798be4259a61aa81270179fce11026f6ff0d3fa04173041de044defe9d80 +"pathe@npm:^2.0.0": + version: 2.0.1 + resolution: "pathe@npm:2.0.1" + checksum: 10/f6b628b28b228a1960b30c969d8cdc989c0f7041af3904ce794f050b60846c6b599e72e6a491012b4f414c3c441a9adfc1be66ad5d51633ae42793d29e2f03d5 languageName: node linkType: hard @@ -14199,7 +14217,7 @@ __metadata: languageName: node linkType: hard -"postcss@npm:^8.4.32, postcss@npm:^8.4.43, postcss@npm:^8.4.49": +"postcss@npm:^8.4.32, postcss@npm:^8.4.49": version: 8.4.49 resolution: "postcss@npm:8.4.49" dependencies: @@ -15527,7 +15545,7 @@ __metadata: languageName: node linkType: hard -"rollup@npm:^4.20.0, rollup@npm:^4.23.0, rollup@npm:^4.24.2": +"rollup@npm:^4.23.0, rollup@npm:^4.24.2": version: 4.28.1 resolution: "rollup@npm:4.28.1" dependencies: @@ -16117,10 +16135,10 @@ __metadata: languageName: node linkType: hard -"std-env@npm:^3.7.0": - version: 3.7.0 - resolution: "std-env@npm:3.7.0" - checksum: 10/6ee0cca1add3fd84656b0002cfbc5bfa20340389d9ba4720569840f1caa34bce74322aef4c93f046391583e50649d0cf81a5f8fe1d411e50b659571690a45f12 +"std-env@npm:^3.8.0": + version: 3.8.0 + resolution: "std-env@npm:3.8.0" + checksum: 10/034176196cfcaaab16dbdd96fc9e925a9544799fb6dc5a3e36fe43270f3a287c7f779d785b89edaf22cef2b5f1dcada2aae67430b8602e785ee74bdb3f671768 languageName: node linkType: hard @@ -16760,17 +16778,17 @@ __metadata: languageName: node linkType: hard -"tinyexec@npm:^0.3.0": - version: 0.3.0 - resolution: "tinyexec@npm:0.3.0" - checksum: 10/317cc536d091ce7e50271287798d91ef53c4dc80088844d890752a2c7387d213004cba83e5e1d9129390ced617625e34f4a8f0ba5779e31c9b6939f9be0d3543 +"tinyexec@npm:^0.3.2": + version: 0.3.2 + resolution: "tinyexec@npm:0.3.2" + checksum: 10/b9d5fed3166fb1acd1e7f9a89afcd97ccbe18b9c1af0278e429455f6976d69271ba2d21797e7c36d57d6b05025e525d2882d88c2ab435b60d1ddf2fea361de57 languageName: node linkType: hard -"tinypool@npm:^1.0.0": - version: 1.0.1 - resolution: "tinypool@npm:1.0.1" - checksum: 10/eaceb93784b8e27e60c0e3e2c7d11c29e1e79b2a025b2c232215db73b90fe22bd4753ad53fc8e801c2b5a63b94a823af549555d8361272bc98271de7dd4a9925 +"tinypool@npm:^1.0.2": + version: 1.0.2 + resolution: "tinypool@npm:1.0.2" + checksum: 10/6109322f14b3763f65c8fa49fddab72cd3edd96b82dd50e05e63de74867329ff5353bff4377281ec963213d9314f37f4a353e9ee34bbac85fd4c1e4a568d6076 languageName: node linkType: hard @@ -16781,7 +16799,14 @@ __metadata: languageName: node linkType: hard -"tinyspy@npm:^3.0.0": +"tinyrainbow@npm:^2.0.0": + version: 2.0.0 + resolution: "tinyrainbow@npm:2.0.0" + checksum: 10/94d4e16246972614a5601eeb169ba94f1d49752426312d3cf8cc4f2cc663a2e354ffc653aa4de4eebccbf9eeebdd0caef52d1150271fdfde65d7ae7f3dcb9eb5 + languageName: node + linkType: hard + +"tinyspy@npm:^3.0.0, tinyspy@npm:^3.0.2": version: 3.0.2 resolution: "tinyspy@npm:3.0.2" checksum: 10/5db671b2ff5cd309de650c8c4761ca945459d7204afb1776db9a04fb4efa28a75f08517a8620c01ee32a577748802231ad92f7d5b194dc003ee7f987a2a06337 @@ -17639,17 +17664,18 @@ __metadata: languageName: node linkType: hard -"vite-node@npm:2.1.1": - version: 2.1.1 - resolution: "vite-node@npm:2.1.1" +"vite-node@npm:3.0.0": + version: 3.0.0 + resolution: "vite-node@npm:3.0.0" dependencies: cac: "npm:^6.7.14" - debug: "npm:^4.3.6" - pathe: "npm:^1.1.2" - vite: "npm:^5.0.0" + debug: "npm:^4.4.0" + es-module-lexer: "npm:^1.5.4" + pathe: "npm:^2.0.0" + vite: "npm:^5.0.0 || ^6.0.0" bin: vite-node: vite-node.mjs - checksum: 10/c21892b560cad87414ef774d7e53b207e8d66b511b7ef085940fd2f2160d8f6c42dfa9af2ef5465e775b767fc3312ec5b3418b898041f592b8e0b093b4b7110a + checksum: 10/530cbc5e3453a2e6425a3bc52c73dbae6f2f1aa7f198cb69262056665e307f81b8913b56c34ee45eaefffbb17a8ea958dcd948153c44a6bf70d5de92b697e913 languageName: node linkType: hard @@ -17695,54 +17721,11 @@ __metadata: languageName: node linkType: hard -"vite@npm:^5.0.0": - version: 5.4.7 - resolution: "vite@npm:5.4.7" - dependencies: - esbuild: "npm:^0.21.3" - fsevents: "npm:~2.3.3" - postcss: "npm:^8.4.43" - rollup: "npm:^4.20.0" - peerDependencies: - "@types/node": ^18.0.0 || >=20.0.0 - less: "*" - lightningcss: ^1.21.0 - sass: "*" - sass-embedded: "*" - stylus: "*" - sugarss: "*" - terser: ^5.4.0 - dependenciesMeta: - fsevents: - optional: true - peerDependenciesMeta: - "@types/node": - optional: true - less: - optional: true - lightningcss: - optional: true - sass: - optional: true - sass-embedded: - optional: true - stylus: - optional: true - sugarss: - optional: true - terser: - optional: true - bin: - vite: bin/vite.js - checksum: 10/3f27e870930ad83b51e009604c6b69ab090e69bb5bfe85007c7e4ec3326efae4e33ac799645926363f258595b3be3055cc1ebc5ee158cff4bacdf41adf4ef8ed - languageName: node - linkType: hard - -"vite@npm:^6.0.0": - version: 6.0.3 - resolution: "vite@npm:6.0.3" +"vite@npm:^5.0.0 || ^6.0.0, vite@npm:^6.0.0": + version: 6.0.7 + resolution: "vite@npm:6.0.7" dependencies: - esbuild: "npm:^0.24.0" + esbuild: "npm:^0.24.2" fsevents: "npm:~2.3.3" postcss: "npm:^8.4.49" rollup: "npm:^4.23.0" @@ -17786,38 +17769,39 @@ __metadata: optional: true bin: vite: bin/vite.js - checksum: 10/eca0949b8cbc887e78977515d8fc22eaa2d03425d60a0a422f2db1da9d26bd1b431b2815a273c798e8e3fe176a99e105c3d87b0ba615ca19b8bf19e0334d807a + checksum: 10/bf76b3647983cb3d76c0db90d1f72cd4f6e80864a112145405ac0046cedfb14814cc4d9c1acbd9c53da8749c3a2fa80570971f7c44c0524b71974981065e9388 languageName: node linkType: hard -"vitest@npm:^2.0.0": - version: 2.1.1 - resolution: "vitest@npm:2.1.1" - dependencies: - "@vitest/expect": "npm:2.1.1" - "@vitest/mocker": "npm:2.1.1" - "@vitest/pretty-format": "npm:^2.1.1" - "@vitest/runner": "npm:2.1.1" - "@vitest/snapshot": "npm:2.1.1" - "@vitest/spy": "npm:2.1.1" - "@vitest/utils": "npm:2.1.1" - chai: "npm:^5.1.1" - debug: "npm:^4.3.6" - magic-string: "npm:^0.30.11" - pathe: "npm:^1.1.2" - std-env: "npm:^3.7.0" +"vitest@npm:^3.0.0": + version: 3.0.0 + resolution: "vitest@npm:3.0.0" + dependencies: + "@vitest/expect": "npm:3.0.0" + "@vitest/mocker": "npm:3.0.0" + "@vitest/pretty-format": "npm:^3.0.0" + "@vitest/runner": "npm:3.0.0" + "@vitest/snapshot": "npm:3.0.0" + "@vitest/spy": "npm:3.0.0" + "@vitest/utils": "npm:3.0.0" + chai: "npm:^5.1.2" + debug: "npm:^4.4.0" + expect-type: "npm:^1.1.0" + magic-string: "npm:^0.30.17" + pathe: "npm:^2.0.0" + std-env: "npm:^3.8.0" tinybench: "npm:^2.9.0" - tinyexec: "npm:^0.3.0" - tinypool: "npm:^1.0.0" - tinyrainbow: "npm:^1.2.0" - vite: "npm:^5.0.0" - vite-node: "npm:2.1.1" + tinyexec: "npm:^0.3.2" + tinypool: "npm:^1.0.2" + tinyrainbow: "npm:^2.0.0" + vite: "npm:^5.0.0 || ^6.0.0" + vite-node: "npm:3.0.0" why-is-node-running: "npm:^2.3.0" peerDependencies: "@edge-runtime/vm": "*" - "@types/node": ^18.0.0 || >=20.0.0 - "@vitest/browser": 2.1.1 - "@vitest/ui": 2.1.1 + "@types/node": ^18.0.0 || ^20.0.0 || >=22.0.0 + "@vitest/browser": 3.0.0 + "@vitest/ui": 3.0.0 happy-dom: "*" jsdom: "*" peerDependenciesMeta: @@ -17835,7 +17819,7 @@ __metadata: optional: true bin: vitest: vitest.mjs - checksum: 10/5bbbc7298a043c7ca0914817a2c30e18af5a1619f4a750d36056f64f4d907a1fad50b8bab93aaf39f8174eb475108c9287f6e226e24d3a3ccd6f0b71d3f56438 + checksum: 10/77365dfff6caa1253174ed5468a4ccf3f1f7dd1e58f176ee1d6438ff26d53e61bcfaa1024b640d88cf7bc46fe93790ab0e2ad59f4f1c5a0ee12e16f97869ba96 languageName: node linkType: hard