From: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 9 Jul 2025 01:38:17 +0000 (+0800) Subject: chore(deps): update compiler to ^7.28.0 (#13575) X-Git-Tag: v3.5.18~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f97c4d4e6eccba317eed3a8c2eba4890b70e5b14;p=thirdparty%2Fvuejs%2Fcore.git chore(deps): update compiler to ^7.28.0 (#13575) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: edison --- diff --git a/packages/compiler-sfc/src/compileScript.ts b/packages/compiler-sfc/src/compileScript.ts index 2e1e0ec34d..3bfc90dfaa 100644 --- a/packages/compiler-sfc/src/compileScript.ts +++ b/packages/compiler-sfc/src/compileScript.ts @@ -18,6 +18,7 @@ import type { Declaration, ExportSpecifier, Identifier, + LVal, Node, ObjectPattern, Statement, @@ -540,7 +541,7 @@ export function compileScript( } // defineProps - const isDefineProps = processDefineProps(ctx, init, decl.id) + const isDefineProps = processDefineProps(ctx, init, decl.id as LVal) if (ctx.propsDestructureRestId) { setupBindings[ctx.propsDestructureRestId] = BindingTypes.SETUP_REACTIVE_CONST @@ -548,10 +549,10 @@ export function compileScript( // defineEmits const isDefineEmits = - !isDefineProps && processDefineEmits(ctx, init, decl.id) + !isDefineProps && processDefineEmits(ctx, init, decl.id as LVal) !isDefineEmits && - (processDefineSlots(ctx, init, decl.id) || - processDefineModel(ctx, init, decl.id)) + (processDefineSlots(ctx, init, decl.id as LVal) || + processDefineModel(ctx, init, decl.id as LVal)) if ( isDefineProps && diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1ff1eb960d..87b53496a3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -7,11 +7,11 @@ settings: catalogs: default: '@babel/parser': - specifier: ^7.27.5 - version: 7.27.5 + specifier: ^7.28.0 + version: 7.28.0 '@babel/types': - specifier: ^7.27.6 - version: 7.27.6 + specifier: ^7.28.0 + version: 7.28.0 '@vitejs/plugin-vue': specifier: ^5.2.4 version: 5.2.4 @@ -34,10 +34,10 @@ importers: devDependencies: '@babel/parser': specifier: 'catalog:' - version: 7.27.5 + version: 7.28.0 '@babel/types': specifier: 'catalog:' - version: 7.27.6 + version: 7.28.0 '@rollup/plugin-alias': specifier: ^5.1.1 version: 5.1.1(rollup@4.44.2) @@ -248,7 +248,7 @@ importers: dependencies: '@babel/parser': specifier: 'catalog:' - version: 7.27.5 + version: 7.28.0 '@vue/shared': specifier: workspace:* version: link:../shared @@ -264,7 +264,7 @@ importers: devDependencies: '@babel/types': specifier: 'catalog:' - version: 7.27.6 + version: 7.28.0 packages/compiler-dom: dependencies: @@ -279,7 +279,7 @@ importers: dependencies: '@babel/parser': specifier: 'catalog:' - version: 7.27.5 + version: 7.28.0 '@vue/compiler-core': specifier: workspace:* version: link:../compiler-core @@ -307,7 +307,7 @@ importers: devDependencies: '@babel/types': specifier: 'catalog:' - version: 7.27.6 + version: 7.28.0 '@vue/consolidate': specifier: ^1.0.0 version: 1.0.0 @@ -427,7 +427,7 @@ importers: dependencies: '@babel/parser': specifier: 'catalog:' - version: 7.27.5 + version: 7.28.0 estree-walker: specifier: 'catalog:' version: 2.0.2 @@ -459,13 +459,13 @@ packages: resolution: {integrity: sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==} engines: {node: '>=6.9.0'} - '@babel/parser@7.27.5': - resolution: {integrity: sha512-OsQd175SxWkGlzbny8J3K8TnnDD0N3lrIUtB92xwyRpzaenGZhxDvxN/JgU00U3CDZNj9tPuDJ5H0WS4Nt3vKg==} + '@babel/parser@7.28.0': + resolution: {integrity: sha512-jVZGvOxOuNSsuQuLRTh13nU0AogFlw32w/MT+LV6D3sP5WdbW61E77RnkbaO2dUvmPAYrBDJXGn5gGS6tH4j8g==} engines: {node: '>=6.0.0'} hasBin: true - '@babel/types@7.27.6': - resolution: {integrity: sha512-ETyHEk2VHHvl9b9jZP5IHPavHYk57EhanlRRuae9XCpb/j5bDCbPPMOBfCWhnl/7EDJz0jEMCi/RhccCE8r1+Q==} + '@babel/types@7.28.0': + resolution: {integrity: sha512-jYnje+JyZG5YThjHiF28oT4SIZLnYOcSBb6+SDaFIyzDVSkXQmQQYclJ2R+YxcdmK0AX6x1E5OQNtuh3jHDrUg==} engines: {node: '>=6.9.0'} '@bcoe/v8-coverage@1.0.2': @@ -3616,11 +3616,11 @@ snapshots: '@babel/helper-validator-identifier@7.27.1': {} - '@babel/parser@7.27.5': + '@babel/parser@7.28.0': dependencies: - '@babel/types': 7.27.6 + '@babel/types': 7.28.0 - '@babel/types@7.27.6': + '@babel/types@7.28.0': dependencies: '@babel/helper-string-parser': 7.27.1 '@babel/helper-validator-identifier': 7.27.1 @@ -4494,7 +4494,7 @@ snapshots: babel-walk@3.0.0-canary-5: dependencies: - '@babel/types': 7.27.6 + '@babel/types': 7.28.0 balanced-match@1.0.2: {} @@ -4664,8 +4664,8 @@ snapshots: constantinople@4.0.1: dependencies: - '@babel/parser': 7.27.5 - '@babel/types': 7.27.6 + '@babel/parser': 7.28.0 + '@babel/types': 7.28.0 content-disposition@0.5.2: {} @@ -5564,8 +5564,8 @@ snapshots: magicast@0.3.5: dependencies: - '@babel/parser': 7.27.5 - '@babel/types': 7.27.6 + '@babel/parser': 7.28.0 + '@babel/types': 7.28.0 source-map-js: 1.2.1 make-dir@4.0.0: @@ -6551,8 +6551,8 @@ snapshots: with@7.0.2: dependencies: - '@babel/parser': 7.27.5 - '@babel/types': 7.27.6 + '@babel/parser': 7.28.0 + '@babel/types': 7.28.0 assert-never: 1.3.0 babel-walk: 3.0.0-canary-5 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 5113b10dae..965882a842 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -3,8 +3,8 @@ packages: - 'packages-private/*' catalog: - '@babel/parser': ^7.27.5 - '@babel/types': ^7.27.6 + '@babel/parser': ^7.28.0 + '@babel/types': ^7.28.0 'estree-walker': ^2.0.2 'magic-string': ^0.30.17 'source-map-js': ^1.2.1