From 8f65ae906775562ecd244775cc77cface65d50ff Mon Sep 17 00:00:00 2001 From: Vladimir Date: Thu, 4 Jul 2024 15:01:33 +0200 Subject: [PATCH] fix: transpile esnext to node18 to support newest JS and TS features (#4409) --- .github/actions/setup-and-cache/action.yml | 2 +- .github/workflows/bench.yml | 2 +- .github/workflows/publish.yml | 2 +- package.json | 2 +- packages/vitest/src/node/plugins/index.ts | 3 +- packages/vitest/src/node/plugins/workspace.ts | 15 +- pnpm-lock.yaml | 638 +++++------------- test/core/test/esnext.test.ts | 52 ++ 8 files changed, 224 insertions(+), 492 deletions(-) create mode 100644 test/core/test/esnext.test.ts diff --git a/.github/actions/setup-and-cache/action.yml b/.github/actions/setup-and-cache/action.yml index 553b85f98c71..1a87e6900c5d 100644 --- a/.github/actions/setup-and-cache/action.yml +++ b/.github/actions/setup-and-cache/action.yml @@ -11,7 +11,7 @@ runs: steps: - name: Install pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 - name: Set node version to ${{ inputs.node-version }} uses: actions/setup-node@v4 diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index 3199e08a0f5f..3e7bb9ad04b9 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v4 - name: Install pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 - name: Install node uses: actions/setup-node@v4 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 73e1feb3eb01..31aeb4810a47 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -20,7 +20,7 @@ jobs: fetch-depth: 0 - name: Install pnpm - uses: pnpm/action-setup@v3 + uses: pnpm/action-setup@v4 - name: Set node version to 20 uses: actions/setup-node@v4 diff --git a/package.json b/package.json index 4190bc75880e..53e2efa3ad2c 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "simple-git-hooks": "^2.11.1", "tsx": "^4.16.0", "typescript": "^5.5.2", - "vite": "^5.2.6", + "vite": "^5.3.3", "vitest": "workspace:*", "zx": "^8.1.3" }, diff --git a/packages/vitest/src/node/plugins/index.ts b/packages/vitest/src/node/plugins/index.ts index ea664d129c4c..dcf6a28987ae 100644 --- a/packages/vitest/src/node/plugins/index.ts +++ b/packages/vitest/src/node/plugins/index.ts @@ -81,8 +81,9 @@ export async function VitestPlugin( viteConfig.esbuild === false ? false : { + // Lowest target Vitest supports is Node18 + target: viteConfig.esbuild?.target || 'node18', sourcemap: 'external', - // Enables using ignore hint for coverage providers with @preserve keyword legalComments: 'inline', }, diff --git a/packages/vitest/src/node/plugins/workspace.ts b/packages/vitest/src/node/plugins/workspace.ts index c6e1af2d6ac7..ff1c79716d4e 100644 --- a/packages/vitest/src/node/plugins/workspace.ts +++ b/packages/vitest/src/node/plugins/workspace.ts @@ -70,12 +70,15 @@ export function WorkspaceVitestPlugin( alias: testConfig.alias, conditions: ['node'], }, - esbuild: { - sourcemap: 'external', - - // Enables using ignore hint for coverage providers with @preserve keyword - legalComments: 'inline', - }, + esbuild: viteConfig.esbuild === false + ? false + : { + // Lowest target Vitest supports is Node18 + target: viteConfig.esbuild?.target || 'node18', + sourcemap: 'external', + // Enables using ignore hint for coverage providers with @preserve keyword + legalComments: 'inline', + }, server: { // disable watch mode in workspaces, // because it is handled by the top-level watcher diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1c9c4fafeb7f..a32c48d53881 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -7,7 +7,7 @@ settings: overrides: mlly: ^1.7.1 rollup: ^4.18.0 - vite: ^5.2.6 + vite: ^5.3.3 vitest: workspace:* patchedDependencies: @@ -36,7 +36,7 @@ importers: devDependencies: '@antfu/eslint-config': specifier: ^2.21.2 - version: 2.21.2(@vue/compiler-sfc@3.4.29)(eslint@9.6.0)(typescript@5.5.2)(vitest@packages+vitest) + version: 2.21.2(@vue/compiler-sfc@3.4.31)(eslint@9.6.0)(typescript@5.5.2)(vitest@packages+vitest) '@antfu/ni': specifier: ^0.21.12 version: 0.21.12 @@ -116,8 +116,8 @@ importers: specifier: ^5.5.2 version: 5.5.2 vite: - specifier: ^5.2.6 - version: 5.2.6(@types/node@20.14.9) + specifier: ^5.3.3 + version: 5.3.3(@types/node@20.14.9) vitest: specifier: workspace:* version: link:packages/vitest @@ -154,7 +154,7 @@ importers: version: 0.5.0(@vite-pwa/assets-generator@0.2.4)(vite-plugin-pwa@0.20.0) '@vitejs/plugin-vue': specifier: latest - version: 5.0.4(vite@5.2.6)(vue@3.4.31) + version: 5.0.4(vite@5.3.3)(vue@3.4.31) fast-glob: specifier: ^3.3.2 version: 3.3.2 @@ -163,16 +163,16 @@ importers: version: 4.7.1 unocss: specifier: ^0.61.0 - version: 0.61.0(postcss@8.4.38)(rollup@4.18.0)(vite@5.2.6) + version: 0.61.0(postcss@8.4.38)(rollup@4.18.0)(vite@5.3.3) unplugin-vue-components: specifier: ^0.27.2 version: 0.27.2(rollup@4.18.0)(vue@3.4.31) vite: - specifier: ^5.2.6 - version: 5.2.6(@types/node@20.14.9) + specifier: ^5.3.3 + version: 5.3.3(@types/node@20.14.9) vite-plugin-pwa: specifier: ^0.20.0 - version: 0.20.0(@vite-pwa/assets-generator@0.2.4)(vite@5.2.6)(workbox-build@7.1.0)(workbox-window@7.1.0) + version: 0.20.0(@vite-pwa/assets-generator@0.2.4)(vite@5.3.3)(workbox-build@7.1.0)(workbox-window@7.1.0) vitepress: specifier: ^1.2.3 version: 1.2.3(@types/node@20.14.9)(postcss@8.4.38)(search-insights@2.9.0)(typescript@5.5.2) @@ -186,8 +186,8 @@ importers: specifier: latest version: link:../../packages/ui vite: - specifier: ^5.2.6 - version: 5.2.6(@types/node@20.14.9) + specifier: ^5.3.3 + version: 5.3.3(@types/node@20.14.9) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -207,8 +207,8 @@ importers: specifier: ^4.7.2 version: 4.7.2 vite: - specifier: ^5.2.6 - version: 5.2.10(@types/node@20.14.9) + specifier: ^5.3.3 + version: 5.3.3(@types/node@20.14.9) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -229,8 +229,8 @@ importers: specifier: latest version: 24.0.0 vite: - specifier: ^5.2.6 - version: 5.2.6(@types/node@20.14.9) + specifier: ^5.3.3 + version: 5.3.3(@types/node@20.14.9) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -255,7 +255,7 @@ importers: devDependencies: '@preact/preset-vite': specifier: ^2.8.2 - version: 2.8.2(@babel/core@7.24.7)(preact@10.21.0)(vite@5.2.10) + version: 2.8.2(@babel/core@7.24.7)(preact@10.21.0)(vite@5.3.3) '@testing-library/jest-dom': specifier: ^6.4.2 version: 6.4.2(vitest@packages+vitest) @@ -269,8 +269,8 @@ importers: specifier: ^5.4.5 version: 5.4.5 vite: - specifier: ^5.2.6 - version: 5.2.10(@types/node@20.14.9) + specifier: ^5.3.3 + version: 5.3.3(@types/node@20.14.9) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -300,8 +300,8 @@ importers: specifier: ^24.0.0 version: 24.0.0 vite: - specifier: ^5.2.6 - version: 5.2.6(@types/node@20.14.9) + specifier: ^5.3.3 + version: 5.3.3(@types/node@20.14.9) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -322,11 +322,11 @@ importers: specifier: latest version: 24.0.0 vite: - specifier: ^5.2.6 - version: 5.2.6(@types/node@20.14.9) + specifier: ^5.3.3 + version: 5.3.3(@types/node@20.14.9) vite-plugin-solid: specifier: ^2.7.2 - version: 2.7.2(solid-js@1.8.3)(vite@5.2.6) + version: 2.7.2(solid-js@1.8.3)(vite@5.3.3) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -338,7 +338,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.2.6) + version: 1.20.2(svelte@3.59.1)(vite@5.3.3) svelte: specifier: ^3.59.1 version: 3.59.1 @@ -352,8 +352,8 @@ importers: specifier: ^5.2.2 version: 5.2.2 vite: - specifier: ^5.2.6 - version: 5.2.6(@types/node@20.14.9) + specifier: ^5.3.3 + version: 5.3.3(@types/node@20.14.9) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -370,8 +370,8 @@ importers: specifier: ^5.2.2 version: 5.2.2 vite: - specifier: ^5.2.6 - version: 5.2.6(@types/node@20.11.5) + specifier: ^5.3.3 + version: 5.3.3(@types/node@20.11.5) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -392,7 +392,7 @@ importers: version: 18.2.79 '@vitejs/plugin-react': specifier: ^4.2.1 - version: 4.2.1(vite@5.2.10) + version: 4.2.1(vite@5.3.3) '@vitest/ui': specifier: latest version: link:../../packages/ui @@ -412,8 +412,8 @@ importers: specifier: ^4.7.2 version: 4.7.2 vite: - specifier: ^5.2.6 - version: 5.2.10(@types/node@20.14.9) + specifier: ^5.3.3 + version: 5.3.3(@types/node@20.14.9) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -719,7 +719,7 @@ importers: version: 1.1.43 '@testing-library/vue': specifier: ^8.1.0 - version: 8.1.0(@vue/compiler-sfc@3.4.29)(vue@3.4.31) + version: 8.1.0(@vue/compiler-sfc@3.4.31)(vue@3.4.31) '@types/codemirror': specifier: ^5.60.15 version: 5.60.15 @@ -737,7 +737,7 @@ importers: version: 0.61.0 '@vitejs/plugin-vue': specifier: ^5.0.5 - version: 5.0.5(vite@5.2.6)(vue@3.4.31) + version: 5.0.5(vite@5.3.3)(vue@3.4.31) '@vitest/runner': specifier: workspace:* version: link:../runner @@ -770,7 +770,7 @@ importers: version: 3.1.5 unocss: specifier: ^0.61.0 - version: 0.61.0(postcss@8.4.38)(rollup@4.18.0)(vite@5.2.6) + version: 0.61.0(postcss@8.4.38)(rollup@4.18.0)(vite@5.3.3) unplugin-auto-import: specifier: ^0.17.6 version: 0.17.6(@vueuse/core@10.11.0)(rollup@4.18.0) @@ -778,11 +778,11 @@ importers: specifier: ^0.27.2 version: 0.27.2(rollup@4.18.0)(vue@3.4.31) vite: - specifier: ^5.2.6 - version: 5.2.6(@types/node@20.14.9) + specifier: ^5.3.3 + version: 5.3.3(@types/node@20.14.9) vite-plugin-pages: specifier: ^0.32.3 - version: 0.32.3(@vue/compiler-sfc@3.4.29)(vite@5.2.6)(vue-router@4.4.0) + version: 0.32.3(@vue/compiler-sfc@3.4.31)(vite@5.3.3)(vue-router@4.4.0) vue: specifier: ^3.4.31 version: 3.4.31(typescript@5.5.2) @@ -830,8 +830,8 @@ importers: specifier: ^1.0.1 version: 1.0.1 vite: - specifier: ^5.2.6 - version: 5.2.6(@types/node@20.14.9) + specifier: ^5.3.3 + version: 5.3.3(@types/node@20.14.9) devDependencies: '@jridgewell/trace-mapping': specifier: ^0.3.25 @@ -894,8 +894,8 @@ importers: specifier: ^1.0.0 version: 1.0.0 vite: - specifier: ^5.2.6 - version: 5.2.6(@types/node@20.14.9) + specifier: ^5.3.3 + version: 5.3.3(@types/node@20.14.9) vite-node: specifier: workspace:* version: link:../vite-node @@ -1045,7 +1045,7 @@ importers: devDependencies: '@vitejs/plugin-basic-ssl': specifier: ^1.0.2 - version: 1.0.2(vite@5.2.10) + version: 1.0.2(vite@5.3.3) '@vitest/browser': specifier: workspace:* version: link:../../packages/browser @@ -1081,7 +1081,7 @@ importers: version: 8.5.9 '@vitejs/plugin-basic-ssl': specifier: ^1.0.2 - version: 1.0.2(vite@5.2.6) + version: 1.0.2(vite@5.3.3) '@vitest/runner': specifier: workspace:^ version: link:../../packages/runner @@ -1098,8 +1098,8 @@ importers: specifier: ^1.4.4 version: 1.4.4(@swc/core@1.4.1)(rollup@4.18.0) vite: - specifier: ^5.2.6 - version: 5.2.6(@types/node@20.14.9) + specifier: ^5.3.3 + version: 5.3.3(@types/node@20.14.9) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -1113,8 +1113,8 @@ importers: specifier: ^8.0.1 version: 8.0.1 vite: - specifier: ^5.2.6 - version: 5.2.6(@types/node@20.14.9) + specifier: ^5.3.3 + version: 5.3.3(@types/node@20.14.9) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -1198,7 +1198,7 @@ importers: version: 3.0.3 '@vitejs/plugin-vue': specifier: latest - version: 5.0.4(vite@5.2.6)(vue@3.4.21) + version: 5.0.4(vite@5.3.3)(vue@3.4.21) '@vitest/browser': specifier: workspace:* version: link:../../packages/browser @@ -1230,8 +1230,8 @@ importers: specifier: ^1.4.4 version: 1.4.4(@swc/core@1.4.1)(rollup@4.18.0) vite: - specifier: ^5.2.6 - version: 5.2.6(@types/node@20.14.9) + specifier: ^5.3.3 + version: 5.3.3(@types/node@20.14.9) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -1290,8 +1290,8 @@ importers: specifier: ^7.0.1 version: 7.0.1 vite: - specifier: ^5.2.6 - version: 5.2.6(@types/node@20.14.9) + specifier: ^5.3.3 + version: 5.3.3(@types/node@20.14.9) vite-node: specifier: workspace:* version: link:../../packages/vite-node @@ -1351,8 +1351,8 @@ importers: specifier: workspace:* version: link:../../packages/browser vite: - specifier: ^5.2.6 - version: 5.2.6(@types/node@20.14.9) + specifier: ^5.3.3 + version: 5.3.3(@types/node@20.14.9) vitest: specifier: workspace:* version: link:../../packages/vitest @@ -1559,7 +1559,7 @@ packages: '@jridgewell/gen-mapping': 0.3.5 '@jridgewell/trace-mapping': 0.3.25 - /@antfu/eslint-config@2.21.2(@vue/compiler-sfc@3.4.29)(eslint@9.6.0)(typescript@5.5.2)(vitest@packages+vitest): + /@antfu/eslint-config@2.21.2(@vue/compiler-sfc@3.4.31)(eslint@9.6.0)(typescript@5.5.2)(vitest@packages+vitest): resolution: {integrity: sha512-qaKf+af5GeSNTvTzxtSmpitwLZWIwl/uURxQZhhoHCoA1PxofFHSpCNVYLSvPlj17lwT/DzWgovgL/08uXG9aQ==} hasBin: true peerDependencies: @@ -1631,7 +1631,7 @@ packages: eslint-plugin-vitest: 0.5.4(@typescript-eslint/eslint-plugin@7.14.1)(eslint@9.6.0)(typescript@5.5.2)(vitest@packages+vitest) eslint-plugin-vue: 9.26.0(eslint@9.6.0) eslint-plugin-yml: 1.14.0(eslint@9.6.0) - eslint-processor-vue-blocks: 0.1.2(@vue/compiler-sfc@3.4.29)(eslint@9.6.0) + eslint-processor-vue-blocks: 0.1.2(@vue/compiler-sfc@3.4.31)(eslint@9.6.0) globals: 15.7.0 jsonc-eslint-parser: 2.4.0 local-pkg: 0.5.0 @@ -3470,21 +3470,12 @@ packages: dev: true optional: true - /@esbuild/aix-ppc64@0.20.2: - resolution: {integrity: sha512-D+EBOJHXdNZcLJRBkhENNG8Wji2kgc9AZ9KiPr1JuZjsNtyHzrsfLRrY0tk2H2aoFu6RANO1y1iPPUCDYWkb5g==} - engines: {node: '>=12'} - cpu: [ppc64] - os: [aix] - requiresBuild: true - optional: true - /@esbuild/aix-ppc64@0.21.5: resolution: {integrity: sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==} engines: {node: '>=12'} cpu: [ppc64] os: [aix] requiresBuild: true - dev: true optional: true /@esbuild/aix-ppc64@0.22.0: @@ -3505,21 +3496,12 @@ packages: dev: true optional: true - /@esbuild/android-arm64@0.20.2: - resolution: {integrity: sha512-mRzjLacRtl/tWU0SvD8lUEwb61yP9cqQo6noDZP/O8VkwafSYwZ4yWy24kan8jE/IMERpYncRt2dw438LP3Xmg==} - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true - optional: true - /@esbuild/android-arm64@0.21.5: resolution: {integrity: sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==} engines: {node: '>=12'} cpu: [arm64] os: [android] requiresBuild: true - dev: true optional: true /@esbuild/android-arm64@0.22.0: @@ -3540,21 +3522,12 @@ packages: dev: true optional: true - /@esbuild/android-arm@0.20.2: - resolution: {integrity: sha512-t98Ra6pw2VaDhqNWO2Oph2LXbz/EJcnLmKLGBJwEwXX/JAN83Fym1rU8l0JUWK6HkIbWONCSSatf4sf2NBRx/w==} - engines: {node: '>=12'} - cpu: [arm] - os: [android] - requiresBuild: true - optional: true - /@esbuild/android-arm@0.21.5: resolution: {integrity: sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==} engines: {node: '>=12'} cpu: [arm] os: [android] requiresBuild: true - dev: true optional: true /@esbuild/android-arm@0.22.0: @@ -3575,21 +3548,12 @@ packages: dev: true optional: true - /@esbuild/android-x64@0.20.2: - resolution: {integrity: sha512-btzExgV+/lMGDDa194CcUQm53ncxzeBrWJcncOBxuC6ndBkKxnHdFJn86mCIgTELsooUmwUm9FkhSp5HYu00Rg==} - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true - optional: true - /@esbuild/android-x64@0.21.5: resolution: {integrity: sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==} engines: {node: '>=12'} cpu: [x64] os: [android] requiresBuild: true - dev: true optional: true /@esbuild/android-x64@0.22.0: @@ -3610,21 +3574,12 @@ packages: dev: true optional: true - /@esbuild/darwin-arm64@0.20.2: - resolution: {integrity: sha512-4J6IRT+10J3aJH3l1yzEg9y3wkTDgDk7TSDFX+wKFiWjqWp/iCfLIYzGyasx9l0SAFPT1HwSCR+0w/h1ES/MjA==} - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - optional: true - /@esbuild/darwin-arm64@0.21.5: resolution: {integrity: sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==} engines: {node: '>=12'} cpu: [arm64] os: [darwin] requiresBuild: true - dev: true optional: true /@esbuild/darwin-arm64@0.22.0: @@ -3645,21 +3600,12 @@ packages: dev: true optional: true - /@esbuild/darwin-x64@0.20.2: - resolution: {integrity: sha512-tBcXp9KNphnNH0dfhv8KYkZhjc+H3XBkF5DKtswJblV7KlT9EI2+jeA8DgBjp908WEuYll6pF+UStUCfEpdysA==} - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true - optional: true - /@esbuild/darwin-x64@0.21.5: resolution: {integrity: sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==} engines: {node: '>=12'} cpu: [x64] os: [darwin] requiresBuild: true - dev: true optional: true /@esbuild/darwin-x64@0.22.0: @@ -3680,21 +3626,12 @@ packages: dev: true optional: true - /@esbuild/freebsd-arm64@0.20.2: - resolution: {integrity: sha512-d3qI41G4SuLiCGCFGUrKsSeTXyWG6yem1KcGZVS+3FYlYhtNoNgYrWcvkOoaqMhwXSMrZRl69ArHsGJ9mYdbbw==} - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true - optional: true - /@esbuild/freebsd-arm64@0.21.5: resolution: {integrity: sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==} engines: {node: '>=12'} cpu: [arm64] os: [freebsd] requiresBuild: true - dev: true optional: true /@esbuild/freebsd-arm64@0.22.0: @@ -3715,21 +3652,12 @@ packages: dev: true optional: true - /@esbuild/freebsd-x64@0.20.2: - resolution: {integrity: sha512-d+DipyvHRuqEeM5zDivKV1KuXn9WeRX6vqSqIDgwIfPQtwMP4jaDsQsDncjTDDsExT4lR/91OLjRo8bmC1e+Cw==} - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true - optional: true - /@esbuild/freebsd-x64@0.21.5: resolution: {integrity: sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==} engines: {node: '>=12'} cpu: [x64] os: [freebsd] requiresBuild: true - dev: true optional: true /@esbuild/freebsd-x64@0.22.0: @@ -3750,21 +3678,12 @@ packages: dev: true optional: true - /@esbuild/linux-arm64@0.20.2: - resolution: {integrity: sha512-9pb6rBjGvTFNira2FLIWqDk/uaf42sSyLE8j1rnUpuzsODBq7FvpwHYZxQ/It/8b+QOS1RYfqgGFNLRI+qlq2A==} - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true - optional: true - /@esbuild/linux-arm64@0.21.5: resolution: {integrity: sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==} engines: {node: '>=12'} cpu: [arm64] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/linux-arm64@0.22.0: @@ -3785,21 +3704,12 @@ packages: dev: true optional: true - /@esbuild/linux-arm@0.20.2: - resolution: {integrity: sha512-VhLPeR8HTMPccbuWWcEUD1Az68TqaTYyj6nfE4QByZIQEQVWBB8vup8PpR7y1QHL3CpcF6xd5WVBU/+SBEvGTg==} - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true - optional: true - /@esbuild/linux-arm@0.21.5: resolution: {integrity: sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==} engines: {node: '>=12'} cpu: [arm] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/linux-arm@0.22.0: @@ -3820,21 +3730,12 @@ packages: dev: true optional: true - /@esbuild/linux-ia32@0.20.2: - resolution: {integrity: sha512-o10utieEkNPFDZFQm9CoP7Tvb33UutoJqg3qKf1PWVeeJhJw0Q347PxMvBgVVFgouYLGIhFYG0UGdBumROyiig==} - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - requiresBuild: true - optional: true - /@esbuild/linux-ia32@0.21.5: resolution: {integrity: sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==} engines: {node: '>=12'} cpu: [ia32] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/linux-ia32@0.22.0: @@ -3855,21 +3756,12 @@ packages: dev: true optional: true - /@esbuild/linux-loong64@0.20.2: - resolution: {integrity: sha512-PR7sp6R/UC4CFVomVINKJ80pMFlfDfMQMYynX7t1tNTeivQ6XdX5r2XovMmha/VjR1YN/HgHWsVcTRIMkymrgQ==} - engines: {node: '>=12'} - cpu: [loong64] - os: [linux] - requiresBuild: true - optional: true - /@esbuild/linux-loong64@0.21.5: resolution: {integrity: sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==} engines: {node: '>=12'} cpu: [loong64] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/linux-loong64@0.22.0: @@ -3890,21 +3782,12 @@ packages: dev: true optional: true - /@esbuild/linux-mips64el@0.20.2: - resolution: {integrity: sha512-4BlTqeutE/KnOiTG5Y6Sb/Hw6hsBOZapOVF6njAESHInhlQAghVVZL1ZpIctBOoTFbQyGW+LsVYZ8lSSB3wkjA==} - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true - optional: true - /@esbuild/linux-mips64el@0.21.5: resolution: {integrity: sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==} engines: {node: '>=12'} cpu: [mips64el] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/linux-mips64el@0.22.0: @@ -3925,21 +3808,12 @@ packages: dev: true optional: true - /@esbuild/linux-ppc64@0.20.2: - resolution: {integrity: sha512-rD3KsaDprDcfajSKdn25ooz5J5/fWBylaaXkuotBDGnMnDP1Uv5DLAN/45qfnf3JDYyJv/ytGHQaziHUdyzaAg==} - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true - optional: true - /@esbuild/linux-ppc64@0.21.5: resolution: {integrity: sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==} engines: {node: '>=12'} cpu: [ppc64] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/linux-ppc64@0.22.0: @@ -3960,21 +3834,12 @@ packages: dev: true optional: true - /@esbuild/linux-riscv64@0.20.2: - resolution: {integrity: sha512-snwmBKacKmwTMmhLlz/3aH1Q9T8v45bKYGE3j26TsaOVtjIag4wLfWSiZykXzXuE1kbCE+zJRmwp+ZbIHinnVg==} - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true - optional: true - /@esbuild/linux-riscv64@0.21.5: resolution: {integrity: sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==} engines: {node: '>=12'} cpu: [riscv64] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/linux-riscv64@0.22.0: @@ -3995,21 +3860,12 @@ packages: dev: true optional: true - /@esbuild/linux-s390x@0.20.2: - resolution: {integrity: sha512-wcWISOobRWNm3cezm5HOZcYz1sKoHLd8VL1dl309DiixxVFoFe/o8HnwuIwn6sXre88Nwj+VwZUvJf4AFxkyrQ==} - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - requiresBuild: true - optional: true - /@esbuild/linux-s390x@0.21.5: resolution: {integrity: sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==} engines: {node: '>=12'} cpu: [s390x] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/linux-s390x@0.22.0: @@ -4030,21 +3886,12 @@ packages: dev: true optional: true - /@esbuild/linux-x64@0.20.2: - resolution: {integrity: sha512-1MdwI6OOTsfQfek8sLwgyjOXAu+wKhLEoaOLTjbijk6E2WONYpH9ZU2mNtR+lZ2B4uwr+usqGuVfFT9tMtGvGw==} - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true - optional: true - /@esbuild/linux-x64@0.21.5: resolution: {integrity: sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==} engines: {node: '>=12'} cpu: [x64] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/linux-x64@0.22.0: @@ -4065,21 +3912,12 @@ packages: dev: true optional: true - /@esbuild/netbsd-x64@0.20.2: - resolution: {integrity: sha512-K8/DhBxcVQkzYc43yJXDSyjlFeHQJBiowJ0uVL6Tor3jGQfSGHNNJcWxNbOI8v5k82prYqzPuwkzHt3J1T1iZQ==} - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true - optional: true - /@esbuild/netbsd-x64@0.21.5: resolution: {integrity: sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==} engines: {node: '>=12'} cpu: [x64] os: [netbsd] requiresBuild: true - dev: true optional: true /@esbuild/netbsd-x64@0.22.0: @@ -4109,21 +3947,12 @@ packages: dev: true optional: true - /@esbuild/openbsd-x64@0.20.2: - resolution: {integrity: sha512-eMpKlV0SThJmmJgiVyN9jTPJ2VBPquf6Kt/nAoo6DgHAoN57K15ZghiHaMvqjCye/uU4X5u3YSMgVBI1h3vKrQ==} - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true - optional: true - /@esbuild/openbsd-x64@0.21.5: resolution: {integrity: sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==} engines: {node: '>=12'} cpu: [x64] os: [openbsd] requiresBuild: true - dev: true optional: true /@esbuild/openbsd-x64@0.22.0: @@ -4144,21 +3973,12 @@ packages: dev: true optional: true - /@esbuild/sunos-x64@0.20.2: - resolution: {integrity: sha512-2UyFtRC6cXLyejf/YEld4Hajo7UHILetzE1vsRcGL3earZEW77JxrFjH4Ez2qaTiEfMgAXxfAZCm1fvM/G/o8w==} - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true - optional: true - /@esbuild/sunos-x64@0.21.5: resolution: {integrity: sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==} engines: {node: '>=12'} cpu: [x64] os: [sunos] requiresBuild: true - dev: true optional: true /@esbuild/sunos-x64@0.22.0: @@ -4179,21 +3999,12 @@ packages: dev: true optional: true - /@esbuild/win32-arm64@0.20.2: - resolution: {integrity: sha512-GRibxoawM9ZCnDxnP3usoUDO9vUkpAxIIZ6GQI+IlVmr5kP3zUq+l17xELTHMWTWzjxa2guPNyrpq1GWmPvcGQ==} - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - requiresBuild: true - optional: true - /@esbuild/win32-arm64@0.21.5: resolution: {integrity: sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==} engines: {node: '>=12'} cpu: [arm64] os: [win32] requiresBuild: true - dev: true optional: true /@esbuild/win32-arm64@0.22.0: @@ -4214,21 +4025,12 @@ packages: dev: true optional: true - /@esbuild/win32-ia32@0.20.2: - resolution: {integrity: sha512-HfLOfn9YWmkSKRQqovpnITazdtquEW8/SoHW7pWpuEeguaZI4QnCRW6b+oZTztdBnZOS2hqJ6im/D5cPzBTTlQ==} - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true - optional: true - /@esbuild/win32-ia32@0.21.5: resolution: {integrity: sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==} engines: {node: '>=12'} cpu: [ia32] os: [win32] requiresBuild: true - dev: true optional: true /@esbuild/win32-ia32@0.22.0: @@ -4249,21 +4051,12 @@ packages: dev: true optional: true - /@esbuild/win32-x64@0.20.2: - resolution: {integrity: sha512-N49X4lJX27+l9jbLKSqZ6bKNjzQvHaT8IIFUy+YIqmXQdjYCToGWwOItDrfby14c78aDd5NHQl29xingXfCdLQ==} - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true - optional: true - /@esbuild/win32-x64@0.21.5: resolution: {integrity: sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==} engines: {node: '>=12'} cpu: [x64] os: [win32] requiresBuild: true - dev: true optional: true /@esbuild/win32-x64@0.22.0: @@ -4643,16 +4436,16 @@ packages: preact: 10.21.0 dev: false - /@preact/preset-vite@2.8.2(@babel/core@7.24.7)(preact@10.21.0)(vite@5.2.10): + /@preact/preset-vite@2.8.2(@babel/core@7.24.7)(preact@10.21.0)(vite@5.3.3): resolution: {integrity: sha512-m3tl+M8IO8jgiHnk+7LSTFl8axdPXloewi7iGVLdmCwf34XOzEUur0bZVewW4DUbUipFjTS2CXu27+5f/oexBA==} peerDependencies: '@babel/core': 7.x - vite: ^5.2.6 + vite: ^5.3.3 dependencies: '@babel/core': 7.24.7 '@babel/plugin-transform-react-jsx': 7.22.15(@babel/core@7.24.7) '@babel/plugin-transform-react-jsx-development': 7.22.5(@babel/core@7.24.7) - '@prefresh/vite': 2.4.1(preact@10.21.0)(vite@5.2.10) + '@prefresh/vite': 2.4.1(preact@10.21.0)(vite@5.3.3) '@rollup/pluginutils': 4.2.1 babel-plugin-transform-hook-names: 1.0.2(@babel/core@7.24.7) debug: 4.3.4 @@ -4662,7 +4455,7 @@ packages: resolve: 1.22.8 source-map: 0.7.4 stack-trace: 1.0.0-pre2 - vite: 5.2.10(@types/node@20.14.9) + vite: 5.3.3(@types/node@20.14.9) transitivePeerDependencies: - preact - supports-color @@ -4684,11 +4477,11 @@ packages: resolution: {integrity: sha512-KtC/fZw+oqtwOLUFM9UtiitB0JsVX0zLKNyRTA332sqREqSALIIQQxdUCS1P3xR/jT1e2e8/5rwH6gdcMLEmsQ==} dev: true - /@prefresh/vite@2.4.1(preact@10.21.0)(vite@5.2.10): + /@prefresh/vite@2.4.1(preact@10.21.0)(vite@5.3.3): resolution: {integrity: sha512-vthWmEqu8TZFeyrBNc9YE5SiC3DVSzPgsOCp/WQ7FqdHpOIJi7Z8XvCK06rBPOtG4914S52MjG9Ls22eVAiuqQ==} peerDependencies: preact: ^10.4.0 - vite: ^5.2.6 + vite: ^5.3.3 dependencies: '@babel/core': 7.24.5 '@prefresh/babel-plugin': 0.5.0 @@ -4696,7 +4489,7 @@ packages: '@prefresh/utils': 1.2.0 '@rollup/pluginutils': 4.2.1 preact: 10.21.0 - vite: 5.2.10(@types/node@20.14.9) + vite: 5.3.3(@types/node@20.14.9) transitivePeerDependencies: - supports-color dev: true @@ -5167,20 +4960,20 @@ packages: peerDependencies: '@sveltejs/kit': ^1.0.0 dependencies: - '@sveltejs/kit': 1.20.2(svelte@3.59.1)(vite@5.2.6) + '@sveltejs/kit': 1.20.2(svelte@3.59.1)(vite@5.3.3) import-meta-resolve: 3.0.0 dev: true - /@sveltejs/kit@1.20.2(svelte@3.59.1)(vite@5.2.6): + /@sveltejs/kit@1.20.2(svelte@3.59.1)(vite@5.3.3): 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.2.6 + vite: ^5.3.3 dependencies: - '@sveltejs/vite-plugin-svelte': 2.4.6(svelte@3.59.1)(vite@5.2.6) + '@sveltejs/vite-plugin-svelte': 2.4.6(svelte@3.59.1)(vite@5.3.3) '@types/cookie': 0.5.1 cookie: 0.5.0 devalue: 4.3.2 @@ -5194,43 +4987,43 @@ packages: svelte: 3.59.1 tiny-glob: 0.2.9 undici: 5.22.1 - vite: 5.2.6(@types/node@20.14.9) + vite: 5.3.3(@types/node@20.14.9) 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.2.6): + /@sveltejs/vite-plugin-svelte-inspector@1.0.4(@sveltejs/vite-plugin-svelte@2.4.6)(svelte@3.59.1)(vite@5.3.3): 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.2.6 + vite: ^5.3.3 dependencies: - '@sveltejs/vite-plugin-svelte': 2.4.6(svelte@3.59.1)(vite@5.2.6) + '@sveltejs/vite-plugin-svelte': 2.4.6(svelte@3.59.1)(vite@5.3.3) debug: 4.3.5 svelte: 3.59.1 - vite: 5.2.6(@types/node@20.14.9) + vite: 5.3.3(@types/node@20.14.9) transitivePeerDependencies: - supports-color dev: true - /@sveltejs/vite-plugin-svelte@2.4.6(svelte@3.59.1)(vite@5.2.6): + /@sveltejs/vite-plugin-svelte@2.4.6(svelte@3.59.1)(vite@5.3.3): resolution: {integrity: sha512-zO79p0+DZnXPnF0ltIigWDx/ux7Ni+HRaFOw720Qeivc1azFUrJxTl0OryXVibYNx1hCboGia1NRV3x8RNv4cA==} engines: {node: ^14.18.0 || >= 16} peerDependencies: svelte: ^3.54.0 || ^4.0.0 - vite: ^5.2.6 + vite: ^5.3.3 dependencies: - '@sveltejs/vite-plugin-svelte-inspector': 1.0.4(@sveltejs/vite-plugin-svelte@2.4.6)(svelte@3.59.1)(vite@5.2.6) + '@sveltejs/vite-plugin-svelte-inspector': 1.0.4(@sveltejs/vite-plugin-svelte@2.4.6)(svelte@3.59.1)(vite@5.3.3) debug: 4.3.5 deepmerge: 4.3.1 kleur: 4.1.5 magic-string: 0.30.10 svelte: 3.59.1 svelte-hmr: 0.15.3(svelte@3.59.1) - vite: 5.2.6(@types/node@20.14.9) - vitefu: 0.2.5(vite@5.2.6) + vite: 5.3.3(@types/node@20.14.9) + vitefu: 0.2.5(vite@5.3.3) transitivePeerDependencies: - supports-color dev: true @@ -5531,7 +5324,7 @@ packages: dependencies: '@testing-library/dom': 10.2.0 - /@testing-library/vue@8.1.0(@vue/compiler-sfc@3.4.29)(vue@3.4.31): + /@testing-library/vue@8.1.0(@vue/compiler-sfc@3.4.31)(vue@3.4.31): resolution: {integrity: sha512-ls4RiHO1ta4mxqqajWRh8158uFObVrrtAPoxk7cIp4HrnQUj/ScKzqz53HxYpG3X6Zb7H2v+0eTGLSoy8HQ2nA==} engines: {node: '>=14'} peerDependencies: @@ -5543,7 +5336,7 @@ packages: dependencies: '@babel/runtime': 7.24.4 '@testing-library/dom': 9.3.4 - '@vue/compiler-sfc': 3.4.29 + '@vue/compiler-sfc': 3.4.31 '@vue/test-utils': 2.4.6 vue: 3.4.31(typescript@5.5.2) dev: true @@ -5658,7 +5451,7 @@ packages: requiresBuild: true dependencies: '@types/jsonfile': 6.1.4 - '@types/node': 20.12.11 + '@types/node': 20.14.9 dev: true optional: true @@ -5746,7 +5539,7 @@ packages: resolution: {integrity: sha512-D5qGUYwjvnNNextdU59/+fI+spnwtTFmyQP0h+PfIOSkNfpU6AOICUOkm4i0OnSk+NyjdPJrxCDro0sJsWlRpQ==} requiresBuild: true dependencies: - '@types/node': 20.12.11 + '@types/node': 20.14.9 dev: true optional: true @@ -5954,7 +5747,7 @@ packages: resolution: {integrity: sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==} requiresBuild: true dependencies: - '@types/node': 20.12.11 + '@types/node': 20.14.9 dev: true optional: true @@ -6156,18 +5949,18 @@ packages: resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} dev: true - /@unocss/astro@0.61.0(rollup@4.18.0)(vite@5.2.6): + /@unocss/astro@0.61.0(rollup@4.18.0)(vite@5.3.3): resolution: {integrity: sha512-cbgztX/to5rMhAtEGCcR3ClMlK9F+lPxq21A72qsbWVQjiKa7W4O7qKBmUKPYsWRzJEJtdyN11A65H2037aKQw==} peerDependencies: - vite: ^5.2.6 + vite: ^5.3.3 peerDependenciesMeta: vite: optional: true dependencies: '@unocss/core': 0.61.0 '@unocss/reset': 0.61.0 - '@unocss/vite': 0.61.0(rollup@4.18.0)(vite@5.2.6) - vite: 5.2.6(@types/node@20.14.9) + '@unocss/vite': 0.61.0(rollup@4.18.0)(vite@5.3.3) + vite: 5.3.3(@types/node@20.14.9) transitivePeerDependencies: - rollup dev: true @@ -6350,10 +6143,10 @@ packages: '@unocss/core': 0.61.0 dev: true - /@unocss/vite@0.61.0(rollup@4.18.0)(vite@5.2.6): + /@unocss/vite@0.61.0(rollup@4.18.0)(vite@5.3.3): resolution: {integrity: sha512-gjxLJrja1hqDwdd8z3QvzfMCcKppGqiL2+A6aHwG/AXfEmZMydA50U7VvJK7Wx8/Enm26G6JQrtGrpu+kK3QpQ==} peerDependencies: - vite: ^5.2.6 + vite: ^5.3.3 dependencies: '@ampproject/remapping': 2.3.0 '@rollup/pluginutils': 5.1.0(rollup@4.18.0) @@ -6365,7 +6158,7 @@ packages: chokidar: 3.6.0 fast-glob: 3.3.2 magic-string: 0.30.10 - vite: 5.2.6(@types/node@20.14.9) + vite: 5.3.3(@types/node@20.14.9) transitivePeerDependencies: - rollup dev: true @@ -6393,84 +6186,64 @@ packages: optional: true dependencies: '@vite-pwa/assets-generator': 0.2.4 - vite-plugin-pwa: 0.20.0(@vite-pwa/assets-generator@0.2.4)(vite@5.2.6)(workbox-build@7.1.0)(workbox-window@7.1.0) + vite-plugin-pwa: 0.20.0(@vite-pwa/assets-generator@0.2.4)(vite@5.3.3)(workbox-build@7.1.0)(workbox-window@7.1.0) dev: true - /@vitejs/plugin-basic-ssl@1.0.2(vite@5.2.10): + /@vitejs/plugin-basic-ssl@1.0.2(vite@5.3.3): resolution: {integrity: sha512-DKHKVtpI+eA5fvObVgQ3QtTGU70CcCnedalzqmGSR050AzKZMdUzgC8KmlOneHWH8dF2hJ3wkC9+8FDVAaDRCw==} engines: {node: '>=14.6.0'} peerDependencies: - vite: ^5.2.6 + vite: ^5.3.3 dependencies: - vite: 5.2.10(@types/node@20.14.9) + vite: 5.3.3(@types/node@20.14.9) dev: true - /@vitejs/plugin-basic-ssl@1.0.2(vite@5.2.6): - resolution: {integrity: sha512-DKHKVtpI+eA5fvObVgQ3QtTGU70CcCnedalzqmGSR050AzKZMdUzgC8KmlOneHWH8dF2hJ3wkC9+8FDVAaDRCw==} - engines: {node: '>=14.6.0'} - peerDependencies: - vite: ^5.2.6 - dependencies: - vite: 5.2.6(@types/node@20.14.9) - dev: true - - /@vitejs/plugin-react@4.2.1(vite@5.2.10): + /@vitejs/plugin-react@4.2.1(vite@5.3.3): resolution: {integrity: sha512-oojO9IDc4nCUUi8qIR11KoQm0XFFLIwsRBwHRR4d/88IWghn1y6ckz/bJ8GHDCsYEJee8mDzqtJxh15/cisJNQ==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: - vite: ^5.2.6 + vite: ^5.3.3 dependencies: '@babel/core': 7.24.4 '@babel/plugin-transform-react-jsx-self': 7.23.3(@babel/core@7.24.4) '@babel/plugin-transform-react-jsx-source': 7.23.3(@babel/core@7.24.4) '@types/babel__core': 7.20.5 react-refresh: 0.14.0 - vite: 5.2.10(@types/node@20.14.9) + vite: 5.3.3(@types/node@20.14.9) transitivePeerDependencies: - supports-color dev: true - /@vitejs/plugin-vue@5.0.4(vite@5.2.6)(vue@3.4.21): + /@vitejs/plugin-vue@5.0.4(vite@5.3.3)(vue@3.4.21): resolution: {integrity: sha512-WS3hevEszI6CEVEx28F8RjTX97k3KsrcY6kvTg7+Whm5y3oYvcqzVeGCU3hxSAn4uY2CLCkeokkGKpoctccilQ==} engines: {node: ^18.0.0 || >=20.0.0} peerDependencies: - vite: ^5.2.6 + vite: ^5.3.3 vue: ^3.2.25 dependencies: - vite: 5.2.6(@types/node@20.14.9) + vite: 5.3.3(@types/node@20.14.9) vue: 3.4.21(typescript@5.5.2) dev: true - /@vitejs/plugin-vue@5.0.4(vite@5.2.6)(vue@3.4.31): + /@vitejs/plugin-vue@5.0.4(vite@5.3.3)(vue@3.4.31): resolution: {integrity: sha512-WS3hevEszI6CEVEx28F8RjTX97k3KsrcY6kvTg7+Whm5y3oYvcqzVeGCU3hxSAn4uY2CLCkeokkGKpoctccilQ==} engines: {node: ^18.0.0 || >=20.0.0} peerDependencies: - vite: ^5.2.6 + vite: ^5.3.3 vue: ^3.2.25 dependencies: - vite: 5.2.6(@types/node@20.14.9) + vite: 5.3.3(@types/node@20.14.9) vue: 3.4.31(typescript@5.5.2) dev: true - /@vitejs/plugin-vue@5.0.5(vite@5.2.10)(vue@3.4.31): + /@vitejs/plugin-vue@5.0.5(vite@5.3.3)(vue@3.4.31): resolution: {integrity: sha512-LOjm7XeIimLBZyzinBQ6OSm3UBCNVCpLkxGC0oWmm2YPzVZoxMsdvNVimLTBzpAnR9hl/yn1SHGuRfe6/Td9rQ==} engines: {node: ^18.0.0 || >=20.0.0} peerDependencies: - vite: ^5.2.6 + vite: ^5.3.3 vue: ^3.2.25 dependencies: - vite: 5.2.10(@types/node@20.14.9) - vue: 3.4.31(typescript@5.5.2) - dev: true - - /@vitejs/plugin-vue@5.0.5(vite@5.2.6)(vue@3.4.31): - resolution: {integrity: sha512-LOjm7XeIimLBZyzinBQ6OSm3UBCNVCpLkxGC0oWmm2YPzVZoxMsdvNVimLTBzpAnR9hl/yn1SHGuRfe6/Td9rQ==} - engines: {node: ^18.0.0 || >=20.0.0} - peerDependencies: - vite: ^5.2.6 - vue: ^3.2.25 - dependencies: - vite: 5.2.6(@types/node@20.14.9) + vite: 5.3.3(@types/node@20.14.9) vue: 3.4.31(typescript@5.5.2) dev: true @@ -6522,16 +6295,6 @@ packages: source-map-js: 1.2.0 dev: true - /@vue/compiler-core@3.4.29: - resolution: {integrity: sha512-TFKiRkKKsRCKvg/jTSSKK7mYLJEQdUiUfykbG49rubC9SfDyvT2JrzTReopWlz2MxqeLyxh9UZhvxEIBgAhtrg==} - dependencies: - '@babel/parser': 7.24.7 - '@vue/shared': 3.4.29 - entities: 4.5.0 - estree-walker: 2.0.2 - source-map-js: 1.2.0 - dev: true - /@vue/compiler-core@3.4.31: resolution: {integrity: sha512-skOiodXWTV3DxfDhB4rOf3OGalpITLlgCeOwb+Y9GJpfQ8ErigdBUHomBzvG78JoVE8MJoQsb+qhZiHfKeNeEg==} dependencies: @@ -6555,13 +6318,6 @@ packages: '@vue/shared': 3.4.26 dev: true - /@vue/compiler-dom@3.4.29: - resolution: {integrity: sha512-A6+iZ2fKIEGnfPJejdB7b1FlJzgiD+Y/sxxKwJWg1EbJu6ZPgzaPQQ51ESGNv0CP6jm6Z7/pO6Ia8Ze6IKrX7w==} - dependencies: - '@vue/compiler-core': 3.4.29 - '@vue/shared': 3.4.29 - dev: true - /@vue/compiler-dom@3.4.31: resolution: {integrity: sha512-wK424WMXsG1IGMyDGyLqB+TbmEBFM78hIsOJ9QwUVLGrcSk0ak6zYty7Pj8ftm7nEtdU/DGQxAXp0/lM/2cEpQ==} dependencies: @@ -6604,20 +6360,6 @@ packages: source-map-js: 1.2.0 dev: true - /@vue/compiler-sfc@3.4.29: - resolution: {integrity: sha512-zygDcEtn8ZimDlrEQyLUovoWgKQic6aEQqRXce2WXBvSeHbEbcAsXyCk9oG33ZkyWH4sl9D3tkYc1idoOkdqZQ==} - dependencies: - '@babel/parser': 7.24.7 - '@vue/compiler-core': 3.4.29 - '@vue/compiler-dom': 3.4.29 - '@vue/compiler-ssr': 3.4.29 - '@vue/shared': 3.4.29 - estree-walker: 2.0.2 - magic-string: 0.30.10 - postcss: 8.4.38 - source-map-js: 1.2.0 - dev: true - /@vue/compiler-sfc@3.4.31: resolution: {integrity: sha512-einJxqEw8IIJxzmnxmJBuK2usI+lJonl53foq+9etB2HAzlPjAS/wa7r0uUpXw5ByX3/0uswVSrjNb17vJm1kQ==} dependencies: @@ -6645,13 +6387,6 @@ packages: '@vue/shared': 3.4.26 dev: true - /@vue/compiler-ssr@3.4.29: - resolution: {integrity: sha512-rFbwCmxJ16tDp3N8XCx5xSQzjhidYjXllvEcqX/lopkoznlNPz3jyy0WGJCyhAaVQK677WWFt3YO/WUEkMMUFQ==} - dependencies: - '@vue/compiler-dom': 3.4.29 - '@vue/shared': 3.4.29 - dev: true - /@vue/compiler-ssr@3.4.31: resolution: {integrity: sha512-RtefmITAje3fJ8FSg1gwgDhdKhZVntIVbwupdyZDSifZTRMiWxWehAOTCc8/KZDnBOcYQ4/9VWxsTbd3wT0hAA==} dependencies: @@ -6699,7 +6434,7 @@ packages: dependencies: '@volar/language-core': 1.10.4 '@volar/source-map': 1.10.4 - '@vue/compiler-dom': 3.4.29 + '@vue/compiler-dom': 3.4.31 '@vue/shared': 3.4.29 computeds: 0.0.1 minimatch: 9.0.4 @@ -6717,7 +6452,7 @@ packages: optional: true dependencies: '@volar/language-core': 2.4.0-alpha.5 - '@vue/compiler-dom': 3.4.29 + '@vue/compiler-dom': 3.4.31 '@vue/shared': 3.4.29 computeds: 0.0.1 minimatch: 9.0.4 @@ -6808,13 +6543,13 @@ packages: vue: 3.4.26(typescript@5.5.2) dev: true - /@vue/server-renderer@3.4.29(vue@3.4.21): - resolution: {integrity: sha512-HMLCmPI2j/k8PVkSBysrA2RxcxC5DgBiCdj7n7H2QtR8bQQPqKAe8qoaxLcInzouBmzwJ+J0x20ygN/B5mYBng==} + /@vue/server-renderer@3.4.31(vue@3.4.21): + resolution: {integrity: sha512-D5BLbdvrlR9PE3by9GaUp1gQXlCNadIZytMIb8H2h3FMWJd4oUfkUTEH2wAr3qxoRz25uxbTcbqd3WKlm9EHQA==} peerDependencies: - vue: 3.4.29 + vue: 3.4.31 dependencies: - '@vue/compiler-ssr': 3.4.29 - '@vue/shared': 3.4.29 + '@vue/compiler-ssr': 3.4.31 + '@vue/shared': 3.4.31 vue: 3.4.21(typescript@5.5.2) dev: true optional: true @@ -6855,8 +6590,8 @@ packages: js-beautify: 1.14.6 vue: 3.4.21(typescript@5.5.2) optionalDependencies: - '@vue/compiler-dom': 3.4.29 - '@vue/server-renderer': 3.4.29(vue@3.4.21) + '@vue/compiler-dom': 3.4.31 + '@vue/server-renderer': 3.4.31(vue@3.4.21) dev: true /@vue/test-utils@2.4.6: @@ -9225,36 +8960,6 @@ packages: '@esbuild/win32-x64': 0.19.11 dev: true - /esbuild@0.20.2: - resolution: {integrity: sha512-WdOOppmUNU+IbZ0PaDiTst80zjnrOkyJNHoKupIcVyU8Lvla3Ugx94VzkQ32Ijqd7UhHJy75gNWDMUekcrSJ6g==} - engines: {node: '>=12'} - hasBin: true - requiresBuild: true - optionalDependencies: - '@esbuild/aix-ppc64': 0.20.2 - '@esbuild/android-arm': 0.20.2 - '@esbuild/android-arm64': 0.20.2 - '@esbuild/android-x64': 0.20.2 - '@esbuild/darwin-arm64': 0.20.2 - '@esbuild/darwin-x64': 0.20.2 - '@esbuild/freebsd-arm64': 0.20.2 - '@esbuild/freebsd-x64': 0.20.2 - '@esbuild/linux-arm': 0.20.2 - '@esbuild/linux-arm64': 0.20.2 - '@esbuild/linux-ia32': 0.20.2 - '@esbuild/linux-loong64': 0.20.2 - '@esbuild/linux-mips64el': 0.20.2 - '@esbuild/linux-ppc64': 0.20.2 - '@esbuild/linux-riscv64': 0.20.2 - '@esbuild/linux-s390x': 0.20.2 - '@esbuild/linux-x64': 0.20.2 - '@esbuild/netbsd-x64': 0.20.2 - '@esbuild/openbsd-x64': 0.20.2 - '@esbuild/sunos-x64': 0.20.2 - '@esbuild/win32-arm64': 0.20.2 - '@esbuild/win32-ia32': 0.20.2 - '@esbuild/win32-x64': 0.20.2 - /esbuild@0.21.5: resolution: {integrity: sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==} engines: {node: '>=12'} @@ -9284,7 +8989,6 @@ packages: '@esbuild/win32-arm64': 0.21.5 '@esbuild/win32-ia32': 0.21.5 '@esbuild/win32-x64': 0.21.5 - dev: true /esbuild@0.22.0: resolution: {integrity: sha512-zNYA6bFZsVnsU481FnGAQjLDW0Pl/8BGG7EvAp15RzUvGC+ME7hf1q7LvIfStEQBz/iEHuBJCYcOwPmNCf1Tlw==} @@ -9699,13 +9403,13 @@ packages: - supports-color dev: true - /eslint-processor-vue-blocks@0.1.2(@vue/compiler-sfc@3.4.29)(eslint@9.6.0): + /eslint-processor-vue-blocks@0.1.2(@vue/compiler-sfc@3.4.31)(eslint@9.6.0): resolution: {integrity: sha512-PfpJ4uKHnqeL/fXUnzYkOax3aIenlwewXRX8jFinA1a2yCFnLgMuiH3xvCgvHHUlV2xJWQHbCTdiJWGwb3NqpQ==} peerDependencies: '@vue/compiler-sfc': ^3.3.0 eslint: ^8.50.0 || ^9.0.0 dependencies: - '@vue/compiler-sfc': 3.4.29 + '@vue/compiler-sfc': 3.4.31 eslint: 9.6.0 dev: true @@ -13523,6 +13227,14 @@ packages: picocolors: 1.0.1 source-map-js: 1.2.0 + /postcss@8.4.39: + resolution: {integrity: sha512-0vzE+lAiG7hZl1/9I8yzKLx3aR9Xbof3fBHKunvMfOCYAtMhrsnccJY2iTURb9EZd5+pLuiNV9/c/GZJOHsgIw==} + engines: {node: ^10 || ^12 || >=14} + dependencies: + nanoid: 3.3.7 + picocolors: 1.0.1 + source-map-js: 1.2.0 + /preact@10.21.0: resolution: {integrity: sha512-aQAIxtzWEwH8ou+OovWVSVNlFImL7xUCwJX3YMqA3U8iKCNC34999fFOnWjYNsylgfPgMexpbk7WYOLtKr/mxg==} @@ -15721,19 +15433,19 @@ packages: engines: {node: '>= 10.0.0'} dev: true - /unocss@0.61.0(postcss@8.4.38)(rollup@4.18.0)(vite@5.2.6): + /unocss@0.61.0(postcss@8.4.38)(rollup@4.18.0)(vite@5.3.3): resolution: {integrity: sha512-7642v5tHpEpHO9dl9sqYbKT/Ri4X4lmGHhj/znE4uheEfXcptPPiZ1/hVmQVciHUSI8CnQBqDwkZuxNPDG3bTQ==} engines: {node: '>=14'} peerDependencies: '@unocss/webpack': 0.61.0 - vite: ^5.2.6 + vite: ^5.3.3 peerDependenciesMeta: '@unocss/webpack': optional: true vite: optional: true dependencies: - '@unocss/astro': 0.61.0(rollup@4.18.0)(vite@5.2.6) + '@unocss/astro': 0.61.0(rollup@4.18.0)(vite@5.3.3) '@unocss/cli': 0.61.0(rollup@4.18.0) '@unocss/core': 0.61.0 '@unocss/extractor-arbitrary-variants': 0.61.0 @@ -15752,8 +15464,8 @@ packages: '@unocss/transformer-compile-class': 0.61.0 '@unocss/transformer-directives': 0.61.0 '@unocss/transformer-variant-group': 0.61.0 - '@unocss/vite': 0.61.0(rollup@4.18.0)(vite@5.2.6) - vite: 5.2.6(@types/node@20.14.9) + '@unocss/vite': 0.61.0(rollup@4.18.0)(vite@5.3.3) + vite: 5.3.3(@types/node@20.14.9) transitivePeerDependencies: - postcss - rollup @@ -15984,13 +15696,13 @@ packages: vfile-message: 4.0.2 dev: true - /vite-plugin-pages@0.32.3(@vue/compiler-sfc@3.4.29)(vite@5.2.6)(vue-router@4.4.0): + /vite-plugin-pages@0.32.3(@vue/compiler-sfc@3.4.31)(vite@5.3.3)(vue-router@4.4.0): resolution: {integrity: sha512-1vmKwc9e+lRBLkpTAMUNSVV3BglyE+DRa0iivpe6q3pbOCGkAHHSUp8f6yceXC8+lu/kFgH60vm5vK6IHyvdVw==} peerDependencies: '@solidjs/router': '*' '@vue/compiler-sfc': ^2.7.0 || ^3.0.0 react-router: '*' - vite: ^5.2.6 + vite: ^5.3.3 vue-router: '*' peerDependenciesMeta: '@solidjs/router': @@ -16003,7 +15715,7 @@ packages: optional: true dependencies: '@types/debug': 4.1.12 - '@vue/compiler-sfc': 3.4.29 + '@vue/compiler-sfc': 3.4.31 debug: 4.3.5 dequal: 2.0.3 extract-comments: 1.1.0 @@ -16011,19 +15723,19 @@ packages: json5: 2.2.3 local-pkg: 0.5.0 picocolors: 1.0.1 - vite: 5.2.6(@types/node@20.14.9) + vite: 5.3.3(@types/node@20.14.9) vue-router: 4.4.0(vue@3.4.31) yaml: 2.4.5 transitivePeerDependencies: - supports-color dev: true - /vite-plugin-pwa@0.20.0(@vite-pwa/assets-generator@0.2.4)(vite@5.2.6)(workbox-build@7.1.0)(workbox-window@7.1.0): + /vite-plugin-pwa@0.20.0(@vite-pwa/assets-generator@0.2.4)(vite@5.3.3)(workbox-build@7.1.0)(workbox-window@7.1.0): resolution: {integrity: sha512-/kDZyqF8KqoXRpMUQtR5Atri/7BWayW8Gp7Kz/4bfstsV6zSFTxjREbXZYL7zSuRL40HGA+o2hvUAFRmC+bL7g==} engines: {node: '>=16.0.0'} peerDependencies: '@vite-pwa/assets-generator': ^0.2.4 - vite: ^5.2.6 + vite: ^5.3.3 workbox-build: ^7.1.0 workbox-window: ^7.1.0 peerDependenciesMeta: @@ -16034,18 +15746,18 @@ packages: debug: 4.3.4 fast-glob: 3.3.2 pretty-bytes: 6.1.1 - vite: 5.2.6(@types/node@20.14.9) + vite: 5.3.3(@types/node@20.14.9) workbox-build: 7.1.0 workbox-window: 7.1.0 transitivePeerDependencies: - supports-color dev: true - /vite-plugin-solid@2.7.2(solid-js@1.8.3)(vite@5.2.6): + /vite-plugin-solid@2.7.2(solid-js@1.8.3)(vite@5.3.3): resolution: {integrity: sha512-GV2SMLAibOoXe76i02AsjAg7sbm/0lngBlERvJKVN67HOrJsHcWgkt0R6sfGLDJuFkv2aBe14Zm4vJcNME+7zw==} peerDependencies: solid-js: ^1.7.2 - vite: ^5.2.6 + vite: ^5.3.3 dependencies: '@babel/core': 7.23.3 '@babel/preset-typescript': 7.23.2(@babel/core@7.23.3) @@ -16054,50 +15766,14 @@ packages: merge-anything: 5.1.7 solid-js: 1.8.3 solid-refresh: 0.5.3(solid-js@1.8.3) - vite: 5.2.6(@types/node@20.14.9) - vitefu: 0.2.4(vite@5.2.6) + vite: 5.3.3(@types/node@20.14.9) + vitefu: 0.2.4(vite@5.3.3) transitivePeerDependencies: - supports-color dev: true - /vite@5.2.10(@types/node@20.14.9): - resolution: {integrity: sha512-PAzgUZbP7msvQvqdSD+ErD5qGnSFiGOoWmV5yAKUEI0kdhjbH6nMWVyZQC/hSc4aXwc0oJ9aEdIiF9Oje0JFCw==} - engines: {node: ^18.0.0 || >=20.0.0} - hasBin: true - peerDependencies: - '@types/node': ^18.0.0 || >=20.0.0 - less: '*' - lightningcss: ^1.21.0 - sass: '*' - stylus: '*' - sugarss: '*' - terser: ^5.4.0 - peerDependenciesMeta: - '@types/node': - optional: true - less: - optional: true - lightningcss: - optional: true - sass: - optional: true - stylus: - optional: true - sugarss: - optional: true - terser: - optional: true - dependencies: - '@types/node': 20.14.9 - esbuild: 0.20.2 - postcss: 8.4.38 - rollup: 4.18.0 - optionalDependencies: - fsevents: 2.3.3 - dev: true - - /vite@5.2.6(@types/node@20.11.5): - resolution: {integrity: sha512-FPtnxFlSIKYjZ2eosBQamz4CbyrTizbZ3hnGJlh/wMtCrlp1Hah6AzBLjGI5I2urTfNnpovpHdrL6YRuBOPnCA==} + /vite@5.3.3(@types/node@20.11.5): + resolution: {integrity: sha512-NPQdeCU0Dv2z5fu+ULotpuq5yfCS1BzKUIPhNbP3YBfAMGJXbt2nS+sbTFu+qchaqWTD+H3JK++nRwr6XIcp6A==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -16125,15 +15801,15 @@ packages: optional: true dependencies: '@types/node': 20.11.5 - esbuild: 0.20.2 - postcss: 8.4.38 + esbuild: 0.21.5 + postcss: 8.4.39 rollup: 4.18.0 optionalDependencies: fsevents: 2.3.3 dev: true - /vite@5.2.6(@types/node@20.14.9): - resolution: {integrity: sha512-FPtnxFlSIKYjZ2eosBQamz4CbyrTizbZ3hnGJlh/wMtCrlp1Hah6AzBLjGI5I2urTfNnpovpHdrL6YRuBOPnCA==} + /vite@5.3.3(@types/node@20.14.9): + resolution: {integrity: sha512-NPQdeCU0Dv2z5fu+ULotpuq5yfCS1BzKUIPhNbP3YBfAMGJXbt2nS+sbTFu+qchaqWTD+H3JK++nRwr6XIcp6A==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -16161,32 +15837,32 @@ packages: optional: true dependencies: '@types/node': 20.14.9 - esbuild: 0.20.2 - postcss: 8.4.38 + esbuild: 0.21.5 + postcss: 8.4.39 rollup: 4.18.0 optionalDependencies: fsevents: 2.3.3 - /vitefu@0.2.4(vite@5.2.6): + /vitefu@0.2.4(vite@5.3.3): resolution: {integrity: sha512-fanAXjSaf9xXtOOeno8wZXIhgia+CZury481LsDaV++lSvcU2R9Ch2bPh3PYFyoHW+w9LqAeYRISVQjUIew14g==} peerDependencies: - vite: ^5.2.6 + vite: ^5.3.3 peerDependenciesMeta: vite: optional: true dependencies: - vite: 5.2.6(@types/node@20.14.9) + vite: 5.3.3(@types/node@20.14.9) dev: true - /vitefu@0.2.5(vite@5.2.6): + /vitefu@0.2.5(vite@5.3.3): resolution: {integrity: sha512-SgHtMLoqaeeGnd2evZ849ZbACbnwQCIwRH57t18FxcXoZop0uQu0uzlIhJBlF/eWVzuce0sHeqPcDo+evVcg8Q==} peerDependencies: - vite: ^5.2.6 + vite: ^5.3.3 peerDependenciesMeta: vite: optional: true dependencies: - vite: 5.2.6(@types/node@20.14.9) + vite: 5.3.3(@types/node@20.14.9) dev: true /vitepress@1.2.3(@types/node@20.14.9)(postcss@8.4.38)(search-insights@2.9.0)(typescript@5.5.2): @@ -16206,7 +15882,7 @@ packages: '@shikijs/core': 1.6.4 '@shikijs/transformers': 1.6.4 '@types/markdown-it': 14.1.1 - '@vitejs/plugin-vue': 5.0.5(vite@5.2.10)(vue@3.4.31) + '@vitejs/plugin-vue': 5.0.5(vite@5.3.3)(vue@3.4.31) '@vue/devtools-api': 7.2.1(vue@3.4.31) '@vue/shared': 3.4.27 '@vueuse/core': 10.11.0(vue@3.4.31) @@ -16216,7 +15892,7 @@ packages: minisearch: 6.3.0 postcss: 8.4.38 shiki: 1.6.4 - vite: 5.2.10(@types/node@20.14.9) + vite: 5.3.3(@types/node@20.14.9) vue: 3.4.31(typescript@5.5.2) transitivePeerDependencies: - '@algolia/client-search' @@ -17166,7 +16842,7 @@ packages: hasBin: true optionalDependencies: '@types/fs-extra': 11.0.4 - '@types/node': 20.12.11 + '@types/node': 20.14.9 dev: true file:test/config/fixtures/conditions-subpackage: diff --git a/test/core/test/esnext.test.ts b/test/core/test/esnext.test.ts new file mode 100644 index 000000000000..7ac73e5f5a21 --- /dev/null +++ b/test/core/test/esnext.test.ts @@ -0,0 +1,52 @@ +import { expect, it } from 'vitest' + +const [version] = process.version.slice(1).split('.') + +it.skipIf(Number(version) < 20)('"v" flag in regexp', () => { + const regexp = /\p{RGI_Emoji}|\P{Mark}\p{Mark}*/gv + expect('πŸ‘πŸΌπŸ‘πŸΌπŸ‘πŸΌ'.match(regexp)).toEqual(['πŸ‘πŸΌ', 'πŸ‘πŸΌ', 'πŸ‘πŸΌ']) +}) + +it('decorators work', () => { + expect(Sut.mocked).toBe(true) + expect(new Sut()).toBeInstanceOf(Sut) +}) + +it('new "using" feature', () => { + let getResource = (): any => { + throw new Error('don\'t call me') + } + { + using resource = resourceful('foo') + getResource = () => resource.resource + } + expect(getResource()).toBe(null) +}) + +// @ts-expect-error - readonly symbol, but might not be assigned +Symbol.dispose ??= Symbol('dispose') + +function resourceful(resourceDefault: string) { + let resource: string | null = resourceDefault + return { + get resource() { + return resource + }, + [Symbol.dispose]: () => { + resource = null + }, + } +} + +function exampleDecorator(ClassExample: any, context: ClassDecoratorContext): any { + if (context.kind !== 'class') { + throw new Error('not a class to decorate') + } + ClassExample.mocked = true + return ClassExample +} + +@exampleDecorator +class Sut { + static mocked = false +}