Skip to content

Commit ccac73d

Browse files
renovate[bot]sapphi-red
andauthoredFeb 19, 2025··
fix(deps): update all non-major dependencies (#19440)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
1 parent 0c85464 commit ccac73d

File tree

25 files changed

+1135
-1015
lines changed

25 files changed

+1135
-1015
lines changed
 

‎docs/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
"docs-serve": "vitepress serve"
99
},
1010
"devDependencies": {
11-
"@shikijs/vitepress-twoslash": "^2.3.2",
11+
"@shikijs/vitepress-twoslash": "^2.5.0",
1212
"@types/express": "^4.17.21",
1313
"feed": "^4.2.2",
1414
"vitepress": "^1.6.3",
15-
"vitepress-plugin-group-icons": "^1.3.5",
15+
"vitepress-plugin-group-icons": "^1.3.6",
1616
"vue": "^3.5.13"
1717
}
1818
}

‎package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@
7272
"rollup-plugin-esbuild": "^6.2.0",
7373
"simple-git-hooks": "^2.11.1",
7474
"tslib": "^2.8.1",
75-
"tsx": "^4.19.2",
75+
"tsx": "^4.19.3",
7676
"typescript": "~5.7.2",
77-
"typescript-eslint": "^8.24.0",
77+
"typescript-eslint": "^8.24.1",
7878
"vite": "workspace:*",
79-
"vitest": "^3.0.5"
79+
"vitest": "^3.0.6"
8080
},
8181
"simple-git-hooks": {
8282
"pre-commit": "pnpm exec lint-staged --concurrent false"
@@ -102,7 +102,7 @@
102102
},
103103
"patchedDependencies": {
104104
"http-proxy@1.18.1": "patches/http-proxy@1.18.1.patch",
105-
"sirv@3.0.0": "patches/sirv@3.0.0.patch",
105+
"sirv@3.0.1": "patches/sirv@3.0.1.patch",
106106
"chokidar@3.6.0": "patches/chokidar@3.6.0.patch",
107107
"dotenv-expand@12.0.1": "patches/dotenv-expand@12.0.1.patch"
108108
},

‎packages/create-vite/template-preact-ts/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"preview": "vite preview"
1010
},
1111
"dependencies": {
12-
"preact": "^10.25.4"
12+
"preact": "^10.26.2"
1313
},
1414
"devDependencies": {
1515
"@preact/preset-vite": "^2.10.1",

‎packages/create-vite/template-preact/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"preview": "vite preview"
1010
},
1111
"dependencies": {
12-
"preact": "^10.25.4"
12+
"preact": "^10.26.2"
1313
},
1414
"devDependencies": {
1515
"@preact/preset-vite": "^2.10.1",

‎packages/create-vite/template-react-ts/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515
},
1616
"devDependencies": {
1717
"@eslint/js": "^9.20.0",
18-
"@types/react": "^19.0.8",
19-
"@types/react-dom": "^19.0.3",
18+
"@types/react": "^19.0.10",
19+
"@types/react-dom": "^19.0.4",
2020
"@vitejs/plugin-react": "^4.3.4",
2121
"eslint": "^9.20.1",
2222
"eslint-plugin-react-hooks": "^5.0.0",
2323
"eslint-plugin-react-refresh": "^0.4.19",
2424
"globals": "^15.15.0",
2525
"typescript": "~5.7.2",
26-
"typescript-eslint": "^8.24.0",
26+
"typescript-eslint": "^8.24.1",
2727
"vite": "^6.1.0"
2828
}
2929
}

‎packages/create-vite/template-react/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
},
1616
"devDependencies": {
1717
"@eslint/js": "^9.20.0",
18-
"@types/react": "^19.0.8",
19-
"@types/react-dom": "^19.0.3",
18+
"@types/react": "^19.0.10",
19+
"@types/react-dom": "^19.0.4",
2020
"@vitejs/plugin-react": "^4.3.4",
2121
"eslint": "^9.20.1",
2222
"eslint-plugin-react": "^7.37.4",

‎packages/create-vite/template-svelte-ts/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"devDependencies": {
1313
"@sveltejs/vite-plugin-svelte": "^5.0.3",
1414
"@tsconfig/svelte": "^5.0.4",
15-
"svelte": "^5.20.0",
15+
"svelte": "^5.20.2",
1616
"svelte-check": "^4.1.4",
1717
"typescript": "~5.7.2",
1818
"vite": "^6.1.0"

‎packages/create-vite/template-svelte/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"devDependencies": {
1212
"@sveltejs/vite-plugin-svelte": "^5.0.3",
13-
"svelte": "^5.20.0",
13+
"svelte": "^5.20.2",
1414
"vite": "^6.1.0"
1515
}
1616
}

‎packages/create-vite/template-vue-ts/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
"@vue/tsconfig": "^0.7.0",
1717
"typescript": "~5.7.2",
1818
"vite": "^6.1.0",
19-
"vue-tsc": "^2.2.0"
19+
"vue-tsc": "^2.2.2"
2020
}
2121
}

‎packages/plugin-legacy/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
"homepage": "https://github.com/vitejs/vite/tree/main/packages/plugin-legacy#readme",
4343
"funding": "https://github.com/vitejs/vite?sponsor=1",
4444
"dependencies": {
45-
"@babel/core": "^7.26.8",
46-
"@babel/preset-env": "^7.26.8",
45+
"@babel/core": "^7.26.9",
46+
"@babel/preset-env": "^7.26.9",
4747
"browserslist": "^4.24.4",
4848
"browserslist-to-esbuild": "^2.1.1",
4949
"core-js": "^3.40.0",

‎packages/vite/package.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
},
9595
"devDependencies": {
9696
"@ampproject/remapping": "^2.3.0",
97-
"@babel/parser": "^7.26.8",
97+
"@babel/parser": "^7.26.9",
9898
"@jridgewell/trace-mapping": "^0.3.25",
9999
"@polka/compression": "^1.0.0-next.25",
100100
"@rollup/plugin-alias": "^5.1.1",
@@ -121,12 +121,12 @@
121121
"estree-walker": "^3.0.3",
122122
"etag": "^1.8.1",
123123
"http-proxy": "^1.18.1",
124-
"launch-editor-middleware": "^2.9.1",
124+
"launch-editor-middleware": "^2.10.0",
125125
"lightningcss": "^1.29.1",
126126
"magic-string": "^0.30.17",
127127
"mlly": "^1.7.4",
128128
"mrmime": "^2.0.1",
129-
"nanoid": "^5.0.9",
129+
"nanoid": "^5.1.0",
130130
"open": "^10.1.0",
131131
"parse5": "^7.2.1",
132132
"pathe": "^2.0.3",
@@ -139,14 +139,14 @@
139139
"resolve.exports": "^2.0.3",
140140
"rollup-plugin-dts": "^6.1.1",
141141
"rollup-plugin-esbuild": "^6.2.0",
142-
"rollup-plugin-license": "^3.5.3",
143-
"sass": "^1.84.0",
144-
"sass-embedded": "^1.83.4",
145-
"sirv": "^3.0.0",
142+
"rollup-plugin-license": "^3.6.0",
143+
"sass": "^1.85.0",
144+
"sass-embedded": "^1.85.0",
145+
"sirv": "^3.0.1",
146146
"source-map-support": "^0.5.21",
147147
"strip-literal": "^3.0.0",
148148
"terser": "^5.39.0",
149-
"tinyglobby": "^0.2.10",
149+
"tinyglobby": "^0.2.11",
150150
"tsconfck": "^3.1.5",
151151
"tslib": "^2.8.1",
152152
"types": "link:./types",

‎patches/sirv@3.0.1.patch

+86
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
diff --git a/build.js b/build.js
2+
index 0c6ed8e2c0949c93978dd1a244baa9bf2448e9b8..08a9347cfdca06e6a97077ea4582c5b0922ecb2d 100644
3+
--- a/build.js
4+
+++ b/build.js
5+
@@ -35,7 +35,7 @@ function viaCache(cache, uri, extns) {
6+
}
7+
}
8+
9+
-function viaLocal(dir, isEtag, uri, extns) {
10+
+function viaLocal(dir, isEtag, uri, extns, shouldServe) {
11+
let i=0, arr=toAssume(uri, extns);
12+
let abs, stats, name, headers;
13+
for (; i < arr.length; i++) {
14+
@@ -43,6 +43,7 @@ function viaLocal(dir, isEtag, uri, extns) {
15+
if (abs.startsWith(dir) && fs.existsSync(abs)) {
16+
stats = fs.statSync(abs);
17+
if (stats.isDirectory()) continue;
18+
+ if (shouldServe && !shouldServe(abs)) continue;
19+
headers = toHeaders(name, stats, isEtag);
20+
headers['Cache-Control'] = isEtag ? 'no-cache' : 'no-store';
21+
return { abs, stats, headers };
22+
@@ -176,7 +177,7 @@ module.exports = function (dir, opts={}) {
23+
catch (err) { /* malform uri */ }
24+
}
25+
26+
- let data = lookup(pathname, extns) || isSPA && !isMatch(pathname, ignores) && lookup(fallback, extns);
27+
+ let data = lookup(pathname, extns, opts.shouldServe) || isSPA && !isMatch(pathname, ignores) && lookup(fallback, extns, opts.shouldServe);
28+
if (!data) return next ? next() : isNotFound(req, res);
29+
30+
if (isEtag && req.headers['if-none-match'] === data.headers['ETag']) {
31+
diff --git a/build.mjs b/build.mjs
32+
index 3ad14d45630a8627b93842a04a96465120d3f223..8451277c015b56a7d2cb99aaee3a318d9c0893dd 100644
33+
--- a/build.mjs
34+
+++ b/build.mjs
35+
@@ -35,7 +35,7 @@ function viaCache(cache, uri, extns) {
36+
}
37+
}
38+
39+
-function viaLocal(dir, isEtag, uri, extns) {
40+
+function viaLocal(dir, isEtag, uri, extns, shouldServe) {
41+
let i=0, arr=toAssume(uri, extns);
42+
let abs, stats, name, headers;
43+
for (; i < arr.length; i++) {
44+
@@ -43,6 +43,7 @@ function viaLocal(dir, isEtag, uri, extns) {
45+
if (abs.startsWith(dir) && fs.existsSync(abs)) {
46+
stats = fs.statSync(abs);
47+
if (stats.isDirectory()) continue;
48+
+ if (shouldServe && !shouldServe(abs)) continue;
49+
headers = toHeaders(name, stats, isEtag);
50+
headers['Cache-Control'] = isEtag ? 'no-cache' : 'no-store';
51+
return { abs, stats, headers };
52+
@@ -176,7 +177,7 @@ export default function (dir, opts={}) {
53+
catch (err) { /* malform uri */ }
54+
}
55+
56+
- let data = lookup(pathname, extns) || isSPA && !isMatch(pathname, ignores) && lookup(fallback, extns);
57+
+ let data = lookup(pathname, extns, opts.shouldServe) || isSPA && !isMatch(pathname, ignores) && lookup(fallback, extns, opts.shouldServe);
58+
if (!data) return next ? next() : isNotFound(req, res);
59+
60+
if (isEtag && req.headers['if-none-match'] === data.headers['ETag']) {
61+
diff --git a/index.d.mts b/index.d.mts
62+
index 8bfe364f1db2d1382c56a9b75a014579083cfa70..a8dfa1c473ff15c979bbfbc28c3630a12e222c3a 100644
63+
--- a/index.d.mts
64+
+++ b/index.d.mts
65+
@@ -24,6 +24,8 @@ export interface Options {
66+
gzip?: boolean;
67+
onNoMatch?: (req: IncomingMessage, res: ServerResponse) => void;
68+
setHeaders?: (res: ServerResponse, pathname: string, stats: Stats) => void;
69+
+ /** patched */
70+
+ shouldServe?: (absoluteFilePath: string) => void;
71+
}
72+
73+
export default function (dir?: string, opts?: Options): RequestHandler;
74+
diff --git a/index.d.ts b/index.d.ts
75+
index 96cc63e7ee1ccdd7266e9193252b799068ef2e3c..9e298d627002cd0b073073aa13528b7492541b5b 100644
76+
--- a/index.d.ts
77+
+++ b/index.d.ts
78+
@@ -25,6 +25,8 @@ declare namespace sirv {
79+
gzip?: boolean;
80+
onNoMatch?: (req: IncomingMessage, res: ServerResponse) => void;
81+
setHeaders?: (res: ServerResponse, pathname: string, stats: Stats) => void;
82+
+ /** patched */
83+
+ shouldServe?: (absoluteFilePath: string) => void;
84+
}
85+
}
86+

‎playground/backend-integration/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
"preview": "vite preview"
1111
},
1212
"devDependencies": {
13-
"@tailwindcss/vite": "^4.0.6",
14-
"sass": "^1.84.0",
15-
"tailwindcss": "^4.0.6",
16-
"tinyglobby": "^0.2.10"
13+
"@tailwindcss/vite": "^4.0.7",
14+
"sass": "^1.85.0",
15+
"tailwindcss": "^4.0.7",
16+
"tinyglobby": "^0.2.11"
1717
}
1818
}

‎playground/css-sourcemap/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"devDependencies": {
1313
"less": "^4.2.2",
1414
"magic-string": "^0.30.17",
15-
"sass": "^1.84.0",
15+
"sass": "^1.85.0",
1616
"stylus": "^0.64.0",
1717
"sugarss": "^5.0.0"
1818
}

‎playground/css/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
"@vitejs/test-scss-proxy-dep": "file:./scss-proxy-dep",
2424
"less": "^4.2.2",
2525
"postcss-nested": "^7.0.2",
26-
"sass": "^1.84.0",
26+
"sass": "^1.85.0",
2727
"stylus": "^0.64.0",
2828
"sugarss": "^5.0.0",
29-
"tinyglobby": "^0.2.10"
29+
"tinyglobby": "^0.2.11"
3030
},
3131
"imports": {
3232
"#imports": "./imports-field.css"

‎playground/environment-react-ssr/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"preview": "vite preview"
1010
},
1111
"devDependencies": {
12-
"@types/react": "^19.0.8",
13-
"@types/react-dom": "^19.0.3",
12+
"@types/react": "^19.0.10",
13+
"@types/react-dom": "^19.0.4",
1414
"react": "^19.0.0",
1515
"react-fake-client": "npm:react@^19.0.0",
1616
"react-fake-server": "npm:react@^19.0.0",

‎playground/lib/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
"preview": "vite preview"
1111
},
1212
"devDependencies": {
13-
"sirv": "^3.0.0"
13+
"sirv": "^3.0.1"
1414
}
1515
}

‎playground/multiple-entrypoints/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
"preview": "vite preview"
1111
},
1212
"devDependencies": {
13-
"sass": "^1.84.0"
13+
"sass": "^1.85.0"
1414
}
1515
}

‎playground/resolve/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"#query": "./imports-path/query.json"
2020
},
2121
"dependencies": {
22-
"@babel/runtime": "^7.26.7",
22+
"@babel/runtime": "^7.26.9",
2323
"es5-ext": "0.10.64",
2424
"normalize.css": "^8.0.1",
2525
"@vitejs/test-require-pkg-with-module-field": "link:./require-pkg-with-module-field",

‎playground/ssr-conditions/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717
},
1818
"devDependencies": {
1919
"express": "^5.0.1",
20-
"sirv": "^3.0.0"
20+
"sirv": "^3.0.1"
2121
}
2222
}

‎playground/ssr-webworker/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"@vitejs/test-worker-exports": "file:./worker-exports"
1414
},
1515
"devDependencies": {
16-
"miniflare": "^3.20250204.1",
16+
"miniflare": "^3.20250214.0",
1717
"@vitejs/test-resolve-linked": "workspace:*"
1818
}
1919
}

‎playground/tailwind-sourcemap/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"preview": "vite preview"
1111
},
1212
"dependencies": {
13-
"@tailwindcss/postcss": "^4.0.6",
14-
"tailwindcss": "^4.0.6"
13+
"@tailwindcss/postcss": "^4.0.7",
14+
"tailwindcss": "^4.0.7"
1515
}
1616
}

‎playground/tailwind-v3/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
"vue-router": "^4.5.0"
1717
},
1818
"devDependencies": {
19-
"tsx": "^4.19.2"
19+
"tsx": "^4.19.3"
2020
}
2121
}

‎playground/tailwind/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
"preview": "vite preview"
1111
},
1212
"dependencies": {
13-
"@tailwindcss/vite": "^4.0.6",
14-
"tailwindcss": "^4.0.6",
13+
"@tailwindcss/vite": "^4.0.7",
14+
"tailwindcss": "^4.0.7",
1515
"vue": "^3.5.13",
1616
"vue-router": "^4.5.0"
1717
},
1818
"devDependencies": {
19-
"tsx": "^4.19.2"
19+
"tsx": "^4.19.3"
2020
}
2121
}

‎pnpm-lock.yaml

+1,003-969
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.