diff --git a/package.json b/package.json index 47bfb35d..285f065f 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,6 @@ "turbo": "^2.3.3", "typescript": "^5.7.2", "vite-tsconfig-paths": "^5.1.4", - "vitest": "^2.1.8" + "vitest": "^3.0.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2c4a1ea8..62ccf6e1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -61,10 +61,10 @@ importers: version: 5.7.3 vite-tsconfig-paths: specifier: ^5.1.4 - version: 5.1.4(typescript@5.7.3)(vite@5.4.11(@types/node@22.10.6)) + version: 5.1.4(typescript@5.7.3)(vite@6.0.7(@types/node@22.10.6)) vitest: - specifier: ^2.1.8 - version: 2.1.8(@types/node@22.10.6) + specifier: ^3.0.0 + version: 3.0.0(@types/node@22.10.6) apps/example-purgecss: dependencies: @@ -127,7 +127,7 @@ importers: dependencies: astro: specifier: ^5.0.0 - version: 5.1.5(@types/node@22.10.5)(rollup@4.30.1)(typescript@5.7.3) + version: 5.1.5(@types/node@22.10.6)(rollup@4.30.1)(typescript@5.7.3) purgecss: specifier: ^7.0.0 version: 7.0.2 @@ -136,13 +136,13 @@ importers: dependencies: astro: specifier: ^5.0.0 - version: 5.1.5(@types/node@22.10.5)(rollup@4.30.1)(typescript@5.7.3) + version: 5.1.5(@types/node@22.10.6)(rollup@4.30.1)(typescript@5.7.3) packages/astro-seo-schema: dependencies: astro: specifier: ^5.0.0 - version: 5.1.5(@types/node@22.10.5)(rollup@4.30.1)(typescript@5.7.3) + version: 5.1.5(@types/node@22.10.6)(rollup@4.30.1)(typescript@5.7.3) schema-dts: specifier: ^1.1.0 version: 1.1.2(typescript@5.7.3) @@ -155,19 +155,19 @@ importers: dependencies: astro: specifier: ^5.0.0 - version: 5.1.5(@types/node@22.10.5)(rollup@4.30.1)(typescript@5.7.3) + version: 5.1.5(@types/node@22.10.6)(rollup@4.30.1)(typescript@5.7.3) packages/astro-ui-avatars: dependencies: astro: specifier: ^5.0.0 - version: 5.1.5(@types/node@22.10.5)(rollup@4.30.1)(typescript@5.7.3) + version: 5.1.5(@types/node@22.10.6)(rollup@4.30.1)(typescript@5.7.3) packages/astro-useragent: dependencies: astro: specifier: ^5.0.0 - version: 5.1.5(@types/node@22.10.5)(rollup@4.30.1)(typescript@5.7.3) + version: 5.1.5(@types/node@22.10.6)(rollup@4.30.1)(typescript@5.7.3) ua-parser-js: specifier: ^2.0.0 version: 2.0.0 @@ -182,13 +182,13 @@ importers: version: 4.0.19(@types/node@22.10.6)(vite@6.0.7(@types/node@22.10.6)) astro: specifier: ^5.0.0 - version: 5.1.5(@types/node@22.10.5)(rollup@4.30.1)(typescript@5.7.3) + version: 5.1.5(@types/node@22.10.6)(rollup@4.30.1)(typescript@5.7.3) packages/astro-webhooks: dependencies: astro: specifier: ^5.0.0 - version: 5.1.5(@types/node@22.10.5)(rollup@4.30.1)(typescript@5.7.3) + version: 5.1.5(@types/node@22.10.6)(rollup@4.30.1)(typescript@5.7.3) packages: @@ -1214,9 +1214,6 @@ packages: '@types/node@12.20.55': resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} - '@types/node@22.10.5': - resolution: {integrity: sha512-F8Q+SeGimwOo86fiovQh8qiXfFEh2/ocYv7tU5pJ3EXMSSxk1Joj5wefpFK2fHTf/N6HKGSxIDBT9f3gCxXPkQ==} - '@types/node@22.10.6': resolution: {integrity: sha512-qNiuwC4ZDAUNcY47xgaSuS92cjf8JbSUoaKS77bmLG1rU7MlATVSiw/IlrjtIyyskXBZ8KkNfjK/P5na7rgXbQ==} @@ -1243,34 +1240,34 @@ packages: peerDependencies: vite: ^4.0.3 || ^5.0.0 - '@vitest/expect@2.1.8': - resolution: {integrity: sha512-8ytZ/fFHq2g4PJVAtDX57mayemKgDR6X3Oa2Foro+EygiOJHUXhCqBAAKQYYajZpFoIfvBCF1j6R6IYRSIUFuw==} + '@vitest/expect@3.0.0': + resolution: {integrity: sha512-Qx+cHyB59mWrQywT3/dZIIpSKwIpWbYFdBX2zixMYpOGZmbaP2jbbd4i/TAKJq/jBgSfww++d6YnrlGMFb2XBg==} - '@vitest/mocker@2.1.8': - resolution: {integrity: sha512-7guJ/47I6uqfttp33mgo6ga5Gr1VnL58rcqYKyShoRK9ebu8T5Rs6HN3s1NABiBeVTdWNrwUMcHH54uXZBN4zA==} + '@vitest/mocker@3.0.0': + resolution: {integrity: sha512-8ytqYjIRzAM90O7n8A0TCbziTnouIG+UGuMHmoRJpKh4vvah4uENw5UAMMNjdKCtzgMiTrZ9XU+xzwCwcxuxGQ==} peerDependencies: msw: ^2.4.9 - vite: ^5.0.0 + vite: ^5.0.0 || ^6.0.0 peerDependenciesMeta: msw: optional: true vite: optional: true - '@vitest/pretty-format@2.1.8': - resolution: {integrity: sha512-9HiSZ9zpqNLKlbIDRWOnAWqgcA7xu+8YxXSekhr0Ykab7PAYFkhkwoqVArPOtJhPmYeE2YHgKZlj3CP36z2AJQ==} + '@vitest/pretty-format@3.0.0': + resolution: {integrity: sha512-24y+MS04ZHZbbbfAvfpi9hM2oULePbiL6Dir8r1nFMN97hxuL0gEXKWRGmlLPwzKDtaOKNjtyTx0+GiZcWCxDA==} - '@vitest/runner@2.1.8': - resolution: {integrity: sha512-17ub8vQstRnRlIU5k50bG+QOMLHRhYPAna5tw8tYbj+jzjcspnwnwtPtiOlkuKC4+ixDPTuLZiqiWWQ2PSXHVg==} + '@vitest/runner@3.0.0': + resolution: {integrity: sha512-6MCYobtatsgG3DlM+dk6njP+R+28iSUqWbJzXp/nuOy6SkAKzJ1wby3fDgimmy50TeK8g6y+E6rP12REyinYPw==} - '@vitest/snapshot@2.1.8': - resolution: {integrity: sha512-20T7xRFbmnkfcmgVEz+z3AU/3b0cEzZOt/zmnvZEctg64/QZbSDJEVm9fLnnlSi74KibmRsO9/Qabi+t0vCRPg==} + '@vitest/snapshot@3.0.0': + resolution: {integrity: sha512-W0X6fJFJ3RbSThncSYUNSnXkMJFyXX9sOvxP1HSQRsWCLB1U3JnZc0SrLpLzcyByMUDXHsiXQ+x+xsr/G5fXNw==} - '@vitest/spy@2.1.8': - resolution: {integrity: sha512-5swjf2q95gXeYPevtW0BLk6H8+bPlMb4Vw/9Em4hFxDcaOxS+e0LOX4yqNxoHzMR2akEB2xfpnWUzkZokmgWDg==} + '@vitest/spy@3.0.0': + resolution: {integrity: sha512-pfK5O3lRqeCG8mbV+Lr8lLUBicFRm5TlggF7bLZpzpo111LKhMN/tZRXvyOGOgbktxAR9bTf4x8U6RtHuFBTVA==} - '@vitest/utils@2.1.8': - resolution: {integrity: sha512-dwSoui6djdwbfFmIgbIjX2ZhIoG7Ex/+xpxyiEgIGzjliY8xGkcpITKTlp6B4MgtGkF2ilvm97cPM96XZaAgcA==} + '@vitest/utils@3.0.0': + resolution: {integrity: sha512-l300v2/4diHyv5ZiQOj6y/H6VbaTWM6i1c2lC3lUZ5nn9rv9C+WneS/wqyaGLwM37reoh/QkrrYMSMKdfnDZpw==} acorn@8.14.0: resolution: {integrity: sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==} @@ -2941,8 +2938,8 @@ packages: resolution: {integrity: sha512-al6n+QEANGFOMf/dmUMsuS5/r9B06uwlyNjZZql/zv8J7ybHCgoihBNORZCY2mzUuAnomQa2JdhyHKzZxPCrFA==} engines: {node: ^18.0.0 || >=20.0.0} - tinyrainbow@1.2.0: - resolution: {integrity: sha512-weEDEq7Z5eTHPDh4xjX789+fHfF+P8boiFB+0vbWzpbnbsEr/GRaohi/uMKxg8RZMXnl1ItAi/IUHWMsjDV7kQ==} + tinyrainbow@2.0.0: + resolution: {integrity: sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw==} engines: {node: '>=14.0.0'} tinyspy@3.0.2: @@ -3221,9 +3218,9 @@ packages: engines: {node: ^18.0.0 || >=20.0.0} hasBin: true - vite-node@2.1.8: - resolution: {integrity: sha512-uPAwSr57kYjAUux+8E2j0q0Fxpn8M9VoyfGiRI8Kfktz9NcYMCenwY5RnZxnF1WTu3TGiYipirIzacLL3VVGFg==} - engines: {node: ^18.0.0 || >=20.0.0} + vite-node@3.0.0: + resolution: {integrity: sha512-V5p05fpAzkHM3aYChsHWV1RTeLAhPejbKX6MqiWWyuIfNcDgXq5p0GnYV6Wa4OAU588XC70XCJB9chRZsOh4yg==} + engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} hasBin: true vite-tsconfig-paths@5.1.4: @@ -3313,15 +3310,15 @@ packages: vite: optional: true - vitest@2.1.8: - resolution: {integrity: sha512-1vBKTZskHw/aosXqQUlVWWlGUxSJR8YtiyZDJAFeW2kPAeX6S3Sool0mjspO+kXLuxVWlEDDowBAeqeAQefqLQ==} - engines: {node: ^18.0.0 || >=20.0.0} + vitest@3.0.0: + resolution: {integrity: sha512-fwfPif+EV0jyms9h1Crb6rwJttH/KBzKrcUesjxHgldmc6R0FaMNLsd+Rgc17NoxzLcb/sYE2Xs9NQ/vnTBf6Q==} + engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} hasBin: true peerDependencies: '@edge-runtime/vm': '*' - '@types/node': ^18.0.0 || >=20.0.0 - '@vitest/browser': 2.1.8 - '@vitest/ui': 2.1.8 + '@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: @@ -4451,11 +4448,6 @@ snapshots: '@types/node@12.20.55': {} - '@types/node@22.10.5': - dependencies: - undici-types: 6.20.0 - optional: true - '@types/node@22.10.6': dependencies: undici-types: 6.20.0 @@ -4531,45 +4523,45 @@ snapshots: - supports-color - terser - '@vitest/expect@2.1.8': + '@vitest/expect@3.0.0': dependencies: - '@vitest/spy': 2.1.8 - '@vitest/utils': 2.1.8 + '@vitest/spy': 3.0.0 + '@vitest/utils': 3.0.0 chai: 5.1.2 - tinyrainbow: 1.2.0 + tinyrainbow: 2.0.0 - '@vitest/mocker@2.1.8(vite@5.4.11(@types/node@22.10.6))': + '@vitest/mocker@3.0.0(vite@6.0.7(@types/node@22.10.6))': dependencies: - '@vitest/spy': 2.1.8 + '@vitest/spy': 3.0.0 estree-walker: 3.0.3 magic-string: 0.30.17 optionalDependencies: - vite: 5.4.11(@types/node@22.10.6) + vite: 6.0.7(@types/node@22.10.6) - '@vitest/pretty-format@2.1.8': + '@vitest/pretty-format@3.0.0': dependencies: - tinyrainbow: 1.2.0 + tinyrainbow: 2.0.0 - '@vitest/runner@2.1.8': + '@vitest/runner@3.0.0': dependencies: - '@vitest/utils': 2.1.8 - pathe: 1.1.2 + '@vitest/utils': 3.0.0 + pathe: 2.0.1 - '@vitest/snapshot@2.1.8': + '@vitest/snapshot@3.0.0': dependencies: - '@vitest/pretty-format': 2.1.8 + '@vitest/pretty-format': 3.0.0 magic-string: 0.30.17 - pathe: 1.1.2 + pathe: 2.0.1 - '@vitest/spy@2.1.8': + '@vitest/spy@3.0.0': dependencies: tinyspy: 3.0.2 - '@vitest/utils@2.1.8': + '@vitest/utils@3.0.0': dependencies: - '@vitest/pretty-format': 2.1.8 + '@vitest/pretty-format': 3.0.0 loupe: 3.1.2 - tinyrainbow: 1.2.0 + tinyrainbow: 2.0.0 acorn@8.14.0: {} @@ -4619,7 +4611,7 @@ snapshots: assertion-error@2.0.1: {} - astro@5.1.5(@types/node@22.10.5)(rollup@4.30.1)(typescript@5.7.3): + astro@5.1.5(@types/node@22.10.6)(rollup@4.30.1)(typescript@5.7.3): dependencies: '@astrojs/compiler': 2.10.3 '@astrojs/internal-helpers': 0.4.2 @@ -4671,8 +4663,8 @@ snapshots: unist-util-visit: 5.0.0 unstorage: 1.14.4 vfile: 6.0.3 - vite: 6.0.7(@types/node@22.10.5) - vitefu: 1.0.5(vite@6.0.7(@types/node@22.10.5)) + vite: 6.0.7(@types/node@22.10.6) + vitefu: 1.0.5(vite@6.0.7(@types/node@22.10.6)) which-pm: 3.0.0 xxhash-wasm: 1.1.0 yargs-parser: 21.1.1 @@ -6245,6 +6237,7 @@ snapshots: nanoid: 3.3.8 picocolors: 1.1.1 source-map-js: 1.2.1 + optional: true preferred-pm@4.0.0: dependencies: @@ -6695,7 +6688,7 @@ snapshots: tinypool@1.0.2: {} - tinyrainbow@1.2.0: {} + tinyrainbow@2.0.0: {} tinyspy@3.0.2: {} @@ -6932,15 +6925,16 @@ snapshots: - supports-color - terser - vite-node@2.1.8(@types/node@22.10.6): + vite-node@3.0.0(@types/node@22.10.6): dependencies: cac: 6.7.14 debug: 4.4.0 es-module-lexer: 1.6.0 - pathe: 1.1.2 - vite: 5.4.11(@types/node@22.10.6) + pathe: 2.0.1 + vite: 6.0.7(@types/node@22.10.6) transitivePeerDependencies: - '@types/node' + - jiti - less - lightningcss - sass @@ -6949,14 +6943,16 @@ snapshots: - sugarss - supports-color - terser + - tsx + - yaml - vite-tsconfig-paths@5.1.4(typescript@5.7.3)(vite@5.4.11(@types/node@22.10.6)): + vite-tsconfig-paths@5.1.4(typescript@5.7.3)(vite@6.0.7(@types/node@22.10.6)): dependencies: debug: 4.4.0 globrex: 0.1.2 tsconfck: 3.1.4(typescript@5.7.3) optionalDependencies: - vite: 5.4.11(@types/node@22.10.6) + vite: 6.0.7(@types/node@22.10.6) transitivePeerDependencies: - supports-color - typescript @@ -6970,57 +6966,45 @@ snapshots: '@types/node': 22.10.6 fsevents: 2.3.3 - vite@6.0.7(@types/node@22.10.5): - dependencies: - esbuild: 0.24.2 - postcss: 8.4.49 - rollup: 4.30.1 - optionalDependencies: - '@types/node': 22.10.5 - fsevents: 2.3.3 - vite@6.0.7(@types/node@22.10.6): dependencies: esbuild: 0.24.2 - postcss: 8.5.1 + postcss: 8.4.49 rollup: 4.30.1 optionalDependencies: '@types/node': 22.10.6 fsevents: 2.3.3 - vitefu@1.0.5(vite@6.0.7(@types/node@22.10.5)): - optionalDependencies: - vite: 6.0.7(@types/node@22.10.5) - vitefu@1.0.5(vite@6.0.7(@types/node@22.10.6)): optionalDependencies: vite: 6.0.7(@types/node@22.10.6) - vitest@2.1.8(@types/node@22.10.6): + vitest@3.0.0(@types/node@22.10.6): dependencies: - '@vitest/expect': 2.1.8 - '@vitest/mocker': 2.1.8(vite@5.4.11(@types/node@22.10.6)) - '@vitest/pretty-format': 2.1.8 - '@vitest/runner': 2.1.8 - '@vitest/snapshot': 2.1.8 - '@vitest/spy': 2.1.8 - '@vitest/utils': 2.1.8 + '@vitest/expect': 3.0.0 + '@vitest/mocker': 3.0.0(vite@6.0.7(@types/node@22.10.6)) + '@vitest/pretty-format': 3.0.0 + '@vitest/runner': 3.0.0 + '@vitest/snapshot': 3.0.0 + '@vitest/spy': 3.0.0 + '@vitest/utils': 3.0.0 chai: 5.1.2 debug: 4.4.0 expect-type: 1.1.0 magic-string: 0.30.17 - pathe: 1.1.2 + pathe: 2.0.1 std-env: 3.8.0 tinybench: 2.9.0 tinyexec: 0.3.2 tinypool: 1.0.2 - tinyrainbow: 1.2.0 - vite: 5.4.11(@types/node@22.10.6) - vite-node: 2.1.8(@types/node@22.10.6) + tinyrainbow: 2.0.0 + vite: 6.0.7(@types/node@22.10.6) + vite-node: 3.0.0(@types/node@22.10.6) why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 22.10.6 transitivePeerDependencies: + - jiti - less - lightningcss - msw @@ -7030,6 +7014,8 @@ snapshots: - sugarss - supports-color - terser + - tsx + - yaml web-namespaces@2.0.1: {}