Skip to content

Commit 050c996

Browse files
fix(deps): update all non-major dependencies (#738)
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 6d834d8 commit 050c996

File tree

22 files changed

+953
-1092
lines changed

22 files changed

+953
-1092
lines changed

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,26 +40,26 @@
4040
"@types/babel__core": "^7.20.5",
4141
"@types/convert-source-map": "^2.0.3",
4242
"@types/fs-extra": "^11.0.4",
43-
"@types/node": "^24.10.9",
44-
"@typescript/native-preview": "7.0.0-dev.20260202.1",
43+
"@types/node": "^24.12.2",
44+
"@typescript/native-preview": "7.0.0-dev.20260407.1",
4545
"@vitejs/release-scripts": "^1.6.0",
46-
"eslint": "^10.0.3",
46+
"eslint": "^10.2.0",
4747
"eslint-import-resolver-typescript": "^4.4.4",
48-
"eslint-plugin-import-x": "^4.16.1",
49-
"eslint-plugin-n": "^17.23.2",
50-
"eslint-plugin-regexp": "^3.0.0",
48+
"eslint-plugin-import-x": "^4.16.2",
49+
"eslint-plugin-n": "^17.24.0",
50+
"eslint-plugin-regexp": "^3.1.0",
5151
"execa": "^9.6.1",
52-
"fs-extra": "^11.3.3",
53-
"lint-staged": "^16.2.7",
52+
"fs-extra": "^11.3.4",
53+
"lint-staged": "^16.4.0",
5454
"picocolors": "^1.1.1",
55-
"playwright-chromium": "^1.58.1",
55+
"playwright-chromium": "^1.59.1",
5656
"prettier": "3.8.1",
5757
"simple-git-hooks": "^2.13.1",
5858
"tsx": "^4.21.0",
5959
"typescript": "^5.9.3",
60-
"typescript-eslint": "^8.54.0",
60+
"typescript-eslint": "^8.58.0",
6161
"vite": "catalog:",
62-
"vitest": "^4.0.18",
62+
"vitest": "^4.1.3",
6363
"vue": "catalog:"
6464
},
6565
"simple-git-hooks": {
@@ -79,5 +79,5 @@
7979
"eslint --cache --fix"
8080
]
8181
},
82-
"packageManager": "pnpm@10.28.2"
82+
"packageManager": "pnpm@10.33.0"
8383
}

packages/plugin-vue-jsx/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@
3838
"@babel/core": "^7.29.0",
3939
"@babel/plugin-syntax-typescript": "^7.28.6",
4040
"@babel/plugin-transform-typescript": "^7.28.6",
41-
"@rolldown/pluginutils": "^1.0.0-rc.2",
41+
"@rolldown/pluginutils": "^1.0.0-rc.13",
4242
"@vue/babel-plugin-jsx": "^2.0.1"
4343
},
4444
"devDependencies": {
45-
"tsdown": "^0.20.1",
45+
"tsdown": "^0.21.7",
4646
"vite": "catalog:"
4747
},
4848
"peerDependencies": {

packages/plugin-vue/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@
4545
"obug": "^2.1.1",
4646
"slash": "^5.1.0",
4747
"source-map-js": "^1.2.1",
48-
"tsdown": "^0.20.1",
48+
"tsdown": "^0.21.7",
4949
"vite": "catalog:",
5050
"vue": "catalog:"
5151
},
5252
"dependencies": {
53-
"@rolldown/pluginutils": "1.0.0-rc.2"
53+
"@rolldown/pluginutils": "1.0.0-rc.13"
5454
},
5555
"compatiblePackages": {
5656
"schemaVersion": 1,

playground/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "1.0.0",
55
"type": "module",
66
"devDependencies": {
7-
"@types/node": "^24.10.9",
7+
"@types/node": "^24.12.2",
88
"convert-source-map": "^2.0.0",
99
"css-color-names": "^1.0.1",
1010
"kill-port": "^1.6.1"

playground/ssr-vue/__tests__/ssr-vue.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ test('asset', async () => {
136136
browserLogs.forEach((msg) => {
137137
expect(msg).not.toMatch('404')
138138
})
139-
const img = await page.$('img')
139+
const img = (await page.$('img'))!
140140
expect(await img.getAttribute('src')).toMatch(
141141
isBuild ? /\/test\/assets\/logo-[-\w]{8}\.png/ : '/src/assets/logo.png',
142142
)
@@ -201,7 +201,7 @@ test.runIf(isBuild)('dynamic css file should be preloaded', async () => {
201201
const homeHtml = await (await fetch(url)).text()
202202
const re =
203203
/link rel="modulepreload".*?href="\/test\/assets\/(Home-[-\w]{8}\.js)"/
204-
const filename = re.exec(homeHtml)[1]
204+
const filename = re.exec(homeHtml)![1]
205205
const manifest = (
206206
await import(
207207
resolve(
@@ -224,13 +224,13 @@ test.runIf(!isBuild)(
224224
const THROW_MESSAGE = 'it is an expected error'
225225

226226
const spy = vi.spyOn(console, 'error').mockImplementation(() => {})
227-
const expectedErrors = []
227+
const expectedErrors: Error[] = []
228228
for (const _ of [0, 1]) {
229229
try {
230230
console.log(viteServer)
231231
await viteServer.ssrLoadModule(badjs, { fixStacktrace: true })
232232
} catch (e) {
233-
expectedErrors.push(e)
233+
expectedErrors.push(e as Error)
234234
}
235235
}
236236
expect(expectedErrors).toHaveLength(2)

playground/ssr-vue/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
"vue-router": "catalog:"
2222
},
2323
"devDependencies": {
24+
"@types/compression": "^1.8.1",
25+
"@types/express": "^5.0.6",
26+
"@types/serve-static": "^2.2.0",
2427
"@vitejs/plugin-vue": "workspace:*",
2528
"@vitejs/plugin-vue-jsx": "workspace:*",
2629
"@vitejs/test-dep-import-type": "link:dep-import-type",

playground/ssr-vue/server.js

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,18 @@ import express from 'express'
66

77
const isTest = process.env.VITEST
88

9+
/**
10+
* @param {string} [root]
11+
* @param {boolean} [isProd]
12+
* @param {number} [hmrPort]
13+
*/
914
export async function createServer(
1015
root = process.cwd(),
1116
isProd = process.env.NODE_ENV === 'production',
1217
hmrPort,
1318
) {
1419
const __dirname = path.dirname(fileURLToPath(import.meta.url))
15-
const resolve = (p) => path.resolve(__dirname, p)
20+
const resolve = (/** @type {string} */ p) => path.resolve(__dirname, p)
1621

1722
const indexProd = isProd
1823
? fs.readFileSync(resolve('dist/client/index.html'), 'utf-8')
@@ -30,7 +35,7 @@ export async function createServer(
3035
const app = express()
3136

3237
/**
33-
* @type {import('vite').ViteDevServer}
38+
* @type {import('vite').ViteDevServer | undefined}
3439
*/
3540
let vite
3641
if (!isProd) {
@@ -71,7 +76,7 @@ export async function createServer(
7176
const url = req.originalUrl.replace('/test/', '/')
7277

7378
let template, render
74-
if (!isProd) {
79+
if (vite) {
7580
// always read fresh template in dev
7681
template = fs.readFileSync(resolve('index.html'), 'utf-8')
7782
template = await vite.transformIndexHtml(url, template)
@@ -89,7 +94,7 @@ export async function createServer(
8994
.replace(`<!--app-html-->`, appHtml)
9095

9196
res.status(200).set({ 'Content-Type': 'text/html' }).end(html)
92-
} catch (e) {
97+
} catch (/** @type {any} */ e) {
9398
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
9499
vite && vite.ssrFixStacktrace(e)
95100
console.log(e.stack)

playground/tailwind-v3/__tests__/tailwind.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
} from '~utils'
99

1010
test.runIf(isServe)('regenerate CSS and HMR (pug template)', async () => {
11-
const el = await page.$('.pug')
11+
const el = (await page.$('.pug'))!
1212
expect(await getBgColor(el)).toBe('rgb(248, 113, 113)')
1313

1414
await untilBrowserLogAfter(

playground/tailwind-v3/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
"preview": "vite preview"
1111
},
1212
"dependencies": {
13-
"autoprefixer": "^10.4.24",
13+
"autoprefixer": "^10.4.27",
1414
"tailwindcss": "^3.4.19",
1515
"vue": "catalog:"
1616
},
1717
"devDependencies": {
18-
"@types/node": "^24.10.9",
18+
"@types/node": "^24.12.2",
1919
"@vitejs/plugin-vue": "workspace:*",
2020
"ts-node": "^10.9.2"
2121
}

playground/tailwind/__tests__/tailwind.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
} from '~utils'
99

1010
test.runIf(isServe)('regenerate CSS and HMR (pug template)', async () => {
11-
const el = await page.$('.pug')
11+
const el = (await page.$('.pug'))!
1212
expect(await getBgColor(el)).toBe('oklch(0.704 0.191 22.216)')
1313

1414
await untilBrowserLogAfter(

0 commit comments

Comments
 (0)