From 503331d88178637cce83a762a1de8056e86886d8 Mon Sep 17 00:00:00 2001 From: Vladimir Date: Wed, 15 Nov 2023 13:51:41 +0100 Subject: [PATCH] fix(vitest): throw an error if Vite wasn't able to resolve aliased path (#4503) --- examples/sveltekit/package.json | 2 +- package.json | 2 +- packages/vite-node/src/client.ts | 29 +- packages/vitest/package.json | 2 +- pnpm-lock.yaml | 517 +++++++++++++------------------ test/core/src/aliased-mod.ts | 8 - test/core/test/file-path.test.ts | 26 -- test/core/vite.config.ts | 1 - 8 files changed, 222 insertions(+), 365 deletions(-) diff --git a/examples/sveltekit/package.json b/examples/sveltekit/package.json index 50cbb8cf523d..81a3237c4945 100644 --- a/examples/sveltekit/package.json +++ b/examples/sveltekit/package.json @@ -9,7 +9,7 @@ "preview": "vite preview", "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", - "test:unit": "vitest", + "test": "vitest", "lint": "prettier --plugin-search-dir . --check .", "format": "prettier --plugin-search-dir . --write ." }, diff --git a/package.json b/package.json index e7de6bf3e2cd..74a765516c54 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "simple-git-hooks": "^2.9.0", "tsx": "^4.1.1", "typescript": "^5.2.2", - "vite": "^5.0.0-beta.15", + "vite": "^5.0.0-beta.19", "vitest": "workspace:*" }, "pnpm": { diff --git a/packages/vite-node/src/client.ts b/packages/vite-node/src/client.ts index 53358657dd91..c790e1a2f706 100644 --- a/packages/vite-node/src/client.ts +++ b/packages/vite-node/src/client.ts @@ -6,7 +6,7 @@ import { fileURLToPath, pathToFileURL } from 'node:url' import vm from 'node:vm' import { resolve } from 'pathe' import createDebug from 'debug' -import { VALID_ID_PREFIX, cleanUrl, createImportMetaEnvProxy, isInternalRequest, isNodeBuiltin, isPrimitive, normalizeModuleId, normalizeRequestId, slash, toFilePath } from './utils' +import { cleanUrl, createImportMetaEnvProxy, isInternalRequest, isNodeBuiltin, isPrimitive, normalizeModuleId, normalizeRequestId, slash, toFilePath } from './utils' import type { HotContext, ModuleCache, ViteNodeRunnerOptions } from './types' import { extractSourceMap } from './source-map' @@ -221,11 +221,6 @@ export class ViteNodeRunner { } private async _resolveUrl(id: string, importer?: string): Promise<[url: string, fsPath: string]> { - // we don't pass down importee here, because otherwise Vite doesn't resolve it correctly - // should be checked before normalization, because it removes this prefix - // TODO: this is a hack, we should find a better way to handle this - if (importer && id.startsWith(VALID_ID_PREFIX)) - importer = undefined const dep = normalizeRequestId(id, this.options.base) if (!this.shouldResolveId(dep)) return [dep, dep] @@ -233,17 +228,17 @@ export class ViteNodeRunner { if (!this.options.resolveId || exists) return [dep, path] const resolved = await this.options.resolveId(dep, importer) - // TODO: we need to better handle module resolution when different urls point to the same module - // if (!resolved) { - // const error = new Error( - // `Cannot find module '${id}'${importer ? ` imported from '${importer}'` : ''}.` - // + '\n\n- If you rely on tsconfig.json\'s "paths" to resolve modules, please install "vite-tsconfig-paths" plugin to handle module resolution.' - // + '\n- Make sure you don\'t have relative aliases in your Vitest config. Use absolute paths instead. Read more: https://vitest.dev/guide/common-errors', - // ) - // Object.defineProperty(error, 'code', { value: 'ERR_MODULE_NOT_FOUND', enumerable: true }) - // Object.defineProperty(error, Symbol.for('vitest.error.not_found.data'), { value: { id: dep, importer }, enumerable: false }) - // throw error - // } + // supported since Vite 5-beta.19 + if (resolved?.meta?.['vite:alias']?.noResolved) { + const error = new Error( + `Cannot find module '${id}'${importer ? ` imported from '${importer}'` : ''}.` + + '\n\n- If you rely on tsconfig.json\'s "paths" to resolve modules, please install "vite-tsconfig-paths" plugin to handle module resolution.' + + '\n- Make sure you don\'t have relative aliases in your Vitest config. Use absolute paths instead. Read more: https://vitest.dev/guide/common-errors', + ) + Object.defineProperty(error, 'code', { value: 'ERR_MODULE_NOT_FOUND', enumerable: true }) + Object.defineProperty(error, Symbol.for('vitest.error.not_found.data'), { value: { id: dep, importer }, enumerable: false }) + throw error + } const resolvedId = resolved ? normalizeRequestId(resolved.id, this.options.base) : dep return [resolvedId, resolvedId] } diff --git a/packages/vitest/package.json b/packages/vitest/package.json index 218f4970e275..be79d45c252c 100644 --- a/packages/vitest/package.json +++ b/packages/vitest/package.json @@ -152,7 +152,7 @@ "strip-literal": "^1.3.0", "tinybench": "^2.5.1", "tinypool": "^0.8.1", - "vite": "^5.0.0-beta.15 || ^5.0.0", + "vite": "^5.0.0-beta.19 || ^5.0.0", "vite-node": "workspace:*", "why-is-node-running": "^2.2.2" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 69643f7e2925..7d7c3c631f0d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,7 +5,7 @@ settings: excludeLinksFromLockfile: false overrides: - vite: ^5.0.0-beta.15 + vite: ^5.0.0-beta.19 vitest: workspace:* patchedDependencies: @@ -102,8 +102,8 @@ importers: specifier: ^5.2.2 version: 5.2.2 vite: - specifier: ^5.0.0-beta.15 - version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + specifier: ^5.0.0-beta.19 + version: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vitest: specifier: workspace:* version: link:packages/vitest @@ -134,7 +134,7 @@ importers: version: 0.2.3(vite-plugin-pwa@0.16.7) '@vitejs/plugin-vue': specifier: latest - version: 4.4.0(vite@5.0.0-beta.17)(vue@3.3.4) + version: 4.4.0(vite@5.0.0-beta.19)(vue@3.3.4) fast-glob: specifier: ^3.3.2 version: 3.3.2 @@ -143,16 +143,16 @@ importers: version: 4.7.1 unocss: specifier: ^0.57.4 - version: 0.57.4(postcss@8.4.31)(rollup@2.79.1)(vite@5.0.0-beta.17) + version: 0.57.4(postcss@8.4.31)(rollup@2.79.1)(vite@5.0.0-beta.19) unplugin-vue-components: specifier: ^0.25.2 version: 0.25.2(rollup@2.79.1)(vue@3.3.4) vite: - specifier: ^5.0.0-beta.15 - version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + specifier: ^5.0.0-beta.19 + version: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vite-plugin-pwa: specifier: ^0.16.7 - version: 0.16.7(vite@5.0.0-beta.17)(workbox-build@7.0.0)(workbox-window@7.0.0) + version: 0.16.7(vite@5.0.0-beta.19)(workbox-build@7.0.0)(workbox-window@7.0.0) vitepress: specifier: ^1.0.0-rc.25 version: 1.0.0-rc.25(@types/node@18.18.9)(postcss@8.4.31)(search-insights@2.9.0)(typescript@5.2.2) @@ -166,8 +166,8 @@ importers: specifier: latest version: link:../../packages/ui vite: - specifier: ^5.0.0-beta.15 - version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + specifier: ^5.0.0-beta.19 + version: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -190,8 +190,8 @@ importers: specifier: ^3.9.0 version: 3.9.0 vite: - specifier: ^5.0.0-beta.15 - version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + specifier: ^5.0.0-beta.19 + version: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -209,8 +209,8 @@ importers: specifier: latest version: link:../../packages/ui vite: - specifier: ^5.0.0-beta.15 - version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + specifier: ^5.0.0-beta.19 + version: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -224,8 +224,8 @@ importers: specifier: ^4.5.1 version: 4.5.1(jest@27.5.1) vite: - specifier: ^5.0.0-beta.15 - version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + specifier: ^5.0.0-beta.19 + version: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -246,8 +246,8 @@ importers: specifier: latest version: 22.1.0 vite: - specifier: ^5.0.0-beta.15 - version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + specifier: ^5.0.0-beta.19 + version: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -265,7 +265,7 @@ importers: version: 6.1.4(marko@5.31.11) '@marko/vite': specifier: latest - version: 3.1.1(@marko/compiler@5.33.2)(vite@5.0.0-beta.17) + version: 3.1.1(@marko/compiler@5.33.2)(vite@5.0.0-beta.19) '@vitest/ui': specifier: latest version: link:../../packages/ui @@ -276,8 +276,8 @@ importers: specifier: latest version: 5.31.11 vite: - specifier: ^5.0.0-beta.15 - version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + specifier: ^5.0.0-beta.19 + version: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -304,8 +304,8 @@ importers: specifier: ^11.6.16 version: 11.6.16 vite: - specifier: ^5.0.0-beta.15 - version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + specifier: ^5.0.0-beta.19 + version: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -339,7 +339,7 @@ importers: version: 18.2.25 '@vitejs/plugin-react': specifier: latest - version: 4.1.0(vite@5.0.0-beta.17) + version: 4.1.0(vite@5.0.0-beta.19) jsdom: specifier: latest version: 22.1.0 @@ -362,8 +362,8 @@ importers: specifier: ^1.39.0 version: 1.39.0 vite: - specifier: ^5.0.0-beta.15 - version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + specifier: ^5.0.0-beta.19 + version: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -385,7 +385,7 @@ importers: devDependencies: '@preact/preset-vite': specifier: ^2.6.0 - version: 2.6.0(@babel/core@7.23.3)(preact@10.15.1)(vite@5.0.0-beta.17) + version: 2.6.0(@babel/core@7.23.3)(preact@10.15.1)(vite@5.0.0-beta.19) '@testing-library/jest-dom': specifier: ^5.16.4 version: 5.16.5 @@ -402,8 +402,8 @@ importers: specifier: ^5.2.2 version: 5.2.2 vite: - specifier: ^5.0.0-beta.15 - version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + specifier: ^5.0.0-beta.19 + version: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -422,7 +422,7 @@ importers: version: 17.0.2 '@vitejs/plugin-react': specifier: latest - version: 4.1.0(vite@5.0.0-beta.17) + version: 4.1.0(vite@5.0.0-beta.19) '@vitest/ui': specifier: latest version: link:../../packages/ui @@ -436,8 +436,8 @@ importers: specifier: 17.0.2 version: 17.0.2(react@17.0.2) vite: - specifier: ^5.0.0-beta.15 - version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + specifier: ^5.0.0-beta.19 + version: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -500,8 +500,8 @@ importers: specifier: latest version: 22.1.0 vite: - specifier: ^5.0.0-beta.15 - version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + specifier: ^5.0.0-beta.19 + version: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -538,7 +538,7 @@ importers: version: 6.5.10(react-dom@17.0.2)(react@17.0.2) '@storybook/builder-vite': specifier: ^0.1.35 - version: 0.1.41(@babel/core@7.23.3)(@storybook/core-common@7.5.1)(@storybook/node-logger@7.5.1)(@storybook/source-loader@7.5.1)(react@17.0.2)(typescript@5.2.2)(vite@5.0.0-beta.17) + version: 0.1.41(@babel/core@7.23.3)(@storybook/core-common@7.5.1)(@storybook/node-logger@7.5.1)(@storybook/source-loader@7.5.1)(react@17.0.2)(typescript@5.2.2)(vite@5.0.0-beta.19) '@storybook/client-api': specifier: ^6.5.5 version: 6.5.10(react-dom@17.0.2)(react@17.0.2) @@ -568,7 +568,7 @@ importers: version: 17.0.17 '@vitejs/plugin-react': specifier: ^4.1.0 - version: 4.1.1(vite@5.0.0-beta.17) + version: 4.1.1(vite@5.0.0-beta.19) '@vitest/ui': specifier: latest version: link:../../packages/ui @@ -588,8 +588,8 @@ importers: specifier: ^5.2.2 version: 5.2.2 vite: - specifier: ^5.0.0-beta.15 - version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + specifier: ^5.0.0-beta.19 + version: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -620,7 +620,7 @@ importers: version: 18.0.8 '@vitejs/plugin-react': specifier: latest - version: 4.1.0(vite@5.0.0-beta.17) + version: 4.1.0(vite@5.0.0-beta.19) '@vitest/coverage-v8': specifier: latest version: link:../../packages/coverage-v8 @@ -634,8 +634,8 @@ importers: specifier: ^5.2.2 version: 5.2.2 vite: - specifier: ^5.0.0-beta.15 - version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + specifier: ^5.0.0-beta.19 + version: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -666,7 +666,7 @@ importers: version: 18.2.14 '@vitejs/plugin-react': specifier: latest - version: 4.1.0(vite@5.0.0-beta.17) + version: 4.1.0(vite@5.0.0-beta.19) '@vitest/ui': specifier: latest version: link:../../packages/ui @@ -677,8 +677,8 @@ importers: specifier: ^2.0.0 version: 2.0.0(typescript@5.2.2) vite: - specifier: ^5.0.0-beta.15 - version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + specifier: ^5.0.0-beta.19 + version: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -687,7 +687,7 @@ importers: devDependencies: '@vitejs/plugin-vue': specifier: latest - version: 4.4.0(vite@5.0.0-beta.17)(vue@3.3.4) + version: 4.4.0(vite@5.0.0-beta.19)(vue@3.3.4) '@vue/test-utils': specifier: latest version: 2.4.1(vue@3.3.4) @@ -695,11 +695,11 @@ importers: specifier: latest version: 22.1.0 vite: - specifier: ^5.0.0-beta.15 - version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + specifier: ^5.0.0-beta.19 + version: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vite-plugin-ruby: specifier: ^3.2.2 - version: 3.2.2(vite@5.0.0-beta.17) + version: 3.2.2(vite@5.0.0-beta.19) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -723,11 +723,11 @@ importers: specifier: latest version: 22.1.0 vite: - specifier: ^5.0.0-beta.15 - version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + specifier: ^5.0.0-beta.19 + version: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vite-plugin-solid: specifier: ^2.7.2 - version: 2.7.2(solid-js@1.8.3)(vite@5.0.0-beta.17) + version: 2.7.2(solid-js@1.8.3)(vite@5.0.0-beta.19) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -736,7 +736,7 @@ importers: devDependencies: '@sveltejs/vite-plugin-svelte': specifier: latest - version: 2.4.6(svelte@4.2.1)(vite@5.0.0-beta.17) + version: 2.4.6(svelte@4.2.1)(vite@5.0.0-beta.19) '@testing-library/svelte': specifier: ^4.0.3 version: 4.0.3(svelte@4.2.1) @@ -750,8 +750,8 @@ importers: specifier: latest version: 4.2.1 vite: - specifier: ^5.0.0-beta.15 - version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + specifier: ^5.0.0-beta.19 + version: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -763,7 +763,7 @@ importers: version: 2.1.0(@sveltejs/kit@1.20.2) '@sveltejs/kit': specifier: ^1.20.2 - version: 1.20.2(svelte@3.59.1)(vite@5.0.0-beta.17) + version: 1.20.2(svelte@3.59.1)(vite@5.0.0-beta.19) prettier: specifier: ^2.8.8 version: 2.8.8 @@ -783,8 +783,8 @@ importers: specifier: ^5.2.2 version: 5.2.2 vite: - specifier: ^5.0.0-beta.15 - version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + specifier: ^5.0.0-beta.19 + version: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -797,7 +797,7 @@ importers: devDependencies: '@vitejs/plugin-vue': specifier: latest - version: 4.4.0(vite@5.0.0-beta.17)(vue@3.3.4) + version: 4.4.0(vite@5.0.0-beta.19)(vue@3.3.4) '@vue/test-utils': specifier: ^2.0.2 version: 2.0.2(vue@3.3.4) @@ -811,8 +811,8 @@ importers: specifier: latest version: 0.25.2(rollup@4.4.0)(vue@3.3.4) vite: - specifier: ^5.0.0-beta.15 - version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + specifier: ^5.0.0-beta.19 + version: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -825,7 +825,7 @@ importers: devDependencies: '@vitejs/plugin-vue': specifier: latest - version: 4.4.0(vite@5.0.0-beta.17)(vue@3.3.4) + version: 4.4.0(vite@5.0.0-beta.19)(vue@3.3.4) '@vue/test-utils': specifier: ^2.4.1 version: 2.4.1(vue@3.3.4) @@ -833,8 +833,8 @@ importers: specifier: latest version: 22.1.0 vite: - specifier: ^5.0.0-beta.15 - version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + specifier: ^5.0.0-beta.19 + version: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -843,10 +843,10 @@ importers: devDependencies: '@vitejs/plugin-vue': specifier: latest - version: 4.4.0(vite@5.0.0-beta.17)(vue@3.3.4) + version: 4.4.0(vite@5.0.0-beta.19)(vue@3.3.4) '@vitejs/plugin-vue-jsx': specifier: latest - version: 3.0.2(vite@5.0.0-beta.17)(vue@3.3.4) + version: 3.0.2(vite@5.0.0-beta.19)(vue@3.3.4) '@vue/test-utils': specifier: latest version: 2.4.1(vue@3.3.4) @@ -854,8 +854,8 @@ importers: specifier: latest version: 22.1.0 vite: - specifier: ^5.0.0-beta.15 - version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + specifier: ^5.0.0-beta.19 + version: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -1134,10 +1134,10 @@ importers: version: 0.57.4 '@vitejs/plugin-vue': specifier: ^4.4.1 - version: 4.4.1(vite@5.0.0-beta.17)(vue@3.3.8) + version: 4.4.1(vite@5.0.0-beta.19)(vue@3.3.8) '@vitejs/plugin-vue-jsx': specifier: ^3.0.2 - version: 3.0.2(vite@5.0.0-beta.17)(vue@3.3.8) + version: 3.0.2(vite@5.0.0-beta.19)(vue@3.3.8) '@vitest/runner': specifier: workspace:* version: link:../runner @@ -1173,7 +1173,7 @@ importers: version: 3.1.5 unocss: specifier: ^0.57.4 - version: 0.57.4(postcss@8.4.31)(rollup@4.4.0)(vite@5.0.0-beta.17) + version: 0.57.4(postcss@8.4.31)(rollup@4.4.0)(vite@5.0.0-beta.19) unplugin-auto-import: specifier: ^0.16.7 version: 0.16.7(@vueuse/core@10.6.0)(rollup@4.4.0) @@ -1181,11 +1181,11 @@ importers: specifier: ^0.25.2 version: 0.25.2(rollup@4.4.0)(vue@3.3.8) vite: - specifier: ^5.0.0-beta.15 - version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + specifier: ^5.0.0-beta.19 + version: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vite-plugin-pages: specifier: ^0.31.0 - version: 0.31.0(vite@5.0.0-beta.17) + version: 0.31.0(vite@5.0.0-beta.19) vue: specifier: ^3.3.8 version: 3.3.8(typescript@5.2.2) @@ -1224,8 +1224,8 @@ importers: specifier: ^1.0.0 version: 1.0.0 vite: - specifier: ^5.0.0-beta.15 - version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + specifier: ^5.0.0-beta.19 + version: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) devDependencies: '@jridgewell/trace-mapping': specifier: ^0.3.20 @@ -1300,8 +1300,8 @@ importers: specifier: ^0.8.1 version: 0.8.1 vite: - specifier: ^5.0.0-beta.15 - version: 5.0.0-beta.17(@types/node@18.16.19) + specifier: ^5.0.0-beta.19 + version: 5.0.0-beta.19(@types/node@18.16.19) vite-node: specifier: workspace:* version: link:../vite-node @@ -1435,8 +1435,8 @@ importers: specifier: workspace:* version: link:../../packages/browser vite: - specifier: ^5.0.0-beta.15 - version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + specifier: ^5.0.0-beta.19 + version: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -1513,8 +1513,8 @@ importers: test/config: devDependencies: vite: - specifier: ^5.0.0-beta.15 - version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + specifier: ^5.0.0-beta.19 + version: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -1550,7 +1550,7 @@ importers: version: 2.0.6 '@vitejs/plugin-vue': specifier: latest - version: 4.4.0(vite@5.0.0-beta.17)(vue@3.3.4) + version: 4.4.0(vite@5.0.0-beta.19)(vue@3.3.4) '@vitest/browser': specifier: workspace:* version: link:../../packages/browser @@ -1570,8 +1570,8 @@ importers: specifier: ^3.2.0 version: 3.2.0 vite: - specifier: ^5.0.0-beta.15 - version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + specifier: ^5.0.0-beta.19 + version: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -1648,8 +1648,8 @@ importers: specifier: latest version: 12.9.0 vite: - specifier: ^5.0.0-beta.15 - version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + specifier: ^5.0.0-beta.19 + version: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -1691,8 +1691,8 @@ importers: test/filters: devDependencies: vite: - specifier: ^5.0.0-beta.15 - version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + specifier: ^5.0.0-beta.19 + version: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -1795,8 +1795,8 @@ importers: specifier: ^7.1.1 version: 7.1.1 vite: - specifier: ^5.0.0-beta.15 - version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + specifier: ^5.0.0-beta.19 + version: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -1846,8 +1846,8 @@ importers: specifier: ^7.0.1 version: 7.0.1 vite: - specifier: ^5.0.0-beta.15 - version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + specifier: ^5.0.0-beta.19 + version: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vite-node: specifier: workspace:* version: link:../../packages/vite-node @@ -1931,8 +1931,8 @@ importers: specifier: workspace:* version: link:../../packages/browser vite: - specifier: ^5.0.0-beta.15 - version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + specifier: ^5.0.0-beta.19 + version: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -5953,18 +5953,18 @@ packages: chalk: 4.1.2 dev: true - /@joshwooding/vite-plugin-react-docgen-typescript@0.0.4(typescript@5.2.2)(vite@5.0.0-beta.17): + /@joshwooding/vite-plugin-react-docgen-typescript@0.0.4(typescript@5.2.2)(vite@5.0.0-beta.19): resolution: {integrity: sha512-ezL7SU//1OV4Oyt/zQ3CsX8uLujVEYUHuULkqgcW6wOuQfRnvgkn99HZtLWwS257GmZVwszGQzhL7VE3PbMAYw==} peerDependencies: typescript: '>= 4.3.x' - vite: ^5.0.0-beta.15 + vite: ^5.0.0-beta.19 dependencies: glob: 7.2.3 glob-promise: 4.2.2(glob@7.2.3) magic-string: 0.26.7 react-docgen-typescript: 2.2.2(typescript@5.2.2) typescript: 5.2.2 - vite: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + vite: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) dev: true /@jridgewell/gen-mapping@0.3.2: @@ -6116,18 +6116,18 @@ packages: self-closing-tags: 1.0.1 dev: true - /@marko/vite@3.1.1(@marko/compiler@5.33.2)(vite@5.0.0-beta.17): + /@marko/vite@3.1.1(@marko/compiler@5.33.2)(vite@5.0.0-beta.19): resolution: {integrity: sha512-pcfKyFp3lEsqFnu32kQkUNCwAddxDZLZedBPwGBE4IVAM7FGtB6/trutjbLyYzuFyojA8MJL4mvkx81yf8Grkg==} peerDependencies: '@marko/compiler': ^5 - vite: ^5.0.0-beta.15 + vite: ^5.0.0-beta.19 dependencies: '@marko/compiler': 5.33.2 anymatch: 3.1.3 domelementtype: 2.3.0 domhandler: 5.0.3 htmlparser2: 9.0.0 - vite: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + vite: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) dev: true /@mdx-js/mdx@1.6.22: @@ -6764,22 +6764,22 @@ packages: preact: 10.15.1 dev: false - /@preact/preset-vite@2.6.0(@babel/core@7.23.3)(preact@10.15.1)(vite@5.0.0-beta.17): + /@preact/preset-vite@2.6.0(@babel/core@7.23.3)(preact@10.15.1)(vite@5.0.0-beta.19): resolution: {integrity: sha512-5nztNzXbCpqyVum/K94nB2YQ5PTnvWdz4u7/X0jc8+kLyskSSpkNUxLQJeI90zfGSFIX1Ibj2G2JIS/mySHWYQ==} peerDependencies: '@babel/core': 7.x - vite: ^5.0.0-beta.15 + vite: ^5.0.0-beta.19 dependencies: '@babel/core': 7.23.3 '@babel/plugin-transform-react-jsx': 7.22.15(@babel/core@7.23.3) '@babel/plugin-transform-react-jsx-development': 7.22.5(@babel/core@7.23.3) - '@prefresh/vite': 2.4.1(preact@10.15.1)(vite@5.0.0-beta.17) + '@prefresh/vite': 2.4.1(preact@10.15.1)(vite@5.0.0-beta.19) '@rollup/pluginutils': 4.2.1 babel-plugin-transform-hook-names: 1.0.2(@babel/core@7.23.3) debug: 4.3.4(supports-color@8.1.1) kolorist: 1.8.0 resolve: 1.22.8 - vite: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + vite: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) transitivePeerDependencies: - preact - supports-color @@ -6801,11 +6801,11 @@ packages: resolution: {integrity: sha512-KtC/fZw+oqtwOLUFM9UtiitB0JsVX0zLKNyRTA332sqREqSALIIQQxdUCS1P3xR/jT1e2e8/5rwH6gdcMLEmsQ==} dev: true - /@prefresh/vite@2.4.1(preact@10.15.1)(vite@5.0.0-beta.17): + /@prefresh/vite@2.4.1(preact@10.15.1)(vite@5.0.0-beta.19): resolution: {integrity: sha512-vthWmEqu8TZFeyrBNc9YE5SiC3DVSzPgsOCp/WQ7FqdHpOIJi7Z8XvCK06rBPOtG4914S52MjG9Ls22eVAiuqQ==} peerDependencies: preact: ^10.4.0 - vite: ^5.0.0-beta.15 + vite: ^5.0.0-beta.19 dependencies: '@babel/core': 7.23.3 '@prefresh/babel-plugin': 0.5.0 @@ -6813,7 +6813,7 @@ packages: '@prefresh/utils': 1.2.0 '@rollup/pluginutils': 4.2.1 preact: 10.15.1 - vite: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + vite: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) transitivePeerDependencies: - supports-color dev: true @@ -7042,13 +7042,6 @@ packages: picomatch: 2.3.1 rollup: 4.4.0 - /@rollup/rollup-android-arm-eabi@4.3.0: - resolution: {integrity: sha512-/4pns6BYi8MXdwnXM44yoGAcFYVHL/BYlB2q1HXZ6AzH++LaiEVWFpBWQ/glXhbMbv3E3o09igrHFbP/snhAvA==} - cpu: [arm] - os: [android] - requiresBuild: true - optional: true - /@rollup/rollup-android-arm-eabi@4.4.0: resolution: {integrity: sha512-AD30wtT58hZZsXIeiksytR6Gm2gofUxn5KqrDBdyzekgxXB9bXN9dqWIEcPfYo9lA9MVRm0lC42LuYGsscRxiA==} cpu: [arm] @@ -7056,13 +7049,6 @@ packages: requiresBuild: true optional: true - /@rollup/rollup-android-arm64@4.3.0: - resolution: {integrity: sha512-nLO/JsL9idr416vzi3lHm3Xm+QZh4qHij8k3Er13kZr5YhL7/+kBAx84kDmPc7HMexLmwisjDCeDIKNFp8mDlQ==} - cpu: [arm64] - os: [android] - requiresBuild: true - optional: true - /@rollup/rollup-android-arm64@4.4.0: resolution: {integrity: sha512-PlqvhzFxy5FRTB3wLSsGgPhiakv9jrgfu8tjSojLJFP0CdhfZSRDOFvQ2emWLUEBOSCnjpL63XSuFVMwg59ZtA==} cpu: [arm64] @@ -7070,13 +7056,6 @@ packages: requiresBuild: true optional: true - /@rollup/rollup-darwin-arm64@4.3.0: - resolution: {integrity: sha512-dGhVBlllt4iHwTGy21IEoMOTN5wZoid19zEIxsdY29xcEiOEHqzDa7Sqrkh5OE7LKCowL61eFJXxYe/+pYa7ZQ==} - cpu: [arm64] - os: [darwin] - requiresBuild: true - optional: true - /@rollup/rollup-darwin-arm64@4.4.0: resolution: {integrity: sha512-BYmhn1Hebmkmdyn5mBFy7HptowyjtMALyTpywNSNZYigWwyv4L8WQVr0XvOQE7eE6WoKrupSVxtIcGZW8MgZUA==} cpu: [arm64] @@ -7084,13 +7063,6 @@ packages: requiresBuild: true optional: true - /@rollup/rollup-darwin-x64@4.3.0: - resolution: {integrity: sha512-h8wRfHeLEbU3NzaP1Oku7BYXCJQiTRr+8U0lklyOQXxXiEpHLL8tk1hFl+tezoRKLcPJD7joKaK74ASsqt3Ekg==} - cpu: [x64] - os: [darwin] - requiresBuild: true - optional: true - /@rollup/rollup-darwin-x64@4.4.0: resolution: {integrity: sha512-7GXsMiX/giTDBMs/gL3rePLBRC6gV7DT7JQ0lNqoNDe5hm+Gm4NEWky9fwEmer64fIUbOsTiLUsyQ5fDXUbXPA==} cpu: [x64] @@ -7098,13 +7070,6 @@ packages: requiresBuild: true optional: true - /@rollup/rollup-linux-arm-gnueabihf@4.3.0: - resolution: {integrity: sha512-wP4VgR/gfV18sylTuym3sxRTkAgUR2vh6YLeX/GEznk5jCYcYSlx585XlcUcl0c8UffIZlRJ09raWSX3JDb4GA==} - cpu: [arm] - os: [linux] - requiresBuild: true - optional: true - /@rollup/rollup-linux-arm-gnueabihf@4.4.0: resolution: {integrity: sha512-kavnkaV50Gu6vESlOAwUad92wYY9mUrcaPmhzOQZKlNFnzWAUYyD/uhHmWvY7Z2chtwhWlng0LvCRBF5QiPO7w==} cpu: [arm] @@ -7112,13 +7077,6 @@ packages: requiresBuild: true optional: true - /@rollup/rollup-linux-arm64-gnu@4.3.0: - resolution: {integrity: sha512-v/14JCYVkqRSJeQbxFx4oUkwVQQw6lFMN7bd4vuARBc3X2lmomkxBsc+BFiIDL/BK+CTx5AOh/k9XmqDnKWRVg==} - cpu: [arm64] - os: [linux] - requiresBuild: true - optional: true - /@rollup/rollup-linux-arm64-gnu@4.4.0: resolution: {integrity: sha512-2hBHEtCjnBTeuLvDAlHRCqsuFQSyAhTQs9vbZEVBTV8ap35pDI1ukPbIVFFCWNvL/KE7xRor5YZFvfyGCfvLnA==} cpu: [arm64] @@ -7126,13 +7084,6 @@ packages: requiresBuild: true optional: true - /@rollup/rollup-linux-arm64-musl@4.3.0: - resolution: {integrity: sha512-tNhfYqFH5OxtRzfkTOKdgFYlPSZnlDLNW4+leNEvQZhwTJxoTwsZAAhR97l3qVry/kkLyJPBK+Q8EAJLPinDIg==} - cpu: [arm64] - os: [linux] - requiresBuild: true - optional: true - /@rollup/rollup-linux-arm64-musl@4.4.0: resolution: {integrity: sha512-u7zy0Ygzl7O5Gvr9TSNSQj+DBzvMJC7rXfyQNgZ13KwkhgJ8z0z+gt2AO4RPd01rZioMQ2/TA24XGGg4xqhd0Q==} cpu: [arm64] @@ -7140,13 +7091,6 @@ packages: requiresBuild: true optional: true - /@rollup/rollup-linux-x64-gnu@4.3.0: - resolution: {integrity: sha512-pw77m8QywdsoFdFOgmc8roF1inBI0rciqzO8ffRUgLoq7+ee9o5eFqtEcS6hHOOplgifAUUisP8cAnwl9nUYPw==} - cpu: [x64] - os: [linux] - requiresBuild: true - optional: true - /@rollup/rollup-linux-x64-gnu@4.4.0: resolution: {integrity: sha512-VvpAdh5SgewmWo8sa5QPYG8aSKH9hU2Kr5+3of0GzBI/8n8PBqhLyvF0DbO+zDW8j5IM8NDebv82MpHrZaD0Cw==} cpu: [x64] @@ -7154,13 +7098,6 @@ packages: requiresBuild: true optional: true - /@rollup/rollup-linux-x64-musl@4.3.0: - resolution: {integrity: sha512-tJs7v2MnV2F8w6X1UpPHl/43OfxjUy9SuJ2ZPoxn79v9vYteChVYO/ueLHCpRMmyTUIVML3N9z4azl9ENH8Xxg==} - cpu: [x64] - os: [linux] - requiresBuild: true - optional: true - /@rollup/rollup-linux-x64-musl@4.4.0: resolution: {integrity: sha512-3g6jaXxXVFaDnFoMn2+E3ludGcXFfEr6lDn+S1lh9Qe0JcL9sPt1wGh0g2cKIlb6OakNOFopZqJ5Yub9F7gQlA==} cpu: [x64] @@ -7168,13 +7105,6 @@ packages: requiresBuild: true optional: true - /@rollup/rollup-win32-arm64-msvc@4.3.0: - resolution: {integrity: sha512-OKGxp6kATQdTyI2DF+e9s+hB3/QZB45b6e+dzcfW1SUqiF6CviWyevhmT4USsMEdP3mlpC9zxLz3Oh+WaTMOSw==} - cpu: [arm64] - os: [win32] - requiresBuild: true - optional: true - /@rollup/rollup-win32-arm64-msvc@4.4.0: resolution: {integrity: sha512-jnoDRkg5Ve6Y1qx2m1+ehouOLQ4ddc15/iQSfFjcDUL6bqLdJJ5c4CKfUy/C6W1oCU4la+hMkveE9GG7ECN7dg==} cpu: [arm64] @@ -7182,13 +7112,6 @@ packages: requiresBuild: true optional: true - /@rollup/rollup-win32-ia32-msvc@4.3.0: - resolution: {integrity: sha512-DDZ5AH68JJ2ClQFEA1aNnfA7Ybqyeh0644rGbrLOdNehTmzfICHiWSn0OprzYi9HAshTPQvlwrM+bi2kuaIOjQ==} - cpu: [ia32] - os: [win32] - requiresBuild: true - optional: true - /@rollup/rollup-win32-ia32-msvc@4.4.0: resolution: {integrity: sha512-SoLQmJanozFow8o50ul2a3R+J7nk4pEhrp83PzTSXs5OzOmIZbPSp5kihtQ3f6ypo4MCbmh0V8Ev0bJIEp4Azw==} cpu: [ia32] @@ -7196,13 +7119,6 @@ packages: requiresBuild: true optional: true - /@rollup/rollup-win32-x64-msvc@4.3.0: - resolution: {integrity: sha512-dMvGV8p92GQ8jhNlGIKpyhVZPzJlT258pPrM5q2F8lKcc9Iv9BbfdnhX1OfinYWnb9ms5zLw6MlaMnqLfUkKnQ==} - cpu: [x64] - os: [win32] - requiresBuild: true - optional: true - /@rollup/rollup-win32-x64-msvc@4.4.0: resolution: {integrity: sha512-Zaz6itfQ5sQF5Cia49YDW1ZTr+YfIKzTSb9npLyvQn346n7ulRDOv2J7GnL0zcOJ3cqW7HzG/ZisyO6fH43J9g==} cpu: [x64] @@ -7675,19 +7591,19 @@ packages: util-deprecate: 1.0.2 dev: true - /@storybook/builder-vite@0.1.41(@babel/core@7.23.3)(@storybook/core-common@7.5.1)(@storybook/node-logger@7.5.1)(@storybook/source-loader@7.5.1)(react@17.0.2)(typescript@5.2.2)(vite@5.0.0-beta.17): + /@storybook/builder-vite@0.1.41(@babel/core@7.23.3)(@storybook/core-common@7.5.1)(@storybook/node-logger@7.5.1)(@storybook/source-loader@7.5.1)(react@17.0.2)(typescript@5.2.2)(vite@5.0.0-beta.19): resolution: {integrity: sha512-h/7AgEUfSuVexTD6LuJ6BCNu+FSo/+IKYBQ1O3TyF2BEgcob5/BGrx9QcwM0LJCF44L1zNKaxkKpCZs9p+LRRA==} peerDependencies: '@storybook/core-common': '>=6.4.3 || >=6.5.0-alpha.0' '@storybook/mdx2-csf': ^0.0.3 '@storybook/node-logger': '>=6.4.3 || >=6.5.0-alpha.0' '@storybook/source-loader': '>=6.4.3 || >=6.5.0-alpha.0' - vite: ^5.0.0-beta.15 + vite: ^5.0.0-beta.19 peerDependenciesMeta: '@storybook/mdx2-csf': optional: true dependencies: - '@joshwooding/vite-plugin-react-docgen-typescript': 0.0.4(typescript@5.2.2)(vite@5.0.0-beta.17) + '@joshwooding/vite-plugin-react-docgen-typescript': 0.0.4(typescript@5.2.2)(vite@5.0.0-beta.19) '@storybook/core-common': 7.5.1 '@storybook/mdx1-csf': 0.0.4(@babel/core@7.23.3)(react@17.0.2) '@storybook/node-logger': 7.5.1 @@ -7701,7 +7617,7 @@ packages: react-docgen: 6.0.0-alpha.3 slash: 3.0.0 sveltedoc-parser: 4.2.1 - vite: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + vite: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) transitivePeerDependencies: - '@babel/core' - react @@ -8759,20 +8675,20 @@ packages: peerDependencies: '@sveltejs/kit': ^1.0.0 dependencies: - '@sveltejs/kit': 1.20.2(svelte@3.59.1)(vite@5.0.0-beta.17) + '@sveltejs/kit': 1.20.2(svelte@3.59.1)(vite@5.0.0-beta.19) import-meta-resolve: 3.0.0 dev: true - /@sveltejs/kit@1.20.2(svelte@3.59.1)(vite@5.0.0-beta.17): + /@sveltejs/kit@1.20.2(svelte@3.59.1)(vite@5.0.0-beta.19): resolution: {integrity: sha512-MtR1i+HtmYWcRgtubw1GQqT/+CWXL/z24PegE0xYAdObbhdr7YtEfmoe705D/JZMtMmoPXrmSk4W0MfL5A3lYw==} engines: {node: ^16.14 || >=18} hasBin: true requiresBuild: true peerDependencies: svelte: ^3.54.0 || ^4.0.0-next.0 - vite: ^5.0.0-beta.15 + vite: ^5.0.0-beta.19 dependencies: - '@sveltejs/vite-plugin-svelte': 2.4.6(svelte@3.59.1)(vite@5.0.0-beta.17) + '@sveltejs/vite-plugin-svelte': 2.4.6(svelte@3.59.1)(vite@5.0.0-beta.19) '@types/cookie': 0.5.1 cookie: 0.5.0 devalue: 4.3.2 @@ -8786,79 +8702,79 @@ packages: svelte: 3.59.1 tiny-glob: 0.2.9 undici: 5.22.1 - vite: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + vite: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) transitivePeerDependencies: - supports-color dev: true - /@sveltejs/vite-plugin-svelte-inspector@1.0.4(@sveltejs/vite-plugin-svelte@2.4.6)(svelte@3.59.1)(vite@5.0.0-beta.17): + /@sveltejs/vite-plugin-svelte-inspector@1.0.4(@sveltejs/vite-plugin-svelte@2.4.6)(svelte@3.59.1)(vite@5.0.0-beta.19): resolution: {integrity: sha512-zjiuZ3yydBtwpF3bj0kQNV0YXe+iKE545QGZVTaylW3eAzFr+pJ/cwK8lZEaRp4JtaJXhD5DyWAV4AxLh6DgaQ==} engines: {node: ^14.18.0 || >= 16} peerDependencies: '@sveltejs/vite-plugin-svelte': ^2.2.0 svelte: ^3.54.0 || ^4.0.0 - vite: ^5.0.0-beta.15 + vite: ^5.0.0-beta.19 dependencies: - '@sveltejs/vite-plugin-svelte': 2.4.6(svelte@3.59.1)(vite@5.0.0-beta.17) + '@sveltejs/vite-plugin-svelte': 2.4.6(svelte@3.59.1)(vite@5.0.0-beta.19) debug: 4.3.4(supports-color@8.1.1) svelte: 3.59.1 - vite: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + vite: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) transitivePeerDependencies: - supports-color dev: true - /@sveltejs/vite-plugin-svelte-inspector@1.0.4(@sveltejs/vite-plugin-svelte@2.4.6)(svelte@4.2.1)(vite@5.0.0-beta.17): + /@sveltejs/vite-plugin-svelte-inspector@1.0.4(@sveltejs/vite-plugin-svelte@2.4.6)(svelte@4.2.1)(vite@5.0.0-beta.19): resolution: {integrity: sha512-zjiuZ3yydBtwpF3bj0kQNV0YXe+iKE545QGZVTaylW3eAzFr+pJ/cwK8lZEaRp4JtaJXhD5DyWAV4AxLh6DgaQ==} engines: {node: ^14.18.0 || >= 16} peerDependencies: '@sveltejs/vite-plugin-svelte': ^2.2.0 svelte: ^3.54.0 || ^4.0.0 - vite: ^5.0.0-beta.15 + vite: ^5.0.0-beta.19 dependencies: - '@sveltejs/vite-plugin-svelte': 2.4.6(svelte@4.2.1)(vite@5.0.0-beta.17) + '@sveltejs/vite-plugin-svelte': 2.4.6(svelte@4.2.1)(vite@5.0.0-beta.19) debug: 4.3.4(supports-color@8.1.1) svelte: 4.2.1 - vite: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + vite: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) transitivePeerDependencies: - supports-color dev: true - /@sveltejs/vite-plugin-svelte@2.4.6(svelte@3.59.1)(vite@5.0.0-beta.17): + /@sveltejs/vite-plugin-svelte@2.4.6(svelte@3.59.1)(vite@5.0.0-beta.19): resolution: {integrity: sha512-zO79p0+DZnXPnF0ltIigWDx/ux7Ni+HRaFOw720Qeivc1azFUrJxTl0OryXVibYNx1hCboGia1NRV3x8RNv4cA==} engines: {node: ^14.18.0 || >= 16} peerDependencies: svelte: ^3.54.0 || ^4.0.0 - vite: ^5.0.0-beta.15 + vite: ^5.0.0-beta.19 dependencies: - '@sveltejs/vite-plugin-svelte-inspector': 1.0.4(@sveltejs/vite-plugin-svelte@2.4.6)(svelte@3.59.1)(vite@5.0.0-beta.17) + '@sveltejs/vite-plugin-svelte-inspector': 1.0.4(@sveltejs/vite-plugin-svelte@2.4.6)(svelte@3.59.1)(vite@5.0.0-beta.19) debug: 4.3.4(supports-color@8.1.1) deepmerge: 4.3.1 kleur: 4.1.5 magic-string: 0.30.5 svelte: 3.59.1 svelte-hmr: 0.15.3(svelte@3.59.1) - vite: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) - vitefu: 0.2.4(vite@5.0.0-beta.17) + vite: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) + vitefu: 0.2.4(vite@5.0.0-beta.19) transitivePeerDependencies: - supports-color dev: true - /@sveltejs/vite-plugin-svelte@2.4.6(svelte@4.2.1)(vite@5.0.0-beta.17): + /@sveltejs/vite-plugin-svelte@2.4.6(svelte@4.2.1)(vite@5.0.0-beta.19): resolution: {integrity: sha512-zO79p0+DZnXPnF0ltIigWDx/ux7Ni+HRaFOw720Qeivc1azFUrJxTl0OryXVibYNx1hCboGia1NRV3x8RNv4cA==} engines: {node: ^14.18.0 || >= 16} peerDependencies: svelte: ^3.54.0 || ^4.0.0 - vite: ^5.0.0-beta.15 + vite: ^5.0.0-beta.19 dependencies: - '@sveltejs/vite-plugin-svelte-inspector': 1.0.4(@sveltejs/vite-plugin-svelte@2.4.6)(svelte@4.2.1)(vite@5.0.0-beta.17) + '@sveltejs/vite-plugin-svelte-inspector': 1.0.4(@sveltejs/vite-plugin-svelte@2.4.6)(svelte@4.2.1)(vite@5.0.0-beta.19) debug: 4.3.4(supports-color@8.1.1) deepmerge: 4.3.1 kleur: 4.1.5 magic-string: 0.30.5 svelte: 4.2.1 svelte-hmr: 0.15.3(svelte@4.2.1) - vite: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) - vitefu: 0.2.4(vite@5.0.0-beta.17) + vite: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) + vitefu: 0.2.4(vite@5.0.0-beta.19) transitivePeerDependencies: - supports-color dev: true @@ -9980,34 +9896,34 @@ packages: resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} dev: true - /@unocss/astro@0.57.4(rollup@2.79.1)(vite@5.0.0-beta.17): + /@unocss/astro@0.57.4(rollup@2.79.1)(vite@5.0.0-beta.19): resolution: {integrity: sha512-BP7+X/AlUFFMzr5s8bUpbO4HsWBESzIcPUE9VMA4bpSJIbXxi9GyJRU3Av72nbQp4BBeDjYiDT0qRa5gS0oPxw==} peerDependencies: - vite: ^5.0.0-beta.15 + vite: ^5.0.0-beta.19 peerDependenciesMeta: vite: optional: true dependencies: '@unocss/core': 0.57.4 '@unocss/reset': 0.57.4 - '@unocss/vite': 0.57.4(rollup@2.79.1)(vite@5.0.0-beta.17) - vite: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + '@unocss/vite': 0.57.4(rollup@2.79.1)(vite@5.0.0-beta.19) + vite: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) transitivePeerDependencies: - rollup dev: true - /@unocss/astro@0.57.4(rollup@4.4.0)(vite@5.0.0-beta.17): + /@unocss/astro@0.57.4(rollup@4.4.0)(vite@5.0.0-beta.19): resolution: {integrity: sha512-BP7+X/AlUFFMzr5s8bUpbO4HsWBESzIcPUE9VMA4bpSJIbXxi9GyJRU3Av72nbQp4BBeDjYiDT0qRa5gS0oPxw==} peerDependencies: - vite: ^5.0.0-beta.15 + vite: ^5.0.0-beta.19 peerDependenciesMeta: vite: optional: true dependencies: '@unocss/core': 0.57.4 '@unocss/reset': 0.57.4 - '@unocss/vite': 0.57.4(rollup@4.4.0)(vite@5.0.0-beta.17) - vite: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + '@unocss/vite': 0.57.4(rollup@4.4.0)(vite@5.0.0-beta.19) + vite: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) transitivePeerDependencies: - rollup dev: true @@ -10207,10 +10123,10 @@ packages: '@unocss/core': 0.57.4 dev: true - /@unocss/vite@0.57.4(rollup@2.79.1)(vite@5.0.0-beta.17): + /@unocss/vite@0.57.4(rollup@2.79.1)(vite@5.0.0-beta.19): resolution: {integrity: sha512-bVMftC1hzdlfRQOfllDuJ+bd5Z0/TOvPthNk8LyoHsnjAEH7FqspdCyPM3nQpnfqfYRocXiuLJv+KdQ2DLQWOQ==} peerDependencies: - vite: ^5.0.0-beta.15 + vite: ^5.0.0-beta.19 dependencies: '@ampproject/remapping': 2.2.1 '@rollup/pluginutils': 5.0.5(rollup@2.79.1) @@ -10222,15 +10138,15 @@ packages: chokidar: 3.5.3 fast-glob: 3.3.2 magic-string: 0.30.5 - vite: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + vite: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) transitivePeerDependencies: - rollup dev: true - /@unocss/vite@0.57.4(rollup@4.4.0)(vite@5.0.0-beta.17): + /@unocss/vite@0.57.4(rollup@4.4.0)(vite@5.0.0-beta.19): resolution: {integrity: sha512-bVMftC1hzdlfRQOfllDuJ+bd5Z0/TOvPthNk8LyoHsnjAEH7FqspdCyPM3nQpnfqfYRocXiuLJv+KdQ2DLQWOQ==} peerDependencies: - vite: ^5.0.0-beta.15 + vite: ^5.0.0-beta.19 dependencies: '@ampproject/remapping': 2.2.1 '@rollup/pluginutils': 5.0.5(rollup@4.4.0) @@ -10242,7 +10158,7 @@ packages: chokidar: 3.5.3 fast-glob: 3.3.2 magic-string: 0.30.5 - vite: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + vite: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) transitivePeerDependencies: - rollup dev: true @@ -10265,7 +10181,7 @@ packages: peerDependencies: vite-plugin-pwa: '>=0.16.5 <1' dependencies: - vite-plugin-pwa: 0.16.7(vite@5.0.0-beta.17)(workbox-build@7.0.0)(workbox-window@7.0.0) + vite-plugin-pwa: 0.16.7(vite@5.0.0-beta.19)(workbox-build@7.0.0)(workbox-window@7.0.0) dev: true /@vitejs/plugin-react@1.3.2: @@ -10284,100 +10200,100 @@ packages: - supports-color dev: true - /@vitejs/plugin-react@4.1.0(vite@5.0.0-beta.17): + /@vitejs/plugin-react@4.1.0(vite@5.0.0-beta.19): resolution: {integrity: sha512-rM0SqazU9iqPUraQ2JlIvReeaxOoRj6n+PzB1C0cBzIbd8qP336nC39/R9yPi3wVcah7E7j/kdU1uCUqMEU4OQ==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: - vite: ^5.0.0-beta.15 + vite: ^5.0.0-beta.19 dependencies: '@babel/core': 7.23.0 '@babel/plugin-transform-react-jsx-self': 7.22.5(@babel/core@7.23.0) '@babel/plugin-transform-react-jsx-source': 7.22.5(@babel/core@7.23.0) '@types/babel__core': 7.20.2 react-refresh: 0.14.0 - vite: 5.0.0-beta.17(@types/node@20.8.2) + vite: 5.0.0-beta.19(@types/node@20.8.2) transitivePeerDependencies: - supports-color dev: true - /@vitejs/plugin-react@4.1.1(vite@5.0.0-beta.17): + /@vitejs/plugin-react@4.1.1(vite@5.0.0-beta.19): resolution: {integrity: sha512-Jie2HERK+uh27e+ORXXwEP5h0Y2lS9T2PRGbfebiHGlwzDO0dEnd2aNtOR/qjBlPb1YgxwAONeblL1xqLikLag==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: - vite: ^5.0.0-beta.15 + vite: ^5.0.0-beta.19 dependencies: '@babel/core': 7.23.3 '@babel/plugin-transform-react-jsx-self': 7.22.5(@babel/core@7.23.3) '@babel/plugin-transform-react-jsx-source': 7.22.5(@babel/core@7.23.3) '@types/babel__core': 7.20.3 react-refresh: 0.14.0 - vite: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + vite: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) transitivePeerDependencies: - supports-color dev: true - /@vitejs/plugin-vue-jsx@3.0.2(vite@5.0.0-beta.17)(vue@3.3.4): + /@vitejs/plugin-vue-jsx@3.0.2(vite@5.0.0-beta.19)(vue@3.3.4): resolution: {integrity: sha512-obF26P2Z4Ogy3cPp07B4VaW6rpiu0ue4OT2Y15UxT5BZZ76haUY9guOsZV3uWh/I6xc+VeiW+ZVabRE82FyzWw==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: - vite: ^5.0.0-beta.15 + vite: ^5.0.0-beta.19 vue: ^3.0.0 dependencies: '@babel/core': 7.23.3 '@babel/plugin-transform-typescript': 7.22.15(@babel/core@7.23.3) '@vue/babel-plugin-jsx': 1.1.5(@babel/core@7.23.3) - vite: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + vite: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vue: 3.3.4 transitivePeerDependencies: - supports-color dev: true - /@vitejs/plugin-vue-jsx@3.0.2(vite@5.0.0-beta.17)(vue@3.3.8): + /@vitejs/plugin-vue-jsx@3.0.2(vite@5.0.0-beta.19)(vue@3.3.8): resolution: {integrity: sha512-obF26P2Z4Ogy3cPp07B4VaW6rpiu0ue4OT2Y15UxT5BZZ76haUY9guOsZV3uWh/I6xc+VeiW+ZVabRE82FyzWw==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: - vite: ^5.0.0-beta.15 + vite: ^5.0.0-beta.19 vue: ^3.0.0 dependencies: '@babel/core': 7.23.3 '@babel/plugin-transform-typescript': 7.22.15(@babel/core@7.23.3) '@vue/babel-plugin-jsx': 1.1.5(@babel/core@7.23.3) - vite: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + vite: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vue: 3.3.8(typescript@5.2.2) transitivePeerDependencies: - supports-color dev: true - /@vitejs/plugin-vue@4.3.1(vite@5.0.0-beta.17)(vue@3.3.8): + /@vitejs/plugin-vue@4.3.1(vite@5.0.0-beta.19)(vue@3.3.8): resolution: {integrity: sha512-tUBEtWcF7wFtII7ayNiLNDTCE1X1afySEo+XNVMNkFXaThENyCowIEX095QqbJZGTgoOcSVDJGlnde2NG4jtbQ==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: - vite: ^5.0.0-beta.15 + vite: ^5.0.0-beta.19 vue: ^3.2.25 dependencies: - vite: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + vite: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vue: 3.3.8(typescript@5.2.2) dev: true - /@vitejs/plugin-vue@4.4.0(vite@5.0.0-beta.17)(vue@3.3.4): + /@vitejs/plugin-vue@4.4.0(vite@5.0.0-beta.19)(vue@3.3.4): resolution: {integrity: sha512-xdguqb+VUwiRpSg+nsc2HtbAUSGak25DXYvpQQi4RVU1Xq1uworyoH/md9Rfd8zMmPR/pSghr309QNcftUVseg==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: - vite: ^5.0.0-beta.15 + vite: ^5.0.0-beta.19 vue: ^3.2.25 dependencies: - vite: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + vite: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vue: 3.3.4 dev: true - /@vitejs/plugin-vue@4.4.1(vite@5.0.0-beta.17)(vue@3.3.8): + /@vitejs/plugin-vue@4.4.1(vite@5.0.0-beta.19)(vue@3.3.8): resolution: {integrity: sha512-HCQG8VDFDM7YDAdcj5QI5DvUi+r6xvo9LgvYdk7LSkUNwdpempdB5horkMSZsbdey9Ywsf5aaU8kEPw9M5kREA==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: - vite: ^5.0.0-beta.15 + vite: ^5.0.0-beta.19 vue: ^3.2.25 dependencies: - vite: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + vite: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vue: 3.3.8(typescript@5.2.2) dev: true @@ -23277,25 +23193,6 @@ packages: fsevents: 2.3.3 dev: true - /rollup@4.3.0: - resolution: {integrity: sha512-scIi1NrKLDIYSPK66jjECtII7vIgdAMFmFo8h6qm++I6nN9qDSV35Ku6erzGVqYjx+lj+j5wkusRMr++8SyDZg==} - engines: {node: '>=18.0.0', npm: '>=8.0.0'} - hasBin: true - optionalDependencies: - '@rollup/rollup-android-arm-eabi': 4.3.0 - '@rollup/rollup-android-arm64': 4.3.0 - '@rollup/rollup-darwin-arm64': 4.3.0 - '@rollup/rollup-darwin-x64': 4.3.0 - '@rollup/rollup-linux-arm-gnueabihf': 4.3.0 - '@rollup/rollup-linux-arm64-gnu': 4.3.0 - '@rollup/rollup-linux-arm64-musl': 4.3.0 - '@rollup/rollup-linux-x64-gnu': 4.3.0 - '@rollup/rollup-linux-x64-musl': 4.3.0 - '@rollup/rollup-win32-arm64-msvc': 4.3.0 - '@rollup/rollup-win32-ia32-msvc': 4.3.0 - '@rollup/rollup-win32-x64-msvc': 4.3.0 - fsevents: 2.3.3 - /rollup@4.4.0: resolution: {integrity: sha512-3L67ubCc1Qm49wUodsQ72FM6JmJ9M37d63rGPjxbcKrzNJrwFipl+lDNHeWd6BId09S6Tb9KiBgYKbWhIuqVyg==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} @@ -25664,19 +25561,19 @@ packages: detect-node: 2.1.0 dev: false - /unocss@0.57.4(postcss@8.4.31)(rollup@2.79.1)(vite@5.0.0-beta.17): + /unocss@0.57.4(postcss@8.4.31)(rollup@2.79.1)(vite@5.0.0-beta.19): resolution: {integrity: sha512-rf5eiCVb8957rqzCyRxLzljeYguVMS70X322/Z1sYhosKhh8SBBMsC/TrZEf5o8LTn/MbFN9fVizEtbUKaFjUg==} engines: {node: '>=14'} peerDependencies: '@unocss/webpack': 0.57.4 - vite: ^5.0.0-beta.15 + vite: ^5.0.0-beta.19 peerDependenciesMeta: '@unocss/webpack': optional: true vite: optional: true dependencies: - '@unocss/astro': 0.57.4(rollup@2.79.1)(vite@5.0.0-beta.17) + '@unocss/astro': 0.57.4(rollup@2.79.1)(vite@5.0.0-beta.19) '@unocss/cli': 0.57.4(rollup@2.79.1) '@unocss/core': 0.57.4 '@unocss/extractor-arbitrary-variants': 0.57.4 @@ -25695,27 +25592,27 @@ packages: '@unocss/transformer-compile-class': 0.57.4 '@unocss/transformer-directives': 0.57.4 '@unocss/transformer-variant-group': 0.57.4 - '@unocss/vite': 0.57.4(rollup@2.79.1)(vite@5.0.0-beta.17) - vite: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + '@unocss/vite': 0.57.4(rollup@2.79.1)(vite@5.0.0-beta.19) + vite: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) transitivePeerDependencies: - postcss - rollup - supports-color dev: true - /unocss@0.57.4(postcss@8.4.31)(rollup@4.4.0)(vite@5.0.0-beta.17): + /unocss@0.57.4(postcss@8.4.31)(rollup@4.4.0)(vite@5.0.0-beta.19): resolution: {integrity: sha512-rf5eiCVb8957rqzCyRxLzljeYguVMS70X322/Z1sYhosKhh8SBBMsC/TrZEf5o8LTn/MbFN9fVizEtbUKaFjUg==} engines: {node: '>=14'} peerDependencies: '@unocss/webpack': 0.57.4 - vite: ^5.0.0-beta.15 + vite: ^5.0.0-beta.19 peerDependenciesMeta: '@unocss/webpack': optional: true vite: optional: true dependencies: - '@unocss/astro': 0.57.4(rollup@4.4.0)(vite@5.0.0-beta.17) + '@unocss/astro': 0.57.4(rollup@4.4.0)(vite@5.0.0-beta.19) '@unocss/cli': 0.57.4(rollup@4.4.0) '@unocss/core': 0.57.4 '@unocss/extractor-arbitrary-variants': 0.57.4 @@ -25734,8 +25631,8 @@ packages: '@unocss/transformer-compile-class': 0.57.4 '@unocss/transformer-directives': 0.57.4 '@unocss/transformer-variant-group': 0.57.4 - '@unocss/vite': 0.57.4(rollup@4.4.0)(vite@5.0.0-beta.17) - vite: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + '@unocss/vite': 0.57.4(rollup@4.4.0)(vite@5.0.0-beta.19) + vite: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) transitivePeerDependencies: - postcss - rollup @@ -26127,11 +26024,11 @@ packages: vfile-message: 2.0.4 dev: true - /vite-plugin-pages@0.31.0(vite@5.0.0-beta.17): + /vite-plugin-pages@0.31.0(vite@5.0.0-beta.19): resolution: {integrity: sha512-fw3onBfVTXQI7rOzAbSZhmfwvk50+3qNnGZpERjmD93c8nEjrGLyd53eFXYMxcJV4KA1vzi4qIHt2+6tS4dEMw==} peerDependencies: '@vue/compiler-sfc': ^2.7.0 || ^3.0.0 - vite: ^5.0.0-beta.15 + vite: ^5.0.0-beta.19 peerDependenciesMeta: '@vue/compiler-sfc': optional: true @@ -26144,47 +26041,47 @@ packages: json5: 2.2.3 local-pkg: 0.4.3 picocolors: 1.0.0 - vite: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + vite: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) yaml: 2.3.1 transitivePeerDependencies: - supports-color dev: true - /vite-plugin-pwa@0.16.7(vite@5.0.0-beta.17)(workbox-build@7.0.0)(workbox-window@7.0.0): + /vite-plugin-pwa@0.16.7(vite@5.0.0-beta.19)(workbox-build@7.0.0)(workbox-window@7.0.0): resolution: {integrity: sha512-4WMA5unuKlHs+koNoykeuCfTcqEGbiTRr8sVYUQMhc6tWxZpSRnv9Ojk4LKmqVhoPGHfBVCdGaMo8t9Qidkc1Q==} engines: {node: '>=16.0.0'} peerDependencies: - vite: ^5.0.0-beta.15 + vite: ^5.0.0-beta.19 workbox-build: ^7.0.0 workbox-window: ^7.0.0 dependencies: debug: 4.3.4(supports-color@8.1.1) fast-glob: 3.3.2 pretty-bytes: 6.1.1 - vite: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + vite: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) workbox-build: 7.0.0 workbox-window: 7.0.0 transitivePeerDependencies: - supports-color dev: true - /vite-plugin-ruby@3.2.2(vite@5.0.0-beta.17): + /vite-plugin-ruby@3.2.2(vite@5.0.0-beta.19): resolution: {integrity: sha512-cuHG1MajRWPR8YdfF6lvgsQRnKFEBRwZF//asFbRiI1psacxB5aPlHSvYZYxAu5IflrAa0MdR0HxEq+g98M3iQ==} peerDependencies: - vite: ^5.0.0-beta.15 + vite: ^5.0.0-beta.19 dependencies: debug: 4.3.4(supports-color@8.1.1) fast-glob: 3.3.2 - vite: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + vite: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) transitivePeerDependencies: - supports-color dev: true - /vite-plugin-solid@2.7.2(solid-js@1.8.3)(vite@5.0.0-beta.17): + /vite-plugin-solid@2.7.2(solid-js@1.8.3)(vite@5.0.0-beta.19): resolution: {integrity: sha512-GV2SMLAibOoXe76i02AsjAg7sbm/0lngBlERvJKVN67HOrJsHcWgkt0R6sfGLDJuFkv2aBe14Zm4vJcNME+7zw==} peerDependencies: solid-js: ^1.7.2 - vite: ^5.0.0-beta.15 + vite: ^5.0.0-beta.19 dependencies: '@babel/core': 7.23.3 '@babel/preset-typescript': 7.23.2(@babel/core@7.23.3) @@ -26193,14 +26090,14 @@ packages: merge-anything: 5.1.7 solid-js: 1.8.3 solid-refresh: 0.5.3(solid-js@1.8.3) - vite: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) - vitefu: 0.2.4(vite@5.0.0-beta.17) + vite: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) + vitefu: 0.2.4(vite@5.0.0-beta.19) transitivePeerDependencies: - supports-color dev: true - /vite@5.0.0-beta.17(@types/node@18.16.19): - resolution: {integrity: sha512-ZTWO3PUCil8l23vHQjkyyhUzZ3bsG3KqVUlqpkcPZ0KHrPkzL97fIy3yYtb2aedteJj8gqXnKqOZU+LCNJnDOw==} + /vite@5.0.0-beta.19(@types/node@18.16.19): + resolution: {integrity: sha512-Huoj7XUlkhSLHhIOf4FgDrxmHJMKgfvG9ocB4kJmTKSeWfLgHIQ86xYC8+eA/RBxFo9zRQXX81VUgW8l7Wri3Q==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -26230,13 +26127,13 @@ packages: '@types/node': 18.16.19 esbuild: 0.19.5 postcss: 8.4.31 - rollup: 4.3.0 + rollup: 4.4.0 optionalDependencies: fsevents: 2.3.3 dev: false - /vite@5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3): - resolution: {integrity: sha512-ZTWO3PUCil8l23vHQjkyyhUzZ3bsG3KqVUlqpkcPZ0KHrPkzL97fIy3yYtb2aedteJj8gqXnKqOZU+LCNJnDOw==} + /vite@5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3): + resolution: {integrity: sha512-Huoj7XUlkhSLHhIOf4FgDrxmHJMKgfvG9ocB4kJmTKSeWfLgHIQ86xYC8+eA/RBxFo9zRQXX81VUgW8l7Wri3Q==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -26267,12 +26164,12 @@ packages: esbuild: 0.19.5 less: 4.1.3 postcss: 8.4.31 - rollup: 4.3.0 + rollup: 4.4.0 optionalDependencies: fsevents: 2.3.3 - /vite@5.0.0-beta.17(@types/node@20.8.2): - resolution: {integrity: sha512-ZTWO3PUCil8l23vHQjkyyhUzZ3bsG3KqVUlqpkcPZ0KHrPkzL97fIy3yYtb2aedteJj8gqXnKqOZU+LCNJnDOw==} + /vite@5.0.0-beta.19(@types/node@20.8.2): + resolution: {integrity: sha512-Huoj7XUlkhSLHhIOf4FgDrxmHJMKgfvG9ocB4kJmTKSeWfLgHIQ86xYC8+eA/RBxFo9zRQXX81VUgW8l7Wri3Q==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -26302,20 +26199,20 @@ packages: '@types/node': 20.8.2 esbuild: 0.19.5 postcss: 8.4.31 - rollup: 4.3.0 + rollup: 4.4.0 optionalDependencies: fsevents: 2.3.3 dev: true - /vitefu@0.2.4(vite@5.0.0-beta.17): + /vitefu@0.2.4(vite@5.0.0-beta.19): resolution: {integrity: sha512-fanAXjSaf9xXtOOeno8wZXIhgia+CZury481LsDaV++lSvcU2R9Ch2bPh3PYFyoHW+w9LqAeYRISVQjUIew14g==} peerDependencies: - vite: ^5.0.0-beta.15 + vite: ^5.0.0-beta.19 peerDependenciesMeta: vite: optional: true dependencies: - vite: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + vite: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) dev: true /vitepress@1.0.0-rc.25(@types/node@18.18.9)(postcss@8.4.31)(search-insights@2.9.0)(typescript@5.2.2): @@ -26333,7 +26230,7 @@ packages: '@docsearch/css': 3.5.2 '@docsearch/js': 3.5.2(search-insights@2.9.0) '@types/markdown-it': 13.0.5 - '@vitejs/plugin-vue': 4.3.1(vite@5.0.0-beta.17)(vue@3.3.8) + '@vitejs/plugin-vue': 4.3.1(vite@5.0.0-beta.19)(vue@3.3.8) '@vue/devtools-api': 6.5.1 '@vueuse/core': 10.6.0(vue@3.3.8) '@vueuse/integrations': 10.5.0(focus-trap@7.5.4)(vue@3.3.8) @@ -26342,7 +26239,7 @@ packages: minisearch: 6.1.0 postcss: 8.4.31 shiki: 0.14.5 - vite: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) + vite: 5.0.0-beta.19(@types/node@18.18.9)(less@4.1.3) vue: 3.3.8(typescript@5.2.2) transitivePeerDependencies: - '@algolia/client-search' diff --git a/test/core/src/aliased-mod.ts b/test/core/src/aliased-mod.ts index 8e07430844bb..2f33bf831eb7 100644 --- a/test/core/src/aliased-mod.ts +++ b/test/core/src/aliased-mod.ts @@ -1,9 +1 @@ export const isAliased = true - -export function getPaths() { - return { - __filename, - __dirname, - url: import.meta.url, - } -} diff --git a/test/core/test/file-path.test.ts b/test/core/test/file-path.test.ts index deb77575f40d..d7c44a8f7aad 100644 --- a/test/core/test/file-path.test.ts +++ b/test/core/test/file-path.test.ts @@ -2,34 +2,8 @@ import { existsSync } from 'node:fs' import { describe, expect, it, vi } from 'vitest' import { isWindows, slash, toFilePath } from '../../../packages/vite-node/src/utils' -// @ts-expect-error aliased to ../src/aliased-mod.ts -import { getPaths as getAbsoluteAliasedPaths } from '$/aliased-mod' - -// @ts-expect-error aliased to ../src/aliased-mod.ts -import { getPaths as getRelativeAliasedPath } from '#/aliased-mod' - vi.mock('fs') -describe('test aliased paths', () => { - it('expect functions to be part of the same module', () => { - expect(getAbsoluteAliasedPaths).toBe(getRelativeAliasedPath) - }) - - it.runIf(!isWindows)('paths on unix', () => { - const paths = getAbsoluteAliasedPaths() - expect(paths.url).toMatch(/\/aliased-mod.ts$/) - expect(paths.__filename).toMatch(/\/aliased-mod.ts$/) - expect(paths.__dirname).toMatch(/\/core\/src$/) - }) - - it.runIf(isWindows)('paths on windows', () => { - const paths = getAbsoluteAliasedPaths() - expect(paths.url).toMatch(/\/aliased-mod.ts$/) - expect(paths.__filename).toMatch(/\\aliased-mod.ts$/) - expect(paths.__dirname).toMatch(/\\core\\src$/) - }) -}) - describe('current url', () => { describe.runIf(!isWindows)('unix', () => { it('__filename', () => { diff --git a/test/core/vite.config.ts b/test/core/vite.config.ts index a7f18bd70e70..f4e13ad7ad24 100644 --- a/test/core/vite.config.ts +++ b/test/core/vite.config.ts @@ -36,7 +36,6 @@ export default defineConfig({ resolve: { alias: [ { find: '#', replacement: resolve(__dirname, 'src') }, - { find: '$', replacement: 'src' }, { find: /^custom-lib$/, replacement: resolve(__dirname, 'projects', 'custom-lib') }, { find: /^inline-lib$/, replacement: resolve(__dirname, 'projects', 'inline-lib') }, ],