From 913c0403a5de13a09dd37dac71f59db3339012ce Mon Sep 17 00:00:00 2001
From: Adam Weiss
Date: Sun, 5 May 2024 08:28:53 -0400
Subject: [PATCH 01/25] fix(sourcemap): improve sourcemap compatibility for
vue2 (#16594)
---
packages/vite/src/node/server/sourcemap.ts | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/packages/vite/src/node/server/sourcemap.ts b/packages/vite/src/node/server/sourcemap.ts
index 741ae4331ade22..684dff128e597d 100644
--- a/packages/vite/src/node/server/sourcemap.ts
+++ b/packages/vite/src/node/server/sourcemap.ts
@@ -4,6 +4,7 @@ import convertSourceMap from 'convert-source-map'
import type { ExistingRawSourceMap, SourceMap } from 'rollup'
import type { Logger } from '../logger'
import { blankReplacer, createDebugger } from '../utils'
+import { cleanUrl } from '../../shared/utils'
const debug = createDebugger('vite:sourcemap', {
onlyWhenFocused: true,
@@ -53,7 +54,7 @@ export async function injectSourcesContent(
// inject content from source file when sourcesContent is null
sourceRootPromise ??= computeSourceRoute(map, file)
const sourceRoot = await sourceRootPromise
- let resolvedSourcePath = decodeURI(sourcePath)
+ let resolvedSourcePath = cleanUrl(decodeURI(sourcePath))
if (sourceRoot) {
resolvedSourcePath = path.resolve(sourceRoot, resolvedSourcePath)
}
From 671155337af795156fe40a95935a8d2b27af1048 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 7 May 2024 10:01:16 +0200
Subject: [PATCH 02/25] fix(deps): update all non-major dependencies (#16603)
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
---
.eslintrc.cjs | 10 +
docs/package.json | 2 +-
package.json | 10 +-
.../create-vite/template-lit-ts/package.json | 2 +-
.../create-vite/template-lit/package.json | 2 +-
.../template-preact-ts/package.json | 2 +-
.../create-vite/template-preact/package.json | 2 +-
.../create-vite/template-qwik-ts/package.json | 4 +-
.../create-vite/template-qwik/package.json | 4 +-
.../template-react-ts/package.json | 2 +-
.../create-vite/template-react/package.json | 2 +-
.../template-solid-ts/package.json | 2 +-
.../create-vite/template-solid/package.json | 2 +-
.../template-svelte-ts/package.json | 4 +-
.../create-vite/template-svelte/package.json | 2 +-
.../template-vanilla-ts/package.json | 2 +-
.../create-vite/template-vanilla/package.json | 2 +-
.../create-vite/template-vue-ts/package.json | 4 +-
.../create-vite/template-vue/package.json | 4 +-
packages/vite/package.json | 4 +-
packages/vite/src/node/plugins/wasm.ts | 1 +
playground/alias/package.json | 4 +-
playground/backend-integration/package.json | 2 +-
.../config/packages/siblings/package.json | 2 +-
playground/css-sourcemap/package.json | 2 +-
playground/css/package.json | 2 +-
playground/extensions/package.json | 2 +-
.../external/dep-that-imports/package.json | 2 +-
.../external/dep-that-requires/package.json | 2 +-
playground/external/package.json | 2 +-
playground/json/package.json | 2 +-
playground/multiple-entrypoints/package.json | 2 +-
playground/object-hooks/package.json | 2 +-
.../optimize-deps-no-discovery/package.json | 2 +-
playground/optimize-deps/package.json | 2 +-
playground/tailwind/package.json | 2 +-
pnpm-lock.yaml | 422 +++++++++---------
37 files changed, 273 insertions(+), 250 deletions(-)
diff --git a/.eslintrc.cjs b/.eslintrc.cjs
index 555654b9690922..70fbf8dfca8bf7 100644
--- a/.eslintrc.cjs
+++ b/.eslintrc.cjs
@@ -150,6 +150,13 @@ module.exports = defineConfig({
'no-console': ['error'],
},
},
+ {
+ files: ['packages/vite/src/client/**'],
+ excludedFiles: '**/__tests__/**',
+ rules: {
+ 'n/no-unsupported-features/node-builtins': 'off',
+ },
+ },
{
files: [
'packages/vite/src/types/**',
@@ -219,6 +226,9 @@ module.exports = defineConfig({
'error',
{
version: pkg.engines.node,
+ // ideally we would like to allow all experimental features
+ // https://github.com/eslint-community/eslint-plugin-n/issues/199
+ ignores: ['fetch'],
},
],
},
diff --git a/docs/package.json b/docs/package.json
index d4b078ee99d5c3..fd47dad9e112ac 100644
--- a/docs/package.json
+++ b/docs/package.json
@@ -11,6 +11,6 @@
"@shikijs/vitepress-twoslash": "^1.4.0",
"@types/express": "^4.17.21",
"vitepress": "1.1.4",
- "vue": "^3.4.26"
+ "vue": "^3.4.27"
}
}
diff --git a/package.json b/package.json
index 03c76f9052012a..91b13bb5a39006 100644
--- a/package.json
+++ b/package.json
@@ -53,7 +53,7 @@
"@types/fs-extra": "^11.0.4",
"@types/less": "^3.0.6",
"@types/micromatch": "^4.0.7",
- "@types/node": "^20.12.7",
+ "@types/node": "^20.12.10",
"@types/picomatch": "^2.3.3",
"@types/semver": "^7.5.8",
"@types/stylus": "^0.48.42",
@@ -65,7 +65,7 @@
"eslint": "^8.57.0",
"eslint-define-config": "^2.1.0",
"eslint-plugin-i": "^2.29.1",
- "eslint-plugin-n": "^17.4.0",
+ "eslint-plugin-n": "^17.5.0",
"eslint-plugin-regexp": "^2.5.0",
"execa": "^8.0.1",
"feed": "^4.2.2",
@@ -73,18 +73,18 @@
"lint-staged": "^15.2.2",
"npm-run-all2": "^6.1.2",
"picocolors": "^1.0.0",
- "playwright-chromium": "^1.43.1",
+ "playwright-chromium": "^1.44.0",
"prettier": "3.2.5",
"rimraf": "^5.0.5",
"rollup": "^4.13.0",
"semver": "^7.6.0",
"simple-git-hooks": "^2.11.1",
"tslib": "^2.6.2",
- "tsx": "^4.8.0",
+ "tsx": "^4.9.3",
"typescript": "^5.2.2",
"unbuild": "^2.0.0",
"vite": "workspace:*",
- "vitest": "^1.5.3"
+ "vitest": "^1.6.0"
},
"simple-git-hooks": {
"pre-commit": "pnpm exec lint-staged --concurrent false"
diff --git a/packages/create-vite/template-lit-ts/package.json b/packages/create-vite/template-lit-ts/package.json
index 19747ca4389ed8..742f963ad98273 100644
--- a/packages/create-vite/template-lit-ts/package.json
+++ b/packages/create-vite/template-lit-ts/package.json
@@ -13,6 +13,6 @@
},
"devDependencies": {
"typescript": "^5.2.2",
- "vite": "^5.2.10"
+ "vite": "^5.2.11"
}
}
diff --git a/packages/create-vite/template-lit/package.json b/packages/create-vite/template-lit/package.json
index ca35b84f62a94d..b34c893b53a7e1 100644
--- a/packages/create-vite/template-lit/package.json
+++ b/packages/create-vite/template-lit/package.json
@@ -12,6 +12,6 @@
"lit": "^3.1.3"
},
"devDependencies": {
- "vite": "^5.2.10"
+ "vite": "^5.2.11"
}
}
diff --git a/packages/create-vite/template-preact-ts/package.json b/packages/create-vite/template-preact-ts/package.json
index a6f5676f3a72bb..0e96958e90c3fc 100644
--- a/packages/create-vite/template-preact-ts/package.json
+++ b/packages/create-vite/template-preact-ts/package.json
@@ -14,6 +14,6 @@
"devDependencies": {
"@preact/preset-vite": "^2.8.2",
"typescript": "^5.2.2",
- "vite": "^5.2.10"
+ "vite": "^5.2.11"
}
}
diff --git a/packages/create-vite/template-preact/package.json b/packages/create-vite/template-preact/package.json
index 02d85c1059f2d2..25f2bc567eb733 100644
--- a/packages/create-vite/template-preact/package.json
+++ b/packages/create-vite/template-preact/package.json
@@ -13,6 +13,6 @@
},
"devDependencies": {
"@preact/preset-vite": "^2.8.2",
- "vite": "^5.2.10"
+ "vite": "^5.2.11"
}
}
diff --git a/packages/create-vite/template-qwik-ts/package.json b/packages/create-vite/template-qwik-ts/package.json
index b123e7cb52d779..2f39c4c67aea6b 100644
--- a/packages/create-vite/template-qwik-ts/package.json
+++ b/packages/create-vite/template-qwik-ts/package.json
@@ -11,9 +11,9 @@
"devDependencies": {
"serve": "^14.2.3",
"typescript": "^5.2.2",
- "vite": "^5.2.10"
+ "vite": "^5.2.11"
},
"dependencies": {
- "@builder.io/qwik": "^1.5.2"
+ "@builder.io/qwik": "^1.5.3"
}
}
diff --git a/packages/create-vite/template-qwik/package.json b/packages/create-vite/template-qwik/package.json
index d0044eaf162664..3547b2bbdb883a 100644
--- a/packages/create-vite/template-qwik/package.json
+++ b/packages/create-vite/template-qwik/package.json
@@ -10,9 +10,9 @@
},
"devDependencies": {
"serve": "^14.2.3",
- "vite": "^5.2.10"
+ "vite": "^5.2.11"
},
"dependencies": {
- "@builder.io/qwik": "^1.5.2"
+ "@builder.io/qwik": "^1.5.3"
}
}
diff --git a/packages/create-vite/template-react-ts/package.json b/packages/create-vite/template-react-ts/package.json
index 956c8302b2d151..bfb9e97af49ddd 100644
--- a/packages/create-vite/template-react-ts/package.json
+++ b/packages/create-vite/template-react-ts/package.json
@@ -23,6 +23,6 @@
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.6",
"typescript": "^5.2.2",
- "vite": "^5.2.10"
+ "vite": "^5.2.11"
}
}
diff --git a/packages/create-vite/template-react/package.json b/packages/create-vite/template-react/package.json
index f55f64c815ff7c..0b0fedd4584dfc 100644
--- a/packages/create-vite/template-react/package.json
+++ b/packages/create-vite/template-react/package.json
@@ -21,6 +21,6 @@
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.6",
- "vite": "^5.2.10"
+ "vite": "^5.2.11"
}
}
diff --git a/packages/create-vite/template-solid-ts/package.json b/packages/create-vite/template-solid-ts/package.json
index c725d61ea9fa7e..e77b944d91791c 100644
--- a/packages/create-vite/template-solid-ts/package.json
+++ b/packages/create-vite/template-solid-ts/package.json
@@ -13,7 +13,7 @@
},
"devDependencies": {
"typescript": "^5.2.2",
- "vite": "^5.2.10",
+ "vite": "^5.2.11",
"vite-plugin-solid": "^2.10.2"
}
}
diff --git a/packages/create-vite/template-solid/package.json b/packages/create-vite/template-solid/package.json
index 5a198703b74b8f..7f907499422cc5 100644
--- a/packages/create-vite/template-solid/package.json
+++ b/packages/create-vite/template-solid/package.json
@@ -12,7 +12,7 @@
"solid-js": "^1.8.17"
},
"devDependencies": {
- "vite": "^5.2.10",
+ "vite": "^5.2.11",
"vite-plugin-solid": "^2.10.2"
}
}
diff --git a/packages/create-vite/template-svelte-ts/package.json b/packages/create-vite/template-svelte-ts/package.json
index 23b9fd1174ca51..d899cc01af4a6a 100644
--- a/packages/create-vite/template-svelte-ts/package.json
+++ b/packages/create-vite/template-svelte-ts/package.json
@@ -13,9 +13,9 @@
"@sveltejs/vite-plugin-svelte": "^3.1.0",
"@tsconfig/svelte": "^5.0.4",
"svelte": "^4.2.15",
- "svelte-check": "^3.7.0",
+ "svelte-check": "^3.7.1",
"tslib": "^2.6.2",
"typescript": "^5.2.2",
- "vite": "^5.2.10"
+ "vite": "^5.2.11"
}
}
diff --git a/packages/create-vite/template-svelte/package.json b/packages/create-vite/template-svelte/package.json
index caca02634b9a7f..10ea4735548c70 100644
--- a/packages/create-vite/template-svelte/package.json
+++ b/packages/create-vite/template-svelte/package.json
@@ -11,6 +11,6 @@
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^3.1.0",
"svelte": "^4.2.15",
- "vite": "^5.2.10"
+ "vite": "^5.2.11"
}
}
diff --git a/packages/create-vite/template-vanilla-ts/package.json b/packages/create-vite/template-vanilla-ts/package.json
index 845f7d6ae11045..8b534d057c0b25 100644
--- a/packages/create-vite/template-vanilla-ts/package.json
+++ b/packages/create-vite/template-vanilla-ts/package.json
@@ -10,6 +10,6 @@
},
"devDependencies": {
"typescript": "^5.2.2",
- "vite": "^5.2.10"
+ "vite": "^5.2.11"
}
}
diff --git a/packages/create-vite/template-vanilla/package.json b/packages/create-vite/template-vanilla/package.json
index 24c5f0253b7357..40b1479981b3e7 100644
--- a/packages/create-vite/template-vanilla/package.json
+++ b/packages/create-vite/template-vanilla/package.json
@@ -9,6 +9,6 @@
"preview": "vite preview"
},
"devDependencies": {
- "vite": "^5.2.10"
+ "vite": "^5.2.11"
}
}
diff --git a/packages/create-vite/template-vue-ts/package.json b/packages/create-vite/template-vue-ts/package.json
index b3704bcc5d64a8..adba9ab20a5736 100644
--- a/packages/create-vite/template-vue-ts/package.json
+++ b/packages/create-vite/template-vue-ts/package.json
@@ -9,12 +9,12 @@
"preview": "vite preview"
},
"dependencies": {
- "vue": "^3.4.26"
+ "vue": "^3.4.27"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.0.4",
"typescript": "^5.2.2",
- "vite": "^5.2.10",
+ "vite": "^5.2.11",
"vue-tsc": "^2.0.16"
}
}
diff --git a/packages/create-vite/template-vue/package.json b/packages/create-vite/template-vue/package.json
index 51e983bb180ac9..3662c122d0cd59 100644
--- a/packages/create-vite/template-vue/package.json
+++ b/packages/create-vite/template-vue/package.json
@@ -9,10 +9,10 @@
"preview": "vite preview"
},
"dependencies": {
- "vue": "^3.4.26"
+ "vue": "^3.4.27"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.0.4",
- "vite": "^5.2.10"
+ "vite": "^5.2.11"
}
}
diff --git a/packages/vite/package.json b/packages/vite/package.json
index 0c616cdf31ecf2..3059e1cc24d0c3 100644
--- a/packages/vite/package.json
+++ b/packages/vite/package.json
@@ -129,7 +129,7 @@
"lightningcss": "^1.24.1",
"magic-string": "^0.30.10",
"micromatch": "^4.0.5",
- "mlly": "^1.6.1",
+ "mlly": "^1.7.0",
"mrmime": "^2.0.0",
"open": "^8.4.2",
"parse5": "^7.1.2",
@@ -144,7 +144,7 @@
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-esbuild": "^6.1.1",
"rollup-plugin-license": "^3.3.1",
- "sass": "^1.76.0",
+ "sass": "^1.77.0",
"sirv": "^2.0.4",
"source-map-support": "^0.5.21",
"strip-ansi": "^7.1.0",
diff --git a/packages/vite/src/node/plugins/wasm.ts b/packages/vite/src/node/plugins/wasm.ts
index f5adab8e1b43d5..407ea5f0009a9e 100644
--- a/packages/vite/src/node/plugins/wasm.ts
+++ b/packages/vite/src/node/plugins/wasm.ts
@@ -29,6 +29,7 @@ const wasmHelper = async (opts = {}, url: string) => {
// correct MIME type for .wasm files, which unfortunately doesn't work for
// a lot of static file servers, so we just work around it by getting the
// raw buffer.
+ // eslint-disable-next-line n/no-unsupported-features/node-builtins -- this function runs in browsers
const response = await fetch(url)
const contentType = response.headers.get('Content-Type') || ''
if (
diff --git a/playground/alias/package.json b/playground/alias/package.json
index 847af2a4fe8938..692d2a3af3ea44 100644
--- a/playground/alias/package.json
+++ b/playground/alias/package.json
@@ -11,8 +11,8 @@
},
"dependencies": {
"aliased-module": "file:./dir/module",
- "vue": "^3.4.26",
- "@vue/shared": "^3.4.26"
+ "vue": "^3.4.27",
+ "@vue/shared": "^3.4.27"
},
"devDependencies": {
"@vitejs/test-resolve-linked": "workspace:*"
diff --git a/playground/backend-integration/package.json b/playground/backend-integration/package.json
index 57c24fba596bb2..3137ece0e420bd 100644
--- a/playground/backend-integration/package.json
+++ b/playground/backend-integration/package.json
@@ -10,7 +10,7 @@
"preview": "vite preview"
},
"devDependencies": {
- "sass": "^1.76.0",
+ "sass": "^1.77.0",
"tailwindcss": "^3.4.3",
"fast-glob": "^3.3.2"
}
diff --git a/playground/config/packages/siblings/package.json b/playground/config/packages/siblings/package.json
index 049019bd1abfd7..22d2520baee7e0 100644
--- a/playground/config/packages/siblings/package.json
+++ b/playground/config/packages/siblings/package.json
@@ -2,7 +2,7 @@
"name": "@vite/test-config-sibling",
"type": "module",
"devDependencies": {
- "@types/lodash": "^4.17.0",
+ "@types/lodash": "^4.17.1",
"lodash": "^4.17.21"
}
}
diff --git a/playground/css-sourcemap/package.json b/playground/css-sourcemap/package.json
index ea2339b12694ba..77b23776bfaa06 100644
--- a/playground/css-sourcemap/package.json
+++ b/playground/css-sourcemap/package.json
@@ -12,7 +12,7 @@
"devDependencies": {
"less": "^4.2.0",
"magic-string": "^0.30.10",
- "sass": "^1.76.0",
+ "sass": "^1.77.0",
"stylus": "^0.63.0",
"sugarss": "^4.0.1"
}
diff --git a/playground/css/package.json b/playground/css/package.json
index 3ac1f1dce0851c..473ded9c96be81 100644
--- a/playground/css/package.json
+++ b/playground/css/package.json
@@ -24,7 +24,7 @@
"fast-glob": "^3.3.2",
"less": "^4.2.0",
"postcss-nested": "^6.0.1",
- "sass": "^1.76.0",
+ "sass": "^1.77.0",
"stylus": "^0.63.0",
"sugarss": "^4.0.1"
},
diff --git a/playground/extensions/package.json b/playground/extensions/package.json
index 389d7687c2732e..68cb75360d3840 100644
--- a/playground/extensions/package.json
+++ b/playground/extensions/package.json
@@ -10,6 +10,6 @@
"preview": "vite preview"
},
"dependencies": {
- "vue": "^3.4.26"
+ "vue": "^3.4.27"
}
}
diff --git a/playground/external/dep-that-imports/package.json b/playground/external/dep-that-imports/package.json
index 9f7d742dae0653..bae6b993a48c61 100644
--- a/playground/external/dep-that-imports/package.json
+++ b/playground/external/dep-that-imports/package.json
@@ -5,6 +5,6 @@
"dependencies": {
"slash3": "npm:slash@^3.0.0",
"slash5": "npm:slash@^5.1.0",
- "vue": "^3.4.26"
+ "vue": "^3.4.27"
}
}
diff --git a/playground/external/dep-that-requires/package.json b/playground/external/dep-that-requires/package.json
index a066f80d568aba..7c56ad60573d2e 100644
--- a/playground/external/dep-that-requires/package.json
+++ b/playground/external/dep-that-requires/package.json
@@ -5,6 +5,6 @@
"dependencies": {
"slash3": "npm:slash@^3.0.0",
"slash5": "npm:slash@^5.1.0",
- "vue": "^3.4.26"
+ "vue": "^3.4.27"
}
}
diff --git a/playground/external/package.json b/playground/external/package.json
index cb20a8e129fb65..934e0dc6ca0202 100644
--- a/playground/external/package.json
+++ b/playground/external/package.json
@@ -17,7 +17,7 @@
"slash3": "npm:slash@^3.0.0",
"slash5": "npm:slash@^5.1.0",
"vite": "workspace:*",
- "vue": "^3.4.26",
+ "vue": "^3.4.27",
"vue32": "npm:vue@~3.2.0"
}
}
diff --git a/playground/json/package.json b/playground/json/package.json
index 6c25d5ee9d6004..71967fe0f001e3 100644
--- a/playground/json/package.json
+++ b/playground/json/package.json
@@ -15,6 +15,6 @@
"devDependencies": {
"@vitejs/test-json-module": "file:./json-module",
"express": "^4.19.2",
- "vue": "^3.4.26"
+ "vue": "^3.4.27"
}
}
diff --git a/playground/multiple-entrypoints/package.json b/playground/multiple-entrypoints/package.json
index 56f30add9fc906..ec2a4ebbdfb1f6 100644
--- a/playground/multiple-entrypoints/package.json
+++ b/playground/multiple-entrypoints/package.json
@@ -10,6 +10,6 @@
"preview": "vite preview"
},
"devDependencies": {
- "sass": "^1.76.0"
+ "sass": "^1.77.0"
}
}
diff --git a/playground/object-hooks/package.json b/playground/object-hooks/package.json
index 68a8f9a0f53ec6..60d1d499ac3268 100644
--- a/playground/object-hooks/package.json
+++ b/playground/object-hooks/package.json
@@ -10,6 +10,6 @@
"preview": "vite preview"
},
"dependencies": {
- "vue": "^3.4.26"
+ "vue": "^3.4.27"
}
}
diff --git a/playground/optimize-deps-no-discovery/package.json b/playground/optimize-deps-no-discovery/package.json
index 1a9100c392d5b2..3585183680f02c 100644
--- a/playground/optimize-deps-no-discovery/package.json
+++ b/playground/optimize-deps-no-discovery/package.json
@@ -11,7 +11,7 @@
},
"dependencies": {
"@vitejs/test-dep-no-discovery": "file:./dep-no-discovery",
- "vue": "^3.4.26",
+ "vue": "^3.4.27",
"vuex": "^4.1.0"
}
}
diff --git a/playground/optimize-deps/package.json b/playground/optimize-deps/package.json
index 94f3ee3059f0c7..e2ee4ff104c84f 100644
--- a/playground/optimize-deps/package.json
+++ b/playground/optimize-deps/package.json
@@ -43,7 +43,7 @@
"react-dom": "^18.3.1",
"@vitejs/test-resolve-linked": "workspace:0.0.0",
"url": "^0.11.3",
- "vue": "^3.4.26",
+ "vue": "^3.4.27",
"vuex": "^4.1.0",
"lodash": "^4.17.21",
"lodash.clonedeep": "^4.5.0"
diff --git a/playground/tailwind/package.json b/playground/tailwind/package.json
index 6bc33086e39d31..daf8fff100efdb 100644
--- a/playground/tailwind/package.json
+++ b/playground/tailwind/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"autoprefixer": "^10.4.19",
"tailwindcss": "^3.4.3",
- "vue": "^3.4.26",
+ "vue": "^3.4.27",
"vue-router": "^4.3.2"
},
"devDependencies": {
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 52c8968536161c..e3cb39f1bbff0d 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -61,8 +61,8 @@ importers:
specifier: ^4.0.7
version: 4.0.7
'@types/node':
- specifier: ^20.12.7
- version: 20.12.7
+ specifier: ^20.12.10
+ version: 20.12.10
'@types/picomatch':
specifier: ^2.3.3
version: 2.3.3
@@ -97,8 +97,8 @@ importers:
specifier: ^2.29.1
version: 2.29.1(@typescript-eslint/parser@7.8.0)(eslint@8.57.0)
eslint-plugin-n:
- specifier: ^17.4.0
- version: 17.4.0(eslint@8.57.0)
+ specifier: ^17.5.0
+ version: 17.5.0(eslint@8.57.0)
eslint-plugin-regexp:
specifier: ^2.5.0
version: 2.5.0(eslint@8.57.0)
@@ -121,8 +121,8 @@ importers:
specifier: ^1.0.0
version: 1.0.0
playwright-chromium:
- specifier: ^1.43.1
- version: 1.43.1
+ specifier: ^1.44.0
+ version: 1.44.0
prettier:
specifier: 3.2.5
version: 3.2.5
@@ -142,8 +142,8 @@ importers:
specifier: ^2.6.2
version: 2.6.2
tsx:
- specifier: ^4.8.0
- version: 4.8.0
+ specifier: ^4.9.3
+ version: 4.9.3
typescript:
specifier: ^5.2.2
version: 5.2.2
@@ -154,8 +154,8 @@ importers:
specifier: workspace:*
version: link:packages/vite
vitest:
- specifier: ^1.5.3
- version: 1.5.3(@types/node@20.12.7)
+ specifier: ^1.6.0
+ version: 1.6.0(@types/node@20.12.10)
docs:
devDependencies:
@@ -169,8 +169,8 @@ importers:
specifier: 1.1.4
version: 1.1.4(typescript@5.2.2)
vue:
- specifier: ^3.4.26
- version: 3.4.26(typescript@5.2.2)
+ specifier: ^3.4.27
+ version: 3.4.27(typescript@5.2.2)
packages/create-vite:
devDependencies:
@@ -358,8 +358,8 @@ importers:
specifier: ^4.0.5
version: 4.0.5
mlly:
- specifier: ^1.6.1
- version: 1.6.1
+ specifier: ^1.7.0
+ version: 1.7.0
mrmime:
specifier: ^2.0.0
version: 2.0.0
@@ -403,8 +403,8 @@ importers:
specifier: ^3.3.1
version: 3.3.1(rollup@4.13.0)
sass:
- specifier: ^1.76.0
- version: 1.76.0
+ specifier: ^1.77.0
+ version: 1.77.0
sirv:
specifier: ^2.0.4
version: 2.0.4(patch_hash=amdes53ifqfntejkflpaq5ifce)
@@ -493,14 +493,14 @@ importers:
playground/alias:
dependencies:
'@vue/shared':
- specifier: ^3.4.26
- version: 3.4.26
+ specifier: ^3.4.27
+ version: 3.4.27
aliased-module:
specifier: file:./dir/module
version: file:playground/alias/dir/module
vue:
- specifier: ^3.4.26
- version: 3.4.26(typescript@5.2.2)
+ specifier: ^3.4.27
+ version: 3.4.27(typescript@5.2.2)
devDependencies:
'@vitejs/test-resolve-linked':
specifier: workspace:*
@@ -518,8 +518,8 @@ importers:
specifier: ^3.3.2
version: 3.3.2
sass:
- specifier: ^1.76.0
- version: 1.76.0
+ specifier: ^1.77.0
+ version: 1.77.0
tailwindcss:
specifier: ^3.4.3
version: 3.4.3(ts-node@10.9.2)
@@ -545,8 +545,8 @@ importers:
playground/config/packages/siblings:
devDependencies:
'@types/lodash':
- specifier: ^4.17.0
- version: 4.17.0
+ specifier: ^4.17.1
+ version: 4.17.1
lodash:
specifier: ^4.17.21
version: 4.17.21
@@ -580,8 +580,8 @@ importers:
specifier: ^6.0.1
version: 6.0.1(postcss@8.4.38)
sass:
- specifier: ^1.76.0
- version: 1.76.0
+ specifier: ^1.77.0
+ version: 1.77.0
stylus:
specifier: ^0.63.0
version: 0.63.0
@@ -619,8 +619,8 @@ importers:
specifier: ^0.30.10
version: 0.30.10
sass:
- specifier: ^1.76.0
- version: 1.76.0
+ specifier: ^1.77.0
+ version: 1.77.0
stylus:
specifier: ^0.63.0
version: 0.63.0
@@ -683,8 +683,8 @@ importers:
playground/extensions:
dependencies:
vue:
- specifier: ^3.4.26
- version: 3.4.26(typescript@5.2.2)
+ specifier: ^3.4.27
+ version: 3.4.27(typescript@5.2.2)
playground/external:
dependencies:
@@ -705,8 +705,8 @@ importers:
specifier: workspace:*
version: link:../../packages/vite
vue:
- specifier: ^3.4.26
- version: 3.4.26(typescript@5.2.2)
+ specifier: ^3.4.27
+ version: 3.4.27(typescript@5.2.2)
vue32:
specifier: npm:vue@~3.2.0
version: /vue@3.2.0
@@ -720,8 +720,8 @@ importers:
specifier: npm:slash@^5.1.0
version: /slash@5.1.0
vue:
- specifier: ^3.4.26
- version: 3.4.26(typescript@5.2.2)
+ specifier: ^3.4.27
+ version: 3.4.27(typescript@5.2.2)
playground/external/dep-that-requires:
dependencies:
@@ -732,8 +732,8 @@ importers:
specifier: npm:slash@^5.1.0
version: /slash@5.1.0
vue:
- specifier: ^3.4.26
- version: 3.4.26(typescript@5.2.2)
+ specifier: ^3.4.27
+ version: 3.4.27(typescript@5.2.2)
playground/fs-serve: {}
@@ -781,8 +781,8 @@ importers:
specifier: ^4.19.2
version: 4.19.2
vue:
- specifier: ^3.4.26
- version: 3.4.26(typescript@5.2.2)
+ specifier: ^3.4.27
+ version: 3.4.27(typescript@5.2.2)
playground/json/json-module: {}
@@ -817,8 +817,8 @@ importers:
playground/multiple-entrypoints:
devDependencies:
sass:
- specifier: ^1.76.0
- version: 1.76.0
+ specifier: ^1.77.0
+ version: 1.77.0
playground/nested-deps:
dependencies:
@@ -880,8 +880,8 @@ importers:
playground/object-hooks:
dependencies:
vue:
- specifier: ^3.4.26
- version: 3.4.26(typescript@5.2.2)
+ specifier: ^3.4.27
+ version: 3.4.27(typescript@5.2.2)
playground/optimize-deps:
dependencies:
@@ -991,11 +991,11 @@ importers:
specifier: ^0.11.3
version: 0.11.3
vue:
- specifier: ^3.4.26
- version: 3.4.26(typescript@5.2.2)
+ specifier: ^3.4.27
+ version: 3.4.27(typescript@5.2.2)
vuex:
specifier: ^4.1.0
- version: 4.1.0(vue@3.4.26)
+ version: 4.1.0(vue@3.4.27)
playground/optimize-deps-no-discovery:
dependencies:
@@ -1003,11 +1003,11 @@ importers:
specifier: file:./dep-no-discovery
version: file:playground/optimize-deps-no-discovery/dep-no-discovery
vue:
- specifier: ^3.4.26
- version: 3.4.26(typescript@5.2.2)
+ specifier: ^3.4.27
+ version: 3.4.27(typescript@5.2.2)
vuex:
specifier: ^4.1.0
- version: 4.1.0(vue@3.4.26)
+ version: 4.1.0(vue@3.4.27)
playground/optimize-deps-no-discovery/dep-no-discovery: {}
@@ -1537,15 +1537,15 @@ importers:
specifier: ^3.4.3
version: 3.4.3(ts-node@10.9.2)
vue:
- specifier: ^3.4.26
- version: 3.4.26(typescript@5.2.2)
+ specifier: ^3.4.27
+ version: 3.4.27(typescript@5.2.2)
vue-router:
specifier: ^4.3.2
- version: 4.3.2(vue@3.4.26)
+ version: 4.3.2(vue@3.4.27)
devDependencies:
ts-node:
specifier: ^10.9.2
- version: 10.9.2(@types/node@20.12.7)(typescript@5.2.2)
+ version: 10.9.2(@types/node@20.12.10)(typescript@5.2.2)
playground/tailwind-sourcemap:
dependencies:
@@ -4379,14 +4379,14 @@ packages:
resolution: {integrity: sha512-M4lZd93tlZiFtfVT8ZnIhfGfTv5MwRKOtWcUT37RAsLTTU+DhMXHeYlj9k+7y3KgtNchDFGjcZvSw57L10FkZw==}
dependencies:
'@shikijs/twoslash': 1.4.0(typescript@5.2.2)
- floating-vue: 5.2.2(vue@3.4.26)
+ floating-vue: 5.2.2(vue@3.4.27)
mdast-util-from-markdown: 2.0.0
mdast-util-gfm: 3.0.0
mdast-util-to-hast: 13.1.0
shiki: 1.4.0
twoslash: 0.2.5(typescript@5.2.2)
twoslash-vue: 0.2.5(typescript@5.2.2)
- vue: 3.4.26(typescript@5.2.2)
+ vue: 3.4.27(typescript@5.2.2)
transitivePeerDependencies:
- '@nuxt/kit'
- supports-color
@@ -4446,7 +4446,7 @@ packages:
resolution: {integrity: sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg==}
dependencies:
'@types/connect': 3.4.38
- '@types/node': 20.12.7
+ '@types/node': 20.12.10
dev: true
/@types/braces@3.0.1:
@@ -4456,7 +4456,7 @@ packages:
/@types/connect@3.4.38:
resolution: {integrity: sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==}
dependencies:
- '@types/node': 20.12.7
+ '@types/node': 20.12.10
dev: true
/@types/convert-source-map@2.0.3:
@@ -4466,7 +4466,7 @@ packages:
/@types/cross-spawn@6.0.6:
resolution: {integrity: sha512-fXRhhUkG4H3TQk5dBhQ7m/JDdSNHKwR2BBia62lhwEIq9xGiQKLxd6LymNhn47SjXhsUEPmxi+PKw2OkW4LLjA==}
dependencies:
- '@types/node': 20.12.7
+ '@types/node': 20.12.10
dev: true
/@types/debug@4.1.12:
@@ -4493,13 +4493,13 @@ packages:
/@types/etag@1.8.3:
resolution: {integrity: sha512-QYHv9Yeh1ZYSMPQOoxY4XC4F1r+xRUiAriB303F4G6uBsT3KKX60DjiogvVv+2VISVDuJhcIzMdbjT+Bm938QQ==}
dependencies:
- '@types/node': 20.12.7
+ '@types/node': 20.12.10
dev: true
/@types/express-serve-static-core@4.17.43:
resolution: {integrity: sha512-oaYtiBirUOPQGSWNGPWnzyAFJ0BP3cwvN4oWZQY+zUBwpVIGsKUkpBpSztp74drYcjavs7SKFZ4DX1V2QeN8rg==}
dependencies:
- '@types/node': 20.12.7
+ '@types/node': 20.12.10
'@types/qs': 6.9.12
'@types/range-parser': 1.2.7
'@types/send': 0.17.4
@@ -4518,7 +4518,7 @@ packages:
resolution: {integrity: sha512-yTbItCNreRooED33qjunPthRcSjERP1r4MqCZc7wv0u2sUkzTFp45tgUfS5+r7FrZPdmCCNflLhVSP/o+SemsQ==}
dependencies:
'@types/jsonfile': 6.1.1
- '@types/node': 20.12.7
+ '@types/node': 20.12.10
dev: true
/@types/hast@3.0.4:
@@ -4538,7 +4538,7 @@ packages:
/@types/jsonfile@6.1.1:
resolution: {integrity: sha512-GSgiRCVeapDN+3pqA35IkQwasaCh/0YFH5dEF6S88iDvEn901DjOeH3/QPY+XYP1DFzDZPvIvfeEgk+7br5png==}
dependencies:
- '@types/node': 20.12.7
+ '@types/node': 20.12.10
dev: true
/@types/less@3.0.6:
@@ -4549,8 +4549,8 @@ packages:
resolution: {integrity: sha512-pTjcqY9E4nOI55Wgpz7eiI8+LzdYnw3qxXCfHyBDdPbYvbyLgWLJGh8EdPvqawwMK1Uo1794AUkkR38Fr0g+2g==}
dev: true
- /@types/lodash@4.17.0:
- resolution: {integrity: sha512-t7dhREVv6dbNj0q17X12j7yDG4bD/DHYX7o5/DbDxobP0HnGPgpRz2Ej77aL7TZT3DSw13fqUTj8J4mMnqa7WA==}
+ /@types/lodash@4.17.1:
+ resolution: {integrity: sha512-X+2qazGS3jxLAIz5JDXDzglAF3KpijdhFxlf/V1+hEsOUc+HnWi81L/uv/EvGuV90WY+7mPGFCUDGfQC3Gj95Q==}
dev: true
/@types/markdown-it@14.0.1:
@@ -4598,8 +4598,8 @@ packages:
undici-types: 5.26.5
dev: true
- /@types/node@20.12.7:
- resolution: {integrity: sha512-wq0cICSkRLVaf3UGLMGItu/PtdY7oaXaI/RVU+xliKVOtRna3PRY57ZDfztpDL0n11vfymMUnXv8QwYCO7L1wg==}
+ /@types/node@20.12.10:
+ resolution: {integrity: sha512-Eem5pH9pmWBHoGAT8Dr5fdc5rYA+4NAovdM4EktRPVAAiJhmWWfQrA0cFhAbOsQdSfIHjAud6YdkbL69+zSKjw==}
dependencies:
undici-types: 5.26.5
@@ -4642,7 +4642,7 @@ packages:
resolution: {integrity: sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==}
dependencies:
'@types/mime': 1.3.5
- '@types/node': 20.12.7
+ '@types/node': 20.12.10
dev: true
/@types/serve-static@1.15.5:
@@ -4650,13 +4650,13 @@ packages:
dependencies:
'@types/http-errors': 2.0.4
'@types/mime': 3.0.4
- '@types/node': 20.12.7
+ '@types/node': 20.12.10
dev: true
/@types/stylus@0.48.42:
resolution: {integrity: sha512-CPGlr5teL4sqdap+EOowMifLuNGeIoLwc0VQ7u/BPxo+ocqiNa5jeVt0H0IVBblEh6ZwX1sGpIQIFnSSr8NBQA==}
dependencies:
- '@types/node': 20.12.7
+ '@types/node': 20.12.10
dev: true
/@types/unist@3.0.2:
@@ -4670,7 +4670,7 @@ packages:
/@types/ws@8.5.10:
resolution: {integrity: sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A==}
dependencies:
- '@types/node': 20.12.7
+ '@types/node': 20.12.10
dev: true
/@typescript-eslint/eslint-plugin@7.8.0(@typescript-eslint/parser@7.8.0)(eslint@8.57.0)(typescript@5.2.2):
@@ -4817,7 +4817,7 @@ packages:
resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==}
dev: true
- /@vitejs/plugin-vue@5.0.4(vite@packages+vite)(vue@3.4.26):
+ /@vitejs/plugin-vue@5.0.4(vite@packages+vite)(vue@3.4.27):
resolution: {integrity: sha512-WS3hevEszI6CEVEx28F8RjTX97k3KsrcY6kvTg7+Whm5y3oYvcqzVeGCU3hxSAn4uY2CLCkeokkGKpoctccilQ==}
engines: {node: ^18.0.0 || >=20.0.0}
peerDependencies:
@@ -4825,7 +4825,7 @@ packages:
vue: ^3.2.25
dependencies:
vite: link:packages/vite
- vue: 3.4.26(typescript@5.2.2)
+ vue: 3.4.27(typescript@5.2.2)
dev: true
/@vitejs/release-scripts@1.3.1:
@@ -4839,38 +4839,38 @@ packages:
semver: 7.6.0
dev: true
- /@vitest/expect@1.5.3:
- resolution: {integrity: sha512-y+waPz31pOFr3rD7vWTbwiLe5+MgsMm40jTZbQE8p8/qXyBX3CQsIXRx9XK12IbY7q/t5a5aM/ckt33b4PxK2g==}
+ /@vitest/expect@1.6.0:
+ resolution: {integrity: sha512-ixEvFVQjycy/oNgHjqsL6AZCDduC+tflRluaHIzKIsdbzkLn2U/iBnVeJwB6HsIjQBdfMR8Z0tRxKUsvFJEeWQ==}
dependencies:
- '@vitest/spy': 1.5.3
- '@vitest/utils': 1.5.3
+ '@vitest/spy': 1.6.0
+ '@vitest/utils': 1.6.0
chai: 4.3.10
dev: true
- /@vitest/runner@1.5.3:
- resolution: {integrity: sha512-7PlfuReN8692IKQIdCxwir1AOaP5THfNkp0Uc4BKr2na+9lALNit7ub9l3/R7MP8aV61+mHKRGiqEKRIwu6iiQ==}
+ /@vitest/runner@1.6.0:
+ resolution: {integrity: sha512-P4xgwPjwesuBiHisAVz/LSSZtDjOTPYZVmNAnpHHSR6ONrf8eCJOFRvUwdHn30F5M1fxhqtl7QZQUk2dprIXAg==}
dependencies:
- '@vitest/utils': 1.5.3
+ '@vitest/utils': 1.6.0
p-limit: 5.0.0
pathe: 1.1.2
dev: true
- /@vitest/snapshot@1.5.3:
- resolution: {integrity: sha512-K3mvIsjyKYBhNIDujMD2gfQEzddLe51nNOAf45yKRt/QFJcUIeTQd2trRvv6M6oCBHNVnZwFWbQ4yj96ibiDsA==}
+ /@vitest/snapshot@1.6.0:
+ resolution: {integrity: sha512-+Hx43f8Chus+DCmygqqfetcAZrDJwvTj0ymqjQq4CvmpKFSTVteEOBzCusu1x2tt4OJcvBflyHUE0DZSLgEMtQ==}
dependencies:
magic-string: 0.30.10
pathe: 1.1.2
pretty-format: 29.7.0
dev: true
- /@vitest/spy@1.5.3:
- resolution: {integrity: sha512-Llj7Jgs6lbnL55WoshJUUacdJfjU2honvGcAJBxhra5TPEzTJH8ZuhI3p/JwqqfnTr4PmP7nDmOXP53MS7GJlg==}
+ /@vitest/spy@1.6.0:
+ resolution: {integrity: sha512-leUTap6B/cqi/bQkXUu6bQV5TZPx7pmMBKBQiI0rJA8c3pB56ZsaTbREnF7CJfmvAS4V2cXIBAh/3rVwrrCYgw==}
dependencies:
tinyspy: 2.2.0
dev: true
- /@vitest/utils@1.5.3:
- resolution: {integrity: sha512-rE9DTN1BRhzkzqNQO+kw8ZgfeEBCLXiHJwetk668shmNBpSagQxneT5eSqEBLP+cqSiAeecvQmbpFfdMyLcIQA==}
+ /@vitest/utils@1.6.0:
+ resolution: {integrity: sha512-21cPiuGMoMZwiOHa2i4LXkMkMkCGzA+MVFV70jRwHo95dL4x/ts5GZhML1QWuy7yfp3WzK3lRvZi3JnXTYqrBw==}
dependencies:
diff-sequences: 29.6.3
estree-walker: 3.0.3
@@ -4900,21 +4900,21 @@ packages:
source-map: 0.6.1
dev: true
- /@vue/compiler-core@3.4.24:
- resolution: {integrity: sha512-vbW/tgbwJYj62N/Ww99x0zhFTkZDTcGh3uwJEuadZ/nF9/xuFMC4693P9r+3sxGXISABpDKvffY5ApH9pmdd1A==}
+ /@vue/compiler-core@3.4.26:
+ resolution: {integrity: sha512-N9Vil6Hvw7NaiyFUFBPXrAyETIGlQ8KcFMkyk6hW1Cl6NvoqvP+Y8p1Eqvx+UdqsnrnI9+HMUEJegzia3mhXmQ==}
dependencies:
'@babel/parser': 7.24.5
- '@vue/shared': 3.4.24
+ '@vue/shared': 3.4.26
entities: 4.5.0
estree-walker: 2.0.2
source-map-js: 1.2.0
dev: true
- /@vue/compiler-core@3.4.26:
- resolution: {integrity: sha512-N9Vil6Hvw7NaiyFUFBPXrAyETIGlQ8KcFMkyk6hW1Cl6NvoqvP+Y8p1Eqvx+UdqsnrnI9+HMUEJegzia3mhXmQ==}
+ /@vue/compiler-core@3.4.27:
+ resolution: {integrity: sha512-E+RyqY24KnyDXsCuQrI+mlcdW3ALND6U7Gqa/+bVwbcpcR3BRRIckFoz7Qyd4TTlnugtwuI7YgjbvsLmxb+yvg==}
dependencies:
'@babel/parser': 7.24.5
- '@vue/shared': 3.4.26
+ '@vue/shared': 3.4.27
entities: 4.5.0
estree-walker: 2.0.2
source-map-js: 1.2.0
@@ -4926,37 +4926,37 @@ packages:
'@vue/shared': 3.2.0
dev: true
- /@vue/compiler-dom@3.4.24:
- resolution: {integrity: sha512-4XgABML/4cNndVsQndG6BbGN7+EoisDwi3oXNovqL/4jdNhwvP8/rfRMTb6FxkxIxUUtg6AI1/qZvwfSjxJiWA==}
- dependencies:
- '@vue/compiler-core': 3.4.24
- '@vue/shared': 3.4.24
- dev: true
-
/@vue/compiler-dom@3.4.26:
resolution: {integrity: sha512-4CWbR5vR9fMg23YqFOhr6t6WB1Fjt62d6xdFPyj8pxrYub7d+OgZaObMsoxaF9yBUHPMiPFK303v61PwAuGvZA==}
dependencies:
'@vue/compiler-core': 3.4.26
'@vue/shared': 3.4.26
+ dev: true
+
+ /@vue/compiler-dom@3.4.27:
+ resolution: {integrity: sha512-kUTvochG/oVgE1w5ViSr3KUBh9X7CWirebA3bezTbB5ZKBQZwR2Mwj9uoSKRMFcz4gSMzzLXBPD6KpCLb9nvWw==}
+ dependencies:
+ '@vue/compiler-core': 3.4.27
+ '@vue/shared': 3.4.27
- /@vue/compiler-sfc@3.4.26:
- resolution: {integrity: sha512-It1dp+FAOCgluYSVYlDn5DtZBxk1NCiJJfu2mlQqa/b+k8GL6NG/3/zRbJnHdhV2VhxFghaDq5L4K+1dakW6cw==}
+ /@vue/compiler-sfc@3.4.27:
+ resolution: {integrity: sha512-nDwntUEADssW8e0rrmE0+OrONwmRlegDA1pD6QhVeXxjIytV03yDqTey9SBDiALsvAd5U4ZrEKbMyVXhX6mCGA==}
dependencies:
'@babel/parser': 7.24.5
- '@vue/compiler-core': 3.4.26
- '@vue/compiler-dom': 3.4.26
- '@vue/compiler-ssr': 3.4.26
- '@vue/shared': 3.4.26
+ '@vue/compiler-core': 3.4.27
+ '@vue/compiler-dom': 3.4.27
+ '@vue/compiler-ssr': 3.4.27
+ '@vue/shared': 3.4.27
estree-walker: 2.0.2
magic-string: 0.30.10
postcss: 8.4.38
source-map-js: 1.2.0
- /@vue/compiler-ssr@3.4.26:
- resolution: {integrity: sha512-FNwLfk7LlEPRY/g+nw2VqiDKcnDTVdCfBREekF8X74cPLiWHUX6oldktf/Vx28yh4STNy7t+/yuLoMBBF7YDiQ==}
+ /@vue/compiler-ssr@3.4.27:
+ resolution: {integrity: sha512-CVRzSJIltzMG5FcidsW0jKNQnNRYC8bT21VegyMMtHmhW3UOI7knmUehzswXLrExDLE6lQCZdrhD4ogI7c+vuw==}
dependencies:
- '@vue/compiler-dom': 3.4.26
- '@vue/shared': 3.4.26
+ '@vue/compiler-dom': 3.4.27
+ '@vue/shared': 3.4.27
/@vue/devtools-api@6.5.0:
resolution: {integrity: sha512-o9KfBeaBmCKl10usN4crU53fYtC1r7jJwdGKjPT24t348rHxgfpZ0xL3Xm/gLUYnc0oTp8LAmrxOeLyu6tbk2Q==}
@@ -4966,15 +4966,15 @@ packages:
resolution: {integrity: sha512-LgPscpE3Vs0x96PzSSB4IGVSZXZBZHpfxs+ZA1d+VEPwHdOXowy/Y2CsvCAIFrf+ssVU1pD1jidj505EpUnfbA==}
dev: false
- /@vue/devtools-api@7.0.27(vue@3.4.26):
+ /@vue/devtools-api@7.0.27(vue@3.4.27):
resolution: {integrity: sha512-BFCFCusSDcw2UcOFD/QeK7OxD1x2C/m+uAN30Q7jLKECSW53hmz0urzJmX834GuWDZX/hIxkyUKnLLfEIP1c/w==}
dependencies:
- '@vue/devtools-kit': 7.0.27(vue@3.4.26)
+ '@vue/devtools-kit': 7.0.27(vue@3.4.27)
transitivePeerDependencies:
- vue
dev: true
- /@vue/devtools-kit@7.0.27(vue@3.4.26):
+ /@vue/devtools-kit@7.0.27(vue@3.4.27):
resolution: {integrity: sha512-/A5xM38pPCFX5Yhl/lRFAzjyK6VNsH670nww2WbjFKWqlu3I+lMxWKzQkCW6A1V8bduITgl2kHORfg2gTw6QaA==}
peerDependencies:
vue: ^3.0.0
@@ -4984,7 +4984,7 @@ packages:
mitt: 3.0.1
perfect-debounce: 1.0.0
speakingurl: 14.0.1
- vue: 3.4.26(typescript@5.2.2)
+ vue: 3.4.27(typescript@5.2.2)
dev: true
/@vue/devtools-shared@7.0.27:
@@ -5003,8 +5003,8 @@ packages:
dependencies:
'@volar/language-core': 1.11.1
'@volar/source-map': 1.11.1
- '@vue/compiler-dom': 3.4.24
- '@vue/shared': 3.4.26
+ '@vue/compiler-dom': 3.4.26
+ '@vue/shared': 3.4.27
computeds: 0.0.1
minimatch: 9.0.4
muggle-string: 0.3.1
@@ -5019,10 +5019,10 @@ packages:
'@vue/shared': 3.2.0
dev: true
- /@vue/reactivity@3.4.26:
- resolution: {integrity: sha512-E/ynEAu/pw0yotJeLdvZEsp5Olmxt+9/WqzvKff0gE67tw73gmbx6tRkiagE/eH0UCubzSlGRebCbidB1CpqZQ==}
+ /@vue/reactivity@3.4.27:
+ resolution: {integrity: sha512-kK0g4NknW6JX2yySLpsm2jlunZJl2/RJGZ0H9ddHdfBVHcNzxmQ0sS0b09ipmBoQpY8JM2KmUw+a6sO8Zo+zIA==}
dependencies:
- '@vue/shared': 3.4.26
+ '@vue/shared': 3.4.27
/@vue/runtime-core@3.2.0:
resolution: {integrity: sha512-mZlkYTcw3mVwClwFTpql4hkDfOweHE/w+9r3Yb3UPwRs75bSJXMBRUikw1GVx01bZQ8VQPjBYowCElcWNSlKig==}
@@ -5031,11 +5031,11 @@ packages:
'@vue/shared': 3.2.0
dev: true
- /@vue/runtime-core@3.4.26:
- resolution: {integrity: sha512-AFJDLpZvhT4ujUgZSIL9pdNcO23qVFh7zWCsNdGQBw8ecLNxOOnPcK9wTTIYCmBJnuPHpukOwo62a2PPivihqw==}
+ /@vue/runtime-core@3.4.27:
+ resolution: {integrity: sha512-7aYA9GEbOOdviqVvcuweTLe5Za4qBZkUY7SvET6vE8kyypxVgaT1ixHLg4urtOlrApdgcdgHoTZCUuTGap/5WA==}
dependencies:
- '@vue/reactivity': 3.4.26
- '@vue/shared': 3.4.26
+ '@vue/reactivity': 3.4.27
+ '@vue/shared': 3.4.27
/@vue/runtime-dom@3.2.0:
resolution: {integrity: sha512-NCHMfrUwpJelCTINpMRLFhzWKJkl07slabmTbECZFJnkdDfFkptGCWll42q58bbvwGmpAPDzNI3yYch72pcKwg==}
@@ -5045,46 +5045,46 @@ packages:
csstype: 2.6.21
dev: true
- /@vue/runtime-dom@3.4.26:
- resolution: {integrity: sha512-UftYA2hUXR2UOZD/Fc3IndZuCOOJgFxJsWOxDkhfVcwLbsfh2CdXE2tG4jWxBZuDAs9J9PzRTUFt1PgydEtItw==}
+ /@vue/runtime-dom@3.4.27:
+ resolution: {integrity: sha512-ScOmP70/3NPM+TW9hvVAz6VWWtZJqkbdf7w6ySsws+EsqtHvkhxaWLecrTorFxsawelM5Ys9FnDEMt6BPBDS0Q==}
dependencies:
- '@vue/runtime-core': 3.4.26
- '@vue/shared': 3.4.26
+ '@vue/runtime-core': 3.4.27
+ '@vue/shared': 3.4.27
csstype: 3.1.3
- /@vue/server-renderer@3.4.26(vue@3.4.26):
- resolution: {integrity: sha512-xoGAqSjYDPGAeRWxeoYwqJFD/gw7mpgzOvSxEmjWaFO2rE6qpbD1PC172YRpvKhrihkyHJkNDADFXTfCyVGhKw==}
+ /@vue/server-renderer@3.4.27(vue@3.4.27):
+ resolution: {integrity: sha512-dlAMEuvmeA3rJsOMJ2J1kXU7o7pOxgsNHVr9K8hB3ImIkSuBrIdy0vF66h8gf8Tuinf1TK3mPAz2+2sqyf3KzA==}
peerDependencies:
- vue: 3.4.26
+ vue: 3.4.27
dependencies:
- '@vue/compiler-ssr': 3.4.26
- '@vue/shared': 3.4.26
- vue: 3.4.26(typescript@5.2.2)
+ '@vue/compiler-ssr': 3.4.27
+ '@vue/shared': 3.4.27
+ vue: 3.4.27(typescript@5.2.2)
/@vue/shared@3.2.0:
resolution: {integrity: sha512-MgdilC3YHYSCFuNlxZBgugh8B9/h/h+nQ6lkeaxqFWW+FnV/JzCwW4Bh5bYIYvBleG8QZjFwxdmdqSAWLXzgEA==}
dev: true
- /@vue/shared@3.4.24:
- resolution: {integrity: sha512-BW4tajrJBM9AGAknnyEw5tO2xTmnqgup0VTnDAMcxYmqOX0RG0b9aSUGAbEKolD91tdwpA6oCwbltoJoNzpItw==}
- dev: true
-
/@vue/shared@3.4.26:
resolution: {integrity: sha512-Fg4zwR0GNnjzodMt3KRy2AWGMKQXByl56+4HjN87soxLNU9P5xcJkstAlIeEF3cU6UYOzmJl1tV0dVPGIljCnQ==}
+ dev: true
+
+ /@vue/shared@3.4.27:
+ resolution: {integrity: sha512-DL3NmY2OFlqmYYrzp39yi3LDkKxa5vZVwxWdQ3rG0ekuWscHraeIbnI8t+aZK7qhYqEqWKTUdijadunb9pnrgA==}
- /@vueuse/core@10.9.0(vue@3.4.26):
+ /@vueuse/core@10.9.0(vue@3.4.27):
resolution: {integrity: sha512-/1vjTol8SXnx6xewDEKfS0Ra//ncg4Hb0DaZiwKf7drgfMsKFExQ+FnnENcN6efPen+1kIzhLQoGSy0eDUVOMg==}
dependencies:
'@types/web-bluetooth': 0.0.20
'@vueuse/metadata': 10.9.0
- '@vueuse/shared': 10.9.0(vue@3.4.26)
- vue-demi: 0.14.7(vue@3.4.26)
+ '@vueuse/shared': 10.9.0(vue@3.4.27)
+ vue-demi: 0.14.7(vue@3.4.27)
transitivePeerDependencies:
- '@vue/composition-api'
- vue
dev: true
- /@vueuse/integrations@10.9.0(focus-trap@7.5.4)(vue@3.4.26):
+ /@vueuse/integrations@10.9.0(focus-trap@7.5.4)(vue@3.4.27):
resolution: {integrity: sha512-acK+A01AYdWSvL4BZmCoJAcyHJ6EqhmkQEXbQLwev1MY7NBnS+hcEMx/BzVoR9zKI+UqEPMD9u6PsyAuiTRT4Q==}
peerDependencies:
async-validator: '*'
@@ -5125,10 +5125,10 @@ packages:
universal-cookie:
optional: true
dependencies:
- '@vueuse/core': 10.9.0(vue@3.4.26)
- '@vueuse/shared': 10.9.0(vue@3.4.26)
+ '@vueuse/core': 10.9.0(vue@3.4.27)
+ '@vueuse/shared': 10.9.0(vue@3.4.27)
focus-trap: 7.5.4
- vue-demi: 0.14.7(vue@3.4.26)
+ vue-demi: 0.14.7(vue@3.4.27)
transitivePeerDependencies:
- '@vue/composition-api'
- vue
@@ -5138,10 +5138,10 @@ packages:
resolution: {integrity: sha512-iddNbg3yZM0X7qFY2sAotomgdHK7YJ6sKUvQqbvwnf7TmaVPxS4EJydcNsVejNdS8iWCtDk+fYXr7E32nyTnGA==}
dev: true
- /@vueuse/shared@10.9.0(vue@3.4.26):
+ /@vueuse/shared@10.9.0(vue@3.4.27):
resolution: {integrity: sha512-Uud2IWncmAfJvRaFYzv5OHDli+FbOzxiVEQdLCKQKLyhz94PIyFC3CHcH7EDMwIn8NPtD06+PNbC/PiO0LGLtw==}
dependencies:
- vue-demi: 0.14.7(vue@3.4.26)
+ vue-demi: 0.14.7(vue@3.4.27)
transitivePeerDependencies:
- '@vue/composition-api'
- vue
@@ -5741,6 +5741,10 @@ packages:
/concat-map@0.0.1:
resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}
+ /confbox@0.1.7:
+ resolution: {integrity: sha512-uJcB/FKZtBMCJpK8MQji6bJHgu1tixKPxRLeGkNzBoOZzpnZUJm0jm2/sBDWcuBx1dYgxV4JU+g5hmNxCyAmdA==}
+ dev: true
+
/connect@3.7.0:
resolution: {integrity: sha512-ZqRXc+tZukToSNmh5C2iWMSoV3X1YUcPbqEM4DkEG5tNQXrQUZCNVGGv3IuicnkMtPfGf3Xtp8WCXs295iQ1pQ==}
engines: {node: '>= 0.10.0'}
@@ -6477,8 +6481,8 @@ packages:
- supports-color
dev: true
- /eslint-plugin-n@17.4.0(eslint@8.57.0):
- resolution: {integrity: sha512-RtgGgNpYxECwE9dFr+D66RtbN0B8r/fY6ZF8EVsmK2YnZxE8/n9LNQhgnkL9z37UFZjYVmvMuC32qu7fQBsLVQ==}
+ /eslint-plugin-n@17.5.0(eslint@8.57.0):
+ resolution: {integrity: sha512-r7i+NY+RVXQi4Q7sKCG5H4464saJWddDk7QFQjtj+wU//sf15QCq3M8LwZU2yiE45yhVUT9DXW+8AbXRQKJLPQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: '>=8.23.0'
@@ -6487,7 +6491,7 @@ packages:
enhanced-resolve: 5.16.0
eslint: 8.57.0
eslint-plugin-es-x: 7.5.0(eslint@8.57.0)
- get-tsconfig: 4.7.2
+ get-tsconfig: 4.7.3
globals: 15.1.0
ignore: 5.3.1
minimatch: 9.0.4
@@ -6816,7 +6820,7 @@ packages:
resolution: {integrity: sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg==}
dev: true
- /floating-vue@5.2.2(vue@3.4.26):
+ /floating-vue@5.2.2(vue@3.4.27):
resolution: {integrity: sha512-afW+h2CFafo+7Y9Lvw/xsqjaQlKLdJV7h1fCHfcYQ1C4SVMlu7OAekqWgu5d4SgvkBVU0pVpLlVsrSTBURFRkg==}
peerDependencies:
'@nuxt/kit': ^3.2.0
@@ -6826,8 +6830,8 @@ packages:
optional: true
dependencies:
'@floating-ui/dom': 1.1.1
- vue: 3.4.26(typescript@5.2.2)
- vue-resize: 2.0.0-alpha.1(vue@3.4.26)
+ vue: 3.4.27(typescript@5.2.2)
+ vue-resize: 2.0.0-alpha.1(vue@3.4.27)
dev: true
/focus-trap@7.5.4:
@@ -7742,7 +7746,7 @@ packages:
resolution: {integrity: sha512-ok6z3qlYyCDS4ZEU27HaU6x/xZa9Whf8jD4ptH5UZTQYZVYeb9bnZ3ojVhiJNLiXK1Hfc0GNbLXcmZ5plLDDBg==}
engines: {node: '>=14'}
dependencies:
- mlly: 1.6.1
+ mlly: 1.7.0
pkg-types: 1.0.3
dev: true
@@ -8363,7 +8367,7 @@ packages:
fs-extra: 11.2.0
globby: 13.2.2
jiti: 1.20.0
- mlly: 1.6.1
+ mlly: 1.7.0
mri: 1.2.0
pathe: 1.1.2
typescript: 5.2.2
@@ -8378,12 +8382,12 @@ packages:
ufo: 1.5.3
dev: true
- /mlly@1.6.1:
- resolution: {integrity: sha512-vLgaHvaeunuOXHSmEbZ9izxPx3USsk8KCQ8iC+aTlp5sKRSoZvwhHh5L9VbKSaVC6sJDqbyohIS76E2VmHIPAA==}
+ /mlly@1.7.0:
+ resolution: {integrity: sha512-U9SDaXGEREBYQgfejV97coK0UL1r+qnF2SyO9A3qcI8MzKnsIFKHNVEkrDyNncQTKQQumsasmeq84eNMdBfsNQ==}
dependencies:
acorn: 8.11.3
pathe: 1.1.2
- pkg-types: 1.0.3
+ pkg-types: 1.1.0
ufo: 1.5.3
dev: true
@@ -8820,21 +8824,29 @@ packages:
resolution: {integrity: sha512-nN7pYi0AQqJnoLPC9eHFQ8AcyaixBUOwvqc5TDnIKCMEE6I0y8P7OKA7fPexsXGCGxQDl/cmrLAp26LhcwxZ4A==}
dependencies:
jsonc-parser: 3.2.0
- mlly: 1.6.1
+ mlly: 1.7.0
pathe: 1.1.2
dev: true
- /playwright-chromium@1.43.1:
- resolution: {integrity: sha512-HL/11hcpIYVt/Rw7wTf5xwm+W0R76JGDDjRxGtBkgMuUqi0Q4UYmx+F/QxW/Z+aApSbDtHd3naRFcL/Jt7Aidg==}
+ /pkg-types@1.1.0:
+ resolution: {integrity: sha512-/RpmvKdxKf8uILTtoOhAgf30wYbP2Qw+L9p3Rvshx1JZVX+XQNZQFjlbmGHEGIm4CkVPlSn+NXmIM8+9oWQaSA==}
+ dependencies:
+ confbox: 0.1.7
+ mlly: 1.7.0
+ pathe: 1.1.2
+ dev: true
+
+ /playwright-chromium@1.44.0:
+ resolution: {integrity: sha512-eae4op9jfzyybPfBOcS2o/EtrIT00OCBTLIA9EJz7sOfHwtUFY+H1XRTRdFD/j93tSS80uY8gyts+lX0zHYiHg==}
engines: {node: '>=16'}
hasBin: true
requiresBuild: true
dependencies:
- playwright-core: 1.43.1
+ playwright-core: 1.44.0
dev: true
- /playwright-core@1.43.1:
- resolution: {integrity: sha512-EI36Mto2Vrx6VF7rm708qSnesVQKbxEWvPrfA1IPY6HgczBplDx7ENtx+K2n4kJ41sLLkuGfmb0ZLSSXlDhqPg==}
+ /playwright-core@1.44.0:
+ resolution: {integrity: sha512-ZTbkNpFfYcGWohvTTl+xewITm7EOuqIqex0c7dNZ+aXsbrLj0qI8XlGKfPpipjm0Wny/4Lt4CJsWJk1stVS5qQ==}
engines: {node: '>=16'}
hasBin: true
dev: true
@@ -8894,7 +8906,7 @@ packages:
dependencies:
lilconfig: 3.0.0
postcss: 8.4.38
- ts-node: 10.9.2(@types/node@20.12.7)(typescript@5.2.2)
+ ts-node: 10.9.2(@types/node@20.12.10)(typescript@5.2.2)
yaml: 2.3.4
/postcss-modules-extract-imports@3.0.0(postcss@8.4.38):
@@ -9272,7 +9284,7 @@ packages:
resolution: {integrity: sha512-J8rn6v4DBb2nnFqkqwy6/NnTYMcgLA+sLr0iIO41qpv0n+ngb7ksag2tMRl0inb1bbO/esUwzW1vbJi7K0sI0g==}
engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
dependencies:
- '@eslint-community/regexpp': 4.9.1
+ '@eslint-community/regexpp': 4.10.0
dev: true
/regenerate-unicode-properties@10.1.0:
@@ -9300,7 +9312,7 @@ packages:
resolution: {integrity: sha512-sZuz1dYW/ZsfG17WSAG7eS85r5a0dDsvg+7BiiYR5o6lKCAtUrEwdmRmaGF6rwVj3LcmAeYkOWKEPlbPzN3Y3A==}
engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
dependencies:
- '@eslint-community/regexpp': 4.9.1
+ '@eslint-community/regexpp': 4.10.0
refa: 0.12.1
dev: true
@@ -9490,8 +9502,8 @@ packages:
/safer-buffer@2.1.2:
resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==}
- /sass@1.76.0:
- resolution: {integrity: sha512-nc3LeqvF2FNW5xGF1zxZifdW3ffIz5aBb7I7tSvOoNu7z1RQ6pFt9MBuiPtjgaI62YWrM/txjWlOCFiGtf2xpw==}
+ /sass@1.77.0:
+ resolution: {integrity: sha512-eGj4HNfXqBWtSnvItNkn7B6icqH14i3CiCGbzMKs3BAPTq62pp9NBYsBgyN4cA+qssqo9r26lW4JSvlaUUWbgw==}
engines: {node: '>=14.0.0'}
hasBin: true
dependencies:
@@ -9514,7 +9526,7 @@ packages:
resolution: {integrity: sha512-3A6sD0WYP7+QrjbfNA2FN3FsOaGGFoekCVgTyypy53gPxhbkCIjtO6YWgdrfM+n/8sI8JeXZOIxsHjMTNxQ4nQ==}
engines: {node: ^14.0.0 || >=16.0.0}
dependencies:
- '@eslint-community/regexpp': 4.9.1
+ '@eslint-community/regexpp': 4.10.0
refa: 0.12.1
regexp-ast-analysis: 0.7.1
dev: true
@@ -10077,7 +10089,7 @@ packages:
/ts-interface-checker@0.1.13:
resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==}
- /ts-node@10.9.2(@types/node@20.12.7)(typescript@5.2.2):
+ /ts-node@10.9.2(@types/node@20.12.10)(typescript@5.2.2):
resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==}
hasBin: true
peerDependencies:
@@ -10096,7 +10108,7 @@ packages:
'@tsconfig/node12': 1.0.9
'@tsconfig/node14': 1.0.1
'@tsconfig/node16': 1.0.2
- '@types/node': 20.12.7
+ '@types/node': 20.12.10
acorn: 8.11.3
acorn-walk: 8.3.2(acorn@8.11.3)
arg: 4.1.3
@@ -10124,8 +10136,8 @@ packages:
resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==}
dev: true
- /tsx@4.8.0:
- resolution: {integrity: sha512-lp2y1/L03n7HUMujPgJQ/BwLDT4QEPPY5gBsDohsx54o0d0FqC8uL7QeQwv29ZVrv6S8rH8nzQ5cPn5ry4KBZA==}
+ /tsx@4.9.3:
+ resolution: {integrity: sha512-czVbetlILiyJZI5zGlj2kw9vFiSeyra9liPD4nG+Thh4pKTi0AmMEQ8zdV/L2xbIVKrIqif4sUNrsMAOksx9Zg==}
engines: {node: '>=18.0.0'}
hasBin: true
dependencies:
@@ -10410,8 +10422,8 @@ packages:
vfile-message: 4.0.2
dev: true
- /vite-node@1.5.3:
- resolution: {integrity: sha512-axFo00qiCpU/JLd8N1gu9iEYL3xTbMbMrbe5nDp9GL0nb6gurIdZLkkFogZXWnE8Oyy5kfSLwNVIcVsnhE7lgQ==}
+ /vite-node@1.6.0:
+ resolution: {integrity: sha512-de6HJgzC+TFzOu0NTC4RAIsyf/DY/ibWDYQUcuEA84EMHhcefTUGkjFHKKEJhQN4A+6I0u++kr3l36ZF2d7XRw==}
engines: {node: ^18.0.0 || >=20.0.0}
hasBin: true
dependencies:
@@ -10441,16 +10453,16 @@ packages:
'@shikijs/core': 1.3.0
'@shikijs/transformers': 1.3.0
'@types/markdown-it': 14.0.1
- '@vitejs/plugin-vue': 5.0.4(vite@packages+vite)(vue@3.4.26)
- '@vue/devtools-api': 7.0.27(vue@3.4.26)
- '@vueuse/core': 10.9.0(vue@3.4.26)
- '@vueuse/integrations': 10.9.0(focus-trap@7.5.4)(vue@3.4.26)
+ '@vitejs/plugin-vue': 5.0.4(vite@packages+vite)(vue@3.4.27)
+ '@vue/devtools-api': 7.0.27(vue@3.4.27)
+ '@vueuse/core': 10.9.0(vue@3.4.27)
+ '@vueuse/integrations': 10.9.0(focus-trap@7.5.4)(vue@3.4.27)
focus-trap: 7.5.4
mark.js: 8.11.1
minisearch: 6.3.0
shiki: 1.3.0
vite: link:packages/vite
- vue: 3.4.26(typescript@5.2.2)
+ vue: 3.4.27(typescript@5.2.2)
transitivePeerDependencies:
- '@algolia/client-search'
- '@types/react'
@@ -10472,15 +10484,15 @@ packages:
- universal-cookie
dev: true
- /vitest@1.5.3(@types/node@20.12.7):
- resolution: {integrity: sha512-2oM7nLXylw3mQlW6GXnRriw+7YvZFk/YNV8AxIC3Z3MfFbuziLGWP9GPxxu/7nRlXhqyxBikpamr+lEEj1sUEw==}
+ /vitest@1.6.0(@types/node@20.12.10):
+ resolution: {integrity: sha512-H5r/dN06swuFnzNFhq/dnz37bPXnq8xB2xB5JOVk8K09rUtoeNN+LHWkoQ0A/i3hvbUKKcCei9KpbxqHMLhLLA==}
engines: {node: ^18.0.0 || >=20.0.0}
hasBin: true
peerDependencies:
'@edge-runtime/vm': '*'
'@types/node': ^18.0.0 || >=20.0.0
- '@vitest/browser': 1.5.3
- '@vitest/ui': 1.5.3
+ '@vitest/browser': 1.6.0
+ '@vitest/ui': 1.6.0
happy-dom: '*'
jsdom: '*'
peerDependenciesMeta:
@@ -10497,12 +10509,12 @@ packages:
jsdom:
optional: true
dependencies:
- '@types/node': 20.12.7
- '@vitest/expect': 1.5.3
- '@vitest/runner': 1.5.3
- '@vitest/snapshot': 1.5.3
- '@vitest/spy': 1.5.3
- '@vitest/utils': 1.5.3
+ '@types/node': 20.12.10
+ '@vitest/expect': 1.6.0
+ '@vitest/runner': 1.6.0
+ '@vitest/snapshot': 1.6.0
+ '@vitest/spy': 1.6.0
+ '@vitest/utils': 1.6.0
acorn-walk: 8.3.2(acorn@8.11.3)
chai: 4.3.10
debug: 4.3.4
@@ -10516,7 +10528,7 @@ packages:
tinybench: 2.5.1
tinypool: 0.8.4
vite: link:packages/vite
- vite-node: 1.5.3
+ vite-node: 1.6.0
why-is-node-running: 2.2.2
transitivePeerDependencies:
- acorn
@@ -10528,7 +10540,7 @@ packages:
engines: {node: '>=0.10.0'}
dev: true
- /vue-demi@0.14.7(vue@3.4.26):
+ /vue-demi@0.14.7(vue@3.4.27):
resolution: {integrity: sha512-EOG8KXDQNwkJILkx/gPcoL/7vH+hORoBaKgGe+6W7VFMvCYJfmF2dGbvgDroVnI8LU7/kTu8mbjRZGBU1z9NTA==}
engines: {node: '>=12'}
hasBin: true
@@ -10540,24 +10552,24 @@ packages:
'@vue/composition-api':
optional: true
dependencies:
- vue: 3.4.26(typescript@5.2.2)
+ vue: 3.4.27(typescript@5.2.2)
dev: true
- /vue-resize@2.0.0-alpha.1(vue@3.4.26):
+ /vue-resize@2.0.0-alpha.1(vue@3.4.27):
resolution: {integrity: sha512-7+iqOueLU7uc9NrMfrzbG8hwMqchfVfSzpVlCMeJQe4pyibqyoifDNbKTZvwxZKDvGkB+PdFeKvnGZMoEb8esg==}
peerDependencies:
vue: ^3.0.0
dependencies:
- vue: 3.4.26(typescript@5.2.2)
+ vue: 3.4.27(typescript@5.2.2)
dev: true
- /vue-router@4.3.2(vue@3.4.26):
+ /vue-router@4.3.2(vue@3.4.27):
resolution: {integrity: sha512-hKQJ1vDAZ5LVkKEnHhmm1f9pMiWIBNGF5AwU67PdH7TyXCj/a4hTccuUuYCAMgJK6rO/NVYtQIEN3yL8CECa7Q==}
peerDependencies:
vue: ^3.2.0
dependencies:
'@vue/devtools-api': 6.6.1
- vue: 3.4.26(typescript@5.2.2)
+ vue: 3.4.27(typescript@5.2.2)
dev: false
/vue-template-compiler@2.7.16:
@@ -10575,28 +10587,28 @@ packages:
'@vue/shared': 3.2.0
dev: true
- /vue@3.4.26(typescript@5.2.2):
- resolution: {integrity: sha512-bUIq/p+VB+0xrJubaemrfhk1/FiW9iX+pDV+62I/XJ6EkspAO9/DXEjbDFoe8pIfOZBqfk45i9BMc41ptP/uRg==}
+ /vue@3.4.27(typescript@5.2.2):
+ resolution: {integrity: sha512-8s/56uK6r01r1icG/aEOHqyMVxd1bkYcSe9j8HcKtr/xTOFWvnzIVTehNW+5Yt89f+DLBe4A569pnZLS5HzAMA==}
peerDependencies:
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
dependencies:
- '@vue/compiler-dom': 3.4.26
- '@vue/compiler-sfc': 3.4.26
- '@vue/runtime-dom': 3.4.26
- '@vue/server-renderer': 3.4.26(vue@3.4.26)
- '@vue/shared': 3.4.26
+ '@vue/compiler-dom': 3.4.27
+ '@vue/compiler-sfc': 3.4.27
+ '@vue/runtime-dom': 3.4.27
+ '@vue/server-renderer': 3.4.27(vue@3.4.27)
+ '@vue/shared': 3.4.27
typescript: 5.2.2
- /vuex@4.1.0(vue@3.4.26):
+ /vuex@4.1.0(vue@3.4.27):
resolution: {integrity: sha512-hmV6UerDrPcgbSy9ORAtNXDr9M4wlNP4pEFKye4ujJF8oqgFFuxDCdOLS3eNoRTtq5O3hoBDh9Doj1bQMYHRbQ==}
peerDependencies:
vue: ^3.2.0
dependencies:
'@vue/devtools-api': 6.5.0
- vue: 3.4.26(typescript@5.2.2)
+ vue: 3.4.27(typescript@5.2.2)
dev: false
/web-streams-polyfill@3.2.1:
@@ -10808,7 +10820,7 @@ packages:
dependencies:
slash3: /slash@3.0.0
slash5: /slash@5.1.0
- vue: 3.4.26(typescript@5.2.2)
+ vue: 3.4.27(typescript@5.2.2)
transitivePeerDependencies:
- typescript
dev: false
@@ -10820,7 +10832,7 @@ packages:
dependencies:
slash3: /slash@3.0.0
slash5: /slash@5.1.0
- vue: 3.4.26(typescript@5.2.2)
+ vue: 3.4.27(typescript@5.2.2)
transitivePeerDependencies:
- typescript
dev: false
From c2a4ce5a7755a6b6b24b50c9569cf8f1b6c5b2c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=BF=A0=20/=20green?=
Date: Tue, 7 May 2024 17:43:33 +0900
Subject: [PATCH 03/25] test: don't skip unicode related tests anymore (#16339)
---
playground/hasWindowsUnicodeFsBug.js | 10 ------
playground/hmr-ssr/__tests__/hmr-ssr.spec.ts | 2 +-
playground/hmr/__tests__/hmr.spec.ts | 34 +++++++++-----------
playground/html/__tests__/html.spec.ts | 3 +-
playground/html/vite.config.js | 13 +++-----
playground/vitestGlobalSetup.ts | 4 ---
6 files changed, 21 insertions(+), 45 deletions(-)
delete mode 100644 playground/hasWindowsUnicodeFsBug.js
diff --git a/playground/hasWindowsUnicodeFsBug.js b/playground/hasWindowsUnicodeFsBug.js
deleted file mode 100644
index c46dd2a5545392..00000000000000
--- a/playground/hasWindowsUnicodeFsBug.js
+++ /dev/null
@@ -1,10 +0,0 @@
-import os from 'node:os'
-
-const isWindows = os.platform() === 'win32'
-const nodeVersionArray = process.versions.node.split('.')
-// ignore some files due to https://github.com/nodejs/node/issues/48673
-// node <=21.0.0 and ^20.4.0 has the bug
-export const hasWindowsUnicodeFsBug =
- isWindows &&
- (+nodeVersionArray[0] > 20 ||
- (+nodeVersionArray[0] === 20 && +nodeVersionArray[1] >= 4))
diff --git a/playground/hmr-ssr/__tests__/hmr-ssr.spec.ts b/playground/hmr-ssr/__tests__/hmr-ssr.spec.ts
index f28b620f565131..6a2b3763b3ffec 100644
--- a/playground/hmr-ssr/__tests__/hmr-ssr.spec.ts
+++ b/playground/hmr-ssr/__tests__/hmr-ssr.spec.ts
@@ -253,7 +253,7 @@ describe('hmr works correctly', () => {
})
// TODO
- // test.skipIf(hasWindowsUnicodeFsBug)('full-reload encodeURI path', async () => {
+ // test('full-reload encodeURI path', async () => {
// await page.goto(
// viteTestUrl + '/unicode-path/中文-にほんご-한글-🌕🌖🌗/index.html',
// )
diff --git a/playground/hmr/__tests__/hmr.spec.ts b/playground/hmr/__tests__/hmr.spec.ts
index 27590bd6022bd0..eb7b66d3c0d783 100644
--- a/playground/hmr/__tests__/hmr.spec.ts
+++ b/playground/hmr/__tests__/hmr.spec.ts
@@ -1,6 +1,5 @@
import { beforeAll, describe, expect, it, test } from 'vitest'
import type { Page } from 'playwright-chromium'
-import { hasWindowsUnicodeFsBug } from '../../hasWindowsUnicodeFsBug'
import {
addFile,
browser,
@@ -253,24 +252,21 @@ if (!isBuild) {
await untilUpdated(() => el.textContent(), '3')
})
- test.skipIf(hasWindowsUnicodeFsBug)(
- 'full-reload encodeURI path',
- async () => {
- await page.goto(
- viteTestUrl + '/unicode-path/中文-にほんご-한글-🌕🌖🌗/index.html',
- )
- const el = await page.$('#app')
- expect(await el.textContent()).toBe('title')
- editFile('unicode-path/中文-にほんご-한글-🌕🌖🌗/index.html', (code) =>
- code.replace('title', 'title2'),
- )
- await page.waitForEvent('load')
- await untilUpdated(
- async () => (await page.$('#app')).textContent(),
- 'title2',
- )
- },
- )
+ test('full-reload encodeURI path', async () => {
+ await page.goto(
+ viteTestUrl + '/unicode-path/中文-にほんご-한글-🌕🌖🌗/index.html',
+ )
+ const el = await page.$('#app')
+ expect(await el.textContent()).toBe('title')
+ editFile('unicode-path/中文-にほんご-한글-🌕🌖🌗/index.html', (code) =>
+ code.replace('title', 'title2'),
+ )
+ await page.waitForEvent('load')
+ await untilUpdated(
+ async () => (await page.$('#app')).textContent(),
+ 'title2',
+ )
+ })
test('CSS update preserves query params', async () => {
await page.goto(viteTestUrl)
diff --git a/playground/html/__tests__/html.spec.ts b/playground/html/__tests__/html.spec.ts
index 687629d91055b5..85ceea961752ee 100644
--- a/playground/html/__tests__/html.spec.ts
+++ b/playground/html/__tests__/html.spec.ts
@@ -1,5 +1,4 @@
import { beforeAll, describe, expect, test } from 'vitest'
-import { hasWindowsUnicodeFsBug } from '../../hasWindowsUnicodeFsBug'
import {
browserLogs,
editFile,
@@ -220,7 +219,7 @@ describe('noBody', () => {
})
})
-describe.skipIf(hasWindowsUnicodeFsBug)('Unicode path', () => {
+describe('Unicode path', () => {
test('direct access', async () => {
await page.goto(
viteTestUrl + '/unicode-path/中文-にほんご-한글-🌕🌖🌗/index.html',
diff --git a/playground/html/vite.config.js b/playground/html/vite.config.js
index 4452200a08aeeb..f8c14eef4ca402 100644
--- a/playground/html/vite.config.js
+++ b/playground/html/vite.config.js
@@ -1,6 +1,5 @@
import { relative, resolve } from 'node:path'
import { defineConfig } from 'vite'
-import { hasWindowsUnicodeFsBug } from '../hasWindowsUnicodeFsBug'
export default defineConfig({
base: './',
@@ -21,14 +20,10 @@ export default defineConfig({
inline1: resolve(__dirname, 'inline/shared-1.html'),
inline2: resolve(__dirname, 'inline/shared-2.html'),
inline3: resolve(__dirname, 'inline/unique.html'),
- ...(hasWindowsUnicodeFsBug
- ? {}
- : {
- unicodePath: resolve(
- __dirname,
- 'unicode-path/中文-にほんご-한글-🌕🌖🌗/index.html',
- ),
- }),
+ unicodePath: resolve(
+ __dirname,
+ 'unicode-path/中文-にほんご-한글-🌕🌖🌗/index.html',
+ ),
linkProps: resolve(__dirname, 'link-props/index.html'),
valid: resolve(__dirname, 'valid.html'),
importmapOrder: resolve(__dirname, 'importmapOrder.html'),
diff --git a/playground/vitestGlobalSetup.ts b/playground/vitestGlobalSetup.ts
index 7f85d9d12748bf..3a8288ab34ba57 100644
--- a/playground/vitestGlobalSetup.ts
+++ b/playground/vitestGlobalSetup.ts
@@ -3,7 +3,6 @@ import fs from 'fs-extra'
import type { GlobalSetupContext } from 'vitest/node'
import type { BrowserServer } from 'playwright-chromium'
import { chromium } from 'playwright-chromium'
-import { hasWindowsUnicodeFsBug } from './hasWindowsUnicodeFsBug'
let browserServer: BrowserServer | undefined
@@ -28,9 +27,6 @@ export async function setup({ provide }: GlobalSetupContext): Promise {
.copy(path.resolve(__dirname, '../playground'), tempDir, {
dereference: false,
filter(file) {
- if (file.includes('中文-にほんご-한글-🌕🌖🌗')) {
- return !hasWindowsUnicodeFsBug
- }
file = file.replace(/\\/g, '/')
return !file.includes('__tests__') && !/dist(?:\/|$)/.test(file)
},
From a2652825b791336f7fa7e7b78665a50a043f7b3a Mon Sep 17 00:00:00 2001
From: Xavi Lee
Date: Tue, 7 May 2024 18:14:54 +0800
Subject: [PATCH 04/25] chore(create-vite): update IDE support instructions in
helloworld components (#16605)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Co-authored-by: 翠 / green
---
.../template-vue-ts/src/components/HelloWorld.vue | 9 ++++++---
.../template-vue/src/components/HelloWorld.vue | 9 ++++++---
2 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/packages/create-vite/template-vue-ts/src/components/HelloWorld.vue b/packages/create-vite/template-vue-ts/src/components/HelloWorld.vue
index 7b25f3f2b6aac3..b58e52b965f6f9 100644
--- a/packages/create-vite/template-vue-ts/src/components/HelloWorld.vue
+++ b/packages/create-vite/template-vue-ts/src/components/HelloWorld.vue
@@ -24,9 +24,12 @@ const count = ref(0)
>, the official Vue + Vite starter
- Install
- Volar
- in your IDE for a better DX
+ Learn more about IDE Support for Vue in the
+ Vue Docs Scaling up Guide.
Click on the Vite and Vue logos to learn more
diff --git a/packages/create-vite/template-vue/src/components/HelloWorld.vue b/packages/create-vite/template-vue/src/components/HelloWorld.vue
index f5e4f53b7d9dd0..546ebbc624b0e3 100644
--- a/packages/create-vite/template-vue/src/components/HelloWorld.vue
+++ b/packages/create-vite/template-vue/src/components/HelloWorld.vue
@@ -26,9 +26,12 @@ const count = ref(0)
>, the official Vue + Vite starter
- Install
- Volar
- in your IDE for a better DX
+ Learn more about IDE Support for Vue in the
+ Vue Docs Scaling up Guide.
Click on the Vite and Vue logos to learn more
From 7a8ae49deb5e63d47dbc7a3ef24d0c6404184e0a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=BF=A0=20/=20green?=
Date: Tue, 7 May 2024 19:16:36 +0900
Subject: [PATCH 05/25] docs: update manifest example (#16620)
---
docs/guide/backend-integration.md | 58 +++++++++++++++++++------------
1 file changed, 35 insertions(+), 23 deletions(-)
diff --git a/docs/guide/backend-integration.md b/docs/guide/backend-integration.md
index 4f6de439afeae9..8509082bbdf2ea 100644
--- a/docs/guide/backend-integration.md
+++ b/docs/guide/backend-integration.md
@@ -62,24 +62,36 @@ If you need a custom integration, you can follow the steps in this guide to conf
```json
{
- "main.js": {
- "file": "assets/main.4889e940.js",
- "src": "main.js",
+ "_shared-!~{003}~.js": {
+ "file": "assets/shared-ChJ_j-JJ.css",
+ "src": "_shared-!~{003}~.js"
+ },
+ "_shared-B7PI925R.js": {
+ "file": "assets/shared-B7PI925R.js",
+ "name": "shared",
+ "css": ["assets/shared-ChJ_j-JJ.css"]
+ },
+ "baz.js": {
+ "file": "assets/baz-B2H3sXNv.js",
+ "name": "baz",
+ "src": "baz.js",
+ "isDynamicEntry": true
+ },
+ "views/bar.js": {
+ "file": "assets/bar-gkvgaI9m.js",
+ "name": "bar",
+ "src": "views/bar.js",
"isEntry": true,
- "dynamicImports": ["views/foo.js"],
- "css": ["assets/main.b82dbe22.css"],
- "assets": ["assets/asset.0ab0f9cd.png"],
- "imports": ["_shared.83069a53.js"]
+ "imports": ["_shared-B7PI925R.js"],
+ "dynamicImports": ["baz.js"]
},
"views/foo.js": {
- "file": "assets/foo.869aea0d.js",
+ "file": "assets/foo-BRBmoGS9.js",
+ "name": "foo",
"src": "views/foo.js",
- "isDynamicEntry": true,
- "imports": ["_shared.83069a53.js"]
- },
- "_shared.83069a53.js": {
- "file": "assets/shared.83069a53.js",
- "css": ["assets/shared.a834bfc3.css"]
+ "isEntry": true,
+ "imports": ["_shared-B7PI925R.js"],
+ "css": ["assets/foo-5UjPuW-k.css"]
}
}
```
@@ -122,21 +134,21 @@ If you need a custom integration, you can follow the steps in this guide to conf
- Optionally, `` tag for the `file` of each imported JavaScript
chunk, again recursively following the imports starting from the entry point chunk.
- Following the above example manifest, for the entry point `main.js` the following tags should be included in production:
+ Following the above example manifest, for the entry point `views/foo.js` the following tags should be included in production:
```html
-
-
-
+
+
+
-
+
```
- While the following should be included for the entry point `views/foo.js`:
+ While the following should be included for the entry point `views/bar.js`:
```html
-
-
+
+
-
+
```
From 66f12ab40b38972f9a9837e485c85d144385ffa4 Mon Sep 17 00:00:00 2001
From: Andrew Jeremy <53634060+FreeJ1nG@users.noreply.github.com>
Date: Tue, 7 May 2024 17:17:41 +0700
Subject: [PATCH 06/25] docs: add custom event types docs (#16609)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Co-authored-by: 翠 / green
---
docs/guide/api-hmr.md | 2 +-
docs/guide/api-plugin.md | 30 +++++++++++++++++++++++++++---
2 files changed, 28 insertions(+), 4 deletions(-)
diff --git a/docs/guide/api-hmr.md b/docs/guide/api-hmr.md
index 189fe693cf02f0..e9a44eb0aaca88 100644
--- a/docs/guide/api-hmr.md
+++ b/docs/guide/api-hmr.md
@@ -220,7 +220,7 @@ Send custom events back to Vite's dev server.
If called before connected, the data will be buffered and sent once the connection is established.
-See [Client-server Communication](/guide/api-plugin.html#client-server-communication) for more details.
+See [Client-server Communication](/guide/api-plugin.html#client-server-communication) for more details, including a section on [Typing Custom Events](/guide/api-plugin.html#typescript-for-custom-events).
## Further Reading
diff --git a/docs/guide/api-plugin.md b/docs/guide/api-plugin.md
index 7f77b7b0464506..b06982b4b89fc2 100644
--- a/docs/guide/api-plugin.md
+++ b/docs/guide/api-plugin.md
@@ -625,16 +625,40 @@ export default defineConfig({
### TypeScript for Custom Events
-It is possible to type custom events by extending the `CustomEventMap` interface:
+Internally, vite infers the type of a payload from the `CustomEventMap` interface, it is possible to type custom events by extending the interface:
+
+:::tip Note
+Make sure to include the `.d.ts` extension when specifying TypeScript declaration files. Otherwise, Typescript may not know which file the module is trying to extend.
+:::
```ts
// events.d.ts
-import 'vite/types/customEvent'
+import 'vite/types/customEvent.d.ts'
-declare module 'vite/types/customEvent' {
+declare module 'vite/types/customEvent.d.ts' {
interface CustomEventMap {
'custom:foo': { msg: string }
// 'event-key': payload
}
}
```
+
+This interface extension is utilized by `InferCustomEventPayload` to infer the payload type for event `T`. For more information on how this interface is utilized, refer to the [HMR API Documentation](./api-hmr#hmr-api).
+
+```ts twoslash
+import 'vite/client'
+import type { InferCustomEventPayload } from 'vite/types/customEvent.d.ts'
+declare module 'vite/types/customEvent.d.ts' {
+ interface CustomEventMap {
+ 'custom:foo': { msg: string }
+ }
+}
+// ---cut---
+type CustomFooPayload = InferCustomEventPayload<'custom:foo'>
+import.meta.hot?.on('custom:foo', (payload) => {
+ // The type of payload will be { msg: string }
+})
+import.meta.hot?.on('unknown:event', (payload) => {
+ // The type of payload will be any
+})
+```
From c3b3d3c617ba729814c599e14145499aeac4c9d3 Mon Sep 17 00:00:00 2001
From: bluwy
Date: Wed, 8 May 2024 12:22:58 +0800
Subject: [PATCH 07/25] release: plugin-legacy@5.4.0
---
packages/plugin-legacy/CHANGELOG.md | 13 +++++++++++++
packages/plugin-legacy/package.json | 2 +-
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/packages/plugin-legacy/CHANGELOG.md b/packages/plugin-legacy/CHANGELOG.md
index 9e90c6bd06742b..1e6988077ad53a 100644
--- a/packages/plugin-legacy/CHANGELOG.md
+++ b/packages/plugin-legacy/CHANGELOG.md
@@ -1,3 +1,16 @@
+## 5.4.0 (2024-05-08)
+
+* fix(deps): update all non-major dependencies (#16258) ([7caef42](https://github.com/vitejs/vite/commit/7caef42)), closes [#16258](https://github.com/vitejs/vite/issues/16258)
+* fix(deps): update all non-major dependencies (#16376) ([58a2938](https://github.com/vitejs/vite/commit/58a2938)), closes [#16376](https://github.com/vitejs/vite/issues/16376)
+* fix(deps): update all non-major dependencies (#16488) ([2d50be2](https://github.com/vitejs/vite/commit/2d50be2)), closes [#16488](https://github.com/vitejs/vite/issues/16488)
+* fix(deps): update all non-major dependencies (#16549) ([2d6a13b](https://github.com/vitejs/vite/commit/2d6a13b)), closes [#16549](https://github.com/vitejs/vite/issues/16549)
+* fix(legacy): modern polyfill autodetection was not injecting enough polyfills (#16367) ([4af9f97](https://github.com/vitejs/vite/commit/4af9f97)), closes [#16367](https://github.com/vitejs/vite/issues/16367)
+* feat(plugin-legacy): support `additionalModernPolyfills` (#16514) ([2322657](https://github.com/vitejs/vite/commit/2322657)), closes [#16514](https://github.com/vitejs/vite/issues/16514)
+* docs(legacy): update `modernTargets` option default value description (#16491) ([7171837](https://github.com/vitejs/vite/commit/7171837)), closes [#16491](https://github.com/vitejs/vite/issues/16491)
+* chore(deps): update all non-major dependencies (#16131) ([a862ecb](https://github.com/vitejs/vite/commit/a862ecb)), closes [#16131](https://github.com/vitejs/vite/issues/16131)
+
+
+
## 5.3.2 (2024-03-08)
* fix(plugin-legacy): dynamic import browserslist-to-esbuild (#16011) ([42fd11c](https://github.com/vitejs/vite/commit/42fd11c)), closes [#16011](https://github.com/vitejs/vite/issues/16011)
diff --git a/packages/plugin-legacy/package.json b/packages/plugin-legacy/package.json
index 9041ad980031b9..49b6c4780ec9de 100644
--- a/packages/plugin-legacy/package.json
+++ b/packages/plugin-legacy/package.json
@@ -1,6 +1,6 @@
{
"name": "@vitejs/plugin-legacy",
- "version": "5.3.2",
+ "version": "5.4.0",
"license": "MIT",
"author": "Evan You",
"files": [
From b0b839accc88d8b3326733a94f76cb7c527fdb06 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=EC=9D=B4=EC=B1=84=EC=A4=80=20-=20CJ=20Lee?=
Date: Wed, 8 May 2024 03:51:16 -0700
Subject: [PATCH 08/25] fix(logger): truncate log over 5000 characters long
(#16581)
---
packages/vite/src/node/logger.ts | 20 +++++++++++++++++++-
packages/vite/src/node/utils.ts | 2 +-
2 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/packages/vite/src/node/logger.ts b/packages/vite/src/node/logger.ts
index 8600228e305de1..ddeda0755712f1 100644
--- a/packages/vite/src/node/logger.ts
+++ b/packages/vite/src/node/logger.ts
@@ -4,6 +4,7 @@ import readline from 'node:readline'
import colors from 'picocolors'
import type { RollupError } from 'rollup'
import type { ResolvedServerUrls } from './server'
+import { splitRE } from './utils'
export type LogType = 'error' | 'warn' | 'info'
export type LogLevel = LogType | 'silent'
@@ -63,6 +64,8 @@ function getTimeFormatter() {
return timeFormatter
}
+const MAX_LOG_CHAR = 5000
+
export function createLogger(
level: LogLevel = 'info',
options: LoggerOptions = {},
@@ -78,7 +81,22 @@ export function createLogger(
allowClearScreen && process.stdout.isTTY && !process.env.CI
const clear = canClearScreen ? clearScreen : () => {}
- function format(type: LogType, msg: string, options: LogErrorOptions = {}) {
+ function preventOverflow(msg: string) {
+ if (msg.length > MAX_LOG_CHAR) {
+ const shorten = msg.slice(0, MAX_LOG_CHAR)
+ const lines = msg.slice(MAX_LOG_CHAR).match(splitRE)?.length || 0
+
+ return `${shorten}\n... and ${lines} lines more`
+ }
+ return msg
+ }
+
+ function format(
+ type: LogType,
+ rawMsg: string,
+ options: LogErrorOptions = {},
+ ) {
+ const msg = preventOverflow(rawMsg)
if (options.timestamp) {
const tag =
type === 'info'
diff --git a/packages/vite/src/node/utils.ts b/packages/vite/src/node/utils.ts
index b9ceece25f40f2..218cb33b81aafa 100644
--- a/packages/vite/src/node/utils.ts
+++ b/packages/vite/src/node/utils.ts
@@ -434,7 +434,7 @@ export function isFilePathESM(
}
}
-const splitRE = /\r?\n/
+export const splitRE = /\r?\n/g
const range: number = 2
From c04192bc4e3438996051082ed21c2c767e5a4a7a Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 8 May 2024 13:10:06 +0200
Subject: [PATCH 09/25] chore(deps): update dependency
conventional-changelog-cli to v5 (#16604)
---
package.json | 2 +-
pnpm-lock.yaml | 362 +++++++++++++++++++++----------------------------
2 files changed, 152 insertions(+), 212 deletions(-)
diff --git a/package.json b/package.json
index 91b13bb5a39006..382ed3ffa3c7d9 100644
--- a/package.json
+++ b/package.json
@@ -61,7 +61,7 @@
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"@vitejs/release-scripts": "^1.3.1",
- "conventional-changelog-cli": "^4.1.0",
+ "conventional-changelog-cli": "^5.0.0",
"eslint": "^8.57.0",
"eslint-define-config": "^2.1.0",
"eslint-plugin-i": "^2.29.1",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index e3cb39f1bbff0d..99ba984c13384d 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -85,8 +85,8 @@ importers:
specifier: ^1.3.1
version: 1.3.1
conventional-changelog-cli:
- specifier: ^4.1.0
- version: 4.1.0
+ specifier: ^5.0.0
+ version: 5.0.0
eslint:
specifier: ^8.57.0
version: 8.57.0
@@ -2995,6 +2995,23 @@ packages:
dev: true
optional: true
+ /@conventional-changelog/git-client@1.0.0(conventional-commits-parser@6.0.0):
+ resolution: {integrity: sha512-PkUIv8bcY8/mIJig+3CGneb1hfXvjUotuBcroBHyVO4obIz5WGJpBWTuo17XV4p1sTmbGa8TxAmdMzhlPU+tLA==}
+ engines: {node: '>=18'}
+ peerDependencies:
+ conventional-commits-filter: ^4.0.0
+ conventional-commits-parser: ^5.0.0
+ peerDependenciesMeta:
+ conventional-commits-filter:
+ optional: true
+ conventional-commits-parser:
+ optional: true
+ dependencies:
+ '@types/semver': 7.5.8
+ conventional-commits-parser: 6.0.0
+ semver: 7.6.0
+ dev: true
+
/@cspotcode/source-map-support@0.8.1:
resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==}
engines: {node: '>=12'}
@@ -4603,8 +4620,8 @@ packages:
dependencies:
undici-types: 5.26.5
- /@types/normalize-package-data@2.4.1:
- resolution: {integrity: sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==}
+ /@types/normalize-package-data@2.4.4:
+ resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==}
dev: true
/@types/picomatch@2.3.3:
@@ -5147,14 +5164,6 @@ packages:
- vue
dev: true
- /JSONStream@1.3.5:
- resolution: {integrity: sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==}
- hasBin: true
- dependencies:
- jsonparse: 1.3.1
- through: 2.3.8
- dev: true
-
/abbrev@1.1.1:
resolution: {integrity: sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==}
dev: false
@@ -5783,133 +5792,135 @@ packages:
resolution: {integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==}
engines: {node: '>= 0.6'}
- /conventional-changelog-angular@7.0.0:
- resolution: {integrity: sha512-ROjNchA9LgfNMTTFSIWPzebCwOGFdgkEq45EnvvrmSLvCtAw0HSmrCs7/ty+wAeYUZyNay0YMUNYFTRL72PkBQ==}
- engines: {node: '>=16'}
+ /conventional-changelog-angular@8.0.0:
+ resolution: {integrity: sha512-CLf+zr6St0wIxos4bmaKHRXWAcsCXrJU6F4VdNDrGRK3B8LDLKoX3zuMV5GhtbGkVR/LohZ6MT6im43vZLSjmA==}
+ engines: {node: '>=18'}
dependencies:
compare-func: 2.0.0
dev: true
- /conventional-changelog-atom@4.0.0:
- resolution: {integrity: sha512-q2YtiN7rnT1TGwPTwjjBSIPIzDJCRE+XAUahWxnh+buKK99Kks4WLMHoexw38GXx9OUxAsrp44f9qXe5VEMYhw==}
- engines: {node: '>=16'}
+ /conventional-changelog-atom@5.0.0:
+ resolution: {integrity: sha512-WfzCaAvSCFPkznnLgLnfacRAzjgqjLUjvf3MftfsJzQdDICqkOOpcMtdJF3wTerxSpv2IAAjX8doM3Vozqle3g==}
+ engines: {node: '>=18'}
dev: true
- /conventional-changelog-cli@4.1.0:
- resolution: {integrity: sha512-MscvILWZ6nWOoC+p/3Nn3D2cVLkjeQjyZPUr0bQ+vUORE/SPrkClJh8BOoMNpS4yk+zFJ5LlgXACxH6XGQoRXA==}
- engines: {node: '>=16'}
+ /conventional-changelog-cli@5.0.0:
+ resolution: {integrity: sha512-9Y8fucJe18/6ef6ZlyIlT2YQUbczvoQZZuYmDLaGvcSBP+M6h+LAvf7ON7waRxKJemcCII8Yqu5/8HEfskTxJQ==}
+ engines: {node: '>=18'}
hasBin: true
dependencies:
add-stream: 1.0.0
- conventional-changelog: 5.1.0
- meow: 12.1.1
+ conventional-changelog: 6.0.0
+ meow: 13.2.0
tempfile: 5.0.0
+ transitivePeerDependencies:
+ - conventional-commits-filter
dev: true
- /conventional-changelog-codemirror@4.0.0:
- resolution: {integrity: sha512-hQSojc/5imn1GJK3A75m9hEZZhc3urojA5gMpnar4JHmgLnuM3CUIARPpEk86glEKr3c54Po3WV/vCaO/U8g3Q==}
- engines: {node: '>=16'}
+ /conventional-changelog-codemirror@5.0.0:
+ resolution: {integrity: sha512-8gsBDI5Y3vrKUCxN6Ue8xr6occZ5nsDEc4C7jO/EovFGozx8uttCAyfhRrvoUAWi2WMm3OmYs+0mPJU7kQdYWQ==}
+ engines: {node: '>=18'}
dev: true
- /conventional-changelog-conventionalcommits@7.0.2:
- resolution: {integrity: sha512-NKXYmMR/Hr1DevQegFB4MwfM5Vv0m4UIxKZTTYuD98lpTknaZlSRrDOG4X7wIXpGkfsYxZTghUN+Qq+T0YQI7w==}
- engines: {node: '>=16'}
+ /conventional-changelog-conventionalcommits@8.0.0:
+ resolution: {integrity: sha512-eOvlTO6OcySPyyyk8pKz2dP4jjElYunj9hn9/s0OB+gapTO8zwS9UQWrZ1pmF2hFs3vw1xhonOLGcGjy/zgsuA==}
+ engines: {node: '>=18'}
dependencies:
compare-func: 2.0.0
dev: true
- /conventional-changelog-core@7.0.0:
- resolution: {integrity: sha512-UYgaB1F/COt7VFjlYKVE/9tTzfU3VUq47r6iWf6lM5T7TlOxr0thI63ojQueRLIpVbrtHK4Ffw+yQGduw2Bhdg==}
- engines: {node: '>=16'}
+ /conventional-changelog-core@8.0.0:
+ resolution: {integrity: sha512-EATUx5y9xewpEe10UEGNpbSHRC6cVZgO+hXQjofMqpy+gFIrcGvH3Fl6yk2VFKh7m+ffenup2N7SZJYpyD9evw==}
+ engines: {node: '>=18'}
dependencies:
'@hutson/parse-repository-url': 5.0.0
add-stream: 1.0.0
- conventional-changelog-writer: 7.0.1
- conventional-commits-parser: 5.0.0
- git-raw-commits: 4.0.0
- git-semver-tags: 7.0.1
+ conventional-changelog-writer: 8.0.0
+ conventional-commits-parser: 6.0.0
+ git-raw-commits: 5.0.0(conventional-commits-parser@6.0.0)
+ git-semver-tags: 8.0.0(conventional-commits-parser@6.0.0)
hosted-git-info: 7.0.1
normalize-package-data: 6.0.0
- read-pkg: 8.1.0
- read-pkg-up: 10.1.0
+ read-package-up: 11.0.0
+ read-pkg: 9.0.1
+ transitivePeerDependencies:
+ - conventional-commits-filter
dev: true
- /conventional-changelog-ember@4.0.0:
- resolution: {integrity: sha512-D0IMhwcJUg1Y8FSry6XAplEJcljkHVlvAZddhhsdbL1rbsqRsMfGx/PIkPYq0ru5aDgn+OxhQ5N5yR7P9mfsvA==}
- engines: {node: '>=16'}
+ /conventional-changelog-ember@5.0.0:
+ resolution: {integrity: sha512-RPflVfm5s4cSO33GH/Ey26oxhiC67akcxSKL8CLRT3kQX2W3dbE19sSOM56iFqUJYEwv9mD9r6k79weWe1urfg==}
+ engines: {node: '>=18'}
dev: true
- /conventional-changelog-eslint@5.0.0:
- resolution: {integrity: sha512-6JtLWqAQIeJLn/OzUlYmzd9fKeNSWmQVim9kql+v4GrZwLx807kAJl3IJVc3jTYfVKWLxhC3BGUxYiuVEcVjgA==}
- engines: {node: '>=16'}
+ /conventional-changelog-eslint@6.0.0:
+ resolution: {integrity: sha512-eiUyULWjzq+ybPjXwU6NNRflApDWlPEQEHvI8UAItYW/h22RKkMnOAtfCZxMmrcMO1OKUWtcf2MxKYMWe9zJuw==}
+ engines: {node: '>=18'}
dev: true
- /conventional-changelog-express@4.0.0:
- resolution: {integrity: sha512-yWyy5c7raP9v7aTvPAWzqrztACNO9+FEI1FSYh7UP7YT1AkWgv5UspUeB5v3Ibv4/o60zj2o9GF2tqKQ99lIsw==}
- engines: {node: '>=16'}
+ /conventional-changelog-express@5.0.0:
+ resolution: {integrity: sha512-D8Q6WctPkQpvr2HNCCmwU5GkX22BVHM0r4EW8vN0230TSyS/d6VQJDAxGb84lbg0dFjpO22MwmsikKL++Oo/oQ==}
+ engines: {node: '>=18'}
dev: true
- /conventional-changelog-jquery@5.0.0:
- resolution: {integrity: sha512-slLjlXLRNa/icMI3+uGLQbtrgEny3RgITeCxevJB+p05ExiTgHACP5p3XiMKzjBn80n+Rzr83XMYfRInEtCPPw==}
- engines: {node: '>=16'}
+ /conventional-changelog-jquery@6.0.0:
+ resolution: {integrity: sha512-2kxmVakyehgyrho2ZHBi90v4AHswkGzHuTaoH40bmeNqUt20yEkDOSpw8HlPBfvEQBwGtbE+5HpRwzj6ac2UfA==}
+ engines: {node: '>=18'}
dev: true
- /conventional-changelog-jshint@4.0.0:
- resolution: {integrity: sha512-LyXq1bbl0yG0Ai1SbLxIk8ZxUOe3AjnlwE6sVRQmMgetBk+4gY9EO3d00zlEt8Y8gwsITytDnPORl8al7InTjg==}
- engines: {node: '>=16'}
+ /conventional-changelog-jshint@5.0.0:
+ resolution: {integrity: sha512-gGNphSb/opc76n2eWaO6ma4/Wqu3tpa2w7i9WYqI6Cs2fncDSI2/ihOfMvXveeTTeld0oFvwMVNV+IYQIk3F3g==}
+ engines: {node: '>=18'}
dependencies:
compare-func: 2.0.0
dev: true
- /conventional-changelog-preset-loader@4.1.0:
- resolution: {integrity: sha512-HozQjJicZTuRhCRTq4rZbefaiCzRM2pr6u2NL3XhrmQm4RMnDXfESU6JKu/pnKwx5xtdkYfNCsbhN5exhiKGJA==}
- engines: {node: '>=16'}
+ /conventional-changelog-preset-loader@5.0.0:
+ resolution: {integrity: sha512-SetDSntXLk8Jh1NOAl1Gu5uLiCNSYenB5tm0YVeZKePRIgDW9lQImromTwLa3c/Gae298tsgOM+/CYT9XAl0NA==}
+ engines: {node: '>=18'}
dev: true
- /conventional-changelog-writer@7.0.1:
- resolution: {integrity: sha512-Uo+R9neH3r/foIvQ0MKcsXkX642hdm9odUp7TqgFS7BsalTcjzRlIfWZrZR1gbxOozKucaKt5KAbjW8J8xRSmA==}
- engines: {node: '>=16'}
+ /conventional-changelog-writer@8.0.0:
+ resolution: {integrity: sha512-TQcoYGRatlAnT2qEWDON/XSfnVG38JzA7E0wcGScu7RElQBkg9WWgZd1peCWFcWDh1xfb2CfsrcvOn1bbSzztA==}
+ engines: {node: '>=18'}
hasBin: true
dependencies:
- conventional-commits-filter: 4.0.0
+ '@types/semver': 7.5.8
+ conventional-commits-filter: 5.0.0
handlebars: 4.7.7
- json-stringify-safe: 5.0.1
- meow: 12.1.1
+ meow: 13.2.0
semver: 7.6.0
- split2: 4.2.0
dev: true
- /conventional-changelog@5.1.0:
- resolution: {integrity: sha512-aWyE/P39wGYRPllcCEZDxTVEmhyLzTc9XA6z6rVfkuCD2UBnhV/sgSOKbQrEG5z9mEZJjnopjgQooTKxEg8mAg==}
- engines: {node: '>=16'}
+ /conventional-changelog@6.0.0:
+ resolution: {integrity: sha512-tuUH8H/19VjtD9Ig7l6TQRh+Z0Yt0NZ6w/cCkkyzUbGQTnUEmKfGtkC9gGfVgCfOL1Rzno5NgNF4KY8vR+Jo3w==}
+ engines: {node: '>=18'}
dependencies:
- conventional-changelog-angular: 7.0.0
- conventional-changelog-atom: 4.0.0
- conventional-changelog-codemirror: 4.0.0
- conventional-changelog-conventionalcommits: 7.0.2
- conventional-changelog-core: 7.0.0
- conventional-changelog-ember: 4.0.0
- conventional-changelog-eslint: 5.0.0
- conventional-changelog-express: 4.0.0
- conventional-changelog-jquery: 5.0.0
- conventional-changelog-jshint: 4.0.0
- conventional-changelog-preset-loader: 4.1.0
- dev: true
-
- /conventional-commits-filter@4.0.0:
- resolution: {integrity: sha512-rnpnibcSOdFcdclpFwWa+pPlZJhXE7l+XK04zxhbWrhgpR96h33QLz8hITTXbcYICxVr3HZFtbtUAQ+4LdBo9A==}
- engines: {node: '>=16'}
+ conventional-changelog-angular: 8.0.0
+ conventional-changelog-atom: 5.0.0
+ conventional-changelog-codemirror: 5.0.0
+ conventional-changelog-conventionalcommits: 8.0.0
+ conventional-changelog-core: 8.0.0
+ conventional-changelog-ember: 5.0.0
+ conventional-changelog-eslint: 6.0.0
+ conventional-changelog-express: 5.0.0
+ conventional-changelog-jquery: 6.0.0
+ conventional-changelog-jshint: 5.0.0
+ conventional-changelog-preset-loader: 5.0.0
+ transitivePeerDependencies:
+ - conventional-commits-filter
dev: true
- /conventional-commits-parser@5.0.0:
- resolution: {integrity: sha512-ZPMl0ZJbw74iS9LuX9YIAiW8pfM5p3yh2o/NbXHbkFuZzY5jvdi5jFycEOkmBW5H5I7nA+D6f3UcsCLP2vvSEA==}
- engines: {node: '>=16'}
+ /conventional-commits-filter@5.0.0:
+ resolution: {integrity: sha512-tQMagCOC59EVgNZcC5zl7XqO30Wki9i9J3acbUvkaosCT6JX3EeFwJD7Qqp4MCikRnzS18WXV3BLIQ66ytu6+Q==}
+ engines: {node: '>=18'}
+ dev: true
+
+ /conventional-commits-parser@6.0.0:
+ resolution: {integrity: sha512-TbsINLp48XeMXR8EvGjTnKGsZqBemisPoyWESlpRyR8lif0lcwzqz+NMtYSj1ooF/WYjSuu7wX0CtdeeMEQAmA==}
+ engines: {node: '>=18'}
hasBin: true
dependencies:
- JSONStream: 1.3.5
- is-text-path: 2.0.0
- meow: 12.1.1
- split2: 4.2.0
+ meow: 13.2.0
dev: true
/convert-source-map@2.0.0:
@@ -5987,11 +5998,6 @@ packages:
type: 1.2.0
dev: false
- /dargs@8.1.0:
- resolution: {integrity: sha512-wAV9QHOsNbwnWdNW2FYvE1P56wtgSbM+3SZcdGiWQILwVjACCXDCI3Ai8QlCjMDB8YK5zySiXZYBiwGmNY3lnw==}
- engines: {node: '>=12'}
- dev: true
-
/data-uri-to-buffer@2.0.2:
resolution: {integrity: sha512-ND9qDTLc6diwj+Xe5cdAgVTbLVdXbtxTJRXRhli8Mowuaan+0EJOtdqJ0QCHNSSPyoXGx9HX2/VMnKeC34AChA==}
dev: true
@@ -6214,12 +6220,6 @@ packages:
dev: true
optional: true
- /error-ex@1.3.2:
- resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==}
- dependencies:
- is-arrayish: 0.2.1
- dev: true
-
/es-module-lexer@1.5.2:
resolution: {integrity: sha512-l60ETUTmLqbVbVHv1J4/qj+M8nq7AwMzEcg3kmJDt9dCNrTk+yHcYFf/Kw75pMDwd9mPcIGCG5LcS20SxYRzFA==}
dev: true
@@ -6792,6 +6792,11 @@ packages:
transitivePeerDependencies:
- supports-color
+ /find-up-simple@1.0.0:
+ resolution: {integrity: sha512-q7Us7kcjj2VMePAa02hDAF6d+MzsdsAWEwYyOpwUtlerRBkOEPBCRZrAV4XfcSN8fHAgaD0hP7miwoay6DCprw==}
+ engines: {node: '>=18'}
+ dev: true
+
/find-up@5.0.0:
resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==}
engines: {node: '>=10'}
@@ -6800,14 +6805,6 @@ packages:
path-exists: 4.0.0
dev: true
- /find-up@6.3.0:
- resolution: {integrity: sha512-v2ZsoEuVHYy8ZIlYqwPe/39Cy+cFDzp4dXPaxNvkEuouymu+2Jbz0PxpKarJHYJTmv2HWT3O382qY8l4jMWthw==}
- engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
- dependencies:
- locate-path: 7.2.0
- path-exists: 5.0.0
- dev: true
-
/flat-cache@3.0.4:
resolution: {integrity: sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==}
engines: {node: ^10.12.0 || >=12.0.0}
@@ -6989,23 +6986,28 @@ packages:
resolve-pkg-maps: 1.0.0
dev: true
- /git-raw-commits@4.0.0:
- resolution: {integrity: sha512-ICsMM1Wk8xSGMowkOmPrzo2Fgmfo4bMHLNX6ytHjajRJUqvHOw/TFapQ+QG75c3X/tTDDhOSRPGC52dDbNM8FQ==}
- engines: {node: '>=16'}
+ /git-raw-commits@5.0.0(conventional-commits-parser@6.0.0):
+ resolution: {integrity: sha512-I2ZXrXeOc0KrCvC7swqtIFXFN+rbjnC7b2T943tvemIOVNl+XP8YnA9UVwqFhzzLClnSA60KR/qEjLpXzs73Qg==}
+ engines: {node: '>=18'}
hasBin: true
dependencies:
- dargs: 8.1.0
- meow: 12.1.1
- split2: 4.2.0
+ '@conventional-changelog/git-client': 1.0.0(conventional-commits-parser@6.0.0)
+ meow: 13.2.0
+ transitivePeerDependencies:
+ - conventional-commits-filter
+ - conventional-commits-parser
dev: true
- /git-semver-tags@7.0.1:
- resolution: {integrity: sha512-NY0ZHjJzyyNXHTDZmj+GG7PyuAKtMsyWSwh07CR2hOZFa+/yoTsXci/nF2obzL8UDhakFNkD9gNdt/Ed+cxh2Q==}
- engines: {node: '>=16'}
+ /git-semver-tags@8.0.0(conventional-commits-parser@6.0.0):
+ resolution: {integrity: sha512-N7YRIklvPH3wYWAR2vysaqGLPRcpwQ0GKdlqTiVN5w1UmCdaeY3K8s6DMKRCh54DDdzyt/OAB6C8jgVtb7Y2Fg==}
+ engines: {node: '>=18'}
hasBin: true
dependencies:
- meow: 12.1.1
- semver: 7.6.0
+ '@conventional-changelog/git-client': 1.0.0(conventional-commits-parser@6.0.0)
+ meow: 13.2.0
+ transitivePeerDependencies:
+ - conventional-commits-filter
+ - conventional-commits-parser
dev: true
/glob-parent@5.1.2:
@@ -7296,6 +7298,11 @@ packages:
engines: {node: '>=0.8.19'}
dev: true
+ /index-to-position@0.1.2:
+ resolution: {integrity: sha512-MWDKS3AS1bGCHLBA2VLImJz42f7bJh8wQsTGCzI3j519/CASStoDONUBVz2I/VID0MpiX3SGSnbOD2xUalbE5g==}
+ engines: {node: '>=18'}
+ dev: true
+
/inflight@1.0.6:
resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==}
dependencies:
@@ -7309,10 +7316,6 @@ packages:
resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==}
engines: {node: '>= 0.10'}
- /is-arrayish@0.2.1:
- resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==}
- dev: true
-
/is-binary-path@2.1.0:
resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==}
engines: {node: '>=8'}
@@ -7417,13 +7420,6 @@ packages:
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
dev: true
- /is-text-path@2.0.0:
- resolution: {integrity: sha512-+oDTluR6WEjdXEJMnC2z6A4FRwFoYuvShVVEGsS7ewc0UTi2QtAKMDJuL4BDEVt+5T7MjFo12RP8ghOM75oKJw==}
- engines: {node: '>=8'}
- dependencies:
- text-extensions: 2.4.0
- dev: true
-
/is-what@3.14.1:
resolution: {integrity: sha512-sNxgpk9793nzSs7bA6JQJGeIuRBQhAaNGG77kzYQgMkrID+lS6SlK07K5LaptscDlSaIgH+GPFzf+d75FVxozA==}
dev: true
@@ -7503,10 +7499,6 @@ packages:
resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==}
dev: true
- /json-stringify-safe@5.0.1:
- resolution: {integrity: sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==}
- dev: true
-
/json5@2.2.3:
resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==}
engines: {node: '>=6'}
@@ -7524,11 +7516,6 @@ packages:
graceful-fs: 4.2.11
dev: true
- /jsonparse@1.3.1:
- resolution: {integrity: sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==}
- engines: {'0': node >= 0.2.0}
- dev: true
-
/jstransformer@1.0.0:
resolution: {integrity: sha1-7Yvwkh4vPx7U1cGkT2hwntJHIsM=}
dependencies:
@@ -7701,11 +7688,6 @@ packages:
/lines-and-columns@1.2.4:
resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==}
- /lines-and-columns@2.0.3:
- resolution: {integrity: sha512-cNOjgCnLB+FnvWWtyRTzmB3POJ+cXxTA81LoW7u8JdmhfXzriropYwpjShnz1QLLWsQwY7nIxoDmcPTwphDK9w==}
- engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
- dev: true
-
/lint-staged@15.2.2:
resolution: {integrity: sha512-TiTt93OPh1OZOsb5B7k96A/ATl2AjIZo+vnzFZ6oHK5FuTk63ByDtxGQpHm+kFETjEWqgkF95M8FRXKR/LEBcw==}
engines: {node: '>=18.12.0'}
@@ -7757,13 +7739,6 @@ packages:
p-locate: 5.0.0
dev: true
- /locate-path@7.2.0:
- resolution: {integrity: sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA==}
- engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
- dependencies:
- p-locate: 6.0.0
- dev: true
-
/lodash-es@4.17.21:
resolution: {integrity: sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==}
dev: false
@@ -8024,15 +7999,9 @@ packages:
engines: {node: '>= 0.10.0'}
dev: true
- /meow@12.1.1:
- resolution: {integrity: sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==}
- engines: {node: '>=16.10'}
- dev: true
-
/meow@13.2.0:
resolution: {integrity: sha512-pxQJQzB6djGPXh08dacEloMFopsOqGVRKFPYvPOt9XDZ1HasbgDZA74CJGreSU4G3Ak7EFJGoiH2auq+yXISgA==}
engines: {node: '>=18'}
- dev: false
/merge-descriptors@1.0.1:
resolution: {integrity: sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==}
@@ -8655,13 +8624,6 @@ packages:
yocto-queue: 0.1.0
dev: true
- /p-limit@4.0.0:
- resolution: {integrity: sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==}
- engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
- dependencies:
- yocto-queue: 1.0.0
- dev: true
-
/p-limit@5.0.0:
resolution: {integrity: sha512-/Eaoq+QyLSiXQ4lyYV23f14mZRQcXnxfHrN0vCai+ak9G0pp9iEQukIIZq5NccEvwRB8PUnZT0KsOoDCINS1qQ==}
engines: {node: '>=18'}
@@ -8676,13 +8638,6 @@ packages:
p-limit: 3.1.0
dev: true
- /p-locate@6.0.0:
- resolution: {integrity: sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw==}
- engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
- dependencies:
- p-limit: 4.0.0
- dev: true
-
/package-name-regex@2.0.6:
resolution: {integrity: sha512-gFL35q7kbE/zBaPA3UKhp2vSzcPYx2ecbYuwv1ucE9Il6IIgBDweBlH8D68UFGZic2MkllKa2KHCfC1IQBQUYA==}
engines: {node: '>=12'}
@@ -8695,15 +8650,13 @@ packages:
callsites: 3.1.0
dev: true
- /parse-json@7.1.0:
- resolution: {integrity: sha512-ihtdrgbqdONYD156Ap6qTcaGcGdkdAxodO1wLqQ/j7HP1u2sFYppINiq4jyC8F+Nm+4fVufylCV00QmkTHkSUg==}
- engines: {node: '>=16'}
+ /parse-json@8.1.0:
+ resolution: {integrity: sha512-rum1bPifK5SSar35Z6EKZuYPJx85pkNaFrxBK3mwdfSJ1/WKbYrjoW/zTPSjRRamfmVX1ACBIdFAO0VRErW/EA==}
+ engines: {node: '>=18'}
dependencies:
'@babel/code-frame': 7.24.2
- error-ex: 1.3.2
- json-parse-even-better-errors: 3.0.0
- lines-and-columns: 2.0.3
- type-fest: 3.13.1
+ index-to-position: 0.1.2
+ type-fest: 4.18.1
dev: true
/parse-node-version@1.0.1:
@@ -8730,11 +8683,6 @@ packages:
engines: {node: '>=8'}
dev: true
- /path-exists@5.0.0:
- resolution: {integrity: sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ==}
- engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
- dev: true
-
/path-is-absolute@1.0.1:
resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==}
engines: {node: '>=0.10.0'}
@@ -9246,23 +9194,24 @@ packages:
npm-normalize-package-bin: 3.0.1
dev: true
- /read-pkg-up@10.1.0:
- resolution: {integrity: sha512-aNtBq4jR8NawpKJQldrQcSW9y/d+KWH4v24HWkHljOZ7H0av+YTGANBzRh9A5pw7v/bLVsLVPpOhJ7gHNVy8lA==}
- engines: {node: '>=16'}
+ /read-package-up@11.0.0:
+ resolution: {integrity: sha512-MbgfoNPANMdb4oRBNg5eqLbB2t2r+o5Ua1pNt8BqGp4I0FJZhuVSOj3PaBPni4azWuSzEdNn2evevzVmEk1ohQ==}
+ engines: {node: '>=18'}
dependencies:
- find-up: 6.3.0
- read-pkg: 8.1.0
- type-fest: 4.4.0
+ find-up-simple: 1.0.0
+ read-pkg: 9.0.1
+ type-fest: 4.18.1
dev: true
- /read-pkg@8.1.0:
- resolution: {integrity: sha512-PORM8AgzXeskHO/WEv312k9U03B8K9JSiWF/8N9sUuFjBa+9SF2u6K7VClzXwDXab51jCd8Nd36CNM+zR97ScQ==}
- engines: {node: '>=16'}
+ /read-pkg@9.0.1:
+ resolution: {integrity: sha512-9viLL4/n1BJUCT1NXVTdS1jtm80yDEgR5T4yCelII49Mbj0v1rZdKqj7zCiYdbB0CuCgdrvHcNogAKTFPBocFA==}
+ engines: {node: '>=18'}
dependencies:
- '@types/normalize-package-data': 2.4.1
+ '@types/normalize-package-data': 2.4.4
normalize-package-data: 6.0.0
- parse-json: 7.1.0
- type-fest: 4.4.0
+ parse-json: 8.1.0
+ type-fest: 4.18.1
+ unicorn-magic: 0.1.0
dev: true
/readable-stream@3.6.0:
@@ -9769,11 +9718,6 @@ packages:
engines: {node: '>=0.10.0'}
dev: true
- /split2@4.2.0:
- resolution: {integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==}
- engines: {node: '>= 10.x'}
- dev: true
-
/stackback@0.0.2:
resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==}
dev: true
@@ -10005,11 +9949,6 @@ packages:
source-map-support: 0.5.21
dev: true
- /text-extensions@2.4.0:
- resolution: {integrity: sha512-te/NtwBwfiNRLf9Ijqx3T0nlqZiQ2XrrtBvu+cLL8ZRrGkO0NHTug8MYFKyoSrv/sHTaSKfilUkizV6XhxMJ3g==}
- engines: {node: '>=8'}
- dev: true
-
/text-table@0.2.0:
resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==}
dev: true
@@ -10025,10 +9964,6 @@ packages:
dependencies:
any-promise: 1.3.0
- /through@2.3.8:
- resolution: {integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==}
- dev: true
-
/tiny-emitter@2.1.0:
resolution: {integrity: sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q==}
dev: false
@@ -10198,8 +10133,8 @@ packages:
engines: {node: '>=14.16'}
dev: true
- /type-fest@4.4.0:
- resolution: {integrity: sha512-HT3RRs7sTfY22KuPQJkD/XjbTbxgP2Je5HPt6H6JEGvcjHd5Lqru75EbrP3tb4FYjNJ+DjLp+MNQTFQU0mhXNw==}
+ /type-fest@4.18.1:
+ resolution: {integrity: sha512-qXhgeNsX15bM63h5aapNFcQid9jRF/l3ojDoDFmekDQEUufZ9U4ErVt6SjDxnHp48Ltrw616R8yNc3giJ3KvVQ==}
engines: {node: '>=16'}
dev: true
@@ -10307,6 +10242,11 @@ packages:
engines: {node: '>=4'}
dev: false
+ /unicorn-magic@0.1.0:
+ resolution: {integrity: sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==}
+ engines: {node: '>=18'}
+ dev: true
+
/unist-util-is@6.0.0:
resolution: {integrity: sha512-2qCTHimwdxLfz+YzdGfkqNlH0tLi9xjTnHddPmJwtIG9MGsdbutfTc4P+haPD7l7Cjxf/WZj+we5qfVPvvxfYw==}
dependencies:
From 22dc19601e2d83e3db3ec86eb2a274934284ac05 Mon Sep 17 00:00:00 2001
From: Adam Hines
Date: Wed, 8 May 2024 23:00:40 -0600
Subject: [PATCH 10/25] fix(error-logging): rollup errors weren't displaying id
and codeframe (#16540)
---
packages/vite/src/node/build.ts | 53 +++++++++++++++++++++++++++++----
1 file changed, 47 insertions(+), 6 deletions(-)
diff --git a/packages/vite/src/node/build.ts b/packages/vite/src/node/build.ts
index 4bc57ce58f76aa..0d849624f4d25f 100644
--- a/packages/vite/src/node/build.ts
+++ b/packages/vite/src/node/build.ts
@@ -545,7 +545,39 @@ export async function build(
},
}
- const mergeRollupError = (e: RollupError) => {
+ /**
+ * The stack string usually contains a copy of the message at the start of the stack.
+ * If the stack starts with the message, we remove it and just return the stack trace
+ * portion. Otherwise the original stack trace is used.
+ */
+ function extractStack(e: RollupError) {
+ const { stack, name = 'Error', message } = e
+
+ // If we don't have a stack, not much we can do.
+ if (!stack) {
+ return stack
+ }
+
+ const expectedPrefix = `${name}: ${message}\n`
+ if (stack.startsWith(expectedPrefix)) {
+ return stack.slice(expectedPrefix.length)
+ }
+
+ return stack
+ }
+
+ /**
+ * Esbuild code frames have newlines at the start and end of the frame, rollup doesn't
+ * This function normalizes the frame to match the esbuild format which has more pleasing padding
+ */
+ const normalizeCodeFrame = (frame: string) => {
+ const trimmedPadding = frame.replace(/^\n|\n$/g, '')
+ return `\n${trimmedPadding}\n`
+ }
+
+ const enhanceRollupError = (e: RollupError) => {
+ const stackOnly = extractStack(e)
+
let msg = colors.red((e.plugin ? `[${e.plugin}] ` : '') + e.message)
if (e.id) {
msg += `\nfile: ${colors.cyan(
@@ -553,15 +585,24 @@ export async function build(
)}`
}
if (e.frame) {
- msg += `\n` + colors.yellow(e.frame)
+ msg += `\n` + colors.yellow(normalizeCodeFrame(e.frame))
+ }
+
+ e.message = msg
+
+ // We are rebuilding the stack trace to include the more detailed message at the top.
+ // Previously this code was relying on mutating e.message changing the generated stack
+ // when it was accessed, but we don't have any guarantees that the error we are working
+ // with hasn't already had its stack accessed before we get here.
+ if (stackOnly !== undefined) {
+ e.stack = `${e.message}\n${stackOnly}`
}
- return msg
}
const outputBuildError = (e: RollupError) => {
- const msg = mergeRollupError(e)
+ enhanceRollupError(e)
clearLine()
- config.logger.error(msg, { error: e })
+ config.logger.error(e.message, { error: e })
}
let bundle: RollupBuild | undefined
@@ -727,7 +768,7 @@ export async function build(
)
return Array.isArray(outputs) ? res : res[0]
} catch (e) {
- e.message = mergeRollupError(e)
+ enhanceRollupError(e)
clearLine()
if (startTime) {
config.logger.error(
From 4501b5a7ea524d448e4da94988f4ed6d2d55dbe0 Mon Sep 17 00:00:00 2001
From: btea <2356281422@qq.com>
Date: Sat, 11 May 2024 02:12:39 +0800
Subject: [PATCH 11/25] chore(deps): update @shikijs/vitepress-twoslash to
1.5.0 (#16637)
---
docs/config/build-options.md | 3 +-
docs/guide/build.md | 6 +--
docs/package.json | 2 +-
pnpm-lock.yaml | 75 +++++++++++++-----------------------
4 files changed, 31 insertions(+), 55 deletions(-)
diff --git a/docs/config/build-options.md b/docs/config/build-options.md
index 4d4214e6a6b73b..3713daf534b349 100644
--- a/docs/config/build-options.md
+++ b/docs/config/build-options.md
@@ -48,10 +48,10 @@ type ResolveModulePreloadDependenciesFn = (
The `resolveDependencies` function will be called for each dynamic import with a list of the chunks it depends on, and it will also be called for each chunk imported in entry HTML files. A new dependencies array can be returned with these filtered or more dependencies injected, and their paths modified. The `deps` paths are relative to the `build.outDir`. Returning a relative path to the `hostId` for `hostType === 'js'` is allowed, in which case `new URL(dep, import.meta.url)` is used to get an absolute path when injecting this module preload in the HTML head.
-
```js twoslash
/** @type {import('vite').UserConfig} */
const config = {
+ // prettier-ignore
build: {
// ---cut-before---
modulePreload: {
@@ -63,7 +63,6 @@ modulePreload: {
},
}
```
-
The resolved dependency paths can be further modified using [`experimental.renderBuiltUrl`](../guide/build.md#advanced-base-options).
diff --git a/docs/guide/build.md b/docs/guide/build.md
index cb4a8eef6cd583..50abd7c91cea56 100644
--- a/docs/guide/build.md
+++ b/docs/guide/build.md
@@ -238,9 +238,9 @@ A user may choose to deploy in three different paths:
A single static [base](#public-base-path) isn't enough in these scenarios. Vite provides experimental support for advanced base options during build, using `experimental.renderBuiltUrl`.
-
```ts twoslash
import type { UserConfig } from 'vite'
+// prettier-ignore
const config: UserConfig = {
// ---cut-before---
experimental: {
@@ -255,14 +255,13 @@ experimental: {
// ---cut-after---
}
```
-
If the hashed assets and public files aren't deployed together, options for each group can be defined independently using asset `type` included in the second `context` param given to the function.
-
```ts twoslash
import type { UserConfig } from 'vite'
import path from 'node:path'
+// prettier-ignore
const config: UserConfig = {
// ---cut-before---
experimental: {
@@ -279,6 +278,5 @@ experimental: {
// ---cut-after---
}
```
-
Note that the `filename` passed is a decoded URL, and if the function returns a URL string, it should also be decoded. Vite will handle the encoding automatically when rendering the URLs. If an object with `runtime` is returned, encoding should be handled yourself where needed as the runtime code will be rendered as is.
diff --git a/docs/package.json b/docs/package.json
index fd47dad9e112ac..f1a6d563a97f2f 100644
--- a/docs/package.json
+++ b/docs/package.json
@@ -8,7 +8,7 @@
"docs-serve": "vitepress serve"
},
"devDependencies": {
- "@shikijs/vitepress-twoslash": "^1.4.0",
+ "@shikijs/vitepress-twoslash": "^1.5.0",
"@types/express": "^4.17.21",
"vitepress": "1.1.4",
"vue": "^3.4.27"
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 99ba984c13384d..67e13cf197c9f8 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -160,8 +160,8 @@ importers:
docs:
devDependencies:
'@shikijs/vitepress-twoslash':
- specifier: ^1.4.0
- version: 1.4.0(typescript@5.2.2)
+ specifier: ^1.5.0
+ version: 1.5.0(typescript@5.2.2)
'@types/express':
specifier: ^4.17.21
version: 4.17.21
@@ -4372,8 +4372,8 @@ packages:
resolution: {integrity: sha512-7fedsBfuILDTBmrYZNFI8B6ATTxhQAasUHllHmjvSZPnoq4bULWoTpHwmuQvZ8Aq03/tAa2IGo6RXqWtHdWaCA==}
dev: true
- /@shikijs/core@1.4.0:
- resolution: {integrity: sha512-CxpKLntAi64h3j+TwWqVIQObPTED0FyXLHTTh3MKXtqiQNn2JGcMQQ362LftDbc9kYbDtrksNMNoVmVXzKFYUQ==}
+ /@shikijs/core@1.5.0:
+ resolution: {integrity: sha512-tdYjQu+jnvlPbJg4OjgCQ16zAfHlLk+RzA9o025aeaIyUww6W/Vd9TQ2t+gdZgK1fox29/L2yyqXLU6ErzYA0w==}
dev: true
/@shikijs/transformers@1.3.0:
@@ -4382,27 +4382,27 @@ packages:
shiki: 1.3.0
dev: true
- /@shikijs/twoslash@1.4.0(typescript@5.2.2):
- resolution: {integrity: sha512-MeyA2XAMXOWaeF2Fzn+7uxc7lRy0MIUjq4+v6BCGReHYDWlKSGmKiogaHWdNznMxkzNwTVO9TjHW0NDMH7Yjmg==}
+ /@shikijs/twoslash@1.5.0(typescript@5.2.2):
+ resolution: {integrity: sha512-Hc/BpFwx/8lm0ovI8erSjjufFxX18ajBxjVD41xlyZxAM9akB52Z31sDQKSx5f9sUov0RciYtNabXeG+Qbnm1g==}
dependencies:
- '@shikijs/core': 1.4.0
- twoslash: 0.2.5(typescript@5.2.2)
+ '@shikijs/core': 1.5.0
+ twoslash: 0.2.6(typescript@5.2.2)
transitivePeerDependencies:
- supports-color
- typescript
dev: true
- /@shikijs/vitepress-twoslash@1.4.0(typescript@5.2.2):
- resolution: {integrity: sha512-M4lZd93tlZiFtfVT8ZnIhfGfTv5MwRKOtWcUT37RAsLTTU+DhMXHeYlj9k+7y3KgtNchDFGjcZvSw57L10FkZw==}
+ /@shikijs/vitepress-twoslash@1.5.0(typescript@5.2.2):
+ resolution: {integrity: sha512-cWuZpGVucvJ8oKZyeKwN+bXgV/O2pPpZtUKLq/FfnPhUzjuz74Iiwgr3Ls37bjy2L1pQ4kHlJkdY22KnT3+rkw==}
dependencies:
- '@shikijs/twoslash': 1.4.0(typescript@5.2.2)
+ '@shikijs/twoslash': 1.5.0(typescript@5.2.2)
floating-vue: 5.2.2(vue@3.4.27)
mdast-util-from-markdown: 2.0.0
mdast-util-gfm: 3.0.0
mdast-util-to-hast: 13.1.0
- shiki: 1.4.0
- twoslash: 0.2.5(typescript@5.2.2)
- twoslash-vue: 0.2.5(typescript@5.2.2)
+ shiki: 1.5.0
+ twoslash: 0.2.6(typescript@5.2.2)
+ twoslash-vue: 0.2.6(typescript@5.2.2)
vue: 3.4.27(typescript@5.2.2)
transitivePeerDependencies:
- '@nuxt/kit'
@@ -4917,16 +4917,6 @@ packages:
source-map: 0.6.1
dev: true
- /@vue/compiler-core@3.4.26:
- resolution: {integrity: sha512-N9Vil6Hvw7NaiyFUFBPXrAyETIGlQ8KcFMkyk6hW1Cl6NvoqvP+Y8p1Eqvx+UdqsnrnI9+HMUEJegzia3mhXmQ==}
- dependencies:
- '@babel/parser': 7.24.5
- '@vue/shared': 3.4.26
- entities: 4.5.0
- estree-walker: 2.0.2
- source-map-js: 1.2.0
- dev: true
-
/@vue/compiler-core@3.4.27:
resolution: {integrity: sha512-E+RyqY24KnyDXsCuQrI+mlcdW3ALND6U7Gqa/+bVwbcpcR3BRRIckFoz7Qyd4TTlnugtwuI7YgjbvsLmxb+yvg==}
dependencies:
@@ -4943,13 +4933,6 @@ packages:
'@vue/shared': 3.2.0
dev: true
- /@vue/compiler-dom@3.4.26:
- resolution: {integrity: sha512-4CWbR5vR9fMg23YqFOhr6t6WB1Fjt62d6xdFPyj8pxrYub7d+OgZaObMsoxaF9yBUHPMiPFK303v61PwAuGvZA==}
- dependencies:
- '@vue/compiler-core': 3.4.26
- '@vue/shared': 3.4.26
- dev: true
-
/@vue/compiler-dom@3.4.27:
resolution: {integrity: sha512-kUTvochG/oVgE1w5ViSr3KUBh9X7CWirebA3bezTbB5ZKBQZwR2Mwj9uoSKRMFcz4gSMzzLXBPD6KpCLb9nvWw==}
dependencies:
@@ -5020,7 +5003,7 @@ packages:
dependencies:
'@volar/language-core': 1.11.1
'@volar/source-map': 1.11.1
- '@vue/compiler-dom': 3.4.26
+ '@vue/compiler-dom': 3.4.27
'@vue/shared': 3.4.27
computeds: 0.0.1
minimatch: 9.0.4
@@ -5082,10 +5065,6 @@ packages:
resolution: {integrity: sha512-MgdilC3YHYSCFuNlxZBgugh8B9/h/h+nQ6lkeaxqFWW+FnV/JzCwW4Bh5bYIYvBleG8QZjFwxdmdqSAWLXzgEA==}
dev: true
- /@vue/shared@3.4.26:
- resolution: {integrity: sha512-Fg4zwR0GNnjzodMt3KRy2AWGMKQXByl56+4HjN87soxLNU9P5xcJkstAlIeEF3cU6UYOzmJl1tV0dVPGIljCnQ==}
- dev: true
-
/@vue/shared@3.4.27:
resolution: {integrity: sha512-DL3NmY2OFlqmYYrzp39yi3LDkKxa5vZVwxWdQ3rG0ekuWscHraeIbnI8t+aZK7qhYqEqWKTUdijadunb9pnrgA==}
@@ -9570,10 +9549,10 @@ packages:
'@shikijs/core': 1.3.0
dev: true
- /shiki@1.4.0:
- resolution: {integrity: sha512-5WIn0OL8PWm7JhnTwRWXniy6eEDY234mRrERVlFa646V2ErQqwIFd2UML7e0Pq9eqSKLoMa3Ke+xbsF+DAuy+Q==}
+ /shiki@1.5.0:
+ resolution: {integrity: sha512-AMax9zrUW8u8bnvNhnmAD9mHzk244mWCDBZm+zh4Ir3lzncF/sGUcVd5gpy0IlWvOKBUUJ8uu/BFpusGJ/PdVw==}
dependencies:
- '@shikijs/core': 1.4.0
+ '@shikijs/core': 1.5.0
dev: true
/side-channel@1.0.4:
@@ -10082,30 +10061,30 @@ packages:
fsevents: 2.3.3
dev: true
- /twoslash-protocol@0.2.5:
- resolution: {integrity: sha512-oUr5ZAn37CgNa6p1mrCuuR/pINffsnGCee2aS170Uj1IObxCjsHzu6sgdPUdxGLLn6++gd/qjNH1/iR6RrfLeg==}
+ /twoslash-protocol@0.2.6:
+ resolution: {integrity: sha512-8NbJlYeRdBcCTQ7ui7pdRPC1NL16aOnoYNz06oBW+W0qWNuiQXHgE8UeNvbA038aDd6ZPuuD5WedsBIESocB4g==}
dev: true
- /twoslash-vue@0.2.5(typescript@5.2.2):
- resolution: {integrity: sha512-Tai45V/1G/jEJQIbDe/DIkJCgOqtA/ZHxx4TgC5EM/nnyTP6zbZNtvKOlzMjFgXFdk6rebWEl2Mi/RHKs/sbDQ==}
+ /twoslash-vue@0.2.6(typescript@5.2.2):
+ resolution: {integrity: sha512-tuR/45Xb3mg3WGb7Ek7+WH/bBStw79OCbiFmnqK/51lcfjxaz7RCIQEcH2rAMY52NjwbOqw9om+DKVfgA4BYdA==}
peerDependencies:
typescript: '*'
dependencies:
'@vue/language-core': 1.8.27(typescript@5.2.2)
- twoslash: 0.2.5(typescript@5.2.2)
- twoslash-protocol: 0.2.5
+ twoslash: 0.2.6(typescript@5.2.2)
+ twoslash-protocol: 0.2.6
typescript: 5.2.2
transitivePeerDependencies:
- supports-color
dev: true
- /twoslash@0.2.5(typescript@5.2.2):
- resolution: {integrity: sha512-U8rqsfVh8jQMO1NJekUtglb52b7xD9+FrzeFrgzpHsRTKl8IQgqnZP6ld4PeKaHXhLfoZPuju9K50NXJ7wom8g==}
+ /twoslash@0.2.6(typescript@5.2.2):
+ resolution: {integrity: sha512-DcAKIyXMB6xNs+SOw/oF8GvUr/cfJSqznngVXYbAUIVfTW3M8vWSEoCaz/RgSD+M6vwtK8DJ4/FmYBF5MN8BGw==}
peerDependencies:
typescript: '*'
dependencies:
'@typescript/vfs': 1.5.0
- twoslash-protocol: 0.2.5
+ twoslash-protocol: 0.2.6
typescript: 5.2.2
transitivePeerDependencies:
- supports-color
From 27b8ed48dc9d0992cf451e073845c0f36dc87c4a Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 12 May 2024 23:00:12 -0700
Subject: [PATCH 12/25] chore(deps): update pnpm/action-setup action to v4
(#16663)
---
.github/workflows/ci.yml | 4 ++--
.github/workflows/publish.yml | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 52dc9cd290a6a1..79a4922b43f2a1 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -69,7 +69,7 @@ jobs:
- name: Install pnpm
if: steps.changed-files.outputs.only_changed != 'true'
- uses: pnpm/action-setup@v3.0.0
+ uses: pnpm/action-setup@v4.0.0
- name: Set node version to ${{ matrix.node_version }}
if: steps.changed-files.outputs.only_changed != 'true'
@@ -134,7 +134,7 @@ jobs:
- uses: actions/checkout@v4
- name: Install pnpm
- uses: pnpm/action-setup@v3.0.0
+ uses: pnpm/action-setup@v4.0.0
- name: Set node version to 20
uses: actions/setup-node@v4
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index bde621d0d82a6c..37d8c135b458db 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -21,7 +21,7 @@ jobs:
uses: actions/checkout@v4
- name: Install pnpm
- uses: pnpm/action-setup@v3.0.0
+ uses: pnpm/action-setup@v4.0.0
- name: Set node version to 20
uses: actions/setup-node@v4
From bf2f0145fecb67ca2342c3530716f4c5ddd35a68 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 13 May 2024 14:42:44 +0800
Subject: [PATCH 13/25] fix(deps): update all non-major dependencies (#16660)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
.github/workflows/ci.yml | 2 +-
docs/package.json | 2 +-
package.json | 10 +-
.../create-vite/template-qwik-ts/package.json | 2 +-
.../create-vite/template-qwik/package.json | 2 +-
.../template-react-ts/package.json | 4 +-
.../create-vite/template-react/package.json | 4 +-
.../template-svelte-ts/package.json | 2 +-
.../create-vite/template-svelte/package.json | 2 +-
.../create-vite/template-vue-ts/package.json | 2 +-
packages/vite/package.json | 2 +-
playground/backend-integration/package.json | 2 +-
playground/css-sourcemap/package.json | 2 +-
playground/css/package.json | 2 +-
playground/multiple-entrypoints/package.json | 2 +-
playground/ssr-webworker/package.json | 2 +-
pnpm-lock.yaml | 169 +++++++++---------
17 files changed, 103 insertions(+), 110 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 79a4922b43f2a1..2e7b7db4b32655 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -58,7 +58,7 @@ jobs:
- name: Get changed files
id: changed-files
- uses: tj-actions/changed-files@0874344d6ebbaa00a27da73276ae7162fadcaf69 # v44.3.0
+ uses: tj-actions/changed-files@a29e8b565651ce417abb5db7164b4a2ad8b6155c # v44.4.0
with:
files: |
docs/**
diff --git a/docs/package.json b/docs/package.json
index f1a6d563a97f2f..332fbdc100afeb 100644
--- a/docs/package.json
+++ b/docs/package.json
@@ -8,7 +8,7 @@
"docs-serve": "vitepress serve"
},
"devDependencies": {
- "@shikijs/vitepress-twoslash": "^1.5.0",
+ "@shikijs/vitepress-twoslash": "^1.5.1",
"@types/express": "^4.17.21",
"vitepress": "1.1.4",
"vue": "^3.4.27"
diff --git a/package.json b/package.json
index 382ed3ffa3c7d9..d7d9007fc3d1cb 100644
--- a/package.json
+++ b/package.json
@@ -53,7 +53,7 @@
"@types/fs-extra": "^11.0.4",
"@types/less": "^3.0.6",
"@types/micromatch": "^4.0.7",
- "@types/node": "^20.12.10",
+ "@types/node": "^20.12.11",
"@types/picomatch": "^2.3.3",
"@types/semver": "^7.5.8",
"@types/stylus": "^0.48.42",
@@ -65,7 +65,7 @@
"eslint": "^8.57.0",
"eslint-define-config": "^2.1.0",
"eslint-plugin-i": "^2.29.1",
- "eslint-plugin-n": "^17.5.0",
+ "eslint-plugin-n": "^17.6.0",
"eslint-plugin-regexp": "^2.5.0",
"execa": "^8.0.1",
"feed": "^4.2.2",
@@ -75,12 +75,12 @@
"picocolors": "^1.0.0",
"playwright-chromium": "^1.44.0",
"prettier": "3.2.5",
- "rimraf": "^5.0.5",
+ "rimraf": "^5.0.7",
"rollup": "^4.13.0",
- "semver": "^7.6.0",
+ "semver": "^7.6.2",
"simple-git-hooks": "^2.11.1",
"tslib": "^2.6.2",
- "tsx": "^4.9.3",
+ "tsx": "^4.10.1",
"typescript": "^5.2.2",
"unbuild": "^2.0.0",
"vite": "workspace:*",
diff --git a/packages/create-vite/template-qwik-ts/package.json b/packages/create-vite/template-qwik-ts/package.json
index 2f39c4c67aea6b..f626c4539c4ed1 100644
--- a/packages/create-vite/template-qwik-ts/package.json
+++ b/packages/create-vite/template-qwik-ts/package.json
@@ -14,6 +14,6 @@
"vite": "^5.2.11"
},
"dependencies": {
- "@builder.io/qwik": "^1.5.3"
+ "@builder.io/qwik": "^1.5.4"
}
}
diff --git a/packages/create-vite/template-qwik/package.json b/packages/create-vite/template-qwik/package.json
index 3547b2bbdb883a..9dcad097acfe70 100644
--- a/packages/create-vite/template-qwik/package.json
+++ b/packages/create-vite/template-qwik/package.json
@@ -13,6 +13,6 @@
"vite": "^5.2.11"
},
"dependencies": {
- "@builder.io/qwik": "^1.5.3"
+ "@builder.io/qwik": "^1.5.4"
}
}
diff --git a/packages/create-vite/template-react-ts/package.json b/packages/create-vite/template-react-ts/package.json
index bfb9e97af49ddd..48ccc10835c170 100644
--- a/packages/create-vite/template-react-ts/package.json
+++ b/packages/create-vite/template-react-ts/package.json
@@ -14,14 +14,14 @@
"react-dom": "^18.3.1"
},
"devDependencies": {
- "@types/react": "^18.3.1",
+ "@types/react": "^18.3.2",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"@vitejs/plugin-react": "^4.2.1",
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.2",
- "eslint-plugin-react-refresh": "^0.4.6",
+ "eslint-plugin-react-refresh": "^0.4.7",
"typescript": "^5.2.2",
"vite": "^5.2.11"
}
diff --git a/packages/create-vite/template-react/package.json b/packages/create-vite/template-react/package.json
index 0b0fedd4584dfc..85f4371de10709 100644
--- a/packages/create-vite/template-react/package.json
+++ b/packages/create-vite/template-react/package.json
@@ -14,13 +14,13 @@
"react-dom": "^18.3.1"
},
"devDependencies": {
- "@types/react": "^18.3.1",
+ "@types/react": "^18.3.2",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.2.1",
"eslint": "^8.57.0",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.2",
- "eslint-plugin-react-refresh": "^0.4.6",
+ "eslint-plugin-react-refresh": "^0.4.7",
"vite": "^5.2.11"
}
}
diff --git a/packages/create-vite/template-svelte-ts/package.json b/packages/create-vite/template-svelte-ts/package.json
index d899cc01af4a6a..269d6edf32d434 100644
--- a/packages/create-vite/template-svelte-ts/package.json
+++ b/packages/create-vite/template-svelte-ts/package.json
@@ -12,7 +12,7 @@
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^3.1.0",
"@tsconfig/svelte": "^5.0.4",
- "svelte": "^4.2.15",
+ "svelte": "^4.2.16",
"svelte-check": "^3.7.1",
"tslib": "^2.6.2",
"typescript": "^5.2.2",
diff --git a/packages/create-vite/template-svelte/package.json b/packages/create-vite/template-svelte/package.json
index 10ea4735548c70..0b7e747cbd6fd3 100644
--- a/packages/create-vite/template-svelte/package.json
+++ b/packages/create-vite/template-svelte/package.json
@@ -10,7 +10,7 @@
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^3.1.0",
- "svelte": "^4.2.15",
+ "svelte": "^4.2.16",
"vite": "^5.2.11"
}
}
diff --git a/packages/create-vite/template-vue-ts/package.json b/packages/create-vite/template-vue-ts/package.json
index adba9ab20a5736..d14fb08c040a81 100644
--- a/packages/create-vite/template-vue-ts/package.json
+++ b/packages/create-vite/template-vue-ts/package.json
@@ -15,6 +15,6 @@
"@vitejs/plugin-vue": "^5.0.4",
"typescript": "^5.2.2",
"vite": "^5.2.11",
- "vue-tsc": "^2.0.16"
+ "vue-tsc": "^2.0.17"
}
}
diff --git a/packages/vite/package.json b/packages/vite/package.json
index 3059e1cc24d0c3..b48850d0f8fe42 100644
--- a/packages/vite/package.json
+++ b/packages/vite/package.json
@@ -144,7 +144,7 @@
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-esbuild": "^6.1.1",
"rollup-plugin-license": "^3.3.1",
- "sass": "^1.77.0",
+ "sass": "^1.77.1",
"sirv": "^2.0.4",
"source-map-support": "^0.5.21",
"strip-ansi": "^7.1.0",
diff --git a/playground/backend-integration/package.json b/playground/backend-integration/package.json
index 3137ece0e420bd..9956dd15838c4a 100644
--- a/playground/backend-integration/package.json
+++ b/playground/backend-integration/package.json
@@ -10,7 +10,7 @@
"preview": "vite preview"
},
"devDependencies": {
- "sass": "^1.77.0",
+ "sass": "^1.77.1",
"tailwindcss": "^3.4.3",
"fast-glob": "^3.3.2"
}
diff --git a/playground/css-sourcemap/package.json b/playground/css-sourcemap/package.json
index 77b23776bfaa06..e30332570e7ef5 100644
--- a/playground/css-sourcemap/package.json
+++ b/playground/css-sourcemap/package.json
@@ -12,7 +12,7 @@
"devDependencies": {
"less": "^4.2.0",
"magic-string": "^0.30.10",
- "sass": "^1.77.0",
+ "sass": "^1.77.1",
"stylus": "^0.63.0",
"sugarss": "^4.0.1"
}
diff --git a/playground/css/package.json b/playground/css/package.json
index 473ded9c96be81..5b9765bf368f28 100644
--- a/playground/css/package.json
+++ b/playground/css/package.json
@@ -24,7 +24,7 @@
"fast-glob": "^3.3.2",
"less": "^4.2.0",
"postcss-nested": "^6.0.1",
- "sass": "^1.77.0",
+ "sass": "^1.77.1",
"stylus": "^0.63.0",
"sugarss": "^4.0.1"
},
diff --git a/playground/multiple-entrypoints/package.json b/playground/multiple-entrypoints/package.json
index ec2a4ebbdfb1f6..2bd1fe9eeaf876 100644
--- a/playground/multiple-entrypoints/package.json
+++ b/playground/multiple-entrypoints/package.json
@@ -10,6 +10,6 @@
"preview": "vite preview"
},
"devDependencies": {
- "sass": "^1.77.0"
+ "sass": "^1.77.1"
}
}
diff --git a/playground/ssr-webworker/package.json b/playground/ssr-webworker/package.json
index 4815cd559e5c3c..2bfc48d0eecc42 100644
--- a/playground/ssr-webworker/package.json
+++ b/playground/ssr-webworker/package.json
@@ -13,7 +13,7 @@
"@vitejs/test-worker-exports": "file:./worker-exports"
},
"devDependencies": {
- "miniflare": "^3.20240419.0",
+ "miniflare": "^3.20240419.1",
"@vitejs/test-resolve-linked": "workspace:*"
}
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 67e13cf197c9f8..c31841f440e35c 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -61,8 +61,8 @@ importers:
specifier: ^4.0.7
version: 4.0.7
'@types/node':
- specifier: ^20.12.10
- version: 20.12.10
+ specifier: ^20.12.11
+ version: 20.12.11
'@types/picomatch':
specifier: ^2.3.3
version: 2.3.3
@@ -97,8 +97,8 @@ importers:
specifier: ^2.29.1
version: 2.29.1(@typescript-eslint/parser@7.8.0)(eslint@8.57.0)
eslint-plugin-n:
- specifier: ^17.5.0
- version: 17.5.0(eslint@8.57.0)
+ specifier: ^17.6.0
+ version: 17.6.0(eslint@8.57.0)
eslint-plugin-regexp:
specifier: ^2.5.0
version: 2.5.0(eslint@8.57.0)
@@ -127,14 +127,14 @@ importers:
specifier: 3.2.5
version: 3.2.5
rimraf:
- specifier: ^5.0.5
- version: 5.0.5
+ specifier: ^5.0.7
+ version: 5.0.7
rollup:
specifier: ^4.13.0
version: 4.13.0
semver:
- specifier: ^7.6.0
- version: 7.6.0
+ specifier: ^7.6.2
+ version: 7.6.2
simple-git-hooks:
specifier: ^2.11.1
version: 2.11.1
@@ -142,8 +142,8 @@ importers:
specifier: ^2.6.2
version: 2.6.2
tsx:
- specifier: ^4.9.3
- version: 4.9.3
+ specifier: ^4.10.1
+ version: 4.10.1
typescript:
specifier: ^5.2.2
version: 5.2.2
@@ -155,13 +155,13 @@ importers:
version: link:packages/vite
vitest:
specifier: ^1.6.0
- version: 1.6.0(@types/node@20.12.10)
+ version: 1.6.0(@types/node@20.12.11)
docs:
devDependencies:
'@shikijs/vitepress-twoslash':
- specifier: ^1.5.0
- version: 1.5.0(typescript@5.2.2)
+ specifier: ^1.5.1
+ version: 1.5.1(typescript@5.2.2)
'@types/express':
specifier: ^4.17.21
version: 4.17.21
@@ -403,8 +403,8 @@ importers:
specifier: ^3.3.1
version: 3.3.1(rollup@4.13.0)
sass:
- specifier: ^1.77.0
- version: 1.77.0
+ specifier: ^1.77.1
+ version: 1.77.1
sirv:
specifier: ^2.0.4
version: 2.0.4(patch_hash=amdes53ifqfntejkflpaq5ifce)
@@ -518,8 +518,8 @@ importers:
specifier: ^3.3.2
version: 3.3.2
sass:
- specifier: ^1.77.0
- version: 1.77.0
+ specifier: ^1.77.1
+ version: 1.77.1
tailwindcss:
specifier: ^3.4.3
version: 3.4.3(ts-node@10.9.2)
@@ -580,8 +580,8 @@ importers:
specifier: ^6.0.1
version: 6.0.1(postcss@8.4.38)
sass:
- specifier: ^1.77.0
- version: 1.77.0
+ specifier: ^1.77.1
+ version: 1.77.1
stylus:
specifier: ^0.63.0
version: 0.63.0
@@ -619,8 +619,8 @@ importers:
specifier: ^0.30.10
version: 0.30.10
sass:
- specifier: ^1.77.0
- version: 1.77.0
+ specifier: ^1.77.1
+ version: 1.77.1
stylus:
specifier: ^0.63.0
version: 0.63.0
@@ -817,8 +817,8 @@ importers:
playground/multiple-entrypoints:
devDependencies:
sass:
- specifier: ^1.77.0
- version: 1.77.0
+ specifier: ^1.77.1
+ version: 1.77.1
playground/nested-deps:
dependencies:
@@ -1521,8 +1521,8 @@ importers:
specifier: workspace:*
version: link:../resolve-linked
miniflare:
- specifier: ^3.20240419.0
- version: 3.20240419.0
+ specifier: ^3.20240419.1
+ version: 3.20240419.1
playground/ssr-webworker/browser-exports: {}
@@ -1545,7 +1545,7 @@ importers:
devDependencies:
ts-node:
specifier: ^10.9.2
- version: 10.9.2(@types/node@20.12.10)(typescript@5.2.2)
+ version: 10.9.2(@types/node@20.12.11)(typescript@5.2.2)
playground/tailwind-sourcemap:
dependencies:
@@ -3009,7 +3009,7 @@ packages:
dependencies:
'@types/semver': 7.5.8
conventional-commits-parser: 6.0.0
- semver: 7.6.0
+ semver: 7.6.2
dev: true
/@cspotcode/source-map-support@0.8.1:
@@ -4016,7 +4016,7 @@ packages:
nopt: 5.0.0
npmlog: 5.0.1
rimraf: 3.0.2
- semver: 7.6.0
+ semver: 7.6.2
tar: 6.1.11
transitivePeerDependencies:
- encoding
@@ -4372,8 +4372,8 @@ packages:
resolution: {integrity: sha512-7fedsBfuILDTBmrYZNFI8B6ATTxhQAasUHllHmjvSZPnoq4bULWoTpHwmuQvZ8Aq03/tAa2IGo6RXqWtHdWaCA==}
dev: true
- /@shikijs/core@1.5.0:
- resolution: {integrity: sha512-tdYjQu+jnvlPbJg4OjgCQ16zAfHlLk+RzA9o025aeaIyUww6W/Vd9TQ2t+gdZgK1fox29/L2yyqXLU6ErzYA0w==}
+ /@shikijs/core@1.5.1:
+ resolution: {integrity: sha512-xjV63pRUBvxA1LsxOUhRKLPh0uUjwBLzAKLdEuYSLIylo71sYuwDcttqNP01Ib1TZlLfO840CXHPlgUUsYFjzg==}
dev: true
/@shikijs/transformers@1.3.0:
@@ -4382,25 +4382,25 @@ packages:
shiki: 1.3.0
dev: true
- /@shikijs/twoslash@1.5.0(typescript@5.2.2):
- resolution: {integrity: sha512-Hc/BpFwx/8lm0ovI8erSjjufFxX18ajBxjVD41xlyZxAM9akB52Z31sDQKSx5f9sUov0RciYtNabXeG+Qbnm1g==}
+ /@shikijs/twoslash@1.5.1(typescript@5.2.2):
+ resolution: {integrity: sha512-O0cnGcpW1LkBLd85TQp7Kdb9qzhSGyYl9c21BCAmYWhQdtnxaSKBgbiP3S35ewP/s3SrR9gCzumgznp/YSyMNg==}
dependencies:
- '@shikijs/core': 1.5.0
+ '@shikijs/core': 1.5.1
twoslash: 0.2.6(typescript@5.2.2)
transitivePeerDependencies:
- supports-color
- typescript
dev: true
- /@shikijs/vitepress-twoslash@1.5.0(typescript@5.2.2):
- resolution: {integrity: sha512-cWuZpGVucvJ8oKZyeKwN+bXgV/O2pPpZtUKLq/FfnPhUzjuz74Iiwgr3Ls37bjy2L1pQ4kHlJkdY22KnT3+rkw==}
+ /@shikijs/vitepress-twoslash@1.5.1(typescript@5.2.2):
+ resolution: {integrity: sha512-q+qDk6iiKWFM8NiMQ31fLE7edWZSk7/Q3aE4Ak59fvxd9Se/BQ0yhp318o2POs1bm7AHU6Fqo2OBPN/gtzPObg==}
dependencies:
- '@shikijs/twoslash': 1.5.0(typescript@5.2.2)
+ '@shikijs/twoslash': 1.5.1(typescript@5.2.2)
floating-vue: 5.2.2(vue@3.4.27)
mdast-util-from-markdown: 2.0.0
mdast-util-gfm: 3.0.0
mdast-util-to-hast: 13.1.0
- shiki: 1.5.0
+ shiki: 1.5.1
twoslash: 0.2.6(typescript@5.2.2)
twoslash-vue: 0.2.6(typescript@5.2.2)
vue: 3.4.27(typescript@5.2.2)
@@ -4463,7 +4463,7 @@ packages:
resolution: {integrity: sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg==}
dependencies:
'@types/connect': 3.4.38
- '@types/node': 20.12.10
+ '@types/node': 20.12.11
dev: true
/@types/braces@3.0.1:
@@ -4473,7 +4473,7 @@ packages:
/@types/connect@3.4.38:
resolution: {integrity: sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==}
dependencies:
- '@types/node': 20.12.10
+ '@types/node': 20.12.11
dev: true
/@types/convert-source-map@2.0.3:
@@ -4483,7 +4483,7 @@ packages:
/@types/cross-spawn@6.0.6:
resolution: {integrity: sha512-fXRhhUkG4H3TQk5dBhQ7m/JDdSNHKwR2BBia62lhwEIq9xGiQKLxd6LymNhn47SjXhsUEPmxi+PKw2OkW4LLjA==}
dependencies:
- '@types/node': 20.12.10
+ '@types/node': 20.12.11
dev: true
/@types/debug@4.1.12:
@@ -4510,13 +4510,13 @@ packages:
/@types/etag@1.8.3:
resolution: {integrity: sha512-QYHv9Yeh1ZYSMPQOoxY4XC4F1r+xRUiAriB303F4G6uBsT3KKX60DjiogvVv+2VISVDuJhcIzMdbjT+Bm938QQ==}
dependencies:
- '@types/node': 20.12.10
+ '@types/node': 20.12.11
dev: true
/@types/express-serve-static-core@4.17.43:
resolution: {integrity: sha512-oaYtiBirUOPQGSWNGPWnzyAFJ0BP3cwvN4oWZQY+zUBwpVIGsKUkpBpSztp74drYcjavs7SKFZ4DX1V2QeN8rg==}
dependencies:
- '@types/node': 20.12.10
+ '@types/node': 20.12.11
'@types/qs': 6.9.12
'@types/range-parser': 1.2.7
'@types/send': 0.17.4
@@ -4535,7 +4535,7 @@ packages:
resolution: {integrity: sha512-yTbItCNreRooED33qjunPthRcSjERP1r4MqCZc7wv0u2sUkzTFp45tgUfS5+r7FrZPdmCCNflLhVSP/o+SemsQ==}
dependencies:
'@types/jsonfile': 6.1.1
- '@types/node': 20.12.10
+ '@types/node': 20.12.11
dev: true
/@types/hast@3.0.4:
@@ -4555,7 +4555,7 @@ packages:
/@types/jsonfile@6.1.1:
resolution: {integrity: sha512-GSgiRCVeapDN+3pqA35IkQwasaCh/0YFH5dEF6S88iDvEn901DjOeH3/QPY+XYP1DFzDZPvIvfeEgk+7br5png==}
dependencies:
- '@types/node': 20.12.10
+ '@types/node': 20.12.11
dev: true
/@types/less@3.0.6:
@@ -4615,8 +4615,8 @@ packages:
undici-types: 5.26.5
dev: true
- /@types/node@20.12.10:
- resolution: {integrity: sha512-Eem5pH9pmWBHoGAT8Dr5fdc5rYA+4NAovdM4EktRPVAAiJhmWWfQrA0cFhAbOsQdSfIHjAud6YdkbL69+zSKjw==}
+ /@types/node@20.12.11:
+ resolution: {integrity: sha512-vDg9PZ/zi+Nqp6boSOT7plNuthRugEKixDv5sFTIpkE89MmNtEArAShI4mxuX2+UrLEe9pxC1vm2cjm9YlWbJw==}
dependencies:
undici-types: 5.26.5
@@ -4659,7 +4659,7 @@ packages:
resolution: {integrity: sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==}
dependencies:
'@types/mime': 1.3.5
- '@types/node': 20.12.10
+ '@types/node': 20.12.11
dev: true
/@types/serve-static@1.15.5:
@@ -4667,13 +4667,13 @@ packages:
dependencies:
'@types/http-errors': 2.0.4
'@types/mime': 3.0.4
- '@types/node': 20.12.10
+ '@types/node': 20.12.11
dev: true
/@types/stylus@0.48.42:
resolution: {integrity: sha512-CPGlr5teL4sqdap+EOowMifLuNGeIoLwc0VQ7u/BPxo+ocqiNa5jeVt0H0IVBblEh6ZwX1sGpIQIFnSSr8NBQA==}
dependencies:
- '@types/node': 20.12.10
+ '@types/node': 20.12.11
dev: true
/@types/unist@3.0.2:
@@ -4687,7 +4687,7 @@ packages:
/@types/ws@8.5.10:
resolution: {integrity: sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A==}
dependencies:
- '@types/node': 20.12.10
+ '@types/node': 20.12.11
dev: true
/@typescript-eslint/eslint-plugin@7.8.0(@typescript-eslint/parser@7.8.0)(eslint@8.57.0)(typescript@5.2.2):
@@ -4712,7 +4712,7 @@ packages:
graphemer: 1.4.0
ignore: 5.3.1
natural-compare: 1.4.0
- semver: 7.6.0
+ semver: 7.6.2
ts-api-utils: 1.3.0(typescript@5.2.2)
typescript: 5.2.2
transitivePeerDependencies:
@@ -4788,7 +4788,7 @@ packages:
globby: 11.1.0
is-glob: 4.0.3
minimatch: 9.0.4
- semver: 7.6.0
+ semver: 7.6.2
ts-api-utils: 1.3.0(typescript@5.2.2)
typescript: 5.2.2
transitivePeerDependencies:
@@ -4808,7 +4808,7 @@ packages:
'@typescript-eslint/types': 7.8.0
'@typescript-eslint/typescript-estree': 7.8.0(typescript@5.2.2)
eslint: 8.57.0
- semver: 7.6.0
+ semver: 7.6.2
transitivePeerDependencies:
- supports-color
- typescript
@@ -4853,7 +4853,7 @@ packages:
picocolors: 1.0.0
prompts: 2.4.2
publint: 0.2.2
- semver: 7.6.0
+ semver: 7.6.2
dev: true
/@vitest/expect@1.6.0:
@@ -5867,7 +5867,7 @@ packages:
conventional-commits-filter: 5.0.0
handlebars: 4.7.7
meow: 13.2.0
- semver: 7.6.0
+ semver: 7.6.2
dev: true
/conventional-changelog@6.0.0:
@@ -6452,7 +6452,7 @@ packages:
get-tsconfig: 4.7.2
is-glob: 4.0.3
minimatch: 3.1.2
- semver: 7.6.0
+ semver: 7.6.2
transitivePeerDependencies:
- '@typescript-eslint/parser'
- eslint-import-resolver-typescript
@@ -6460,8 +6460,8 @@ packages:
- supports-color
dev: true
- /eslint-plugin-n@17.5.0(eslint@8.57.0):
- resolution: {integrity: sha512-r7i+NY+RVXQi4Q7sKCG5H4464saJWddDk7QFQjtj+wU//sf15QCq3M8LwZU2yiE45yhVUT9DXW+8AbXRQKJLPQ==}
+ /eslint-plugin-n@17.6.0(eslint@8.57.0):
+ resolution: {integrity: sha512-Y73o88ROwbCtVCCmZjYlYcPYkOG7mIzxxVK1XFRSa2epbKWtAPsmYpAD0pqxg/ZwlcWxMDceQPKHYQi4VIHz7w==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: '>=8.23.0'
@@ -6474,7 +6474,7 @@ packages:
globals: 15.1.0
ignore: 5.3.1
minimatch: 9.0.4
- semver: 7.6.0
+ semver: 7.6.2
dev: true
/eslint-plugin-regexp@2.5.0(eslint@8.57.0):
@@ -7012,7 +7012,7 @@ packages:
dependencies:
foreground-child: 3.1.1
jackspeak: 2.3.6
- minimatch: 9.0.3
+ minimatch: 9.0.4
minipass: 5.0.0
path-scurry: 1.10.1
dev: true
@@ -7779,12 +7779,6 @@ packages:
dependencies:
yallist: 3.1.1
- /lru-cache@6.0.0:
- resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==}
- engines: {node: '>=10'}
- dependencies:
- yallist: 4.0.0
-
/magic-string@0.27.0:
resolution: {integrity: sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA==}
engines: {node: '>=12'}
@@ -8204,8 +8198,8 @@ packages:
engines: {node: '>=12'}
dev: true
- /miniflare@3.20240419.0:
- resolution: {integrity: sha512-fIev1PP4H+fQp5FtvzHqRY2v5s+jxh/a0xAhvM5fBNXvxWX7Zod1OatXfXwYbse3hqO3KeVMhb0osVtrW0NwJg==}
+ /miniflare@3.20240419.1:
+ resolution: {integrity: sha512-Q9n0W07uUD/u0c/b03E4iogeXOAMjZnE3P7B5Yi8sPaZAx6TYWwjurGBja+Pg2yILN2iMaliEobfVyAKss33cA==}
engines: {node: '>=16.13'}
hasBin: true
dependencies:
@@ -8457,7 +8451,7 @@ packages:
dependencies:
hosted-git-info: 7.0.1
is-core-module: 2.13.1
- semver: 7.6.0
+ semver: 7.6.2
validate-npm-package-license: 3.0.4
dev: true
@@ -8833,7 +8827,7 @@ packages:
dependencies:
lilconfig: 3.0.0
postcss: 8.4.38
- ts-node: 10.9.2(@types/node@20.12.10)(typescript@5.2.2)
+ ts-node: 10.9.2(@types/node@20.12.11)(typescript@5.2.2)
yaml: 2.3.4
/postcss-modules-extract-imports@3.0.0(postcss@8.4.38):
@@ -9311,9 +9305,9 @@ packages:
dependencies:
glob: 7.2.0
- /rimraf@5.0.5:
- resolution: {integrity: sha512-CqDakW+hMe/Bz202FPEymy68P+G50RfMQK+Qo5YUqc9SPipvbGjCGKd0RSKEelbsfQuw3g5NZDSrlZZAJurH1A==}
- engines: {node: '>=14'}
+ /rimraf@5.0.7:
+ resolution: {integrity: sha512-nV6YcJo5wbLW77m+8KjH8aB/7/rxQy9SZ0HY5shnwULfS+9nmTtVXAJET5NdZmCzA4fPI/Hm1wo/Po/4mopOdg==}
+ engines: {node: '>=14.18'}
hasBin: true
dependencies:
glob: 10.3.10
@@ -9430,8 +9424,8 @@ packages:
/safer-buffer@2.1.2:
resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==}
- /sass@1.77.0:
- resolution: {integrity: sha512-eGj4HNfXqBWtSnvItNkn7B6icqH14i3CiCGbzMKs3BAPTq62pp9NBYsBgyN4cA+qssqo9r26lW4JSvlaUUWbgw==}
+ /sass@1.77.1:
+ resolution: {integrity: sha512-OMEyfirt9XEfyvocduUIOlUSkWOXS/LAt6oblR/ISXCTukyavjex+zQNm51pPCOiFKY1QpWvEH1EeCkgyV3I6w==}
engines: {node: '>=14.0.0'}
hasBin: true
dependencies:
@@ -9478,12 +9472,10 @@ packages:
resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==}
hasBin: true
- /semver@7.6.0:
- resolution: {integrity: sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==}
+ /semver@7.6.2:
+ resolution: {integrity: sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==}
engines: {node: '>=10'}
hasBin: true
- dependencies:
- lru-cache: 6.0.0
/send@0.18.0:
resolution: {integrity: sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==}
@@ -9549,10 +9541,10 @@ packages:
'@shikijs/core': 1.3.0
dev: true
- /shiki@1.5.0:
- resolution: {integrity: sha512-AMax9zrUW8u8bnvNhnmAD9mHzk244mWCDBZm+zh4Ir3lzncF/sGUcVd5gpy0IlWvOKBUUJ8uu/BFpusGJ/PdVw==}
+ /shiki@1.5.1:
+ resolution: {integrity: sha512-vx4Ds3M3B9ZEmLeSXqBAB85osBWV8ErZfP69kuFQZozPgHc33m7spLTCUkcjwEjFm3gk3F9IdXMv8kX+v9xDHA==}
dependencies:
- '@shikijs/core': 1.5.0
+ '@shikijs/core': 1.5.1
dev: true
/side-channel@1.0.4:
@@ -10003,7 +9995,7 @@ packages:
/ts-interface-checker@0.1.13:
resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==}
- /ts-node@10.9.2(@types/node@20.12.10)(typescript@5.2.2):
+ /ts-node@10.9.2(@types/node@20.12.11)(typescript@5.2.2):
resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==}
hasBin: true
peerDependencies:
@@ -10022,7 +10014,7 @@ packages:
'@tsconfig/node12': 1.0.9
'@tsconfig/node14': 1.0.1
'@tsconfig/node16': 1.0.2
- '@types/node': 20.12.10
+ '@types/node': 20.12.11
acorn: 8.11.3
acorn-walk: 8.3.2(acorn@8.11.3)
arg: 4.1.3
@@ -10050,8 +10042,8 @@ packages:
resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==}
dev: true
- /tsx@4.9.3:
- resolution: {integrity: sha512-czVbetlILiyJZI5zGlj2kw9vFiSeyra9liPD4nG+Thh4pKTi0AmMEQ8zdV/L2xbIVKrIqif4sUNrsMAOksx9Zg==}
+ /tsx@4.10.1:
+ resolution: {integrity: sha512-G+CcyTOopwhuI81FU+KpzGN5UBhHgGEDlGt8mHAXKxv8pDGr6WI7hI7aRjTRol5WzFVsSNuzl3ekCZ0eLIJlEQ==}
engines: {node: '>=18.0.0'}
hasBin: true
dependencies:
@@ -10403,7 +10395,7 @@ packages:
- universal-cookie
dev: true
- /vitest@1.6.0(@types/node@20.12.10):
+ /vitest@1.6.0(@types/node@20.12.11):
resolution: {integrity: sha512-H5r/dN06swuFnzNFhq/dnz37bPXnq8xB2xB5JOVk8K09rUtoeNN+LHWkoQ0A/i3hvbUKKcCei9KpbxqHMLhLLA==}
engines: {node: ^18.0.0 || >=20.0.0}
hasBin: true
@@ -10428,7 +10420,7 @@ packages:
jsdom:
optional: true
dependencies:
- '@types/node': 20.12.10
+ '@types/node': 20.12.11
'@vitest/expect': 1.6.0
'@vitest/runner': 1.6.0
'@vitest/snapshot': 1.6.0
@@ -10651,6 +10643,7 @@ packages:
/yallist@4.0.0:
resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==}
+ dev: false
/yaml@2.3.4:
resolution: {integrity: sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==}
From 3b161c94bd93152f4e0457535007e17e7391ef45 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nazar=C3=A9=20da=20Piedade?=
<31008635+nazarepiedady@users.noreply.github.com>
Date: Mon, 13 May 2024 07:46:28 +0100
Subject: [PATCH 14/25] docs: update `announcing-vite5.md` and
`announcing-vite5-1.md` (#16646)
---
docs/blog/announcing-vite5-1.md | 8 ++++----
docs/blog/announcing-vite5.md | 6 +++---
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/docs/blog/announcing-vite5-1.md b/docs/blog/announcing-vite5-1.md
index b5f7c72a8dd6c7..35ee61c172870e 100644
--- a/docs/blog/announcing-vite5-1.md
+++ b/docs/blog/announcing-vite5-1.md
@@ -66,7 +66,7 @@ Import CSS files as URLs now works reliably and correctly. This was the last rem
### `build.assetsInlineLimit` now supports a callback
-Users can now [provide a callback](/config/build-options.html#build-assetsinlinelimit) that returns a boolean to opt-in or opt-out of inlining for specific assets. If `undefined` is returned, the defalt logic applies. See ([#15366](https://github.com/vitejs/vite/issues/15366)).
+Users can now [provide a callback](/config/build-options.html#build-assetsinlinelimit) that returns a boolean to opt-in or opt-out of inlining for specific assets. If `undefined` is returned, the default logic applies. See ([#15366](https://github.com/vitejs/vite/issues/15366)).
### Improved HMR for circular import
@@ -82,7 +82,7 @@ The preview server now exposes a `close` method, which will properly teardown th
## Performance improvements
-Vite keeps getting faster with each release, and Vite 5.1 is packed with performance improvements. We measured the loading time for 10K modules (25 level deep tree) using [vite-dev-server-perf](https://github.com/yyx990803/vite-dev-server-perf) for all minor versions from Vite 4.0. This is a good benchmark to meassure the effect of Vite's bundle-less approach. Each module is a small TypeScript file with a counter and imports to other files in the tree, so this mostly meassuring the time it takes to do the requests a separate modules. In Vite 4.0, loading 10K modules took 8 seconds on a M1 MAX. We had a breakthrough in [Vite 4.3 were we focused on performance](./announcing-vite4-3.md), and we were able to load them in 6.35 seconds. In Vite 5.1, we managed to do another performance leap. Vite is now serving the 10K modules in 5.35 seconds.
+Vite keeps getting faster with each release, and Vite 5.1 is packed with performance improvements. We measured the loading time for 10K modules (25 level deep tree) using [vite-dev-server-perf](https://github.com/yyx990803/vite-dev-server-perf) for all minor versions from Vite 4.0. This is a good benchmark to measure the effect of Vite's bundle-less approach. Each module is a small TypeScript file with a counter and imports to other files in the tree, so this mostly measuring the time it takes to do the requests a separate modules. In Vite 4.0, loading 10K modules took 8 seconds on a M1 MAX. We had a breakthrough in [Vite 4.3 were we focused on performance](./announcing-vite4-3.md), and we were able to load them in 6.35 seconds. In Vite 5.1, we managed to do another performance leap. Vite is now serving the 10K modules in 5.35 seconds.
![Vite 10K Modules Loading time progression](/vite5-1-10K-modules-loading-time.png)
@@ -113,7 +113,7 @@ The dev server had several incremental performance gains. A new middleware to sh
## Deprecations
-We continue to reduce Vite's API surface where possible to make the project manintainable long term.
+We continue to reduce Vite's API surface where possible to make the project maintainable long term.
### Deprecated `as` option in `import.meta.glob`
@@ -129,4 +129,4 @@ We are grateful to the [900 contributors to Vite Core](https://github.com/vitejs
## Acknowledgments
-Vite 5.1 is possible thanks to our community of contributors, maintainers in the ecosystem, and the [Vite Team](/team). A shoutout the individuals and companies sponsoring Vite development. [StackBlitz](https://stackblitz.com/), [Nuxt Labs](https://nuxtlabs.com/), and [Astro](https://astro.build) for hiring Vite team members. And also to the sponsors on [Vite's GitHub Sponsors](https://github.com/sponsors/vitejs), [Vite's Open Collective](https://opencollective.com/vite), and [Evan You's GitHub Sponsors](https://github.com/sponsors/yyx990803).
+Vite 5.1 is possible thanks to our community of contributors, maintainers in the ecosystem, and the [Vite Team](/team). A shout out to the individuals and companies sponsoring Vite development. [StackBlitz](https://stackblitz.com/), [Nuxt Labs](https://nuxtlabs.com/), and [Astro](https://astro.build) for hiring Vite team members. And also to the sponsors on [Vite's GitHub Sponsors](https://github.com/sponsors/vitejs), [Vite's Open Collective](https://opencollective.com/vite), and [Evan You's GitHub Sponsors](https://github.com/sponsors/yyx990803).
diff --git a/docs/blog/announcing-vite5.md b/docs/blog/announcing-vite5.md
index 1ce435792d2c1b..dd4c1d46a275b0 100644
--- a/docs/blog/announcing-vite5.md
+++ b/docs/blog/announcing-vite5.md
@@ -33,7 +33,7 @@ _November 16, 2023_
Vite 4 [was released](./announcing-vite4.md) almost a year ago, and it served as a solid base for the ecosystem. npm downloads per week jumped from 2.5 million to 7.5 million, as projects keep building on a shared infrastructure. Frameworks continued to innovate, and on top of [Astro](https://astro.build/), [Nuxt](https://nuxt.com/), [SvelteKit](https://kit.svelte.dev/), [Solid Start](https://www.solidjs.com/blog/introducing-solidstart), [Qwik City](https://qwik.builder.io/qwikcity/overview/), between others, we saw new frameworks joining and making the ecosystem stronger. [RedwoodJS](https://redwoodjs.com/) and [Remix](https://remix.run/) switching to Vite paves the way for further adoption in the React ecosystem. [Vitest](https://vitest.dev) kept growing at an even faster pace than Vite. Its team has been hard at work and will soon [release Vitest 1.0](https://github.com/vitest-dev/vitest/issues/3596). The story of Vite when used with other tools such as [Storybook](https://storybook.js.org), [Nx](https://nx.dev), and [Playwright](https://playwright.dev) kept improving, and the same goes for environments, with Vite dev working both in [Deno](https://deno.com) and [Bun](https://bun.sh).
-We had the second edition of [ViteConf](https://viteconf.org/23/replay) a month ago, hosted by [StackBlitz](https://stackblitz.com). Like last year, most of the projects in the ecosystem got together to share ideas and connect to keep expanding the commons. We're also seeing new pieces complement the meta-framework toolbelt like [Volar](https://volarjs.dev/) and [Nitro](https://nitro.unjs.io/). The Rollup team released [Rollup 4](https://rollupjs.org) that same day, a tradition Lukas started last year.
+We had the second edition of [ViteConf](https://viteconf.org/23/replay) a month ago, hosted by [StackBlitz](https://stackblitz.com). Like last year, most of the projects in the ecosystem got together to share ideas and connect to keep expanding the commons. We're also seeing new pieces complement the meta-framework tool belt like [Volar](https://volarjs.dev/) and [Nitro](https://nitro.unjs.io/). The Rollup team released [Rollup 4](https://rollupjs.org) that same day, a tradition Lukas started last year.
Six months ago, Vite 4.3 [was released](./announcing-vite4.md). This release significantly improved the dev server performance. However, there is still ample room for improvement. At ViteConf, [Evan You unveiled Vite's long-term plan to work on Rolldown](https://www.youtube.com/watch?v=hrdwQHoAp0M), a Rust-port of Rollup with compatible APIs. Once it is ready, we intend to use it in Vite Core to take on the tasks of both Rollup and esbuild. This will mean a boost in build performance (and later on in dev performance too as we move perf-sensitive parts of Vite itself to Rust), and a big reduction of inconsistencies between dev and build. Rolldown is currently in early stages and the team is preparing to open source the codebase before the end of the year. Stay tuned!
@@ -105,6 +105,6 @@ A low level breakdown with the full list of changes to Vite core can be found at
## Acknowledgments
-Vite 5 is the result of long hours of work by our community of contributors, downstream maintainers, plugins authors, and the [Vite Team](/team). A big shoutout to [Bjorn Lu](https://twitter.com/bluwyoo) for leading the release process for this major.
+Vite 5 is the result of long hours of work by our community of contributors, downstream maintainers, plugins authors, and the [Vite Team](/team). A big shout out to [Bjorn Lu](https://twitter.com/bluwyoo) for leading the release process for this major.
-We're also thankful to individuals and companies sponsoring Vite development. [StackBlitz](https://stackblitz.com/), [Nuxt Labs](https://nuxtlabs.com/), and [Astro](https://astro.build) continue to invest in Vite by hiring Vite team members. A shoutout to sponsors on [Vite's GitHub Sponsors](https://github.com/sponsors/vitejs), [Vite's Open Collective](https://opencollective.com/vite), and [Evan You's GitHub Sponsors](https://github.com/sponsors/yyx990803). A special mention to [Remix](https://remix.run/) for becoming a Gold sponsor and contributing back after switching to Vite.
+We're also thankful to individuals and companies sponsoring Vite development. [StackBlitz](https://stackblitz.com/), [Nuxt Labs](https://nuxtlabs.com/), and [Astro](https://astro.build) continue to invest in Vite by hiring Vite team members. A shout out to sponsors on [Vite's GitHub Sponsors](https://github.com/sponsors/vitejs), [Vite's Open Collective](https://opencollective.com/vite), and [Evan You's GitHub Sponsors](https://github.com/sponsors/yyx990803). A special mention to [Remix](https://remix.run/) for becoming a Gold sponsor and contributing back after switching to Vite.
From 6583ad25a1333b80bfeb6829e6034266ab9bfc91 Mon Sep 17 00:00:00 2001
From: MattPeng
Date: Mon, 13 May 2024 14:55:24 +0800
Subject: [PATCH 15/25] fix(build): make SystemJSWrapRE match lazy (#16633)
---
packages/vite/src/node/plugins/completeSystemWrap.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/packages/vite/src/node/plugins/completeSystemWrap.ts b/packages/vite/src/node/plugins/completeSystemWrap.ts
index 700a4202c0a4e4..8244fe80c046a0 100644
--- a/packages/vite/src/node/plugins/completeSystemWrap.ts
+++ b/packages/vite/src/node/plugins/completeSystemWrap.ts
@@ -4,7 +4,7 @@ import type { Plugin } from '../plugin'
* make sure systemjs register wrap to had complete parameters in system format
*/
export function completeSystemWrapPlugin(): Plugin {
- const SystemJSWrapRE = /System.register\(.*(\(exports\)|\(\))/g
+ const SystemJSWrapRE = /System.register\(.*?(\(exports\)|\(\))/g
return {
name: 'vite:force-systemjs-wrap-complete',
From 76d1642c3c9b0f5ec2c52a66dd0d0d565c3a2309 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 13 May 2024 15:29:57 +0800
Subject: [PATCH 16/25] chore(deps): update dependency execa to v9 (#16662)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
---
package.json | 2 +-
packages/create-vite/__tests__/cli.spec.ts | 8 +-
playground/cli-module/__tests__/serve.ts | 1 +
playground/cli/__tests__/serve.ts | 1 +
playground/test-utils.ts | 6 +-
pnpm-lock.yaml | 95 +++++++++++++++++++++-
scripts/releaseUtils.ts | 10 +--
7 files changed, 108 insertions(+), 15 deletions(-)
diff --git a/package.json b/package.json
index d7d9007fc3d1cb..63a09d15a1c6ac 100644
--- a/package.json
+++ b/package.json
@@ -67,7 +67,7 @@
"eslint-plugin-i": "^2.29.1",
"eslint-plugin-n": "^17.6.0",
"eslint-plugin-regexp": "^2.5.0",
- "execa": "^8.0.1",
+ "execa": "^9.0.2",
"feed": "^4.2.2",
"fs-extra": "^11.2.0",
"lint-staged": "^15.2.2",
diff --git a/packages/create-vite/__tests__/cli.spec.ts b/packages/create-vite/__tests__/cli.spec.ts
index e34d4e14f6e4cf..4f297032834fcf 100644
--- a/packages/create-vite/__tests__/cli.spec.ts
+++ b/packages/create-vite/__tests__/cli.spec.ts
@@ -1,5 +1,5 @@
import { join } from 'node:path'
-import type { ExecaSyncReturnValue, SyncOptions } from 'execa'
+import type { SyncOptions, SyncResult } from 'execa'
import { execaCommandSync } from 'execa'
import fs from 'fs-extra'
import { afterEach, beforeAll, expect, test } from 'vitest'
@@ -9,10 +9,10 @@ const CLI_PATH = join(__dirname, '..')
const projectName = 'test-app'
const genPath = join(__dirname, projectName)
-const run = (
+const run = (
args: string[],
- options: SyncOptions = {},
-): ExecaSyncReturnValue => {
+ options?: SO,
+): SyncResult => {
return execaCommandSync(`node ${CLI_PATH} ${args.join(' ')}`, options)
}
diff --git a/playground/cli-module/__tests__/serve.ts b/playground/cli-module/__tests__/serve.ts
index 4a76a6f810b3a9..b19bdb62701a7d 100644
--- a/playground/cli-module/__tests__/serve.ts
+++ b/playground/cli-module/__tests__/serve.ts
@@ -70,6 +70,7 @@ export async function serve() {
const serverProcess = execaCommand(serverCommand, {
cwd: rootDir,
stdio: 'pipe',
+ forceKillAfterDelay: 3000,
})
collectStreams('server', serverProcess)
diff --git a/playground/cli/__tests__/serve.ts b/playground/cli/__tests__/serve.ts
index 7cf2eca021ef1d..5da61aec991109 100644
--- a/playground/cli/__tests__/serve.ts
+++ b/playground/cli/__tests__/serve.ts
@@ -73,6 +73,7 @@ export async function serve() {
const serverProcess = execaCommand(serverCommand, {
cwd: rootDir,
stdio: 'pipe',
+ forceKillAfterDelay: 3000,
})
collectStreams('server', serverProcess)
diff --git a/playground/test-utils.ts b/playground/test-utils.ts
index 2916c350d12f5f..cec2b1f2ef6d31 100644
--- a/playground/test-utils.ts
+++ b/playground/test-utils.ts
@@ -14,7 +14,7 @@ import { normalizePath } from 'vite'
import { fromComment } from 'convert-source-map'
import type { Assertion } from 'vitest'
import { expect } from 'vitest'
-import type { ExecaChildProcess } from 'execa'
+import type { ResultPromise as ExecaResultPromise } from 'execa'
import { isBuild, isWindows, page, testDir } from './vitestSetup'
export * from './vitestSetup'
@@ -380,7 +380,7 @@ export const formatSourcemapForSnapshot = (map: any): any => {
// helper function to kill process, uses taskkill on windows to ensure child process is killed too
export async function killProcess(
- serverProcess: ExecaChildProcess,
+ serverProcess: ExecaResultPromise,
): Promise {
if (isWindows) {
try {
@@ -390,7 +390,7 @@ export async function killProcess(
console.error('failed to taskkill:', e)
}
} else {
- serverProcess.kill('SIGTERM', { forceKillAfterTimeout: 2000 })
+ serverProcess.kill('SIGTERM')
}
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index c31841f440e35c..7d5d0fd89ede71 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -103,8 +103,8 @@ importers:
specifier: ^2.5.0
version: 2.5.0(eslint@8.57.0)
execa:
- specifier: ^8.0.1
- version: 8.0.1
+ specifier: ^9.0.2
+ version: 9.0.2
feed:
specifier: ^4.2.2
version: 4.2.2
@@ -4368,6 +4368,10 @@ packages:
requiresBuild: true
optional: true
+ /@sec-ant/readable-stream@0.4.1:
+ resolution: {integrity: sha512-831qok9r2t8AlxLko40y2ebgSDhenenCatLVeW/uBtnHPyhHOvG0C7TvfgecV+wHzIm5KUICgzmVpWS+IMEAeg==}
+ dev: true
+
/@shikijs/core@1.3.0:
resolution: {integrity: sha512-7fedsBfuILDTBmrYZNFI8B6ATTxhQAasUHllHmjvSZPnoq4bULWoTpHwmuQvZ8Aq03/tAa2IGo6RXqWtHdWaCA==}
dev: true
@@ -4414,6 +4418,11 @@ packages:
resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==}
dev: true
+ /@sindresorhus/merge-streams@4.0.0:
+ resolution: {integrity: sha512-tlqY9xq5ukxTUZBmoOp+m61cqwQD5pHJtFY3Mn8CA8ps6yghLH/Hw8UPdqg4OLmFW3IFlcXnQNmo/dh8HzXYIQ==}
+ engines: {node: '>=18'}
+ dev: true
+
/@tsconfig/node10@1.0.8:
resolution: {integrity: sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg==}
@@ -6638,6 +6647,24 @@ packages:
strip-final-newline: 3.0.0
dev: true
+ /execa@9.0.2:
+ resolution: {integrity: sha512-oO281GF7ksH/Ogv1xyDf1prvFta/6/XkGKxRUvA3IB2MU1rCJGlFs86HRZhdooow1ISkR0Np0rOxUCIJVw36Rg==}
+ engines: {node: '>=18'}
+ dependencies:
+ '@sindresorhus/merge-streams': 4.0.0
+ cross-spawn: 7.0.3
+ figures: 6.1.0
+ get-stream: 9.0.1
+ human-signals: 7.0.0
+ is-plain-obj: 4.1.0
+ is-stream: 4.0.1
+ npm-run-path: 5.3.0
+ pretty-ms: 9.0.0
+ signal-exit: 4.1.0
+ strip-final-newline: 4.0.0
+ yoctocolors: 2.0.0
+ dev: true
+
/exit-hook@2.2.1:
resolution: {integrity: sha512-eNTPlAD67BmP31LDINZ3U7HSF8l57TxOY2PmBJ1shpCvpnxBF93mWCE8YHBnXs8qiUZJc9WDcWIeC3a2HIAMfw==}
engines: {node: '>=6'}
@@ -6729,6 +6756,13 @@ packages:
web-streams-polyfill: 3.2.1
dev: true
+ /figures@6.1.0:
+ resolution: {integrity: sha512-d+l3qxjSesT4V7v2fh+QnmFnUWv9lSpjarhShNTgBOfA0ttejbQUAlHLitbjkoRiDulW0OPoQPYIGhIC8ohejg==}
+ engines: {node: '>=18'}
+ dependencies:
+ is-unicode-supported: 2.0.0
+ dev: true
+
/file-entry-cache@6.0.1:
resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==}
engines: {node: ^10.12.0 || >=12.0.0}
@@ -6949,6 +6983,14 @@ packages:
engines: {node: '>=16'}
dev: true
+ /get-stream@9.0.1:
+ resolution: {integrity: sha512-kVCxPF3vQM/N0B1PmoqVUqgHP+EeVjmZSQn+1oCRPxd2P21P2F19lIgbR3HBosbB1PUhOAoctJnfEn2GbN2eZA==}
+ engines: {node: '>=18'}
+ dependencies:
+ '@sec-ant/readable-stream': 0.4.1
+ is-stream: 4.0.1
+ dev: true
+
/get-them-args@1.3.2:
resolution: {integrity: sha512-LRn8Jlk+DwZE4GTlDbT3Hikd1wSHgLMme/+7ddlqKd7ldwR6LjJgTVWzBnR01wnYGe4KgrXjg287RaI22UHmAw==}
dev: true
@@ -7208,6 +7250,11 @@ packages:
engines: {node: '>=16.17.0'}
dev: true
+ /human-signals@7.0.0:
+ resolution: {integrity: sha512-74kytxOUSvNbjrT9KisAbaTZ/eJwD/LrbM/kh5j0IhPuJzwuA19dWvniFGwBzN9rVjg+O/e+F310PjObDXS+9Q==}
+ engines: {node: '>=18.18.0'}
+ dev: true
+
/iconv-lite@0.4.24:
resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==}
engines: {node: '>=0.10.0'}
@@ -7370,6 +7417,11 @@ packages:
engines: {node: '>=8'}
dev: true
+ /is-plain-obj@4.1.0:
+ resolution: {integrity: sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==}
+ engines: {node: '>=12'}
+ dev: true
+
/is-promise@2.2.2:
resolution: {integrity: sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==}
dev: true
@@ -7399,6 +7451,16 @@ packages:
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
dev: true
+ /is-stream@4.0.1:
+ resolution: {integrity: sha512-Dnz92NInDqYckGEUJv689RbRiTSEHCQ7wOVeALbkOz999YpqT46yMRIGtSNl2iCL1waAZSx40+h59NV/EwzV/A==}
+ engines: {node: '>=18'}
+ dev: true
+
+ /is-unicode-supported@2.0.0:
+ resolution: {integrity: sha512-FRdAyx5lusK1iHG0TWpVtk9+1i+GjrzRffhDg4ovQ7mcidMQ6mj+MhKPmvh7Xwyv5gIS06ns49CA7Sqg7lC22Q==}
+ engines: {node: '>=18'}
+ dev: true
+
/is-what@3.14.1:
resolution: {integrity: sha512-sNxgpk9793nzSs7bA6JQJGeIuRBQhAaNGG77kzYQgMkrID+lS6SlK07K5LaptscDlSaIgH+GPFzf+d75FVxozA==}
dev: true
@@ -8517,6 +8579,13 @@ packages:
path-key: 4.0.0
dev: true
+ /npm-run-path@5.3.0:
+ resolution: {integrity: sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==}
+ engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
+ dependencies:
+ path-key: 4.0.0
+ dev: true
+
/npmlog@5.0.1:
resolution: {integrity: sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw==}
dependencies:
@@ -8632,6 +8701,11 @@ packages:
type-fest: 4.18.1
dev: true
+ /parse-ms@4.0.0:
+ resolution: {integrity: sha512-TXfryirbmq34y8QBwgqCVLi+8oA3oWx2eAnSn62ITyEhEYaWRlVZ2DvMM9eZbMs/RfxPu/PK/aBLyGj4IrqMHw==}
+ engines: {node: '>=18'}
+ dev: true
+
/parse-node-version@1.0.1:
resolution: {integrity: sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA==}
engines: {node: '>= 0.10'}
@@ -8961,6 +9035,13 @@ packages:
react-is: 18.2.0
dev: true
+ /pretty-ms@9.0.0:
+ resolution: {integrity: sha512-E9e9HJ9R9NasGOgPaPE8VMeiPKAyWR5jcFpNnwIejslIhWqdqOrb2wShBsncMPUb+BcCd2OPYfh7p2W6oemTng==}
+ engines: {node: '>=18'}
+ dependencies:
+ parse-ms: 4.0.0
+ dev: true
+
/printable-characters@1.0.42:
resolution: {integrity: sha512-dKp+C4iXWK4vVYZmYSd0KBH5F/h1HoZRsbJ82AVKRO3PEo8L4lBS/vLwhVtpwwuYcoIsVY+1JYKR268yn480uQ==}
dev: true
@@ -9777,6 +9858,11 @@ packages:
engines: {node: '>=12'}
dev: true
+ /strip-final-newline@4.0.0:
+ resolution: {integrity: sha512-aulFJcD6YK8V1G7iRB5tigAP4TsHBZZrOV8pjV++zdUwmeV8uzbY7yn6h9MswN62adStNZFuCIx4haBnRuMDaw==}
+ engines: {node: '>=18'}
+ dev: true
+
/strip-json-comments@3.1.1:
resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==}
engines: {node: '>=8'}
@@ -10663,6 +10749,11 @@ packages:
engines: {node: '>=12.20'}
dev: true
+ /yoctocolors@2.0.0:
+ resolution: {integrity: sha512-esbDnt0Z1zI1KgvOZU90hJbL6BkoUbrP9yy7ArNZ6TmxBxydMJTYMf9FZjmwwcA8ZgEQzriQ3hwZ0NYXhlFo8Q==}
+ engines: {node: '>=18'}
+ dev: true
+
/youch@3.2.3:
resolution: {integrity: sha512-ZBcWz/uzZaQVdCvfV4uk616Bbpf2ee+F/AvuKDR5EwX/Y4v06xWdtMluqTD7+KlZdM93lLm9gMZYo0sKBS0pgw==}
dependencies:
diff --git a/scripts/releaseUtils.ts b/scripts/releaseUtils.ts
index 1037b035a3c94d..233a60957b33dc 100644
--- a/scripts/releaseUtils.ts
+++ b/scripts/releaseUtils.ts
@@ -2,16 +2,16 @@ import { readdirSync, writeFileSync } from 'node:fs'
import path from 'node:path'
import semver from 'semver'
import colors from 'picocolors'
-import type { Options as ExecaOptions, ExecaReturnValue } from 'execa'
+import type { Options as ExecaOptions, ResultPromise } from 'execa'
import { execa } from 'execa'
import fs from 'fs-extra'
-export async function run(
+export function run(
bin: string,
args: string[],
- opts: ExecaOptions = {},
-): Promise {
- return execa(bin, args, { stdio: 'inherit', ...opts })
+ opts?: EO,
+): ResultPromise {
+ return execa(bin, args, { stdio: 'inherit', ...opts }) as any
}
export async function getLatestTag(pkgName: string): Promise {
From 65eb48f1c6a8ad1850c2fcff048b6d4f580e89ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=BF=A0=20/=20green?=
Date: Tue, 14 May 2024 01:19:18 +0900
Subject: [PATCH 17/25] test: fix flaky test fail (#16667)
---
playground/hmr/__tests__/hmr.spec.ts | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a/playground/hmr/__tests__/hmr.spec.ts b/playground/hmr/__tests__/hmr.spec.ts
index eb7b66d3c0d783..4da4405fdd3284 100644
--- a/playground/hmr/__tests__/hmr.spec.ts
+++ b/playground/hmr/__tests__/hmr.spec.ts
@@ -829,13 +829,17 @@ if (!isBuild) {
'parent:not-child',
)
- addFile(childFile, originalChildFileCode)
- editFile(parentFile, (code) =>
- code.replace(
- "export const childValue = 'not-child'",
- "export { value as childValue } from './child'",
- ),
- )
+ await untilBrowserLogAfter(async () => {
+ const loadPromise = page.waitForEvent('load')
+ addFile(childFile, originalChildFileCode)
+ editFile(parentFile, (code) =>
+ code.replace(
+ "export const childValue = 'not-child'",
+ "export { value as childValue } from './child'",
+ ),
+ )
+ await loadPromise
+ }, [/connected/])
await untilUpdated(
() => page.textContent('.file-delete-restore'),
'parent:child',
From 2b61cc39a986c44d733aba8c23036d9d83667fac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Arnaud=20Barr=C3=A9?=
Date: Tue, 14 May 2024 16:01:36 +0200
Subject: [PATCH 18/25] fix(hmr): trigger page reload when calling invalidate
on root module (#16636)
---
packages/vite/src/node/server/hmr.ts | 3 ++-
playground/hmr/__tests__/hmr.spec.ts | 13 +++++++++++--
playground/hmr/hmr.ts | 1 -
playground/hmr/index.html | 4 +++-
playground/hmr/invalidation/parent.js | 2 +-
playground/hmr/invalidation/root.js | 16 ++++++++++++++++
6 files changed, 33 insertions(+), 6 deletions(-)
create mode 100644 playground/hmr/invalidation/root.js
diff --git a/packages/vite/src/node/server/hmr.ts b/packages/vite/src/node/server/hmr.ts
index f6777838788d7f..363b53e952510e 100644
--- a/packages/vite/src/node/server/hmr.ts
+++ b/packages/vite/src/node/server/hmr.ts
@@ -228,7 +228,8 @@ export function updateModules(
const updates: Update[] = []
const invalidatedModules = new Set()
const traversedModules = new Set()
- let needFullReload: HasDeadEnd = false
+ // Modules could be empty if a root module is invalidated via import.meta.hot.invalidate()
+ let needFullReload: HasDeadEnd = modules.length === 0
for (const mod of modules) {
const boundaries: PropagationBoundary[] = []
diff --git a/playground/hmr/__tests__/hmr.spec.ts b/playground/hmr/__tests__/hmr.spec.ts
index 4da4405fdd3284..d4281ec1bbe5ae 100644
--- a/playground/hmr/__tests__/hmr.spec.ts
+++ b/playground/hmr/__tests__/hmr.spec.ts
@@ -154,7 +154,7 @@ if (!isBuild) {
})
test('invalidate', async () => {
- const el = await page.$('.invalidation')
+ const el = await page.$('.invalidation-parent')
await untilBrowserLogAfter(
() =>
editFile('invalidation/child.js', (code) =>
@@ -182,7 +182,7 @@ if (!isBuild) {
page2 = await browser.newPage()
await page2.goto(viteTestUrl)
- const el = await page.$('.invalidation')
+ const el = await page.$('.invalidation-parent')
await untilBrowserLogAfter(
() =>
editFile('invalidation/child.js', (code) =>
@@ -208,6 +208,15 @@ if (!isBuild) {
}
})
+ test('invalidate on root triggers page reload', async () => {
+ editFile('invalidation/root.js', (code) => code.replace('Init', 'Updated'))
+ await page.waitForEvent('load')
+ await untilUpdated(
+ async () => (await page.$('.invalidation-root')).textContent(),
+ 'Updated',
+ )
+ })
+
test('soft invalidate', async () => {
const el = await page.$('.soft-invalidation')
expect(await el.textContent()).toBe(
diff --git a/playground/hmr/hmr.ts b/playground/hmr/hmr.ts
index 5e572f83b703aa..1f764da0861d6f 100644
--- a/playground/hmr/hmr.ts
+++ b/playground/hmr/hmr.ts
@@ -1,7 +1,6 @@
import { virtual } from 'virtual:file'
import { foo as depFoo, nestedFoo } from './hmrDep'
import './importing-updated'
-import './invalidation/parent'
import './file-delete-restore'
import './optional-chaining/parent'
import './intermediate-file-delete'
diff --git a/playground/hmr/index.html b/playground/hmr/index.html
index 221a3bf39e1705..d5adaab6bd5629 100644
--- a/playground/hmr/index.html
+++ b/playground/hmr/index.html
@@ -7,6 +7,7 @@
+