diff --git a/package.json b/package.json index 9b08143d76034..dd46214902fbf 100644 --- a/package.json +++ b/package.json @@ -78,8 +78,8 @@ "@vanilla-extract/vite-plugin": "^3.9.2", "@vanilla-extract/webpack-plugin": "^2.3.1", "@vitejs/plugin-react-swc": "^3.5.0", - "@vitest/coverage-istanbul": "0.34.6", - "@vitest/ui": "0.34.6", + "@vitest/coverage-istanbul": "1.0.2", + "@vitest/ui": "1.0.2", "electron": "^27.1.0", "eslint": "^8.54.0", "eslint-config-prettier": "^9.0.0", @@ -111,7 +111,7 @@ "vite-plugin-istanbul": "^5.0.0", "vite-plugin-static-copy": "^0.17.1", "vite-tsconfig-paths": "^4.2.1", - "vitest": "0.34.6", + "vitest": "1.0.2", "vitest-fetch-mock": "^0.2.2", "vitest-mock-extended": "^1.3.1" }, diff --git a/packages/common/debug/package.json b/packages/common/debug/package.json index a9278bb41e5a7..f765a9e94e578 100644 --- a/packages/common/debug/package.json +++ b/packages/common/debug/package.json @@ -7,7 +7,7 @@ }, "devDependencies": { "@types/debug": "^4.1.9", - "vitest": "0.34.6" + "vitest": "1.0.2" }, "version": "0.10.3-canary.2" } diff --git a/packages/common/env/package.json b/packages/common/env/package.json index 8c44d85e051e0..1a2c29263637a 100644 --- a/packages/common/env/package.json +++ b/packages/common/env/package.json @@ -7,7 +7,7 @@ "@blocksuite/store": "0.11.0-nightly-202312070955-2b5bb47", "react": "18.2.0", "react-dom": "18.2.0", - "vitest": "0.34.6", + "vitest": "1.0.2", "zod": "^3.22.4" }, "exports": { diff --git a/packages/common/infra/package.json b/packages/common/infra/package.json index 5852cffc6eb54..929ba18238e40 100644 --- a/packages/common/infra/package.json +++ b/packages/common/infra/package.json @@ -77,7 +77,7 @@ "rxjs": "^7.8.1", "vite": "^5.0.6", "vite-plugin-dts": "3.6.0", - "vitest": "0.34.6", + "vitest": "1.0.2", "yjs": "^13.6.10" }, "peerDependencies": { diff --git a/packages/common/y-indexeddb/package.json b/packages/common/y-indexeddb/package.json index 34db30b2bf028..4799070612119 100644 --- a/packages/common/y-indexeddb/package.json +++ b/packages/common/y-indexeddb/package.json @@ -42,7 +42,7 @@ "fake-indexeddb": "^5.0.0", "vite": "^5.0.6", "vite-plugin-dts": "3.6.0", - "vitest": "0.34.6", + "vitest": "1.0.2", "y-indexeddb": "^9.0.11", "yjs": "^13.6.10" }, diff --git a/packages/common/y-provider/package.json b/packages/common/y-provider/package.json index 73b37c9190f7d..c678a42ac6c64 100644 --- a/packages/common/y-provider/package.json +++ b/packages/common/y-provider/package.json @@ -27,7 +27,7 @@ "@blocksuite/store": "0.11.0-nightly-202312070955-2b5bb47", "vite": "^5.0.6", "vite-plugin-dts": "3.6.0", - "vitest": "0.34.6", + "vitest": "1.0.2", "yjs": "^13.6.10" }, "peerDependencies": { diff --git a/packages/frontend/component/package.json b/packages/frontend/component/package.json index 6c6bea5ab5888..d465879529f8c 100644 --- a/packages/frontend/component/package.json +++ b/packages/frontend/component/package.json @@ -102,7 +102,7 @@ "storybook-dark-mode": "^3.0.1", "typescript": "^5.3.2", "vite": "^5.0.6", - "vitest": "0.34.6", + "vitest": "1.0.2", "yjs": "^13.6.10" }, "version": "0.10.3-canary.2" diff --git a/packages/frontend/core/package.json b/packages/frontend/core/package.json index 6b0487609e950..ce6334596c619 100644 --- a/packages/frontend/core/package.json +++ b/packages/frontend/core/package.json @@ -110,7 +110,7 @@ "swc-loader": "^0.2.3", "swc-plugin-coverage-instrument": "^0.0.20", "thread-loader": "^4.0.2", - "vitest": "0.34.6", + "vitest": "1.0.2", "webpack": "^5.89.0", "webpack-cli": "^5.1.4", "webpack-dev-server": "^4.15.1", diff --git a/packages/frontend/electron/package.json b/packages/frontend/electron/package.json index d41b310016861..b960305f10be5 100644 --- a/packages/frontend/electron/package.json +++ b/packages/frontend/electron/package.json @@ -66,7 +66,7 @@ "ts-node": "^10.9.1", "undici": "^5.27.2", "uuid": "^9.0.1", - "vitest": "0.34.6", + "vitest": "1.0.2", "which": "^4.0.0", "zod": "^3.22.4" }, diff --git a/packages/frontend/graphql/package.json b/packages/frontend/graphql/package.json index 43255f567d372..1e43a97ac76b5 100644 --- a/packages/frontend/graphql/package.json +++ b/packages/frontend/graphql/package.json @@ -18,7 +18,7 @@ "lodash": "^4.17.21", "lodash-es": "^4.17.21", "prettier": "^3.0.3", - "vitest": "0.34.6" + "vitest": "1.0.2" }, "scripts": { "postinstall": "gql-gen --errors-only" diff --git a/packages/frontend/hooks/package.json b/packages/frontend/hooks/package.json index de23d82f87d9c..03beb84fb4e48 100644 --- a/packages/frontend/hooks/package.json +++ b/packages/frontend/hooks/package.json @@ -31,7 +31,7 @@ "@types/image-blob-reduce": "^4.1.3", "@types/lodash.debounce": "^4.0.7", "fake-indexeddb": "^5.0.0", - "vitest": "0.34.6", + "vitest": "1.0.2", "y-provider": "workspace:*" }, "peerDependencies": { diff --git a/packages/frontend/workspace/package.json b/packages/frontend/workspace/package.json index 2d1fabe467d7b..d8b9a46ba5c62 100644 --- a/packages/frontend/workspace/package.json +++ b/packages/frontend/workspace/package.json @@ -46,7 +46,7 @@ "@testing-library/react": "^14.0.0", "@types/ws": "^8.5.7", "fake-indexeddb": "^5.0.0", - "vitest": "0.34.6", + "vitest": "1.0.2", "ws": "^8.14.2" }, "version": "0.10.3-canary.2" diff --git a/yarn.lock b/yarn.lock index 31a11fed266a8..b136bc7ae5e6c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -299,7 +299,7 @@ __metadata: typescript: "npm:^5.3.2" uuid: "npm:^9.0.1" vite: "npm:^5.0.6" - vitest: "npm:0.34.6" + vitest: "npm:1.0.2" yjs: "npm:^13.6.10" peerDependencies: "@blocksuite/blocks": "*" @@ -429,7 +429,7 @@ __metadata: thread-loader: "npm:^4.0.2" uuid: "npm:^9.0.1" valtio: "npm:^1.11.2" - vitest: "npm:0.34.6" + vitest: "npm:1.0.2" webpack: "npm:^5.89.0" webpack-cli: "npm:^5.1.4" webpack-dev-server: "npm:^4.15.1" @@ -446,7 +446,7 @@ __metadata: dependencies: "@types/debug": "npm:^4.1.9" debug: "npm:^4.3.4" - vitest: "npm:0.34.6" + vitest: "npm:1.0.2" languageName: unknown linkType: soft @@ -502,7 +502,7 @@ __metadata: ts-node: "npm:^10.9.1" undici: "npm:^5.27.2" uuid: "npm:^9.0.1" - vitest: "npm:0.34.6" + vitest: "npm:1.0.2" which: "npm:^4.0.0" yjs: "npm:^13.6.10" zod: "npm:^3.22.4" @@ -520,7 +520,7 @@ __metadata: lit: "npm:^3.0.2" react: "npm:18.2.0" react-dom: "npm:18.2.0" - vitest: "npm:0.34.6" + vitest: "npm:1.0.2" zod: "npm:^3.22.4" peerDependencies: "@affine/templates": "workspace:*" @@ -543,7 +543,7 @@ __metadata: lodash-es: "npm:^4.17.21" nanoid: "npm:^5.0.1" prettier: "npm:^3.0.3" - vitest: "npm:0.34.6" + vitest: "npm:1.0.2" languageName: unknown linkType: soft @@ -613,8 +613,8 @@ __metadata: "@vanilla-extract/vite-plugin": "npm:^3.9.2" "@vanilla-extract/webpack-plugin": "npm:^2.3.1" "@vitejs/plugin-react-swc": "npm:^3.5.0" - "@vitest/coverage-istanbul": "npm:0.34.6" - "@vitest/ui": "npm:0.34.6" + "@vitest/coverage-istanbul": "npm:1.0.2" + "@vitest/ui": "npm:1.0.2" electron: "npm:^27.1.0" eslint: "npm:^8.54.0" eslint-config-prettier: "npm:^9.0.0" @@ -646,7 +646,7 @@ __metadata: vite-plugin-istanbul: "npm:^5.0.0" vite-plugin-static-copy: "npm:^0.17.1" vite-tsconfig-paths: "npm:^4.2.1" - vitest: "npm:0.34.6" + vitest: "npm:1.0.2" vitest-fetch-mock: "npm:^0.2.2" vitest-mock-extended: "npm:^1.3.1" languageName: unknown @@ -936,7 +936,7 @@ __metadata: socket.io-client: "npm:^4.7.2" swr: "npm:2.2.4" valtio: "npm:^1.11.2" - vitest: "npm:0.34.6" + vitest: "npm:1.0.2" ws: "npm:^8.14.2" y-protocols: "npm:^1.0.6" y-provider: "workspace:*" @@ -5250,13 +5250,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-arm64@npm:0.19.7": - version: 0.19.7 - resolution: "@esbuild/android-arm64@npm:0.19.7" - conditions: os=android & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/android-arm64@npm:0.19.8": version: 0.19.8 resolution: "@esbuild/android-arm64@npm:0.19.8" @@ -5285,13 +5278,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-arm@npm:0.19.7": - version: 0.19.7 - resolution: "@esbuild/android-arm@npm:0.19.7" - conditions: os=android & cpu=arm - languageName: node - linkType: hard - "@esbuild/android-arm@npm:0.19.8": version: 0.19.8 resolution: "@esbuild/android-arm@npm:0.19.8" @@ -5320,13 +5306,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-x64@npm:0.19.7": - version: 0.19.7 - resolution: "@esbuild/android-x64@npm:0.19.7" - conditions: os=android & cpu=x64 - languageName: node - linkType: hard - "@esbuild/android-x64@npm:0.19.8": version: 0.19.8 resolution: "@esbuild/android-x64@npm:0.19.8" @@ -5355,13 +5334,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/darwin-arm64@npm:0.19.7": - version: 0.19.7 - resolution: "@esbuild/darwin-arm64@npm:0.19.7" - conditions: os=darwin & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/darwin-arm64@npm:0.19.8": version: 0.19.8 resolution: "@esbuild/darwin-arm64@npm:0.19.8" @@ -5390,13 +5362,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/darwin-x64@npm:0.19.7": - version: 0.19.7 - resolution: "@esbuild/darwin-x64@npm:0.19.7" - conditions: os=darwin & cpu=x64 - languageName: node - linkType: hard - "@esbuild/darwin-x64@npm:0.19.8": version: 0.19.8 resolution: "@esbuild/darwin-x64@npm:0.19.8" @@ -5425,13 +5390,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/freebsd-arm64@npm:0.19.7": - version: 0.19.7 - resolution: "@esbuild/freebsd-arm64@npm:0.19.7" - conditions: os=freebsd & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/freebsd-arm64@npm:0.19.8": version: 0.19.8 resolution: "@esbuild/freebsd-arm64@npm:0.19.8" @@ -5460,13 +5418,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/freebsd-x64@npm:0.19.7": - version: 0.19.7 - resolution: "@esbuild/freebsd-x64@npm:0.19.7" - conditions: os=freebsd & cpu=x64 - languageName: node - linkType: hard - "@esbuild/freebsd-x64@npm:0.19.8": version: 0.19.8 resolution: "@esbuild/freebsd-x64@npm:0.19.8" @@ -5495,13 +5446,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-arm64@npm:0.19.7": - version: 0.19.7 - resolution: "@esbuild/linux-arm64@npm:0.19.7" - conditions: os=linux & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/linux-arm64@npm:0.19.8": version: 0.19.8 resolution: "@esbuild/linux-arm64@npm:0.19.8" @@ -5530,13 +5474,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-arm@npm:0.19.7": - version: 0.19.7 - resolution: "@esbuild/linux-arm@npm:0.19.7" - conditions: os=linux & cpu=arm - languageName: node - linkType: hard - "@esbuild/linux-arm@npm:0.19.8": version: 0.19.8 resolution: "@esbuild/linux-arm@npm:0.19.8" @@ -5565,13 +5502,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-ia32@npm:0.19.7": - version: 0.19.7 - resolution: "@esbuild/linux-ia32@npm:0.19.7" - conditions: os=linux & cpu=ia32 - languageName: node - linkType: hard - "@esbuild/linux-ia32@npm:0.19.8": version: 0.19.8 resolution: "@esbuild/linux-ia32@npm:0.19.8" @@ -5600,13 +5530,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-loong64@npm:0.19.7": - version: 0.19.7 - resolution: "@esbuild/linux-loong64@npm:0.19.7" - conditions: os=linux & cpu=loong64 - languageName: node - linkType: hard - "@esbuild/linux-loong64@npm:0.19.8": version: 0.19.8 resolution: "@esbuild/linux-loong64@npm:0.19.8" @@ -5635,13 +5558,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-mips64el@npm:0.19.7": - version: 0.19.7 - resolution: "@esbuild/linux-mips64el@npm:0.19.7" - conditions: os=linux & cpu=mips64el - languageName: node - linkType: hard - "@esbuild/linux-mips64el@npm:0.19.8": version: 0.19.8 resolution: "@esbuild/linux-mips64el@npm:0.19.8" @@ -5670,13 +5586,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-ppc64@npm:0.19.7": - version: 0.19.7 - resolution: "@esbuild/linux-ppc64@npm:0.19.7" - conditions: os=linux & cpu=ppc64 - languageName: node - linkType: hard - "@esbuild/linux-ppc64@npm:0.19.8": version: 0.19.8 resolution: "@esbuild/linux-ppc64@npm:0.19.8" @@ -5705,13 +5614,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-riscv64@npm:0.19.7": - version: 0.19.7 - resolution: "@esbuild/linux-riscv64@npm:0.19.7" - conditions: os=linux & cpu=riscv64 - languageName: node - linkType: hard - "@esbuild/linux-riscv64@npm:0.19.8": version: 0.19.8 resolution: "@esbuild/linux-riscv64@npm:0.19.8" @@ -5740,13 +5642,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-s390x@npm:0.19.7": - version: 0.19.7 - resolution: "@esbuild/linux-s390x@npm:0.19.7" - conditions: os=linux & cpu=s390x - languageName: node - linkType: hard - "@esbuild/linux-s390x@npm:0.19.8": version: 0.19.8 resolution: "@esbuild/linux-s390x@npm:0.19.8" @@ -5775,13 +5670,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-x64@npm:0.19.7": - version: 0.19.7 - resolution: "@esbuild/linux-x64@npm:0.19.7" - conditions: os=linux & cpu=x64 - languageName: node - linkType: hard - "@esbuild/linux-x64@npm:0.19.8": version: 0.19.8 resolution: "@esbuild/linux-x64@npm:0.19.8" @@ -5810,13 +5698,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/netbsd-x64@npm:0.19.7": - version: 0.19.7 - resolution: "@esbuild/netbsd-x64@npm:0.19.7" - conditions: os=netbsd & cpu=x64 - languageName: node - linkType: hard - "@esbuild/netbsd-x64@npm:0.19.8": version: 0.19.8 resolution: "@esbuild/netbsd-x64@npm:0.19.8" @@ -5845,13 +5726,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/openbsd-x64@npm:0.19.7": - version: 0.19.7 - resolution: "@esbuild/openbsd-x64@npm:0.19.7" - conditions: os=openbsd & cpu=x64 - languageName: node - linkType: hard - "@esbuild/openbsd-x64@npm:0.19.8": version: 0.19.8 resolution: "@esbuild/openbsd-x64@npm:0.19.8" @@ -5880,13 +5754,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/sunos-x64@npm:0.19.7": - version: 0.19.7 - resolution: "@esbuild/sunos-x64@npm:0.19.7" - conditions: os=sunos & cpu=x64 - languageName: node - linkType: hard - "@esbuild/sunos-x64@npm:0.19.8": version: 0.19.8 resolution: "@esbuild/sunos-x64@npm:0.19.8" @@ -5915,13 +5782,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-arm64@npm:0.19.7": - version: 0.19.7 - resolution: "@esbuild/win32-arm64@npm:0.19.7" - conditions: os=win32 & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/win32-arm64@npm:0.19.8": version: 0.19.8 resolution: "@esbuild/win32-arm64@npm:0.19.8" @@ -5950,13 +5810,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-ia32@npm:0.19.7": - version: 0.19.7 - resolution: "@esbuild/win32-ia32@npm:0.19.7" - conditions: os=win32 & cpu=ia32 - languageName: node - linkType: hard - "@esbuild/win32-ia32@npm:0.19.8": version: 0.19.8 resolution: "@esbuild/win32-ia32@npm:0.19.8" @@ -5985,13 +5838,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-x64@npm:0.19.7": - version: 0.19.7 - resolution: "@esbuild/win32-x64@npm:0.19.7" - conditions: os=win32 & cpu=x64 - languageName: node - linkType: hard - "@esbuild/win32-x64@npm:0.19.8": version: 0.19.8 resolution: "@esbuild/win32-x64@npm:0.19.8" @@ -13917,7 +13763,7 @@ __metadata: rxjs: "npm:^7.8.1" swr: "npm:2.2.4" uuid: "npm:^9.0.1" - vitest: "npm:0.34.6" + vitest: "npm:1.0.2" y-provider: "workspace:*" peerDependencies: "@blocksuite/block-std": "*" @@ -13968,7 +13814,7 @@ __metadata: tinykeys: "npm:^2.1.0" vite: "npm:^5.0.6" vite-plugin-dts: "npm:3.6.0" - vitest: "npm:0.34.6" + vitest: "npm:1.0.2" yjs: "npm:^13.6.10" zod: "npm:^3.22.4" peerDependencies: @@ -14012,7 +13858,7 @@ __metadata: nanoid: "npm:^5.0.3" vite: "npm:^5.0.6" vite-plugin-dts: "npm:3.6.0" - vitest: "npm:0.34.6" + vitest: "npm:1.0.2" y-indexeddb: "npm:^9.0.11" y-provider: "workspace:*" yjs: "npm:^13.6.10" @@ -14216,22 +14062,6 @@ __metadata: languageName: node linkType: hard -"@types/chai-subset@npm:^1.3.3": - version: 1.3.5 - resolution: "@types/chai-subset@npm:1.3.5" - dependencies: - "@types/chai": "npm:*" - checksum: 715c46d3e90f87482c2769389d560456bb257b225716ff44c275c231bdb62c8a30629f355f412bac0ecab07ebc036c1806d9ed9dde9792254f8ef4f07f76033b - languageName: node - linkType: hard - -"@types/chai@npm:*, @types/chai@npm:^4.3.5": - version: 4.3.11 - resolution: "@types/chai@npm:4.3.11" - checksum: c83a00359684bf06114d5ad0ffa62c78b2fbfe09a985eda56e55cd3c191fe176052aef6e297a8c8a3608efb8ea7a44598cf7e0ae1a3a9311af892417e95b0b28 - languageName: node - linkType: hard - "@types/connect-history-api-fallback@npm:^1.3.5": version: 1.5.4 resolution: "@types/connect-history-api-fallback@npm:1.5.4" @@ -15510,90 +15340,92 @@ __metadata: languageName: node linkType: hard -"@vitest/coverage-istanbul@npm:0.34.6": - version: 0.34.6 - resolution: "@vitest/coverage-istanbul@npm:0.34.6" +"@vitest/coverage-istanbul@npm:1.0.2": + version: 1.0.2 + resolution: "@vitest/coverage-istanbul@npm:1.0.2" dependencies: - istanbul-lib-coverage: "npm:^3.2.0" - istanbul-lib-instrument: "npm:^6.0.0" + debug: "npm:^4.3.4" + istanbul-lib-coverage: "npm:^3.2.2" + istanbul-lib-instrument: "npm:^6.0.1" istanbul-lib-report: "npm:^3.0.1" istanbul-lib-source-maps: "npm:^4.0.1" - istanbul-reports: "npm:^3.1.5" + istanbul-reports: "npm:^3.1.6" + magicast: "npm:^0.3.2" picocolors: "npm:^1.0.0" test-exclude: "npm:^6.0.0" peerDependencies: - vitest: ">=0.32.0 <1" - checksum: f86ea2b11842a9528e5483683735cc402342e0b98dce00d5cd7ff2bf1da542ec704dc3ba58184f9df96798d8b0c1c6d24d6d11fad4eaac9999487e45d5a3e8b0 + vitest: ^1.0.0 + checksum: 67c115c1b703eb3e1c08be5362751c8883c052f0fb58f2b1d1f7be1f2ee95392fc9c3492bbdee4f9855e8f80b0815f51d8fe01a387a7c25f7fd7d4921e7f010a languageName: node linkType: hard -"@vitest/expect@npm:0.34.6": - version: 0.34.6 - resolution: "@vitest/expect@npm:0.34.6" +"@vitest/expect@npm:1.0.2": + version: 1.0.2 + resolution: "@vitest/expect@npm:1.0.2" dependencies: - "@vitest/spy": "npm:0.34.6" - "@vitest/utils": "npm:0.34.6" + "@vitest/spy": "npm:1.0.2" + "@vitest/utils": "npm:1.0.2" chai: "npm:^4.3.10" - checksum: c5dbd3db4d914857287dcff5dd7084070a2f73ed616197c80acaa54c27e5563cecf7a11e86d6aeef002e38f2ca52626f4b9c765db9b56add736f4e94a7fb0954 + checksum: 9ddea941ea6eb4361a36dfd7c852fce7307126c1293e4bf3a84f9a0c04c1177b456f0eed6b6596c8dd76181263f2cb05f5e141d2726de353934cd1d7ee9d78ec languageName: node linkType: hard -"@vitest/runner@npm:0.34.6": - version: 0.34.6 - resolution: "@vitest/runner@npm:0.34.6" +"@vitest/runner@npm:1.0.2": + version: 1.0.2 + resolution: "@vitest/runner@npm:1.0.2" dependencies: - "@vitest/utils": "npm:0.34.6" - p-limit: "npm:^4.0.0" + "@vitest/utils": "npm:1.0.2" + p-limit: "npm:^5.0.0" pathe: "npm:^1.1.1" - checksum: 3525d8e4f8cd8a8b3f8f43a7b2604cda891fe31cfa1604e179628ced89d21114a55d6bb3bf192c02b4419e760eb15188d490e861cb46ddab2786193f8a999b0e + checksum: 3159dc9c8b472143c76951ff6814172d93fe0a8165f44a9172dcd99c9fe336e0aa13975d7f7cfa93b417610e832f0138bf447c6fe45d580ba3b885b78ffd92da languageName: node linkType: hard -"@vitest/snapshot@npm:0.34.6": - version: 0.34.6 - resolution: "@vitest/snapshot@npm:0.34.6" +"@vitest/snapshot@npm:1.0.2": + version: 1.0.2 + resolution: "@vitest/snapshot@npm:1.0.2" dependencies: - magic-string: "npm:^0.30.1" + magic-string: "npm:^0.30.5" pathe: "npm:^1.1.1" - pretty-format: "npm:^29.5.0" - checksum: a9a321a089b22a383253b8cf3092c3af9b35453bb1c0ba0762760644a6ab0f727a4083872c7fd5a7d18c9a4fc4a798c4392872e337858a7c8ccc25ada6bf4d96 + pretty-format: "npm:^29.7.0" + checksum: bb7410b27e417f33955c1b9b145491f91270320ff9ea7a7501447dc7ce8956c64995570e9da0df95af60505b719c9decaab417fba333a9d70122cf389ee0d4c5 languageName: node linkType: hard -"@vitest/spy@npm:0.34.6": - version: 0.34.6 - resolution: "@vitest/spy@npm:0.34.6" +"@vitest/spy@npm:1.0.2": + version: 1.0.2 + resolution: "@vitest/spy@npm:1.0.2" dependencies: - tinyspy: "npm:^2.1.1" - checksum: 9de152ac928c31e21bb4d8e1262b70db50dd11479efe8babce6bd993cc89957b974a584414a99d66ca188775b50baea1b934fdfb8d0d53c66fc2feb6dc2e348d + tinyspy: "npm:^2.2.0" + checksum: 43e7a35f8086fb40132b57cd45870549b4e8b662b57069f170a7b79378205c994beb59c23e332492f8d07666aa8cbef51dae677031688e62ce201f396450f6de languageName: node linkType: hard -"@vitest/ui@npm:0.34.6": - version: 0.34.6 - resolution: "@vitest/ui@npm:0.34.6" +"@vitest/ui@npm:1.0.2": + version: 1.0.2 + resolution: "@vitest/ui@npm:1.0.2" dependencies: - "@vitest/utils": "npm:0.34.6" - fast-glob: "npm:^3.3.0" - fflate: "npm:^0.8.0" - flatted: "npm:^3.2.7" + "@vitest/utils": "npm:1.0.2" + fast-glob: "npm:^3.3.2" + fflate: "npm:^0.8.1" + flatted: "npm:^3.2.9" pathe: "npm:^1.1.1" picocolors: "npm:^1.0.0" sirv: "npm:^2.0.3" peerDependencies: - vitest: ">=0.30.1 <1" - checksum: 4e4132aa462308d760924b5dd87c331b42caf09d1619a0f9b48eb2a531ed92ebb88471ef05a9cba301554d1e04cbbc94aa0971d79d5795818a0fcc9469dd327e + vitest: ^1.0.0 + checksum: eb1cf662acf2029bc092bfba0846f6da2637c0cd5452b4b022b55df54ba438b494bf3c8aa3a8738076abaf6ec7a94ebed35053d782e8c2804545fb07e33455cb languageName: node linkType: hard -"@vitest/utils@npm:0.34.6": - version: 0.34.6 - resolution: "@vitest/utils@npm:0.34.6" +"@vitest/utils@npm:1.0.2": + version: 1.0.2 + resolution: "@vitest/utils@npm:1.0.2" dependencies: - diff-sequences: "npm:^29.4.3" - loupe: "npm:^2.3.6" - pretty-format: "npm:^29.5.0" - checksum: 09a1b2122ceb5541b4f3d64410088e363a36d6e4addf208b6458615ac856adf36c1c9b5431a45ea13a78c30e6a7dcb0696854abe69a710089ffa229356a5202b + diff-sequences: "npm:^29.6.3" + loupe: "npm:^2.3.7" + pretty-format: "npm:^29.7.0" + checksum: 33e17450510c7b84f42230ee8dcf5a3c60ae16509bc3df46609414ba7e07f3143a0dab4f5f6539e369cd8d2b1bd88246b5fd3282b490556082e757dca6a7e886 languageName: node linkType: hard @@ -19842,7 +19674,7 @@ __metadata: languageName: node linkType: hard -"diff-sequences@npm:^29.4.3, diff-sequences@npm:^29.6.3": +"diff-sequences@npm:^29.6.3": version: 29.6.3 resolution: "diff-sequences@npm:29.6.3" checksum: 179daf9d2f9af5c57ad66d97cb902a538bcf8ed64963fa7aa0c329b3de3665ce2eb6ffdc2f69f29d445fa4af2517e5e55e5b6e00c00a9ae4f43645f97f7078cb @@ -20843,7 +20675,7 @@ __metadata: languageName: node linkType: hard -"esbuild@npm:^0.19.3": +"esbuild@npm:^0.19.3, esbuild@npm:^0.19.7": version: 0.19.8 resolution: "esbuild@npm:0.19.8" dependencies: @@ -20920,83 +20752,6 @@ __metadata: languageName: node linkType: hard -"esbuild@npm:^0.19.7": - version: 0.19.7 - resolution: "esbuild@npm:0.19.7" - dependencies: - "@esbuild/android-arm": "npm:0.19.7" - "@esbuild/android-arm64": "npm:0.19.7" - "@esbuild/android-x64": "npm:0.19.7" - "@esbuild/darwin-arm64": "npm:0.19.7" - "@esbuild/darwin-x64": "npm:0.19.7" - "@esbuild/freebsd-arm64": "npm:0.19.7" - "@esbuild/freebsd-x64": "npm:0.19.7" - "@esbuild/linux-arm": "npm:0.19.7" - "@esbuild/linux-arm64": "npm:0.19.7" - "@esbuild/linux-ia32": "npm:0.19.7" - "@esbuild/linux-loong64": "npm:0.19.7" - "@esbuild/linux-mips64el": "npm:0.19.7" - "@esbuild/linux-ppc64": "npm:0.19.7" - "@esbuild/linux-riscv64": "npm:0.19.7" - "@esbuild/linux-s390x": "npm:0.19.7" - "@esbuild/linux-x64": "npm:0.19.7" - "@esbuild/netbsd-x64": "npm:0.19.7" - "@esbuild/openbsd-x64": "npm:0.19.7" - "@esbuild/sunos-x64": "npm:0.19.7" - "@esbuild/win32-arm64": "npm:0.19.7" - "@esbuild/win32-ia32": "npm:0.19.7" - "@esbuild/win32-x64": "npm:0.19.7" - dependenciesMeta: - "@esbuild/android-arm": - optional: true - "@esbuild/android-arm64": - optional: true - "@esbuild/android-x64": - optional: true - "@esbuild/darwin-arm64": - optional: true - "@esbuild/darwin-x64": - optional: true - "@esbuild/freebsd-arm64": - optional: true - "@esbuild/freebsd-x64": - optional: true - "@esbuild/linux-arm": - optional: true - "@esbuild/linux-arm64": - optional: true - "@esbuild/linux-ia32": - optional: true - "@esbuild/linux-loong64": - optional: true - "@esbuild/linux-mips64el": - optional: true - "@esbuild/linux-ppc64": - optional: true - "@esbuild/linux-riscv64": - optional: true - "@esbuild/linux-s390x": - optional: true - "@esbuild/linux-x64": - optional: true - "@esbuild/netbsd-x64": - optional: true - "@esbuild/openbsd-x64": - optional: true - "@esbuild/sunos-x64": - optional: true - "@esbuild/win32-arm64": - optional: true - "@esbuild/win32-ia32": - optional: true - "@esbuild/win32-x64": - optional: true - bin: - esbuild: bin/esbuild - checksum: 326b9d98a77c5f2fb9a535b292bdc67c88bdfb4a19d29a221d65fd69f4800faea1f34947e8e6bc25ca3bd5db01f61c6968fec91f8c335e21e29b50330d90bd89 - languageName: node - linkType: hard - "escalade@npm:^3.1.1": version: 3.1.1 resolution: "escalade@npm:3.1.1" @@ -21434,7 +21189,7 @@ __metadata: languageName: node linkType: hard -"execa@npm:8.0.1": +"execa@npm:8.0.1, execa@npm:^8.0.1": version: 8.0.1 resolution: "execa@npm:8.0.1" dependencies: @@ -21857,7 +21612,7 @@ __metadata: languageName: node linkType: hard -"fflate@npm:^0.8.0": +"fflate@npm:^0.8.1": version: 0.8.1 resolution: "fflate@npm:0.8.1" checksum: bb66551c98799caaeae678fd0772f725f45cdbd1e2d1ec1027eb916f6f8547668b68aced6684bcdbd9f92766b23245da8a227bf387d2c87f74befc58fbdca13b @@ -22124,7 +21879,7 @@ __metadata: languageName: node linkType: hard -"flatted@npm:^3.2.7, flatted@npm:^3.2.9": +"flatted@npm:^3.2.9": version: 3.2.9 resolution: "flatted@npm:3.2.9" checksum: dc2b89e46a2ebde487199de5a4fcb79e8c46f984043fea5c41dbf4661eb881fefac1c939b5bdcd8a09d7f960ec364f516970c7ec44e58ff451239c07fd3d419b @@ -24823,7 +24578,7 @@ __metadata: languageName: node linkType: hard -"istanbul-lib-coverage@npm:^3.0.0, istanbul-lib-coverage@npm:^3.2.0": +"istanbul-lib-coverage@npm:^3.0.0, istanbul-lib-coverage@npm:^3.2.0, istanbul-lib-coverage@npm:^3.2.2": version: 3.2.2 resolution: "istanbul-lib-coverage@npm:3.2.2" checksum: 40bbdd1e937dfd8c830fa286d0f665e81b7a78bdabcd4565f6d5667c99828bda3db7fb7ac6b96a3e2e8a2461ddbc5452d9f8bc7d00cb00075fa6a3e99f5b6a81 @@ -24864,7 +24619,7 @@ __metadata: languageName: node linkType: hard -"istanbul-lib-instrument@npm:^6.0.0": +"istanbul-lib-instrument@npm:^6.0.0, istanbul-lib-instrument@npm:^6.0.1": version: 6.0.1 resolution: "istanbul-lib-instrument@npm:6.0.1" dependencies: @@ -24913,7 +24668,7 @@ __metadata: languageName: node linkType: hard -"istanbul-reports@npm:^3.0.2, istanbul-reports@npm:^3.1.3, istanbul-reports@npm:^3.1.5, istanbul-reports@npm:^3.1.6": +"istanbul-reports@npm:^3.0.2, istanbul-reports@npm:^3.1.3, istanbul-reports@npm:^3.1.6": version: 3.1.6 resolution: "istanbul-reports@npm:3.1.6" dependencies: @@ -26599,10 +26354,13 @@ __metadata: languageName: node linkType: hard -"local-pkg@npm:^0.4.3": - version: 0.4.3 - resolution: "local-pkg@npm:0.4.3" - checksum: 48f38c12721881370bca50ed3b5e3cc6fef741cfb4de7e48666f6ded07c1aaea53cf770cfef84a89bed286c17631111bf99a86241ddf6f679408c79c56f29560 +"local-pkg@npm:^0.5.0": + version: 0.5.0 + resolution: "local-pkg@npm:0.5.0" + dependencies: + mlly: "npm:^1.4.2" + pkg-types: "npm:^1.0.3" + checksum: 20f4caba50dc6fb00ffcc1a78bc94b5acb33995e0aadf4d4edcdeab257e891aa08f50afddf02f3240b2c3d02432bc2078f2a916a280ed716b64753a3d250db70 languageName: node linkType: hard @@ -26951,7 +26709,7 @@ __metadata: languageName: node linkType: hard -"loupe@npm:^2.3.6": +"loupe@npm:^2.3.6, loupe@npm:^2.3.7": version: 2.3.7 resolution: "loupe@npm:2.3.7" dependencies: @@ -27068,7 +26826,7 @@ __metadata: languageName: node linkType: hard -"magic-string@npm:^0.30.0, magic-string@npm:^0.30.1, magic-string@npm:^0.30.5": +"magic-string@npm:^0.30.0, magic-string@npm:^0.30.5": version: 0.30.5 resolution: "magic-string@npm:0.30.5" dependencies: @@ -27077,6 +26835,17 @@ __metadata: languageName: node linkType: hard +"magicast@npm:^0.3.2": + version: 0.3.2 + resolution: "magicast@npm:0.3.2" + dependencies: + "@babel/parser": "npm:^7.23.3" + "@babel/types": "npm:^7.23.3" + source-map-js: "npm:^1.0.2" + checksum: 763444b18b32fb4b41e1ea92c8bae60f594000d338cbf2cfa1f4be1f11fb40212fc03068b7e4a918e177fc370eb153c95235992fbce8b80b658fd778f7b6aea7 + languageName: node + linkType: hard + "make-dir@npm:^2.0.0, make-dir@npm:^2.1.0": version: 2.1.0 resolution: "make-dir@npm:2.1.0" @@ -28754,7 +28523,7 @@ __metadata: languageName: node linkType: hard -"mlly@npm:^1.1.0, mlly@npm:^1.2.0, mlly@npm:^1.4.0": +"mlly@npm:^1.1.0, mlly@npm:^1.2.0, mlly@npm:^1.4.2": version: 1.4.2 resolution: "mlly@npm:1.4.2" dependencies: @@ -28939,7 +28708,7 @@ __metadata: languageName: node linkType: hard -"nanoid@npm:^3.3.3, nanoid@npm:^3.3.6, nanoid@npm:^3.3.7": +"nanoid@npm:^3.3.3, nanoid@npm:^3.3.7": version: 3.3.7 resolution: "nanoid@npm:3.3.7" bin: @@ -28948,16 +28717,7 @@ __metadata: languageName: node linkType: hard -"nanoid@npm:^5.0.1, nanoid@npm:^5.0.3": - version: 5.0.3 - resolution: "nanoid@npm:5.0.3" - bin: - nanoid: bin/nanoid.js - checksum: 419f083464f91e148fa8f313d898e3271b2c148aa711d37c6251e5689b119d2e3ac766d5fa26e53214896969e9e9c6ccbce7af679c966d24490b1b5df94ffb5d - languageName: node - linkType: hard - -"nanoid@npm:^5.0.4": +"nanoid@npm:^5.0.1, nanoid@npm:^5.0.3, nanoid@npm:^5.0.4": version: 5.0.4 resolution: "nanoid@npm:5.0.4" bin: @@ -30020,12 +29780,12 @@ __metadata: languageName: node linkType: hard -"p-limit@npm:^4.0.0": - version: 4.0.0 - resolution: "p-limit@npm:4.0.0" +"p-limit@npm:^5.0.0": + version: 5.0.0 + resolution: "p-limit@npm:5.0.0" dependencies: yocto-queue: "npm:^1.0.0" - checksum: 01d9d70695187788f984226e16c903475ec6a947ee7b21948d6f597bed788e3112cc7ec2e171c1d37125057a5f45f3da21d8653e04a3a793589e12e9e80e756b + checksum: 87bf5837dee6942f0dbeff318436179931d9a97848d1b07dbd86140a477a5d2e6b90d9701b210b4e21fe7beaea2979dfde366e4f576fa644a59bd4d6a6371da7 languageName: node linkType: hard @@ -31101,18 +30861,7 @@ __metadata: languageName: node linkType: hard -"postcss@npm:^8.3.6, postcss@npm:^8.4.21, postcss@npm:^8.4.31": - version: 8.4.31 - resolution: "postcss@npm:8.4.31" - dependencies: - nanoid: "npm:^3.3.6" - picocolors: "npm:^1.0.0" - source-map-js: "npm:^1.0.2" - checksum: 1a6653e72105907377f9d4f2cd341d8d90e3fde823a5ddea1e2237aaa56933ea07853f0f2758c28892a1d70c53bbaca200eb8b80f8ed55f13093003dbec5afa0 - languageName: node - linkType: hard - -"postcss@npm:^8.4.32": +"postcss@npm:^8.3.6, postcss@npm:^8.4.21, postcss@npm:^8.4.31, postcss@npm:^8.4.32": version: 8.4.32 resolution: "postcss@npm:8.4.32" dependencies: @@ -31217,7 +30966,7 @@ __metadata: languageName: node linkType: hard -"pretty-format@npm:^29.5.0, pretty-format@npm:^29.7.0": +"pretty-format@npm:^29.7.0": version: 29.7.0 resolution: "pretty-format@npm:29.7.0" dependencies: @@ -33973,10 +33722,10 @@ __metadata: languageName: node linkType: hard -"std-env@npm:^3.3.3": - version: 3.5.0 - resolution: "std-env@npm:3.5.0" - checksum: 6071a727e1f1e67d6598648a085473671672ad6b2e0fc7220bb731c4c7584979047565c81b4c482a59cc25b7f14d5e6d06d5682250d06a9fefd1a571daaa711c +"std-env@npm:^3.5.0": + version: 3.6.0 + resolution: "std-env@npm:3.6.0" + checksum: ab1c2d000bfedb6338ac49810dc8a032d472ec0bc3fd7566254a7bef7f6a79a30392282e229ee46223bb7e4b707ac2a24978add8211b65ae96ef9652994071ac languageName: node linkType: hard @@ -34287,7 +34036,7 @@ __metadata: languageName: node linkType: hard -"strip-literal@npm:^1.0.1": +"strip-literal@npm:^1.3.0": version: 1.3.0 resolution: "strip-literal@npm:1.3.0" dependencies: @@ -34873,7 +34622,7 @@ __metadata: languageName: node linkType: hard -"tinybench@npm:^2.5.0": +"tinybench@npm:^2.5.1": version: 2.5.1 resolution: "tinybench@npm:2.5.1" checksum: f64ea142e048edc5010027eca36aff5aef74cd849ab9c6ba6e39475f911309694cb5a7ff894d47216ab4a3abcf4291e4bdc7a57796e96bf5b06e67452b5ac54d @@ -34887,14 +34636,14 @@ __metadata: languageName: node linkType: hard -"tinypool@npm:^0.7.0": - version: 0.7.0 - resolution: "tinypool@npm:0.7.0" - checksum: e1fb1f430647525c6bb0bac71acc4c1594c7687fe8e4f08c8f389d9a672fb69746869e9d9818b55f1ab85ea6308d42f92cbc32a9847088abf6bc55a8700be390 +"tinypool@npm:^0.8.1": + version: 0.8.1 + resolution: "tinypool@npm:0.8.1" + checksum: 3fae8acc22b7d0364eb202b64f61f0d8b10dcead6bef9b8fab1836857dcecd0e34fadc47ab309754ead2cb29bfa4b3467a9fc0daae23669b19ff403ae1364b5c languageName: node linkType: hard -"tinyspy@npm:^2.1.1": +"tinyspy@npm:^2.2.0": version: 2.2.0 resolution: "tinyspy@npm:2.2.0" checksum: bcc5a08c2dc7574d32e6dcc2e760ad95a3cf30249c22799815b6389179427c95573d27d2d965ebc5fca2b6d338c46678cd7337ea2a9cebacee3dc662176b07cb @@ -36122,19 +35871,18 @@ __metadata: languageName: node linkType: hard -"vite-node@npm:0.34.6": - version: 0.34.6 - resolution: "vite-node@npm:0.34.6" +"vite-node@npm:1.0.2": + version: 1.0.2 + resolution: "vite-node@npm:1.0.2" dependencies: cac: "npm:^6.7.14" debug: "npm:^4.3.4" - mlly: "npm:^1.4.0" pathe: "npm:^1.1.1" picocolors: "npm:^1.0.0" - vite: "npm:^3.0.0 || ^4.0.0 || ^5.0.0-0" + vite: "npm:^5.0.0" bin: vite-node: vite-node.mjs - checksum: ae49fd24874162196dd41477afe51dd8dc0bd1e8cb4ae885455d1d5569e14f628941f9867044bff263620536446e17d7e2c0828c9ea84b6308b9eb5711e80991 + checksum: 0598d18fc2a9f5b3a1cbdd44e2de7017e8fbe6666f7258e55329f6059ca0432d49d95ad299f6b363a24237cc61f2bfaa351312cda90f6d4362708151e93f57e3 languageName: node linkType: hard @@ -36284,46 +36032,43 @@ __metadata: languageName: node linkType: hard -"vitest@npm:0.34.6": - version: 0.34.6 - resolution: "vitest@npm:0.34.6" +"vitest@npm:1.0.2": + version: 1.0.2 + resolution: "vitest@npm:1.0.2" dependencies: - "@types/chai": "npm:^4.3.5" - "@types/chai-subset": "npm:^1.3.3" - "@types/node": "npm:*" - "@vitest/expect": "npm:0.34.6" - "@vitest/runner": "npm:0.34.6" - "@vitest/snapshot": "npm:0.34.6" - "@vitest/spy": "npm:0.34.6" - "@vitest/utils": "npm:0.34.6" - acorn: "npm:^8.9.0" - acorn-walk: "npm:^8.2.0" + "@vitest/expect": "npm:1.0.2" + "@vitest/runner": "npm:1.0.2" + "@vitest/snapshot": "npm:1.0.2" + "@vitest/spy": "npm:1.0.2" + "@vitest/utils": "npm:1.0.2" + acorn-walk: "npm:^8.3.0" cac: "npm:^6.7.14" chai: "npm:^4.3.10" debug: "npm:^4.3.4" - local-pkg: "npm:^0.4.3" - magic-string: "npm:^0.30.1" + execa: "npm:^8.0.1" + local-pkg: "npm:^0.5.0" + magic-string: "npm:^0.30.5" pathe: "npm:^1.1.1" picocolors: "npm:^1.0.0" - std-env: "npm:^3.3.3" - strip-literal: "npm:^1.0.1" - tinybench: "npm:^2.5.0" - tinypool: "npm:^0.7.0" - vite: "npm:^3.1.0 || ^4.0.0 || ^5.0.0-0" - vite-node: "npm:0.34.6" + std-env: "npm:^3.5.0" + strip-literal: "npm:^1.3.0" + tinybench: "npm:^2.5.1" + tinypool: "npm:^0.8.1" + vite: "npm:^5.0.0" + vite-node: "npm:1.0.2" why-is-node-running: "npm:^2.2.2" peerDependencies: "@edge-runtime/vm": "*" - "@vitest/browser": "*" - "@vitest/ui": "*" + "@types/node": ^18.0.0 || >=20.0.0 + "@vitest/browser": ^1.0.0 + "@vitest/ui": ^1.0.0 happy-dom: "*" jsdom: "*" - playwright: "*" - safaridriver: "*" - webdriverio: "*" peerDependenciesMeta: "@edge-runtime/vm": optional: true + "@types/node": + optional: true "@vitest/browser": optional: true "@vitest/ui": @@ -36332,15 +36077,9 @@ __metadata: optional: true jsdom: optional: true - playwright: - optional: true - safaridriver: - optional: true - webdriverio: - optional: true bin: vitest: vitest.mjs - checksum: 0191422ab979823803aac64e657e288f1b84bb518a2b653fe9928b4f1c931b04efde14990d263ff76a18dc6c35ab34652db3ae7cbecea771cfa36abe547dd705 + checksum: 0b64debfd3b6433317d423a39024601e62d56f90bb5bcfb45627d5c96ecbc4488ccf487cce434f7b71ef87ef50e5732eeeec2a031324abfb1ed37dbc8df558aa languageName: node linkType: hard @@ -37211,7 +36950,7 @@ __metadata: "@blocksuite/store": "npm:0.11.0-nightly-202312070955-2b5bb47" vite: "npm:^5.0.6" vite-plugin-dts: "npm:3.6.0" - vitest: "npm:0.34.6" + vitest: "npm:1.0.2" yjs: "npm:^13.6.10" peerDependencies: yjs: ^13