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 <daiwei521@126.com>
This commit is contained in:
renovate[bot] 2025-07-09 09:38:17 +08:00 committed by GitHub
parent a0bd1f518e
commit f97c4d4e6e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 32 additions and 31 deletions

View File

@ -18,6 +18,7 @@ import type {
Declaration, Declaration,
ExportSpecifier, ExportSpecifier,
Identifier, Identifier,
LVal,
Node, Node,
ObjectPattern, ObjectPattern,
Statement, Statement,
@ -540,7 +541,7 @@ export function compileScript(
} }
// defineProps // defineProps
const isDefineProps = processDefineProps(ctx, init, decl.id) const isDefineProps = processDefineProps(ctx, init, decl.id as LVal)
if (ctx.propsDestructureRestId) { if (ctx.propsDestructureRestId) {
setupBindings[ctx.propsDestructureRestId] = setupBindings[ctx.propsDestructureRestId] =
BindingTypes.SETUP_REACTIVE_CONST BindingTypes.SETUP_REACTIVE_CONST
@ -548,10 +549,10 @@ export function compileScript(
// defineEmits // defineEmits
const isDefineEmits = const isDefineEmits =
!isDefineProps && processDefineEmits(ctx, init, decl.id) !isDefineProps && processDefineEmits(ctx, init, decl.id as LVal)
!isDefineEmits && !isDefineEmits &&
(processDefineSlots(ctx, init, decl.id) || (processDefineSlots(ctx, init, decl.id as LVal) ||
processDefineModel(ctx, init, decl.id)) processDefineModel(ctx, init, decl.id as LVal))
if ( if (
isDefineProps && isDefineProps &&

View File

@ -7,11 +7,11 @@ settings:
catalogs: catalogs:
default: default:
'@babel/parser': '@babel/parser':
specifier: ^7.27.5 specifier: ^7.28.0
version: 7.27.5 version: 7.28.0
'@babel/types': '@babel/types':
specifier: ^7.27.6 specifier: ^7.28.0
version: 7.27.6 version: 7.28.0
'@vitejs/plugin-vue': '@vitejs/plugin-vue':
specifier: ^5.2.4 specifier: ^5.2.4
version: 5.2.4 version: 5.2.4
@ -34,10 +34,10 @@ importers:
devDependencies: devDependencies:
'@babel/parser': '@babel/parser':
specifier: 'catalog:' specifier: 'catalog:'
version: 7.27.5 version: 7.28.0
'@babel/types': '@babel/types':
specifier: 'catalog:' specifier: 'catalog:'
version: 7.27.6 version: 7.28.0
'@rollup/plugin-alias': '@rollup/plugin-alias':
specifier: ^5.1.1 specifier: ^5.1.1
version: 5.1.1(rollup@4.44.2) version: 5.1.1(rollup@4.44.2)
@ -248,7 +248,7 @@ importers:
dependencies: dependencies:
'@babel/parser': '@babel/parser':
specifier: 'catalog:' specifier: 'catalog:'
version: 7.27.5 version: 7.28.0
'@vue/shared': '@vue/shared':
specifier: workspace:* specifier: workspace:*
version: link:../shared version: link:../shared
@ -264,7 +264,7 @@ importers:
devDependencies: devDependencies:
'@babel/types': '@babel/types':
specifier: 'catalog:' specifier: 'catalog:'
version: 7.27.6 version: 7.28.0
packages/compiler-dom: packages/compiler-dom:
dependencies: dependencies:
@ -279,7 +279,7 @@ importers:
dependencies: dependencies:
'@babel/parser': '@babel/parser':
specifier: 'catalog:' specifier: 'catalog:'
version: 7.27.5 version: 7.28.0
'@vue/compiler-core': '@vue/compiler-core':
specifier: workspace:* specifier: workspace:*
version: link:../compiler-core version: link:../compiler-core
@ -307,7 +307,7 @@ importers:
devDependencies: devDependencies:
'@babel/types': '@babel/types':
specifier: 'catalog:' specifier: 'catalog:'
version: 7.27.6 version: 7.28.0
'@vue/consolidate': '@vue/consolidate':
specifier: ^1.0.0 specifier: ^1.0.0
version: 1.0.0 version: 1.0.0
@ -427,7 +427,7 @@ importers:
dependencies: dependencies:
'@babel/parser': '@babel/parser':
specifier: 'catalog:' specifier: 'catalog:'
version: 7.27.5 version: 7.28.0
estree-walker: estree-walker:
specifier: 'catalog:' specifier: 'catalog:'
version: 2.0.2 version: 2.0.2
@ -459,13 +459,13 @@ packages:
resolution: {integrity: sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==} resolution: {integrity: sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==}
engines: {node: '>=6.9.0'} engines: {node: '>=6.9.0'}
'@babel/parser@7.27.5': '@babel/parser@7.28.0':
resolution: {integrity: sha512-OsQd175SxWkGlzbny8J3K8TnnDD0N3lrIUtB92xwyRpzaenGZhxDvxN/JgU00U3CDZNj9tPuDJ5H0WS4Nt3vKg==} resolution: {integrity: sha512-jVZGvOxOuNSsuQuLRTh13nU0AogFlw32w/MT+LV6D3sP5WdbW61E77RnkbaO2dUvmPAYrBDJXGn5gGS6tH4j8g==}
engines: {node: '>=6.0.0'} engines: {node: '>=6.0.0'}
hasBin: true hasBin: true
'@babel/types@7.27.6': '@babel/types@7.28.0':
resolution: {integrity: sha512-ETyHEk2VHHvl9b9jZP5IHPavHYk57EhanlRRuae9XCpb/j5bDCbPPMOBfCWhnl/7EDJz0jEMCi/RhccCE8r1+Q==} resolution: {integrity: sha512-jYnje+JyZG5YThjHiF28oT4SIZLnYOcSBb6+SDaFIyzDVSkXQmQQYclJ2R+YxcdmK0AX6x1E5OQNtuh3jHDrUg==}
engines: {node: '>=6.9.0'} engines: {node: '>=6.9.0'}
'@bcoe/v8-coverage@1.0.2': '@bcoe/v8-coverage@1.0.2':
@ -3616,11 +3616,11 @@ snapshots:
'@babel/helper-validator-identifier@7.27.1': {} '@babel/helper-validator-identifier@7.27.1': {}
'@babel/parser@7.27.5': '@babel/parser@7.28.0':
dependencies: dependencies:
'@babel/types': 7.27.6 '@babel/types': 7.28.0
'@babel/types@7.27.6': '@babel/types@7.28.0':
dependencies: dependencies:
'@babel/helper-string-parser': 7.27.1 '@babel/helper-string-parser': 7.27.1
'@babel/helper-validator-identifier': 7.27.1 '@babel/helper-validator-identifier': 7.27.1
@ -4494,7 +4494,7 @@ snapshots:
babel-walk@3.0.0-canary-5: babel-walk@3.0.0-canary-5:
dependencies: dependencies:
'@babel/types': 7.27.6 '@babel/types': 7.28.0
balanced-match@1.0.2: {} balanced-match@1.0.2: {}
@ -4664,8 +4664,8 @@ snapshots:
constantinople@4.0.1: constantinople@4.0.1:
dependencies: dependencies:
'@babel/parser': 7.27.5 '@babel/parser': 7.28.0
'@babel/types': 7.27.6 '@babel/types': 7.28.0
content-disposition@0.5.2: {} content-disposition@0.5.2: {}
@ -5564,8 +5564,8 @@ snapshots:
magicast@0.3.5: magicast@0.3.5:
dependencies: dependencies:
'@babel/parser': 7.27.5 '@babel/parser': 7.28.0
'@babel/types': 7.27.6 '@babel/types': 7.28.0
source-map-js: 1.2.1 source-map-js: 1.2.1
make-dir@4.0.0: make-dir@4.0.0:
@ -6551,8 +6551,8 @@ snapshots:
with@7.0.2: with@7.0.2:
dependencies: dependencies:
'@babel/parser': 7.27.5 '@babel/parser': 7.28.0
'@babel/types': 7.27.6 '@babel/types': 7.28.0
assert-never: 1.3.0 assert-never: 1.3.0
babel-walk: 3.0.0-canary-5 babel-walk: 3.0.0-canary-5

View File

@ -3,8 +3,8 @@ packages:
- 'packages-private/*' - 'packages-private/*'
catalog: catalog:
'@babel/parser': ^7.27.5 '@babel/parser': ^7.28.0
'@babel/types': ^7.27.6 '@babel/types': ^7.28.0
'estree-walker': ^2.0.2 'estree-walker': ^2.0.2
'magic-string': ^0.30.17 'magic-string': ^0.30.17
'source-map-js': ^1.2.1 'source-map-js': ^1.2.1