diff --git a/packages/create-vant-cli-app/package.json b/packages/create-vant-cli-app/package.json index f3d6dae89..987155263 100644 --- a/packages/create-vant-cli-app/package.json +++ b/packages/create-vant-cli-app/package.json @@ -33,7 +33,7 @@ "devDependencies": { "@types/fs-extra": "^11.0.4", "rimraf": "^6.0.1", - "typescript": "^5.6.3" + "typescript": "^5.7.2" }, "dependencies": { "rslog": "^1.2.3", diff --git a/packages/vant-area-data/package.json b/packages/vant-area-data/package.json index e2930b37b..0bbe3c5f4 100644 --- a/packages/vant-area-data/package.json +++ b/packages/vant-area-data/package.json @@ -41,6 +41,6 @@ "devDependencies": { "esbuild": "^0.24.0", "rimraf": "^6.0.1", - "typescript": "^5.6.3" + "typescript": "^5.7.2" } } diff --git a/packages/vant-auto-import-resolver/package.json b/packages/vant-auto-import-resolver/package.json index b557ae8ad..559eff46e 100644 --- a/packages/vant-auto-import-resolver/package.json +++ b/packages/vant-auto-import-resolver/package.json @@ -40,6 +40,6 @@ "license": "MIT", "devDependencies": { "rimraf": "^6.0.1", - "typescript": "^5.6.3" + "typescript": "^5.7.2" } } diff --git a/packages/vant-cli/package.json b/packages/vant-cli/package.json index 92c5e0dfc..12f8fd5f3 100644 --- a/packages/vant-cli/package.json +++ b/packages/vant-cli/package.json @@ -82,7 +82,7 @@ "rspack-plugin-virtual-module": "^0.1.13", "terser": "^5.36.0", "transliteration": "^2.3.5", - "typescript": "^5.6.3", + "typescript": "^5.7.2", "vite": "^5.4.11", "vue-router": "^4.4.5" } diff --git a/packages/vant-compat/package.json b/packages/vant-compat/package.json index be962b617..479b9dba6 100644 --- a/packages/vant-compat/package.json +++ b/packages/vant-compat/package.json @@ -35,7 +35,7 @@ "devDependencies": { "@rslib/core": "^0.1.1", "@vue/runtime-core": "^3.5.13", - "typescript": "^5.6.3", + "typescript": "^5.7.2", "vant": "workspace:*", "vue": "^3.5.13" } diff --git a/packages/vant-eslint-config/package.json b/packages/vant-eslint-config/package.json index 66304073e..7f487130f 100644 --- a/packages/vant-eslint-config/package.json +++ b/packages/vant-eslint-config/package.json @@ -27,7 +27,7 @@ }, "devDependencies": { "eslint": "^8.57.1", - "typescript": "^5.6.3" + "typescript": "^5.7.2" }, "peerDependencies": { "eslint": "^7.32.0 || ^8.2.0" diff --git a/packages/vant-popperjs/package.json b/packages/vant-popperjs/package.json index 494c7efea..bc1438166 100644 --- a/packages/vant-popperjs/package.json +++ b/packages/vant-popperjs/package.json @@ -40,6 +40,6 @@ "@popperjs/core": "^2.11.8", "esbuild": "^0.24.0", "rimraf": "^6.0.1", - "typescript": "^5.6.3" + "typescript": "^5.7.2" } } diff --git a/packages/vant-use/package.json b/packages/vant-use/package.json index 360107c5e..648571086 100644 --- a/packages/vant-use/package.json +++ b/packages/vant-use/package.json @@ -40,7 +40,7 @@ "devDependencies": { "esbuild": "^0.24.0", "rimraf": "^6.0.1", - "typescript": "^5.6.3", + "typescript": "^5.7.2", "vue": "^3.5.13" }, "peerDependencies": { diff --git a/packages/vant/package.json b/packages/vant/package.json index e1e937a8f..8ce57ecf9 100644 --- a/packages/vant/package.json +++ b/packages/vant/package.json @@ -67,7 +67,7 @@ "csstype": "^3.1.3", "diffable-html": "^5.0.0", "jsdom": "^25.0.1", - "typescript": "^5.6.3", + "typescript": "^5.7.2", "vite": "^5.4.11", "vitest": "^2.1.6", "vitest-canvas-mock": "^0.3.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ca6cebc10..2b2cec8f4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -52,8 +52,8 @@ importers: specifier: ^6.0.1 version: 6.0.1 typescript: - specifier: ^5.6.3 - version: 5.6.3 + specifier: ^5.7.2 + version: 5.7.2 packages/vant: dependencies: @@ -84,10 +84,10 @@ importers: version: link:../vant-icons '@vitejs/plugin-vue': specifier: ^5.2.1 - version: 5.2.1(vite@5.4.11(@types/node@22.10.1)(less@4.2.1)(sass-embedded@1.81.0)(terser@5.36.0))(vue@3.5.13(typescript@5.6.3)) + version: 5.2.1(vite@5.4.11(@types/node@22.10.1)(less@4.2.1)(sass-embedded@1.81.0)(terser@5.36.0))(vue@3.5.13(typescript@5.7.2)) '@vitejs/plugin-vue-jsx': specifier: ^4.1.1 - version: 4.1.1(vite@5.4.11(@types/node@22.10.1)(less@4.2.1)(sass-embedded@1.81.0)(terser@5.36.0))(vue@3.5.13(typescript@5.6.3)) + version: 4.1.1(vite@5.4.11(@types/node@22.10.1)(less@4.2.1)(sass-embedded@1.81.0)(terser@5.36.0))(vue@3.5.13(typescript@5.7.2)) '@vitest/coverage-istanbul': specifier: ^2.1.6 version: 2.1.6(vitest@2.1.6(@types/node@22.10.1)(jsdom@25.0.1)(less@4.2.1)(sass-embedded@1.81.0)(terser@5.36.0)) @@ -107,8 +107,8 @@ importers: specifier: ^25.0.1 version: 25.0.1 typescript: - specifier: ^5.6.3 - version: 5.6.3 + specifier: ^5.7.2 + version: 5.7.2 vite: specifier: ^5.4.11 version: 5.4.11(@types/node@22.10.1)(less@4.2.1)(sass-embedded@1.81.0)(terser@5.36.0) @@ -120,10 +120,10 @@ importers: version: 0.3.3(vitest@2.1.6(@types/node@22.10.1)(jsdom@25.0.1)(less@4.2.1)(sass-embedded@1.81.0)(terser@5.36.0)) vue: specifier: ^3.5.13 - version: 3.5.13(typescript@5.6.3) + version: 3.5.13(typescript@5.7.2) vue-router: specifier: ^4.4.5 - version: 4.4.5(vue@3.5.13(typescript@5.6.3)) + version: 4.4.5(vue@3.5.13(typescript@5.7.2)) packages/vant-area-data: devDependencies: @@ -134,8 +134,8 @@ importers: specifier: ^6.0.1 version: 6.0.1 typescript: - specifier: ^5.6.3 - version: 5.6.3 + specifier: ^5.7.2 + version: 5.7.2 packages/vant-auto-import-resolver: devDependencies: @@ -143,8 +143,8 @@ importers: specifier: ^6.0.1 version: 6.0.1 typescript: - specifier: ^5.6.3 - version: 5.6.3 + specifier: ^5.7.2 + version: 5.7.2 packages/vant-cli: dependencies: @@ -168,7 +168,7 @@ importers: version: 1.1.1(@rsbuild/core@1.1.7) '@rsbuild/plugin-vue': specifier: ^1.0.5 - version: 1.0.5(@rsbuild/core@1.1.7)(esbuild@0.24.0)(vue@3.5.13(typescript@5.6.3)) + version: 1.0.5(@rsbuild/core@1.1.7)(esbuild@0.24.0)(vue@3.5.13(typescript@5.7.2)) '@rsbuild/plugin-vue-jsx': specifier: ^1.0.1 version: 1.0.1(@babel/core@7.26.0)(@rsbuild/core@1.1.7) @@ -180,10 +180,10 @@ importers: version: link:../vant-touch-emulator '@vitejs/plugin-vue': specifier: ^5.2.1 - version: 5.2.1(vite@5.4.11(@types/node@22.10.1)(less@4.2.1)(sass-embedded@1.81.0)(terser@5.36.0))(vue@3.5.13(typescript@5.6.3)) + version: 5.2.1(vite@5.4.11(@types/node@22.10.1)(less@4.2.1)(sass-embedded@1.81.0)(terser@5.36.0))(vue@3.5.13(typescript@5.7.2)) '@vitejs/plugin-vue-jsx': specifier: ^4.1.1 - version: 4.1.1(vite@5.4.11(@types/node@22.10.1)(less@4.2.1)(sass-embedded@1.81.0)(terser@5.36.0))(vue@3.5.13(typescript@5.6.3)) + version: 4.1.1(vite@5.4.11(@types/node@22.10.1)(less@4.2.1)(sass-embedded@1.81.0)(terser@5.36.0))(vue@3.5.13(typescript@5.7.2)) '@vue/babel-plugin-jsx': specifier: ^1.2.5 version: 1.2.5(@babel/core@7.26.0) @@ -257,14 +257,14 @@ importers: specifier: ^2.3.5 version: 2.3.5 typescript: - specifier: ^5.6.3 - version: 5.6.3 + specifier: ^5.7.2 + version: 5.7.2 vite: specifier: ^5.4.11 version: 5.4.11(@types/node@22.10.1)(less@4.2.1)(sass-embedded@1.81.0)(terser@5.36.0) vue-router: specifier: ^4.4.5 - version: 4.4.5(vue@3.5.13(typescript@5.6.3)) + version: 4.4.5(vue@3.5.13(typescript@5.7.2)) devDependencies: '@types/fs-extra': specifier: ^11.0.4 @@ -283,34 +283,34 @@ importers: version: 6.0.1 vue: specifier: ^3.5.13 - version: 3.5.13(typescript@5.6.3) + version: 3.5.13(typescript@5.7.2) packages/vant-compat: devDependencies: '@rslib/core': specifier: ^0.1.1 - version: 0.1.1(typescript@5.6.3) + version: 0.1.1(typescript@5.7.2) '@vue/runtime-core': specifier: ^3.5.13 version: 3.5.13 typescript: - specifier: ^5.6.3 - version: 5.6.3 + specifier: ^5.7.2 + version: 5.7.2 vant: specifier: workspace:* version: link:../vant vue: specifier: ^3.5.13 - version: 3.5.13(typescript@5.6.3) + version: 3.5.13(typescript@5.7.2) packages/vant-eslint-config: dependencies: '@typescript-eslint/eslint-plugin': specifier: ^6.21.0 - version: 6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3) + version: 6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(typescript@5.7.2) '@typescript-eslint/parser': specifier: ^6.21.0 - version: 6.21.0(eslint@8.57.1)(typescript@5.6.3) + version: 6.21.0(eslint@8.57.1)(typescript@5.7.2) eslint-config-prettier: specifier: ^9.1.0 version: 9.1.0(eslint@8.57.1) @@ -322,8 +322,8 @@ importers: specifier: ^8.57.1 version: 8.57.1 typescript: - specifier: ^5.6.3 - version: 5.6.3 + specifier: ^5.7.2 + version: 5.7.2 packages/vant-icons: {} @@ -339,8 +339,8 @@ importers: specifier: ^6.0.1 version: 6.0.1 typescript: - specifier: ^5.6.3 - version: 5.6.3 + specifier: ^5.7.2 + version: 5.7.2 packages/vant-touch-emulator: {} @@ -353,11 +353,11 @@ importers: specifier: ^6.0.1 version: 6.0.1 typescript: - specifier: ^5.6.3 - version: 5.6.3 + specifier: ^5.7.2 + version: 5.7.2 vue: specifier: ^3.5.13 - version: 3.5.13(typescript@5.6.3) + version: 3.5.13(typescript@5.7.2) packages: @@ -2843,8 +2843,8 @@ packages: resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==} engines: {node: '>=10'} - typescript@5.6.3: - resolution: {integrity: sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==} + typescript@5.7.2: + resolution: {integrity: sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==} engines: {node: '>=14.17'} hasBin: true @@ -3690,10 +3690,10 @@ snapshots: - '@babel/core' - supports-color - '@rsbuild/plugin-vue@1.0.5(@rsbuild/core@1.1.7)(esbuild@0.24.0)(vue@3.5.13(typescript@5.6.3))': + '@rsbuild/plugin-vue@1.0.5(@rsbuild/core@1.1.7)(esbuild@0.24.0)(vue@3.5.13(typescript@5.7.2))': dependencies: '@rsbuild/core': 1.1.7 - vue-loader: 17.4.2(vue@3.5.13(typescript@5.6.3))(webpack@5.96.1(esbuild@0.24.0)) + vue-loader: 17.4.2(vue@3.5.13(typescript@5.7.2))(webpack@5.96.1(esbuild@0.24.0)) webpack: 5.96.1(esbuild@0.24.0) transitivePeerDependencies: - '@swc/core' @@ -3703,13 +3703,13 @@ snapshots: - vue - webpack-cli - '@rslib/core@0.1.1(typescript@5.6.3)': + '@rslib/core@0.1.1(typescript@5.7.2)': dependencies: '@rsbuild/core': 1.1.7 - rsbuild-plugin-dts: 0.1.1(@rsbuild/core@1.1.7)(typescript@5.6.3) + rsbuild-plugin-dts: 0.1.1(@rsbuild/core@1.1.7)(typescript@5.7.2) tinyglobby: 0.2.10 optionalDependencies: - typescript: 5.6.3 + typescript: 5.7.2 '@rspack/binding-darwin-arm64@1.1.4': optional: true @@ -3834,13 +3834,13 @@ snapshots: '@types/semver@7.5.8': {} - '@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3)': + '@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(typescript@5.7.2)': dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 6.21.0(eslint@8.57.1)(typescript@5.6.3) + '@typescript-eslint/parser': 6.21.0(eslint@8.57.1)(typescript@5.7.2) '@typescript-eslint/scope-manager': 6.21.0 - '@typescript-eslint/type-utils': 6.21.0(eslint@8.57.1)(typescript@5.6.3) - '@typescript-eslint/utils': 6.21.0(eslint@8.57.1)(typescript@5.6.3) + '@typescript-eslint/type-utils': 6.21.0(eslint@8.57.1)(typescript@5.7.2) + '@typescript-eslint/utils': 6.21.0(eslint@8.57.1)(typescript@5.7.2) '@typescript-eslint/visitor-keys': 6.21.0 debug: 4.3.4 eslint: 8.57.1 @@ -3848,22 +3848,22 @@ snapshots: ignore: 5.3.1 natural-compare: 1.4.0 semver: 7.6.0 - ts-api-utils: 1.3.0(typescript@5.6.3) + ts-api-utils: 1.3.0(typescript@5.7.2) optionalDependencies: - typescript: 5.6.3 + typescript: 5.7.2 transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@6.21.0(eslint@8.57.1)(typescript@5.6.3)': + '@typescript-eslint/parser@6.21.0(eslint@8.57.1)(typescript@5.7.2)': dependencies: '@typescript-eslint/scope-manager': 6.21.0 '@typescript-eslint/types': 6.21.0 - '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.6.3) + '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.7.2) '@typescript-eslint/visitor-keys': 6.21.0 debug: 4.3.4 eslint: 8.57.1 optionalDependencies: - typescript: 5.6.3 + typescript: 5.7.2 transitivePeerDependencies: - supports-color @@ -3872,21 +3872,21 @@ snapshots: '@typescript-eslint/types': 6.21.0 '@typescript-eslint/visitor-keys': 6.21.0 - '@typescript-eslint/type-utils@6.21.0(eslint@8.57.1)(typescript@5.6.3)': + '@typescript-eslint/type-utils@6.21.0(eslint@8.57.1)(typescript@5.7.2)': dependencies: - '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.6.3) - '@typescript-eslint/utils': 6.21.0(eslint@8.57.1)(typescript@5.6.3) + '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.7.2) + '@typescript-eslint/utils': 6.21.0(eslint@8.57.1)(typescript@5.7.2) debug: 4.3.7 eslint: 8.57.1 - ts-api-utils: 1.3.0(typescript@5.6.3) + ts-api-utils: 1.3.0(typescript@5.7.2) optionalDependencies: - typescript: 5.6.3 + typescript: 5.7.2 transitivePeerDependencies: - supports-color '@typescript-eslint/types@6.21.0': {} - '@typescript-eslint/typescript-estree@6.21.0(typescript@5.6.3)': + '@typescript-eslint/typescript-estree@6.21.0(typescript@5.7.2)': dependencies: '@typescript-eslint/types': 6.21.0 '@typescript-eslint/visitor-keys': 6.21.0 @@ -3895,20 +3895,20 @@ snapshots: is-glob: 4.0.3 minimatch: 9.0.3 semver: 7.6.3 - ts-api-utils: 1.3.0(typescript@5.6.3) + ts-api-utils: 1.3.0(typescript@5.7.2) optionalDependencies: - typescript: 5.6.3 + typescript: 5.7.2 transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@6.21.0(eslint@8.57.1)(typescript@5.6.3)': + '@typescript-eslint/utils@6.21.0(eslint@8.57.1)(typescript@5.7.2)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.1) '@types/json-schema': 7.0.15 '@types/semver': 7.5.8 '@typescript-eslint/scope-manager': 6.21.0 '@typescript-eslint/types': 6.21.0 - '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.6.3) + '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.7.2) eslint: 8.57.1 semver: 7.6.3 transitivePeerDependencies: @@ -3922,20 +3922,20 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@vitejs/plugin-vue-jsx@4.1.1(vite@5.4.11(@types/node@22.10.1)(less@4.2.1)(sass-embedded@1.81.0)(terser@5.36.0))(vue@3.5.13(typescript@5.6.3))': + '@vitejs/plugin-vue-jsx@4.1.1(vite@5.4.11(@types/node@22.10.1)(less@4.2.1)(sass-embedded@1.81.0)(terser@5.36.0))(vue@3.5.13(typescript@5.7.2))': dependencies: '@babel/core': 7.26.0 '@babel/plugin-transform-typescript': 7.25.9(@babel/core@7.26.0) '@vue/babel-plugin-jsx': 1.2.5(@babel/core@7.26.0) vite: 5.4.11(@types/node@22.10.1)(less@4.2.1)(sass-embedded@1.81.0)(terser@5.36.0) - vue: 3.5.13(typescript@5.6.3) + vue: 3.5.13(typescript@5.7.2) transitivePeerDependencies: - supports-color - '@vitejs/plugin-vue@5.2.1(vite@5.4.11(@types/node@22.10.1)(less@4.2.1)(sass-embedded@1.81.0)(terser@5.36.0))(vue@3.5.13(typescript@5.6.3))': + '@vitejs/plugin-vue@5.2.1(vite@5.4.11(@types/node@22.10.1)(less@4.2.1)(sass-embedded@1.81.0)(terser@5.36.0))(vue@3.5.13(typescript@5.7.2))': dependencies: vite: 5.4.11(@types/node@22.10.1)(less@4.2.1)(sass-embedded@1.81.0)(terser@5.36.0) - vue: 3.5.13(typescript@5.6.3) + vue: 3.5.13(typescript@5.7.2) '@vitest/coverage-istanbul@2.1.6(vitest@2.1.6(@types/node@22.10.1)(jsdom@25.0.1)(less@4.2.1)(sass-embedded@1.81.0)(terser@5.36.0))': dependencies: @@ -4101,11 +4101,11 @@ snapshots: '@vue/shared': 3.5.13 csstype: 3.1.3 - '@vue/server-renderer@3.5.13(vue@3.5.13(typescript@5.6.3))': + '@vue/server-renderer@3.5.13(vue@3.5.13(typescript@5.7.2))': dependencies: '@vue/compiler-ssr': 3.5.13 '@vue/shared': 3.5.13 - vue: 3.5.13(typescript@5.6.3) + vue: 3.5.13(typescript@5.7.2) '@vue/shared@3.5.12': {} @@ -5308,14 +5308,14 @@ snapshots: rrweb-cssom@0.7.1: {} - rsbuild-plugin-dts@0.1.1(@rsbuild/core@1.1.7)(typescript@5.6.3): + rsbuild-plugin-dts@0.1.1(@rsbuild/core@1.1.7)(typescript@5.7.2): dependencies: '@rsbuild/core': 1.1.7 magic-string: 0.30.14 picocolors: 1.1.1 tinyglobby: 0.2.10 optionalDependencies: - typescript: 5.6.3 + typescript: 5.7.2 rslog@1.2.3: {} @@ -5591,9 +5591,9 @@ snapshots: dependencies: yargs: 17.7.2 - ts-api-utils@1.3.0(typescript@5.6.3): + ts-api-utils@1.3.0(typescript@5.7.2): dependencies: - typescript: 5.6.3 + typescript: 5.7.2 tslib@2.8.1: {} @@ -5603,7 +5603,7 @@ snapshots: type-fest@0.20.2: {} - typescript@5.6.3: {} + typescript@5.7.2: {} uc.micro@2.1.0: {} @@ -5721,29 +5721,29 @@ snapshots: transitivePeerDependencies: - supports-color - vue-loader@17.4.2(vue@3.5.13(typescript@5.6.3))(webpack@5.96.1(esbuild@0.24.0)): + vue-loader@17.4.2(vue@3.5.13(typescript@5.7.2))(webpack@5.96.1(esbuild@0.24.0)): dependencies: chalk: 4.1.2 hash-sum: 2.0.0 watchpack: 2.4.1 webpack: 5.96.1(esbuild@0.24.0) optionalDependencies: - vue: 3.5.13(typescript@5.6.3) + vue: 3.5.13(typescript@5.7.2) - vue-router@4.4.5(vue@3.5.13(typescript@5.6.3)): + vue-router@4.4.5(vue@3.5.13(typescript@5.7.2)): dependencies: '@vue/devtools-api': 6.6.4 - vue: 3.5.13(typescript@5.6.3) + vue: 3.5.13(typescript@5.7.2) - vue@3.5.13(typescript@5.6.3): + vue@3.5.13(typescript@5.7.2): dependencies: '@vue/compiler-dom': 3.5.13 '@vue/compiler-sfc': 3.5.13 '@vue/runtime-dom': 3.5.13 - '@vue/server-renderer': 3.5.13(vue@3.5.13(typescript@5.6.3)) + '@vue/server-renderer': 3.5.13(vue@3.5.13(typescript@5.7.2)) '@vue/shared': 3.5.13 optionalDependencies: - typescript: 5.6.3 + typescript: 5.7.2 w3c-xmlserializer@5.0.0: dependencies: