@vue/compiler-core 3.4.0-alpha.4 → 3.4.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -80,7 +80,7 @@ interface ImportItem {
80
80
  exp: string | ExpressionNode;
81
81
  path: string;
82
82
  }
83
- export interface TransformContext extends Required<Omit<TransformOptions, 'filename' | keyof CompilerCompatOptions>>, CompilerCompatOptions {
83
+ export interface TransformContext extends Required<Omit<TransformOptions, keyof CompilerCompatOptions>>, CompilerCompatOptions {
84
84
  selfName: string | null;
85
85
  root: RootNode;
86
86
  helpers: Map<symbol, number>;
@@ -607,11 +607,11 @@ export declare enum ErrorCodes {
607
607
  X_V_MODEL_ON_PROPS = 44,
608
608
  X_INVALID_EXPRESSION = 45,
609
609
  X_KEEP_ALIVE_INVALID_CHILDREN = 46,
610
- X_VNODE_HOOKS = 47,
611
- X_PREFIX_ID_NOT_SUPPORTED = 48,
612
- X_MODULE_MODE_NOT_SUPPORTED = 49,
613
- X_CACHE_HANDLER_NOT_SUPPORTED = 50,
614
- X_SCOPE_ID_NOT_SUPPORTED = 51,
610
+ X_PREFIX_ID_NOT_SUPPORTED = 47,
611
+ X_MODULE_MODE_NOT_SUPPORTED = 48,
612
+ X_CACHE_HANDLER_NOT_SUPPORTED = 49,
613
+ X_SCOPE_ID_NOT_SUPPORTED = 50,
614
+ X_VNODE_HOOKS = 51,
615
615
  __EXTEND_POINT__ = 52
616
616
  }
617
617
  export declare const errorMessages: Record<ErrorCodes, string>;
@@ -995,6 +995,7 @@ export declare const isFunctionType: (node: Node$1) => node is Function;
995
995
  export declare const isStaticProperty: (node: Node$1) => node is ObjectProperty;
996
996
  export declare const isStaticPropertyKey: (node: Node$1, parent: Node$1) => boolean;
997
997
  export declare const TS_NODE_TYPES: string[];
998
+ export declare function unwrapTSNode(node: Node$1): Node$1;
998
999
 
999
1000
  export declare const transformModel: DirectiveTransform;
1000
1001
 
@@ -1355,16 +1355,16 @@ const ErrorCodes = {
1355
1355
  "45": "X_INVALID_EXPRESSION",
1356
1356
  "X_KEEP_ALIVE_INVALID_CHILDREN": 46,
1357
1357
  "46": "X_KEEP_ALIVE_INVALID_CHILDREN",
1358
- "X_VNODE_HOOKS": 47,
1359
- "47": "X_VNODE_HOOKS",
1360
- "X_PREFIX_ID_NOT_SUPPORTED": 48,
1361
- "48": "X_PREFIX_ID_NOT_SUPPORTED",
1362
- "X_MODULE_MODE_NOT_SUPPORTED": 49,
1363
- "49": "X_MODULE_MODE_NOT_SUPPORTED",
1364
- "X_CACHE_HANDLER_NOT_SUPPORTED": 50,
1365
- "50": "X_CACHE_HANDLER_NOT_SUPPORTED",
1366
- "X_SCOPE_ID_NOT_SUPPORTED": 51,
1367
- "51": "X_SCOPE_ID_NOT_SUPPORTED",
1358
+ "X_PREFIX_ID_NOT_SUPPORTED": 47,
1359
+ "47": "X_PREFIX_ID_NOT_SUPPORTED",
1360
+ "X_MODULE_MODE_NOT_SUPPORTED": 48,
1361
+ "48": "X_MODULE_MODE_NOT_SUPPORTED",
1362
+ "X_CACHE_HANDLER_NOT_SUPPORTED": 49,
1363
+ "49": "X_CACHE_HANDLER_NOT_SUPPORTED",
1364
+ "X_SCOPE_ID_NOT_SUPPORTED": 50,
1365
+ "50": "X_SCOPE_ID_NOT_SUPPORTED",
1366
+ "X_VNODE_HOOKS": 51,
1367
+ "51": "X_VNODE_HOOKS",
1368
1368
  "__EXTEND_POINT__": 52,
1369
1369
  "52": "__EXTEND_POINT__"
1370
1370
  };
@@ -1420,16 +1420,134 @@ const errorMessages = {
1420
1420
  Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,
1421
1421
  [45]: `Error parsing JavaScript expression: `,
1422
1422
  [46]: `<KeepAlive> expects exactly one child component.`,
1423
- [47]: `@vnode-* hooks in templates are deprecated. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support will be removed in 3.4.`,
1423
+ [51]: `@vnode-* hooks in templates are deprecated. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support will be removed in 3.4.`,
1424
1424
  // generic errors
1425
- [48]: `"prefixIdentifiers" option is not supported in this build of compiler.`,
1426
- [49]: `ES module mode is not supported in this build of compiler.`,
1427
- [50]: `"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.`,
1428
- [51]: `"scopeId" option is only supported in module mode.`,
1425
+ [47]: `"prefixIdentifiers" option is not supported in this build of compiler.`,
1426
+ [48]: `ES module mode is not supported in this build of compiler.`,
1427
+ [49]: `"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.`,
1428
+ [50]: `"scopeId" option is only supported in module mode.`,
1429
1429
  // just to fulfill types
1430
1430
  [52]: ``
1431
1431
  };
1432
1432
 
1433
+ function walkIdentifiers(root, onIdentifier, includeAll = false, parentStack = [], knownIds = /* @__PURE__ */ Object.create(null)) {
1434
+ {
1435
+ return;
1436
+ }
1437
+ }
1438
+ function isReferencedIdentifier(id, parent, parentStack) {
1439
+ {
1440
+ return false;
1441
+ }
1442
+ }
1443
+ function isInDestructureAssignment(parent, parentStack) {
1444
+ if (parent && (parent.type === "ObjectProperty" || parent.type === "ArrayPattern")) {
1445
+ let i = parentStack.length;
1446
+ while (i--) {
1447
+ const p = parentStack[i];
1448
+ if (p.type === "AssignmentExpression") {
1449
+ return true;
1450
+ } else if (p.type !== "ObjectProperty" && !p.type.endsWith("Pattern")) {
1451
+ break;
1452
+ }
1453
+ }
1454
+ }
1455
+ return false;
1456
+ }
1457
+ function walkFunctionParams(node, onIdent) {
1458
+ for (const p of node.params) {
1459
+ for (const id of extractIdentifiers(p)) {
1460
+ onIdent(id);
1461
+ }
1462
+ }
1463
+ }
1464
+ function walkBlockDeclarations(block, onIdent) {
1465
+ for (const stmt of block.body) {
1466
+ if (stmt.type === "VariableDeclaration") {
1467
+ if (stmt.declare)
1468
+ continue;
1469
+ for (const decl of stmt.declarations) {
1470
+ for (const id of extractIdentifiers(decl.id)) {
1471
+ onIdent(id);
1472
+ }
1473
+ }
1474
+ } else if (stmt.type === "FunctionDeclaration" || stmt.type === "ClassDeclaration") {
1475
+ if (stmt.declare || !stmt.id)
1476
+ continue;
1477
+ onIdent(stmt.id);
1478
+ } else if (stmt.type === "ForOfStatement" || stmt.type === "ForInStatement" || stmt.type === "ForStatement") {
1479
+ const variable = stmt.type === "ForStatement" ? stmt.init : stmt.left;
1480
+ if (variable && variable.type === "VariableDeclaration") {
1481
+ for (const decl of variable.declarations) {
1482
+ for (const id of extractIdentifiers(decl.id)) {
1483
+ onIdent(id);
1484
+ }
1485
+ }
1486
+ }
1487
+ }
1488
+ }
1489
+ }
1490
+ function extractIdentifiers(param, nodes = []) {
1491
+ switch (param.type) {
1492
+ case "Identifier":
1493
+ nodes.push(param);
1494
+ break;
1495
+ case "MemberExpression":
1496
+ let object = param;
1497
+ while (object.type === "MemberExpression") {
1498
+ object = object.object;
1499
+ }
1500
+ nodes.push(object);
1501
+ break;
1502
+ case "ObjectPattern":
1503
+ for (const prop of param.properties) {
1504
+ if (prop.type === "RestElement") {
1505
+ extractIdentifiers(prop.argument, nodes);
1506
+ } else {
1507
+ extractIdentifiers(prop.value, nodes);
1508
+ }
1509
+ }
1510
+ break;
1511
+ case "ArrayPattern":
1512
+ param.elements.forEach((element) => {
1513
+ if (element)
1514
+ extractIdentifiers(element, nodes);
1515
+ });
1516
+ break;
1517
+ case "RestElement":
1518
+ extractIdentifiers(param.argument, nodes);
1519
+ break;
1520
+ case "AssignmentPattern":
1521
+ extractIdentifiers(param.left, nodes);
1522
+ break;
1523
+ }
1524
+ return nodes;
1525
+ }
1526
+ const isFunctionType = (node) => {
1527
+ return /Function(?:Expression|Declaration)$|Method$/.test(node.type);
1528
+ };
1529
+ const isStaticProperty = (node) => node && (node.type === "ObjectProperty" || node.type === "ObjectMethod") && !node.computed;
1530
+ const isStaticPropertyKey = (node, parent) => isStaticProperty(parent) && parent.key === node;
1531
+ const TS_NODE_TYPES = [
1532
+ "TSAsExpression",
1533
+ // foo as number
1534
+ "TSTypeAssertion",
1535
+ // (<number>foo)
1536
+ "TSNonNullExpression",
1537
+ // foo!
1538
+ "TSInstantiationExpression",
1539
+ // foo<string>
1540
+ "TSSatisfiesExpression"
1541
+ // foo satisfies T
1542
+ ];
1543
+ function unwrapTSNode(node) {
1544
+ if (TS_NODE_TYPES.includes(node.type)) {
1545
+ return unwrapTSNode(node.expression);
1546
+ } else {
1547
+ return node;
1548
+ }
1549
+ }
1550
+
1433
1551
  const isStaticExp = (p) => p.type === 4 && p.isStatic;
1434
1552
  function isCoreComponent(tag) {
1435
1553
  switch (tag) {
@@ -2755,6 +2873,7 @@ function createTransformContext(root, {
2755
2873
  const nameMatch = filename.replace(/\?.*$/, "").match(/([^/\\]+)\.\w+$/);
2756
2874
  const context = {
2757
2875
  // options
2876
+ filename,
2758
2877
  selfName: nameMatch && capitalize(camelize(nameMatch[1])),
2759
2878
  prefixIdentifiers,
2760
2879
  hoistStatic: hoistStatic2,
@@ -3587,117 +3706,6 @@ function genCacheExpression(node, context) {
3587
3706
  push(`)`);
3588
3707
  }
3589
3708
 
3590
- function walkIdentifiers(root, onIdentifier, includeAll = false, parentStack = [], knownIds = /* @__PURE__ */ Object.create(null)) {
3591
- {
3592
- return;
3593
- }
3594
- }
3595
- function isReferencedIdentifier(id, parent, parentStack) {
3596
- {
3597
- return false;
3598
- }
3599
- }
3600
- function isInDestructureAssignment(parent, parentStack) {
3601
- if (parent && (parent.type === "ObjectProperty" || parent.type === "ArrayPattern")) {
3602
- let i = parentStack.length;
3603
- while (i--) {
3604
- const p = parentStack[i];
3605
- if (p.type === "AssignmentExpression") {
3606
- return true;
3607
- } else if (p.type !== "ObjectProperty" && !p.type.endsWith("Pattern")) {
3608
- break;
3609
- }
3610
- }
3611
- }
3612
- return false;
3613
- }
3614
- function walkFunctionParams(node, onIdent) {
3615
- for (const p of node.params) {
3616
- for (const id of extractIdentifiers(p)) {
3617
- onIdent(id);
3618
- }
3619
- }
3620
- }
3621
- function walkBlockDeclarations(block, onIdent) {
3622
- for (const stmt of block.body) {
3623
- if (stmt.type === "VariableDeclaration") {
3624
- if (stmt.declare)
3625
- continue;
3626
- for (const decl of stmt.declarations) {
3627
- for (const id of extractIdentifiers(decl.id)) {
3628
- onIdent(id);
3629
- }
3630
- }
3631
- } else if (stmt.type === "FunctionDeclaration" || stmt.type === "ClassDeclaration") {
3632
- if (stmt.declare || !stmt.id)
3633
- continue;
3634
- onIdent(stmt.id);
3635
- } else if (stmt.type === "ForOfStatement" || stmt.type === "ForInStatement" || stmt.type === "ForStatement") {
3636
- const variable = stmt.type === "ForStatement" ? stmt.init : stmt.left;
3637
- if (variable && variable.type === "VariableDeclaration") {
3638
- for (const decl of variable.declarations) {
3639
- for (const id of extractIdentifiers(decl.id)) {
3640
- onIdent(id);
3641
- }
3642
- }
3643
- }
3644
- }
3645
- }
3646
- }
3647
- function extractIdentifiers(param, nodes = []) {
3648
- switch (param.type) {
3649
- case "Identifier":
3650
- nodes.push(param);
3651
- break;
3652
- case "MemberExpression":
3653
- let object = param;
3654
- while (object.type === "MemberExpression") {
3655
- object = object.object;
3656
- }
3657
- nodes.push(object);
3658
- break;
3659
- case "ObjectPattern":
3660
- for (const prop of param.properties) {
3661
- if (prop.type === "RestElement") {
3662
- extractIdentifiers(prop.argument, nodes);
3663
- } else {
3664
- extractIdentifiers(prop.value, nodes);
3665
- }
3666
- }
3667
- break;
3668
- case "ArrayPattern":
3669
- param.elements.forEach((element) => {
3670
- if (element)
3671
- extractIdentifiers(element, nodes);
3672
- });
3673
- break;
3674
- case "RestElement":
3675
- extractIdentifiers(param.argument, nodes);
3676
- break;
3677
- case "AssignmentPattern":
3678
- extractIdentifiers(param.left, nodes);
3679
- break;
3680
- }
3681
- return nodes;
3682
- }
3683
- const isFunctionType = (node) => {
3684
- return /Function(?:Expression|Declaration)$|Method$/.test(node.type);
3685
- };
3686
- const isStaticProperty = (node) => node && (node.type === "ObjectProperty" || node.type === "ObjectMethod") && !node.computed;
3687
- const isStaticPropertyKey = (node, parent) => isStaticProperty(parent) && parent.key === node;
3688
- const TS_NODE_TYPES = [
3689
- "TSAsExpression",
3690
- // foo as number
3691
- "TSTypeAssertion",
3692
- // (<number>foo)
3693
- "TSNonNullExpression",
3694
- // foo!
3695
- "TSInstantiationExpression",
3696
- // foo<string>
3697
- "TSSatisfiesExpression"
3698
- // foo satisfies T
3699
- ];
3700
-
3701
3709
  const prohibitedKeywordRE = new RegExp(
3702
3710
  "\\b" + "arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b") + "\\b"
3703
3711
  );
@@ -5113,7 +5121,7 @@ const transformOn = (dir, node, context, augmentor) => {
5113
5121
  if (arg.isStatic) {
5114
5122
  let rawName = arg.content;
5115
5123
  if (!!(process.env.NODE_ENV !== "production") && rawName.startsWith("vnode")) {
5116
- context.onError(createCompilerError(47, arg.loc));
5124
+ context.onError(createCompilerError(51, arg.loc));
5117
5125
  }
5118
5126
  if (rawName.startsWith("vue:")) {
5119
5127
  rawName = `vnode-${rawName.slice(4)}`;
@@ -5594,24 +5602,26 @@ function baseCompile(source, options = {}) {
5594
5602
  const isModuleMode = options.mode === "module";
5595
5603
  {
5596
5604
  if (options.prefixIdentifiers === true) {
5597
- onError(createCompilerError(48));
5605
+ onError(createCompilerError(47));
5598
5606
  } else if (isModuleMode) {
5599
- onError(createCompilerError(49));
5607
+ onError(createCompilerError(48));
5600
5608
  }
5601
5609
  }
5602
5610
  const prefixIdentifiers = false;
5603
5611
  if (options.cacheHandlers) {
5604
- onError(createCompilerError(50));
5612
+ onError(createCompilerError(49));
5605
5613
  }
5606
5614
  if (options.scopeId && !isModuleMode) {
5607
- onError(createCompilerError(51));
5615
+ onError(createCompilerError(50));
5608
5616
  }
5609
- const ast = isString(source) ? baseParse(source, options) : source;
5617
+ const resolvedOptions = extend({}, options, {
5618
+ prefixIdentifiers
5619
+ });
5620
+ const ast = isString(source) ? baseParse(source, resolvedOptions) : source;
5610
5621
  const [nodeTransforms, directiveTransforms] = getBaseTransformPreset();
5611
5622
  transform(
5612
5623
  ast,
5613
- extend({}, options, {
5614
- prefixIdentifiers,
5624
+ extend({}, resolvedOptions, {
5615
5625
  nodeTransforms: [
5616
5626
  ...nodeTransforms,
5617
5627
  ...options.nodeTransforms || []
@@ -5625,12 +5635,7 @@ function baseCompile(source, options = {}) {
5625
5635
  )
5626
5636
  })
5627
5637
  );
5628
- return generate(
5629
- ast,
5630
- extend({}, options, {
5631
- prefixIdentifiers
5632
- })
5633
- );
5638
+ return generate(ast, resolvedOptions);
5634
5639
  }
5635
5640
 
5636
5641
  const BindingTypes = {
@@ -5648,4 +5653,4 @@ const BindingTypes = {
5648
5653
 
5649
5654
  const noopDirectiveTransform = () => ({ props: [] });
5650
5655
 
5651
- export { BASE_TRANSITION, BindingTypes, CAMELIZE, CAPITALIZE, CREATE_BLOCK, CREATE_COMMENT, CREATE_ELEMENT_BLOCK, CREATE_ELEMENT_VNODE, CREATE_SLOTS, CREATE_STATIC, CREATE_TEXT, CREATE_VNODE, CompilerDeprecationTypes, ConstantTypes, ElementTypes, ErrorCodes, FRAGMENT, GUARD_REACTIVE_PROPS, IS_MEMO_SAME, IS_REF, KEEP_ALIVE, MERGE_PROPS, NORMALIZE_CLASS, NORMALIZE_PROPS, NORMALIZE_STYLE, Namespaces, NodeTypes, OPEN_BLOCK, POP_SCOPE_ID, PUSH_SCOPE_ID, RENDER_LIST, RENDER_SLOT, RESOLVE_COMPONENT, RESOLVE_DIRECTIVE, RESOLVE_DYNAMIC_COMPONENT, RESOLVE_FILTER, SET_BLOCK_TRACKING, SUSPENSE, TELEPORT, TO_DISPLAY_STRING, TO_HANDLERS, TO_HANDLER_KEY, TS_NODE_TYPES, UNREF, WITH_CTX, WITH_DIRECTIVES, WITH_MEMO, advancePositionWithClone, advancePositionWithMutation, assert, baseCompile, baseParse, buildDirectiveArgs, buildProps, buildSlots, checkCompatEnabled, convertToBlock, createArrayExpression, createAssignmentExpression, createBlockStatement, createCacheExpression, createCallExpression, createCompilerError, createCompoundExpression, createConditionalExpression, createForLoopParams, createFunctionExpression, createIfStatement, createInterpolation, createObjectExpression, createObjectProperty, createReturnStatement, createRoot, createSequenceExpression, createSimpleExpression, createStructuralDirectiveTransform, createTemplateLiteral, createTransformContext, createVNodeCall, errorMessages, extractIdentifiers, findDir, findProp, forAliasRE, generate, getBaseTransformPreset, getConstantType, getMemoedVNodeCall, getVNodeBlockHelper, getVNodeHelper, hasDynamicKeyVBind, hasScopeRef, helperNameMap, injectProp, isCoreComponent, isFunctionType, isInDestructureAssignment, isMemberExpression, isMemberExpressionBrowser, isMemberExpressionNode, isReferencedIdentifier, isSimpleIdentifier, isSlotOutlet, isStaticArgOf, isStaticExp, isStaticProperty, isStaticPropertyKey, isTemplateNode, isText$1 as isText, isVSlot, locStub, noopDirectiveTransform, processExpression, processFor, processIf, processSlotOutlet, registerRuntimeHelpers, resolveComponentType, stringifyExpression, toValidAssetId, trackSlotScopes, trackVForSlotScopes, transform, transformBind, transformElement, transformExpression, transformModel, transformOn, traverseNode, walkBlockDeclarations, walkFunctionParams, walkIdentifiers, warnDeprecation };
5656
+ export { BASE_TRANSITION, BindingTypes, CAMELIZE, CAPITALIZE, CREATE_BLOCK, CREATE_COMMENT, CREATE_ELEMENT_BLOCK, CREATE_ELEMENT_VNODE, CREATE_SLOTS, CREATE_STATIC, CREATE_TEXT, CREATE_VNODE, CompilerDeprecationTypes, ConstantTypes, ElementTypes, ErrorCodes, FRAGMENT, GUARD_REACTIVE_PROPS, IS_MEMO_SAME, IS_REF, KEEP_ALIVE, MERGE_PROPS, NORMALIZE_CLASS, NORMALIZE_PROPS, NORMALIZE_STYLE, Namespaces, NodeTypes, OPEN_BLOCK, POP_SCOPE_ID, PUSH_SCOPE_ID, RENDER_LIST, RENDER_SLOT, RESOLVE_COMPONENT, RESOLVE_DIRECTIVE, RESOLVE_DYNAMIC_COMPONENT, RESOLVE_FILTER, SET_BLOCK_TRACKING, SUSPENSE, TELEPORT, TO_DISPLAY_STRING, TO_HANDLERS, TO_HANDLER_KEY, TS_NODE_TYPES, UNREF, WITH_CTX, WITH_DIRECTIVES, WITH_MEMO, advancePositionWithClone, advancePositionWithMutation, assert, baseCompile, baseParse, buildDirectiveArgs, buildProps, buildSlots, checkCompatEnabled, convertToBlock, createArrayExpression, createAssignmentExpression, createBlockStatement, createCacheExpression, createCallExpression, createCompilerError, createCompoundExpression, createConditionalExpression, createForLoopParams, createFunctionExpression, createIfStatement, createInterpolation, createObjectExpression, createObjectProperty, createReturnStatement, createRoot, createSequenceExpression, createSimpleExpression, createStructuralDirectiveTransform, createTemplateLiteral, createTransformContext, createVNodeCall, errorMessages, extractIdentifiers, findDir, findProp, forAliasRE, generate, getBaseTransformPreset, getConstantType, getMemoedVNodeCall, getVNodeBlockHelper, getVNodeHelper, hasDynamicKeyVBind, hasScopeRef, helperNameMap, injectProp, isCoreComponent, isFunctionType, isInDestructureAssignment, isMemberExpression, isMemberExpressionBrowser, isMemberExpressionNode, isReferencedIdentifier, isSimpleIdentifier, isSlotOutlet, isStaticArgOf, isStaticExp, isStaticProperty, isStaticPropertyKey, isTemplateNode, isText$1 as isText, isVSlot, locStub, noopDirectiveTransform, processExpression, processFor, processIf, processSlotOutlet, registerRuntimeHelpers, resolveComponentType, stringifyExpression, toValidAssetId, trackSlotScopes, trackVForSlotScopes, transform, transformBind, transformElement, transformExpression, transformModel, transformOn, traverseNode, unwrapTSNode, walkBlockDeclarations, walkFunctionParams, walkIdentifiers, warnDeprecation };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/compiler-core",
3
- "version": "3.4.0-alpha.4",
3
+ "version": "3.4.0-beta.1",
4
4
  "description": "@vue/compiler-core",
5
5
  "main": "index.js",
6
6
  "module": "dist/compiler-core.esm-bundler.js",
@@ -36,7 +36,7 @@
36
36
  "entities": "^4.5.0",
37
37
  "estree-walker": "^2.0.2",
38
38
  "source-map-js": "^1.0.2",
39
- "@vue/shared": "3.4.0-alpha.4"
39
+ "@vue/shared": "3.4.0-beta.1"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@babel/types": "^7.23.5"