Skip to content

Commit b4b7329

Browse files
authored
chore(deps): update dependencies (#3570)
1 parent e3a8725 commit b4b7329

File tree

7 files changed

+892
-1273
lines changed

7 files changed

+892
-1273
lines changed

eslint.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ export default [
5252
}
5353
},
5454
rules: {
55+
'@typescript-eslint/no-unused-expressions': ['error', { allowShortCircuit: true }],
56+
'@typescript-eslint/no-empty-object-type': ['error', { allowInterfaces: 'always' }],
5557
'@typescript-eslint/no-unused-vars': [
5658
'error',
5759
{

package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -94,57 +94,57 @@
9494
"@vue/compiler-sfc": "^3.5.13",
9595
"debug": "^4.4.0",
9696
"defu": "^6.1.4",
97-
"esbuild": "^0.25.1",
97+
"esbuild": "^0.25.3",
9898
"estree-walker": "^3.0.3",
9999
"h3": "^1.15.1",
100100
"knitwork": "^1.2.0",
101101
"magic-string": "^0.30.17",
102102
"mlly": "^1.7.4",
103103
"oxc-parser": "^0.66.0",
104104
"pathe": "^2.0.3",
105-
"typescript": "^5.8.2",
106-
"ufo": "^1.5.4",
105+
"typescript": "^5.8.3",
106+
"ufo": "^1.6.1",
107107
"unplugin": "^2.3.2",
108108
"unplugin-vue-router": "^0.12.0",
109109
"vue-i18n": "^11.1.3",
110110
"vue-router": "^4.5.0"
111111
},
112112
"devDependencies": {
113113
"@babel/types": "^7.27.0",
114-
"@eslint/js": "9.23.0",
114+
"@eslint/js": "9.25.1",
115115
"@nuxt/module-builder": "^1.0.1",
116116
"@nuxt/schema": "^3.16.2",
117-
"@rspack/core": "^1.2.8",
117+
"@rspack/core": "^1.3.6",
118118
"@types/debug": "^4.1.12",
119119
"@types/estree": "^1.0.7",
120120
"@types/jsdom": "^21.1.7",
121121
"bumpp": "^10.1.0",
122122
"changelogithub": "^13.13.0",
123123
"consola": "^3.4.2",
124-
"eslint": "^9.23.0",
125-
"eslint-config-prettier": "^9.1.0",
124+
"eslint": "^9.25.1",
125+
"eslint-config-prettier": "^10.1.2",
126126
"get-port-please": "^3.1.2",
127127
"gh-changelogen": "^0.2.8",
128128
"globals": "^16.0.0",
129129
"jiti": "^2.4.2",
130130
"jsdom": "^26.0.0",
131-
"knip": "^5.46.1",
131+
"knip": "^5.50.5",
132132
"lint-staged": "^15.5.0",
133-
"nitropack": "^2.11.7",
133+
"nitropack": "^2.11.9",
134134
"npm-run-all2": "^6.2.6",
135135
"nuxt": "^3.16.2",
136136
"ofetch": "^1.4.1",
137-
"playwright-core": "^1.51.1",
137+
"playwright-core": "^1.52.0",
138138
"prettier": "^3.5.3",
139139
"scule": "^1.3.0",
140-
"tinyexec": "^1.0.0",
140+
"tinyexec": "^1.0.1",
141141
"ts-essentials": "^9.4.2",
142-
"typescript-eslint": "^7.14.0",
142+
"typescript-eslint": "^8.31.0",
143143
"unbuild": "^3.5.0",
144-
"undici": "^7.5.0",
145-
"vitest": "^3.0.9",
144+
"undici": "^7.8.0",
145+
"vitest": "^3.1.2",
146146
"vue": "^3.5.13",
147-
"webpack": "^5.98.0"
147+
"webpack": "^5.99.6"
148148
},
149149
"lint-staged": {
150150
"*.{json,md,yml}": [

pnpm-lock.yaml

Lines changed: 871 additions & 1254 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/bundler.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable @typescript-eslint/no-floating-promises */
21
import createDebug from 'debug'
32
import { extendViteConfig, addWebpackPlugin, addBuildPlugin, addTemplate, addRspackPlugin, useNuxt } from '@nuxt/kit'
43
import VueI18nPlugin from '@intlify/unplugin-vue-i18n'

src/nitro.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable @typescript-eslint/no-floating-promises */
21
import createDebug from 'debug'
32
import { resolveModuleExportNames } from 'mlly'
43
import { defu } from 'defu'

src/pages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ function verifyLocalesArrayExpression(elements: ArrayExpression['elements']) {
442442

443443
function evalValue(value: string) {
444444
try {
445-
// eslint-disable-next-line @typescript-eslint/no-implied-eval
445+
// eslint-disable-next-line @typescript-eslint/no-implied-eval, @typescript-eslint/no-unsafe-call
446446
return new Function(`return (${value})`)() as ComputedRouteOptions | false
447447
} catch (_e) {
448448
console.error(formatMessage(`Cannot evaluate value: ${value}`))

src/runtime/utils.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,9 @@ export function createBaseUrlGetter(nuxt: NuxtApp) {
430430
}
431431
}
432432

433-
const localeCode = isFunction(defaultLocale) ? /*#__PURE__*/ (defaultLocale() as string) : defaultLocale
433+
const localeCode = isFunction(defaultLocale)
434+
? /*#__PURE__*/ (defaultLocale as unknown as () => string)()
435+
: defaultLocale
434436
return (): string => {
435437
if (__DIFFERENT_DOMAINS__ && localeCode) {
436438
const domain = nuxt._i18nGetDomainFromLocale(localeCode)

0 commit comments

Comments
 (0)