From acfa4e53eba7599b62b8fa9d4202ee5d80b5c68a Mon Sep 17 00:00:00 2001 From: James Ross Date: Thu, 28 Nov 2024 17:13:57 +0000 Subject: [PATCH 1/5] chore: bump vitest in templates --- .../hello-world-with-assets/js/package.json | 2 +- .../hello-world-with-assets/ts/package.json | 2 +- .../create-cloudflare/templates/hello-world/js/package.json | 2 +- .../create-cloudflare/templates/hello-world/ts/package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/create-cloudflare/templates-experimental/hello-world-with-assets/js/package.json b/packages/create-cloudflare/templates-experimental/hello-world-with-assets/js/package.json index 5b30bf34fa0a..98365a3dbfe2 100644 --- a/packages/create-cloudflare/templates-experimental/hello-world-with-assets/js/package.json +++ b/packages/create-cloudflare/templates-experimental/hello-world-with-assets/js/package.json @@ -11,6 +11,6 @@ "devDependencies": { "@cloudflare/vitest-pool-workers": "^0.5.2", "wrangler": "^3.60.3", - "vitest": "2.0.5" + "vitest": "2.1.6" } } diff --git a/packages/create-cloudflare/templates-experimental/hello-world-with-assets/ts/package.json b/packages/create-cloudflare/templates-experimental/hello-world-with-assets/ts/package.json index 98feba35b1d5..ee45b0885306 100644 --- a/packages/create-cloudflare/templates-experimental/hello-world-with-assets/ts/package.json +++ b/packages/create-cloudflare/templates-experimental/hello-world-with-assets/ts/package.json @@ -12,7 +12,7 @@ "devDependencies": { "@cloudflare/vitest-pool-workers": "^0.5.2", "typescript": "^5.5.2", - "vitest": "2.0.5", + "vitest": "2.1.6", "wrangler": "^3.60.3" } } diff --git a/packages/create-cloudflare/templates/hello-world/js/package.json b/packages/create-cloudflare/templates/hello-world/js/package.json index 5b30bf34fa0a..98365a3dbfe2 100644 --- a/packages/create-cloudflare/templates/hello-world/js/package.json +++ b/packages/create-cloudflare/templates/hello-world/js/package.json @@ -11,6 +11,6 @@ "devDependencies": { "@cloudflare/vitest-pool-workers": "^0.5.2", "wrangler": "^3.60.3", - "vitest": "2.0.5" + "vitest": "2.1.6" } } diff --git a/packages/create-cloudflare/templates/hello-world/ts/package.json b/packages/create-cloudflare/templates/hello-world/ts/package.json index 98feba35b1d5..ee45b0885306 100644 --- a/packages/create-cloudflare/templates/hello-world/ts/package.json +++ b/packages/create-cloudflare/templates/hello-world/ts/package.json @@ -12,7 +12,7 @@ "devDependencies": { "@cloudflare/vitest-pool-workers": "^0.5.2", "typescript": "^5.5.2", - "vitest": "2.0.5", + "vitest": "2.1.6", "wrangler": "^3.60.3" } } From ea9d8ef3c0cc988317a56caaa0e706b9085d8cb5 Mon Sep 17 00:00:00 2001 From: James Ross Date: Sun, 1 Dec 2024 18:41:01 +0000 Subject: [PATCH 2/5] chore: pin to vitest 2.1.5 This works around https://github.com/vitest-dev/vitest/issues/6992 being an issue with Vite 6 --- .../hello-world-with-assets/js/package.json | 2 +- .../hello-world-with-assets/ts/package.json | 2 +- .../create-cloudflare/templates/hello-world/js/package.json | 2 +- .../create-cloudflare/templates/hello-world/ts/package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/create-cloudflare/templates-experimental/hello-world-with-assets/js/package.json b/packages/create-cloudflare/templates-experimental/hello-world-with-assets/js/package.json index 98365a3dbfe2..61ff6b6c523d 100644 --- a/packages/create-cloudflare/templates-experimental/hello-world-with-assets/js/package.json +++ b/packages/create-cloudflare/templates-experimental/hello-world-with-assets/js/package.json @@ -11,6 +11,6 @@ "devDependencies": { "@cloudflare/vitest-pool-workers": "^0.5.2", "wrangler": "^3.60.3", - "vitest": "2.1.6" + "vitest": "2.1.5" } } diff --git a/packages/create-cloudflare/templates-experimental/hello-world-with-assets/ts/package.json b/packages/create-cloudflare/templates-experimental/hello-world-with-assets/ts/package.json index ee45b0885306..1fd2c06dd01c 100644 --- a/packages/create-cloudflare/templates-experimental/hello-world-with-assets/ts/package.json +++ b/packages/create-cloudflare/templates-experimental/hello-world-with-assets/ts/package.json @@ -12,7 +12,7 @@ "devDependencies": { "@cloudflare/vitest-pool-workers": "^0.5.2", "typescript": "^5.5.2", - "vitest": "2.1.6", + "vitest": "2.1.5", "wrangler": "^3.60.3" } } diff --git a/packages/create-cloudflare/templates/hello-world/js/package.json b/packages/create-cloudflare/templates/hello-world/js/package.json index 98365a3dbfe2..61ff6b6c523d 100644 --- a/packages/create-cloudflare/templates/hello-world/js/package.json +++ b/packages/create-cloudflare/templates/hello-world/js/package.json @@ -11,6 +11,6 @@ "devDependencies": { "@cloudflare/vitest-pool-workers": "^0.5.2", "wrangler": "^3.60.3", - "vitest": "2.1.6" + "vitest": "2.1.5" } } diff --git a/packages/create-cloudflare/templates/hello-world/ts/package.json b/packages/create-cloudflare/templates/hello-world/ts/package.json index ee45b0885306..1fd2c06dd01c 100644 --- a/packages/create-cloudflare/templates/hello-world/ts/package.json +++ b/packages/create-cloudflare/templates/hello-world/ts/package.json @@ -12,7 +12,7 @@ "devDependencies": { "@cloudflare/vitest-pool-workers": "^0.5.2", "typescript": "^5.5.2", - "vitest": "2.1.6", + "vitest": "2.1.5", "wrangler": "^3.60.3" } } From 2cf637cc2a5ff93a1f4ef7de7a48e499e955e4f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Somhairle=20MacLe=C3=B2id?= Date: Mon, 2 Dec 2024 14:54:34 +0000 Subject: [PATCH 3/5] Create eighty-lies-sort.md --- .changeset/eighty-lies-sort.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/eighty-lies-sort.md diff --git a/.changeset/eighty-lies-sort.md b/.changeset/eighty-lies-sort.md new file mode 100644 index 000000000000..3959142d4db0 --- /dev/null +++ b/.changeset/eighty-lies-sort.md @@ -0,0 +1,5 @@ +--- +"create-cloudflare": patch +--- + +chore: bump vitest in templates From 17c7758b941f23c7ff880024d38695b650b287b0 Mon Sep 17 00:00:00 2001 From: James Ross Date: Thu, 5 Dec 2024 15:28:04 +0000 Subject: [PATCH 4/5] chore: update to vitest 2.1.8 --- .../hello-world-with-assets/js/package.json | 2 +- .../hello-world-with-assets/ts/package.json | 2 +- .../create-cloudflare/templates/hello-world/js/package.json | 2 +- .../create-cloudflare/templates/hello-world/ts/package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/create-cloudflare/templates-experimental/hello-world-with-assets/js/package.json b/packages/create-cloudflare/templates-experimental/hello-world-with-assets/js/package.json index 61ff6b6c523d..e978e7c05fa3 100644 --- a/packages/create-cloudflare/templates-experimental/hello-world-with-assets/js/package.json +++ b/packages/create-cloudflare/templates-experimental/hello-world-with-assets/js/package.json @@ -11,6 +11,6 @@ "devDependencies": { "@cloudflare/vitest-pool-workers": "^0.5.2", "wrangler": "^3.60.3", - "vitest": "2.1.5" + "vitest": "2.1.8" } } diff --git a/packages/create-cloudflare/templates-experimental/hello-world-with-assets/ts/package.json b/packages/create-cloudflare/templates-experimental/hello-world-with-assets/ts/package.json index 1fd2c06dd01c..64c720784257 100644 --- a/packages/create-cloudflare/templates-experimental/hello-world-with-assets/ts/package.json +++ b/packages/create-cloudflare/templates-experimental/hello-world-with-assets/ts/package.json @@ -12,7 +12,7 @@ "devDependencies": { "@cloudflare/vitest-pool-workers": "^0.5.2", "typescript": "^5.5.2", - "vitest": "2.1.5", + "vitest": "2.1.8", "wrangler": "^3.60.3" } } diff --git a/packages/create-cloudflare/templates/hello-world/js/package.json b/packages/create-cloudflare/templates/hello-world/js/package.json index 61ff6b6c523d..e978e7c05fa3 100644 --- a/packages/create-cloudflare/templates/hello-world/js/package.json +++ b/packages/create-cloudflare/templates/hello-world/js/package.json @@ -11,6 +11,6 @@ "devDependencies": { "@cloudflare/vitest-pool-workers": "^0.5.2", "wrangler": "^3.60.3", - "vitest": "2.1.5" + "vitest": "2.1.8" } } diff --git a/packages/create-cloudflare/templates/hello-world/ts/package.json b/packages/create-cloudflare/templates/hello-world/ts/package.json index 1fd2c06dd01c..64c720784257 100644 --- a/packages/create-cloudflare/templates/hello-world/ts/package.json +++ b/packages/create-cloudflare/templates/hello-world/ts/package.json @@ -12,7 +12,7 @@ "devDependencies": { "@cloudflare/vitest-pool-workers": "^0.5.2", "typescript": "^5.5.2", - "vitest": "2.1.5", + "vitest": "2.1.8", "wrangler": "^3.60.3" } } From 44c41fd4b072852ff0f038bd6a923ea9b8f971e0 Mon Sep 17 00:00:00 2001 From: Samuel Macleod Date: Thu, 5 Dec 2024 15:30:37 +0000 Subject: [PATCH 5/5] Bump package vitest version to 2.1.8 --- pnpm-lock.yaml | 267 ++++++++++++++++++++++++++------------------ pnpm-workspace.yaml | 8 +- 2 files changed, 165 insertions(+), 110 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 33ed2def61b8..545d0a3700ec 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -7,14 +7,14 @@ settings: catalogs: default: '@vitest/runner': - specifier: ~2.1.3 - version: 2.1.3 + specifier: ~2.1.8 + version: 2.1.8 '@vitest/snapshot': - specifier: ~2.1.3 - version: 2.1.3 + specifier: ~2.1.8 + version: 2.1.8 '@vitest/ui': - specifier: ~2.1.3 - version: 2.1.3 + specifier: ~2.1.8 + version: 2.1.8 typescript: specifier: ~5.6.3 version: 5.6.3 @@ -22,8 +22,8 @@ catalogs: specifier: ^5.28.4 version: 5.28.4 vitest: - specifier: ~2.1.3 - version: 2.1.3 + specifier: ~2.1.8 + version: 2.1.8 overrides: '@types/react-dom@18>@types/react': ^18 @@ -119,7 +119,7 @@ importers: version: 5.0.12(@types/node@18.19.59) vitest: specifier: catalog:default - version: 2.1.3(@types/node@18.19.59)(@vitest/ui@2.1.3)(msw@2.4.3(typescript@5.6.3))(supports-color@9.2.2) + version: 2.1.8(@types/node@18.19.59)(@vitest/ui@2.1.8)(msw@2.4.3(typescript@5.6.3))(supports-color@9.2.2) fixtures/additional-modules: devDependencies: @@ -167,7 +167,7 @@ importers: version: 5.28.4 vitest: specifier: catalog:default - version: 2.1.3(@types/node@18.19.59)(@vitest/ui@2.1.3)(msw@2.4.3(typescript@5.6.3))(supports-color@9.2.2) + version: 2.1.8(@types/node@18.19.59)(@vitest/ui@2.1.8)(msw@2.4.3(typescript@5.6.3))(supports-color@9.2.2) wrangler: specifier: workspace:* version: link:../../packages/wrangler @@ -664,7 +664,7 @@ importers: version: 5.6.3 vitest: specifier: catalog:default - version: 2.1.3(@types/node@18.19.59)(@vitest/ui@2.1.3)(msw@2.4.3(typescript@5.6.3))(supports-color@9.2.2) + version: 2.1.8(@types/node@18.19.59)(@vitest/ui@2.1.8)(msw@2.4.3(typescript@5.6.3))(supports-color@9.2.2) wrangler: specifier: workspace:* version: link:../../packages/wrangler @@ -1406,10 +1406,10 @@ importers: version: 7.5.1 '@vitest/runner': specifier: catalog:default - version: 2.1.3 + version: 2.1.8 '@vitest/snapshot': specifier: catalog:default - version: 2.1.3 + version: 2.1.8 capnp-ts: specifier: ^0.7.0 version: 0.7.0(patch_hash=l4yimnxyvkiyj6alnps2ec3sii) @@ -1427,7 +1427,7 @@ importers: version: 5.28.4 vitest: specifier: catalog:default - version: 2.1.3(@types/node@18.19.59)(@vitest/ui@2.1.3)(msw@2.4.3(typescript@5.6.3))(supports-color@9.2.2) + version: 2.1.8(@types/node@18.19.59)(@vitest/ui@2.1.8)(msw@2.4.3(typescript@5.6.3))(supports-color@9.2.2) packages/workers-editor-shared: dependencies: @@ -1607,7 +1607,7 @@ importers: version: link:../eslint-config-worker '@cloudflare/vitest-pool-workers': specifier: ^0.5.31 - version: 0.5.31(@cloudflare/workers-types@4.20241106.0)(@vitest/runner@2.1.3)(@vitest/snapshot@2.1.3)(vitest@2.1.3) + version: 0.5.31(@cloudflare/workers-types@4.20241106.0)(@vitest/runner@2.1.8)(@vitest/snapshot@2.1.8)(vitest@2.1.8) '@cloudflare/workers-tsconfig': specifier: workspace:* version: link:../workers-tsconfig @@ -1634,7 +1634,7 @@ importers: version: 5.6.3 vitest: specifier: catalog:default - version: 2.1.3(@types/node@18.19.59)(@vitest/ui@2.1.3)(msw@2.4.3(typescript@5.6.3))(supports-color@9.2.2) + version: 2.1.8(@types/node@18.19.59)(@vitest/ui@2.1.8)(msw@2.4.3(typescript@5.6.3))(supports-color@9.2.2) packages/workers-tsconfig: {} @@ -1657,7 +1657,7 @@ importers: version: 5.6.3 vitest: specifier: catalog:default - version: 2.1.3(@types/node@18.19.59)(@vitest/ui@2.1.3)(msw@2.4.3(typescript@5.6.3))(supports-color@9.2.2) + version: 2.1.8(@types/node@18.19.59)(@vitest/ui@2.1.8)(msw@2.4.3(typescript@5.6.3))(supports-color@9.2.2) wrangler: specifier: workspace:* version: link:../wrangler @@ -1700,7 +1700,7 @@ importers: version: 5.6.3 vitest: specifier: catalog:default - version: 2.1.3(@types/node@18.19.59)(@vitest/ui@2.1.3)(msw@2.4.3(typescript@5.6.3))(supports-color@9.2.2) + version: 2.1.8(@types/node@18.19.59)(@vitest/ui@2.1.8)(msw@2.4.3(typescript@5.6.3))(supports-color@9.2.2) packages/wrangler: dependencies: @@ -1846,7 +1846,7 @@ importers: version: 17.0.24 '@vitest/ui': specifier: catalog:default - version: 2.1.3(vitest@2.1.3) + version: 2.1.8(vitest@2.1.8) '@webcontainer/env': specifier: ^1.1.0 version: 1.1.0 @@ -1966,10 +1966,10 @@ importers: version: 1.5.4 vitest: specifier: catalog:default - version: 2.1.3(@types/node@18.19.59)(@vitest/ui@2.1.3)(msw@2.4.3(typescript@5.6.3))(supports-color@9.2.2) + version: 2.1.8(@types/node@18.19.59)(@vitest/ui@2.1.8)(msw@2.4.3(typescript@5.6.3))(supports-color@9.2.2) vitest-websocket-mock: specifier: ^0.4.0 - version: 0.4.0(vitest@2.1.3) + version: 0.4.0(vitest@2.1.8) ws: specifier: ^8.18.0 version: 8.18.0 @@ -2494,7 +2494,7 @@ packages: vitest: 2.0.x - 2.1.x '@cloudflare/workerd-darwin-64@1.20241106.1': - resolution: {integrity: sha512-zxvaToi1m0qzAScrxFt7UvFVqU8DxrCO2CinM1yQkv5no7pA1HolpIrwZ0xOhR3ny64Is2s/J6BrRjpO5dM9Zw==, tarball: https://registry.npmjs.org/@cloudflare/workerd-darwin-64/-/workerd-darwin-64-1.20241106.1.tgz} + resolution: {integrity: sha512-zxvaToi1m0qzAScrxFt7UvFVqU8DxrCO2CinM1yQkv5no7pA1HolpIrwZ0xOhR3ny64Is2s/J6BrRjpO5dM9Zw==} engines: {node: '>=16'} cpu: [x64] os: [darwin] @@ -2506,7 +2506,7 @@ packages: os: [darwin] '@cloudflare/workerd-darwin-arm64@1.20241106.1': - resolution: {integrity: sha512-j3dg/42D/bPgfNP3cRUBxF+4waCKO/5YKwXNj+lnVOwHxDu+ne5pFw9TIkKYcWTcwn0ZUkbNZNM5rhJqRn4xbg==, tarball: https://registry.npmjs.org/@cloudflare/workerd-darwin-arm64/-/workerd-darwin-arm64-1.20241106.1.tgz} + resolution: {integrity: sha512-j3dg/42D/bPgfNP3cRUBxF+4waCKO/5YKwXNj+lnVOwHxDu+ne5pFw9TIkKYcWTcwn0ZUkbNZNM5rhJqRn4xbg==} engines: {node: '>=16'} cpu: [arm64] os: [darwin] @@ -2518,7 +2518,7 @@ packages: os: [darwin] '@cloudflare/workerd-linux-64@1.20241106.1': - resolution: {integrity: sha512-Ih+Ye8E1DMBXcKrJktGfGztFqHKaX1CeByqshmTbODnWKHt6O65ax3oTecUwyC0+abuyraOpAtdhHNpFMhUkmw==, tarball: https://registry.npmjs.org/@cloudflare/workerd-linux-64/-/workerd-linux-64-1.20241106.1.tgz} + resolution: {integrity: sha512-Ih+Ye8E1DMBXcKrJktGfGztFqHKaX1CeByqshmTbODnWKHt6O65ax3oTecUwyC0+abuyraOpAtdhHNpFMhUkmw==} engines: {node: '>=16'} cpu: [x64] os: [linux] @@ -2530,7 +2530,7 @@ packages: os: [linux] '@cloudflare/workerd-linux-arm64@1.20241106.1': - resolution: {integrity: sha512-mdQFPk4+14Yywn7n1xIzI+6olWM8Ybz10R7H3h+rk0XulMumCWUCy1CzIDauOx6GyIcSgKIibYMssVHZR30ObA==, tarball: https://registry.npmjs.org/@cloudflare/workerd-linux-arm64/-/workerd-linux-arm64-1.20241106.1.tgz} + resolution: {integrity: sha512-mdQFPk4+14Yywn7n1xIzI+6olWM8Ybz10R7H3h+rk0XulMumCWUCy1CzIDauOx6GyIcSgKIibYMssVHZR30ObA==} engines: {node: '>=16'} cpu: [arm64] os: [linux] @@ -2542,7 +2542,7 @@ packages: os: [linux] '@cloudflare/workerd-windows-64@1.20241106.1': - resolution: {integrity: sha512-4rtcss31E/Rb/PeFocZfr+B9i1MdrkhsTBWizh8siNR4KMmkslU2xs2wPaH1z8+ErxkOsHrKRa5EPLh5rIiFeg==, tarball: https://registry.npmjs.org/@cloudflare/workerd-windows-64/-/workerd-windows-64-1.20241106.1.tgz} + resolution: {integrity: sha512-4rtcss31E/Rb/PeFocZfr+B9i1MdrkhsTBWizh8siNR4KMmkslU2xs2wPaH1z8+ErxkOsHrKRa5EPLh5rIiFeg==} engines: {node: '>=16'} cpu: [x64] os: [win32] @@ -3888,14 +3888,13 @@ packages: peerDependencies: vite: ^4.2.0 || ^5.0.0 - '@vitest/expect@2.1.3': - resolution: {integrity: sha512-SNBoPubeCJhZ48agjXruCI57DvxcsivVDdWz+SSsmjTT4QN/DfHk3zB/xKsJqMs26bLZ/pNRLnCf0j679i0uWQ==} + '@vitest/expect@2.1.8': + resolution: {integrity: sha512-8ytZ/fFHq2g4PJVAtDX57mayemKgDR6X3Oa2Foro+EygiOJHUXhCqBAAKQYYajZpFoIfvBCF1j6R6IYRSIUFuw==} - '@vitest/mocker@2.1.3': - resolution: {integrity: sha512-eSpdY/eJDuOvuTA3ASzCjdithHa+GIF1L4PqtEELl6Qa3XafdMLBpBlZCIUCX2J+Q6sNmjmxtosAG62fK4BlqQ==} + '@vitest/mocker@2.1.8': + resolution: {integrity: sha512-7guJ/47I6uqfttp33mgo6ga5Gr1VnL58rcqYKyShoRK9ebu8T5Rs6HN3s1NABiBeVTdWNrwUMcHH54uXZBN4zA==} peerDependencies: - '@vitest/spy': 2.1.3 - msw: ^2.3.5 + msw: ^2.4.9 vite: ^5.0.0 peerDependenciesMeta: msw: @@ -3906,23 +3905,29 @@ packages: '@vitest/pretty-format@2.1.3': resolution: {integrity: sha512-XH1XdtoLZCpqV59KRbPrIhFCOO0hErxrQCMcvnQete3Vibb9UeIOX02uFPfVn3Z9ZXsq78etlfyhnkmIZSzIwQ==} - '@vitest/runner@2.1.3': - resolution: {integrity: sha512-JGzpWqmFJ4fq5ZKHtVO3Xuy1iF2rHGV4d/pdzgkYHm1+gOzNZtqjvyiaDGJytRyMU54qkxpNzCx+PErzJ1/JqQ==} + '@vitest/pretty-format@2.1.8': + resolution: {integrity: sha512-9HiSZ9zpqNLKlbIDRWOnAWqgcA7xu+8YxXSekhr0Ykab7PAYFkhkwoqVArPOtJhPmYeE2YHgKZlj3CP36z2AJQ==} - '@vitest/snapshot@2.1.3': - resolution: {integrity: sha512-qWC2mWc7VAXmjAkEKxrScWHWFyCQx/cmiZtuGqMi+WwqQJ2iURsVY4ZfAK6dVo6K2smKRU6l3BPwqEBvhnpQGg==} + '@vitest/runner@2.1.8': + resolution: {integrity: sha512-17ub8vQstRnRlIU5k50bG+QOMLHRhYPAna5tw8tYbj+jzjcspnwnwtPtiOlkuKC4+ixDPTuLZiqiWWQ2PSXHVg==} - '@vitest/spy@2.1.3': - resolution: {integrity: sha512-Nb2UzbcUswzeSP7JksMDaqsI43Sj5+Kry6ry6jQJT4b5gAK+NS9NED6mDb8FlMRCX8m5guaHCDZmqYMMWRy5nQ==} + '@vitest/snapshot@2.1.8': + resolution: {integrity: sha512-20T7xRFbmnkfcmgVEz+z3AU/3b0cEzZOt/zmnvZEctg64/QZbSDJEVm9fLnnlSi74KibmRsO9/Qabi+t0vCRPg==} - '@vitest/ui@2.1.3': - resolution: {integrity: sha512-2XwTrHVJw3t9NYES26LQUYy51ZB8W4bRPgqUH2Eyda3kIuOlYw1ZdPNU22qcVlUVx4WKgECFQOSXuopsczuVjQ==} + '@vitest/spy@2.1.8': + resolution: {integrity: sha512-5swjf2q95gXeYPevtW0BLk6H8+bPlMb4Vw/9Em4hFxDcaOxS+e0LOX4yqNxoHzMR2akEB2xfpnWUzkZokmgWDg==} + + '@vitest/ui@2.1.8': + resolution: {integrity: sha512-5zPJ1fs0ixSVSs5+5V2XJjXLmNzjugHRyV11RqxYVR+oMcogZ9qTuSfKW+OcTV0JeFNznI83BNylzH6SSNJ1+w==} peerDependencies: - vitest: 2.1.3 + vitest: 2.1.8 '@vitest/utils@2.1.3': resolution: {integrity: sha512-xpiVfDSg1RrYT0tX6czgerkpcKFmFOF/gCr30+Mve5V2kewCy4Prn1/NDMSRwaSmT7PRaOF83wu+bEtsY1wrvA==} + '@vitest/utils@2.1.8': + resolution: {integrity: sha512-dwSoui6djdwbfFmIgbIjX2ZhIoG7Ex/+xpxyiEgIGzjliY8xGkcpITKTlp6B4MgtGkF2ilvm97cPM96XZaAgcA==} + '@volar/language-core@2.3.4': resolution: {integrity: sha512-wXBhY11qG6pCDAqDnbBRFIDSIwbqkWI7no+lj5+L7IlA7HRIjRP7YQLGzT0LF4lS6eHkMSsclXqy9DwYJasZTQ==} @@ -4381,8 +4386,8 @@ packages: resolution: {integrity: sha512-JPypkxsB10s9QOWwa6zwPzqE1Md3vqpPc+cai4sAecuCsRyAtAl/pMyhPlMbT/xtPnm2dznJZYRLui57qiRhaQ==} engines: {node: '>=16'} - chai@5.1.1: - resolution: {integrity: sha512-pT1ZgP8rPNqUgieVaEY+ryQr6Q4HXNg8Ei9UnLUrjN4IA7dvQC5JB+/kxVcPNDHyBcc/26CXPkbNzq3qwrOEKA==} + chai@5.1.2: + resolution: {integrity: sha512-aGtmf24DW6MLHHG5gCx4zaI3uBq3KRtxeVs0DjFH6Z0rDNbsvTxFASFvdj79pxjxZ8/5u3PIiN3IwEIQkiiuPw==} engines: {node: '>=12'} chainsaw@0.1.0: @@ -4728,6 +4733,15 @@ packages: supports-color: optional: true + debug@4.3.7: + resolution: {integrity: sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + decamelize-keys@1.1.0: resolution: {integrity: sha512-ocLWuYzRPoS9bfiSdDd3cxvrzovVMZnRDVEzAs+hWIVXGDbHxWMECij2OBuyB/An0FFW/nLuq6Kv1i/YC5Qfzg==} engines: {node: '>=0.10.0'} @@ -4960,6 +4974,9 @@ packages: es-iterator-helpers@1.0.15: resolution: {integrity: sha512-GhoY8uYqd6iwUl2kgjTm4CZAf6oo5mHK7BPqx3rKgx893YSsy0LGHV6gfqqQvZt/8xM8xeOnfXBCfqclMKkJ5g==} + es-module-lexer@1.5.4: + resolution: {integrity: sha512-MVNK56NiMrOwitFB7cqDwq0CQutbw+0BvLshJSse0MUNU+y1FC3bUS/AQg7oUng+/wKrrki7JfmwtVHkVfPLlw==} + es-set-tostringtag@2.0.1: resolution: {integrity: sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==} engines: {node: '>= 0.4'} @@ -5216,6 +5233,10 @@ packages: expect-type@0.15.0: resolution: {integrity: sha512-yWnriYB4e8G54M5/fAFj7rCIBiKs1HAACaY13kCz6Ku0dezjS9aMcfcdVK2X8Tv2tEV1BPz/wKfQ7WA4S/d8aA==} + expect-type@1.1.0: + resolution: {integrity: sha512-bFi65yM+xZgk+u/KRIpekdSYkTB5W1pEf0Lt8Q8Msh7b+eQ7LXVtIB1Bkm4fvclDEL1b2CZkMhv2mOeF8tMdkA==} + engines: {node: '>=12.0.0'} + express@4.18.1: resolution: {integrity: sha512-zZBcOX9TfehHQhtupq57OF8lFZ3UZi08Y97dwFCkD8p9d/d2Y3M+ykKcwaMDEL+4qyUolgBDX6AblpR3fL212Q==} engines: {node: '>= 0.10.0'} @@ -6225,6 +6246,9 @@ packages: loupe@3.1.1: resolution: {integrity: sha512-edNu/8D5MKVfGVFRhFf8aAxiTM6Wumfz5XsaatSxlD3w4R1d/WEKUTydCdPGbl9K7QG/Ca3GnDV2sIKIpXRQcw==} + loupe@3.1.2: + resolution: {integrity: sha512-23I4pFZHmAemUnz8WZXbYRSKYj801VDaNv9ETuMh7IrMc7VuVVSo+Z9iLE3ni30+U48iDWfi30d3twAXBYmnCg==} + lower-case-first@1.0.2: resolution: {integrity: sha512-UuxaYakO7XeONbKrZf5FEgkantPf5DUqDayzP5VXZrtRPdH86s4kN47I8B3TW10S4QKiE3ziHNf3kRN//okHjA==} @@ -6270,6 +6294,9 @@ packages: magic-string@0.30.11: resolution: {integrity: sha512-+Wri9p0QHMy+545hKww7YAu5NyzF8iomPL/RQazugQ9+Ez4Ic3mERMd8ZTX5rfK944j+560ZJi8iAwgak1Ac7A==} + magic-string@0.30.14: + resolution: {integrity: sha512-5c99P1WKTed11ZC0HMJOj6CDIue6F8ySu+bJL+85q1zBEIY8IklrJ1eiKC2NDRh3Ct3FcvmJPyQHb9erXMTJNw==} + make-dir@3.1.0: resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==} engines: {node: '>=8'} @@ -7547,9 +7574,9 @@ packages: simple-get@4.0.1: resolution: {integrity: sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==} - sirv@2.0.4: - resolution: {integrity: sha512-94Bdh3cC2PKrbgSOUqTiGPWVZeSiXfKOVZNJniWoqrWrRkB1CJzBU3NEbiTsPcYy1lDsANA/THzS+9WBiy5nfQ==} - engines: {node: '>= 10'} + sirv@3.0.0: + resolution: {integrity: sha512-BPwJGUeDaDCHihkORDchNyyTvWFhcusy1XMmhEVTQTwGeybFbp8YEmB+njbPnth1FibULBSBVwCQni25XlCUDg==} + engines: {node: '>=18'} sisteransi@1.0.5: resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} @@ -7655,8 +7682,8 @@ packages: resolution: {integrity: sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==} engines: {node: '>= 0.8'} - std-env@3.7.0: - resolution: {integrity: sha512-JPbdCEQLj1w5GilpiHAx3qJvFndqybBysA3qUOnznweH4QbNYUsW/ea8QzSrnh0vNsezMMw5bcVool8lM0gwzg==} + std-env@3.8.0: + resolution: {integrity: sha512-Bc3YwwCB+OzldMxOXJIIvC6cPRWr/LxOp48CdQTOkPyk/t4JWWJbrilwBd7RJzKV8QW7tJkcgAmeuLLJugl5/w==} stoppable@1.1.0: resolution: {integrity: sha512-KXDYZ9dszj6bzvnEMRYvxgeTHU74QBFL54XKtP3nyMuJ81CFYtABZ3bAzL2EdFUaEwJOBOgENyFj3R7oTzDyyw==} @@ -7824,8 +7851,8 @@ packages: tinycolor2@1.6.0: resolution: {integrity: sha512-XPaBkWQJdsf3pLKJV9p4qN/S+fm2Oj8AIPo1BTUhg5oxkvm9+SVEGFdhyOz7tTdUTfvxMiAs4sp6/eZO2Ew+pw==} - tinyexec@0.3.0: - resolution: {integrity: sha512-tVGE0mVJPGb0chKhqmsoosjsS+qUnJVGJpZgsHYQcGoPlG3B51R3PouqTgEGH2Dc9jjFyOqOpix6ZHNMXp1FZg==} + tinyexec@0.3.1: + resolution: {integrity: sha512-WiCJLEECkO18gwqIp6+hJg0//p23HXp4S+gGtAKu3mI2F2/sXC4FvHvXvB0zJVVaTPhx1/tOwdbRsa1sOBIKqQ==} tinyglobby@0.2.10: resolution: {integrity: sha512-Zc+8eJlFMvgatPZTl6A9L/yht8QqdmUNtURHaKZLmKBE12hNPSrqNkUp2cs3M/UKmNVVAMFQYSjYIVHDjW5zew==} @@ -7842,8 +7869,8 @@ packages: resolution: {integrity: sha512-weEDEq7Z5eTHPDh4xjX789+fHfF+P8boiFB+0vbWzpbnbsEr/GRaohi/uMKxg8RZMXnl1ItAi/IUHWMsjDV7kQ==} engines: {node: '>=14.0.0'} - tinyspy@3.0.0: - resolution: {integrity: sha512-q5nmENpTHgiPVd1cJDDc9cVoYN5x4vCvwT3FMilvKPKneCBZAxn2YWQjDF0UMcE9k0Cay1gBiDfTMU0g+mPMQA==} + tinyspy@3.0.2: + resolution: {integrity: sha512-n1cw8k1k0x4pgA2+9XrOkFydTerNcJ1zWCO5Nn9scWHTD+5tp8dghT2x1uduQePZTZgd3Tupf+x9BxJjeJi77Q==} engines: {node: '>=14.0.0'} title-case@2.1.1: @@ -8232,8 +8259,8 @@ packages: resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} engines: {node: '>= 0.8'} - vite-node@2.1.3: - resolution: {integrity: sha512-I1JadzO+xYX887S39Do+paRePCKoiDrWRRjp9kkG5he0t7RXNvPAJPCQSJqbGN4uCrFFeS3Kj3sLqY8NMYBEdA==} + vite-node@2.1.8: + resolution: {integrity: sha512-uPAwSr57kYjAUux+8E2j0q0Fxpn8M9VoyfGiRI8Kfktz9NcYMCenwY5RnZxnF1WTu3TGiYipirIzacLL3VVGFg==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true @@ -8288,15 +8315,15 @@ packages: peerDependencies: vitest: '>=2' - vitest@2.1.3: - resolution: {integrity: sha512-Zrxbg/WiIvUP2uEzelDNTXmEMJXuzJ1kCpbDvaKByFA9MNeO95V+7r/3ti0qzJzrxdyuUw5VduN7k+D3VmVOSA==} + vitest@2.1.8: + resolution: {integrity: sha512-1vBKTZskHw/aosXqQUlVWWlGUxSJR8YtiyZDJAFeW2kPAeX6S3Sool0mjspO+kXLuxVWlEDDowBAeqeAQefqLQ==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: '@edge-runtime/vm': '*' '@types/node': ^18.19.59 - '@vitest/browser': 2.1.3 - '@vitest/ui': 2.1.3 + '@vitest/browser': 2.1.8 + '@vitest/ui': 2.1.8 happy-dom: '*' jsdom: '*' peerDependenciesMeta: @@ -9346,17 +9373,17 @@ snapshots: lodash.memoize: 4.1.2 marked: 0.3.19 - '@cloudflare/vitest-pool-workers@0.5.31(@cloudflare/workers-types@4.20241106.0)(@vitest/runner@2.1.3)(@vitest/snapshot@2.1.3)(vitest@2.1.3)': + '@cloudflare/vitest-pool-workers@0.5.31(@cloudflare/workers-types@4.20241106.0)(@vitest/runner@2.1.8)(@vitest/snapshot@2.1.8)(vitest@2.1.8)': dependencies: - '@vitest/runner': 2.1.3 - '@vitest/snapshot': 2.1.3 + '@vitest/runner': 2.1.8 + '@vitest/snapshot': 2.1.8 birpc: 0.2.14 cjs-module-lexer: 1.2.3 devalue: 4.3.2 esbuild: 0.17.19 miniflare: 3.20241106.1 semver: 7.5.4 - vitest: 2.1.3(@types/node@18.19.59)(@vitest/ui@2.1.3)(msw@2.4.3(typescript@5.6.3))(supports-color@9.2.2) + vitest: 2.1.8(@types/node@18.19.59)(@vitest/ui@2.1.8)(msw@2.4.3(typescript@5.6.3))(supports-color@9.2.2) wrangler: 3.90.0(@cloudflare/workers-types@4.20241106.0) zod: 3.22.3 transitivePeerDependencies: @@ -10740,18 +10767,18 @@ snapshots: transitivePeerDependencies: - supports-color - '@vitest/expect@2.1.3': + '@vitest/expect@2.1.8': dependencies: - '@vitest/spy': 2.1.3 - '@vitest/utils': 2.1.3 - chai: 5.1.1 + '@vitest/spy': 2.1.8 + '@vitest/utils': 2.1.8 + chai: 5.1.2 tinyrainbow: 1.2.0 - '@vitest/mocker@2.1.3(@vitest/spy@2.1.3)(msw@2.4.3(typescript@5.6.3))(vite@5.0.12(@types/node@18.19.59))': + '@vitest/mocker@2.1.8(msw@2.4.3(typescript@5.6.3))(vite@5.0.12(@types/node@18.19.59))': dependencies: - '@vitest/spy': 2.1.3 + '@vitest/spy': 2.1.8 estree-walker: 3.0.3 - magic-string: 0.30.11 + magic-string: 0.30.14 optionalDependencies: msw: 2.4.3(typescript@5.6.3) vite: 5.0.12(@types/node@18.19.59) @@ -10760,31 +10787,35 @@ snapshots: dependencies: tinyrainbow: 1.2.0 - '@vitest/runner@2.1.3': + '@vitest/pretty-format@2.1.8': dependencies: - '@vitest/utils': 2.1.3 + tinyrainbow: 1.2.0 + + '@vitest/runner@2.1.8': + dependencies: + '@vitest/utils': 2.1.8 pathe: 1.1.2 - '@vitest/snapshot@2.1.3': + '@vitest/snapshot@2.1.8': dependencies: - '@vitest/pretty-format': 2.1.3 - magic-string: 0.30.11 + '@vitest/pretty-format': 2.1.8 + magic-string: 0.30.14 pathe: 1.1.2 - '@vitest/spy@2.1.3': + '@vitest/spy@2.1.8': dependencies: - tinyspy: 3.0.0 + tinyspy: 3.0.2 - '@vitest/ui@2.1.3(vitest@2.1.3)': + '@vitest/ui@2.1.8(vitest@2.1.8)': dependencies: - '@vitest/utils': 2.1.3 + '@vitest/utils': 2.1.8 fflate: 0.8.2 flatted: 3.3.1 pathe: 1.1.2 - sirv: 2.0.4 + sirv: 3.0.0 tinyglobby: 0.2.10 tinyrainbow: 1.2.0 - vitest: 2.1.3(@types/node@18.19.59)(@vitest/ui@2.1.3)(msw@2.4.3(typescript@5.6.3))(supports-color@9.2.2) + vitest: 2.1.8(@types/node@18.19.59)(@vitest/ui@2.1.8)(msw@2.4.3(typescript@5.6.3))(supports-color@9.2.2) '@vitest/utils@2.1.3': dependencies: @@ -10792,6 +10823,12 @@ snapshots: loupe: 3.1.1 tinyrainbow: 1.2.0 + '@vitest/utils@2.1.8': + dependencies: + '@vitest/pretty-format': 2.1.8 + loupe: 3.1.2 + tinyrainbow: 1.2.0 + '@volar/language-core@2.3.4': dependencies: '@volar/source-map': 2.3.4 @@ -11384,7 +11421,7 @@ snapshots: dependencies: nofilter: 3.1.0 - chai@5.1.1: + chai@5.1.2: dependencies: assertion-error: 2.0.1 check-error: 2.1.1 @@ -11717,6 +11754,12 @@ snapshots: optionalDependencies: supports-color: 9.2.2 + debug@4.3.7(supports-color@9.2.2): + dependencies: + ms: 2.1.3 + optionalDependencies: + supports-color: 9.2.2 + decamelize-keys@1.1.0: dependencies: decamelize: 1.2.0 @@ -11968,6 +12011,8 @@ snapshots: iterator.prototype: 1.1.2 safe-array-concat: 1.0.1 + es-module-lexer@1.5.4: {} + es-set-tostringtag@2.0.1: dependencies: get-intrinsic: 1.2.1 @@ -12329,6 +12374,8 @@ snapshots: expect-type@0.15.0: {} + expect-type@1.1.0: {} + express@4.18.1(supports-color@9.2.2): dependencies: accepts: 1.3.8 @@ -13424,6 +13471,8 @@ snapshots: dependencies: get-func-name: 2.0.2 + loupe@3.1.2: {} + lower-case-first@1.0.2: dependencies: lower-case: 1.1.4 @@ -13465,6 +13514,10 @@ snapshots: dependencies: '@jridgewell/sourcemap-codec': 1.5.0 + magic-string@0.30.14: + dependencies: + '@jridgewell/sourcemap-codec': 1.5.0 + make-dir@3.1.0: dependencies: semver: 6.3.1 @@ -14799,7 +14852,7 @@ snapshots: simple-concat: 1.0.1 optional: true - sirv@2.0.4: + sirv@3.0.0: dependencies: '@polka/url': 1.0.0-next.25 mrmime: 2.0.0 @@ -14908,7 +14961,7 @@ snapshots: statuses@2.0.1: {} - std-env@3.7.0: {} + std-env@3.8.0: {} stoppable@1.1.0: {} @@ -15100,7 +15153,7 @@ snapshots: tinycolor2@1.6.0: {} - tinyexec@0.3.0: {} + tinyexec@0.3.1: {} tinyglobby@0.2.10: dependencies: @@ -15116,7 +15169,7 @@ snapshots: tinyrainbow@1.2.0: {} - tinyspy@3.0.0: {} + tinyspy@3.0.2: {} title-case@2.1.1: dependencies: @@ -15485,10 +15538,11 @@ snapshots: vary@1.1.2: {} - vite-node@2.1.3(@types/node@18.19.59)(supports-color@9.2.2): + vite-node@2.1.8(@types/node@18.19.59)(supports-color@9.2.2): dependencies: cac: 6.7.14 - debug: 4.3.6(supports-color@9.2.2) + debug: 4.3.7(supports-color@9.2.2) + es-module-lexer: 1.5.4 pathe: 1.1.2 vite: 5.0.12(@types/node@18.19.59) transitivePeerDependencies: @@ -15541,36 +15595,37 @@ snapshots: '@types/node': 18.19.59 fsevents: 2.3.3 - vitest-websocket-mock@0.4.0(vitest@2.1.3): + vitest-websocket-mock@0.4.0(vitest@2.1.8): dependencies: '@vitest/utils': 2.1.3 mock-socket: 9.3.1 - vitest: 2.1.3(@types/node@18.19.59)(@vitest/ui@2.1.3)(msw@2.4.3(typescript@5.6.3))(supports-color@9.2.2) - - vitest@2.1.3(@types/node@18.19.59)(@vitest/ui@2.1.3)(msw@2.4.3(typescript@5.6.3))(supports-color@9.2.2): - dependencies: - '@vitest/expect': 2.1.3 - '@vitest/mocker': 2.1.3(@vitest/spy@2.1.3)(msw@2.4.3(typescript@5.6.3))(vite@5.0.12(@types/node@18.19.59)) - '@vitest/pretty-format': 2.1.3 - '@vitest/runner': 2.1.3 - '@vitest/snapshot': 2.1.3 - '@vitest/spy': 2.1.3 - '@vitest/utils': 2.1.3 - chai: 5.1.1 - debug: 4.3.6(supports-color@9.2.2) - magic-string: 0.30.11 + vitest: 2.1.8(@types/node@18.19.59)(@vitest/ui@2.1.8)(msw@2.4.3(typescript@5.6.3))(supports-color@9.2.2) + + vitest@2.1.8(@types/node@18.19.59)(@vitest/ui@2.1.8)(msw@2.4.3(typescript@5.6.3))(supports-color@9.2.2): + dependencies: + '@vitest/expect': 2.1.8 + '@vitest/mocker': 2.1.8(msw@2.4.3(typescript@5.6.3))(vite@5.0.12(@types/node@18.19.59)) + '@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 + chai: 5.1.2 + debug: 4.3.7(supports-color@9.2.2) + expect-type: 1.1.0 + magic-string: 0.30.14 pathe: 1.1.2 - std-env: 3.7.0 + std-env: 3.8.0 tinybench: 2.9.0 - tinyexec: 0.3.0 + tinyexec: 0.3.1 tinypool: 1.0.1 tinyrainbow: 1.2.0 vite: 5.0.12(@types/node@18.19.59) - vite-node: 2.1.3(@types/node@18.19.59)(supports-color@9.2.2) + vite-node: 2.1.8(@types/node@18.19.59)(supports-color@9.2.2) why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 18.19.59 - '@vitest/ui': 2.1.3(vitest@2.1.3) + '@vitest/ui': 2.1.8(vitest@2.1.8) transitivePeerDependencies: - less - lightningcss diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 5014bbd18ecb..c60d154771c0 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -4,10 +4,10 @@ packages: - "tools" catalog: - vitest: ~2.1.3 - "@vitest/runner": ~2.1.3 - "@vitest/snapshot": ~2.1.3 - "@vitest/ui": ~2.1.3 + vitest: ~2.1.8 + "@vitest/runner": ~2.1.8 + "@vitest/snapshot": ~2.1.8 + "@vitest/ui": ~2.1.8 undici: "^5.28.4" typescript: "~5.6.3" "@types/node": "^18.19.59"