@vue/compiler-sfc 3.5.0-alpha.4 → 3.5.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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compiler-sfc v3.5.0-alpha.4
2
+ * @vue/compiler-sfc v3.5.0-beta.1
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -4813,7 +4813,7 @@ types$1.UNIVERSAL = UNIVERSAL;
4813
4813
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
4814
4814
  function _interopRequireWildcard(obj, nodeInterop) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
4815
4815
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
4816
- function _createForOfIteratorHelperLoose(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (it) return (it = it.call(o)).next.bind(it); if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike ) { if (it) o = it; var i = 0; return function () { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
4816
+ function _createForOfIteratorHelperLoose(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (it) return (it = it.call(o)).next.bind(it); if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike) { if (it) o = it; var i = 0; return function () { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
4817
4817
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
4818
4818
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
4819
4819
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
@@ -20856,7 +20856,7 @@ function isStaticNode(node) {
20856
20856
  return false;
20857
20857
  }
20858
20858
 
20859
- const version = "3.5.0-alpha.4";
20859
+ const version = "3.5.0-beta.1";
20860
20860
  const parseCache = parseCache$1;
20861
20861
  const errorMessages = {
20862
20862
  ...CompilerDOM.errorMessages,
@@ -475,62 +475,7 @@ export declare function extractRuntimeEmits(ctx: TypeResolveContext): Set<string
475
475
  export declare const version: string;
476
476
 
477
477
  export declare const parseCache: Map<string, SFCParseResult>;
478
- export declare const errorMessages: {
479
- 0: string;
480
- 1: string;
481
- 2: string;
482
- 3: string;
483
- 4: string;
484
- 5: string;
485
- 6: string;
486
- 7: string;
487
- 8: string;
488
- 9: string;
489
- 10: string;
490
- 11: string;
491
- 12: string;
492
- 13: string;
493
- 14: string;
494
- 15: string;
495
- 16: string;
496
- 17: string;
497
- 18: string;
498
- 19: string;
499
- 20: string;
500
- 21: string;
501
- 22: string;
502
- 23: string;
503
- 24: string;
504
- 25: string;
505
- 26: string;
506
- 27: string;
507
- 28: string;
508
- 29: string;
509
- 30: string;
510
- 31: string;
511
- 32: string;
512
- 33: string;
513
- 34: string;
514
- 35: string;
515
- 36: string;
516
- 37: string;
517
- 38: string;
518
- 39: string;
519
- 40: string;
520
- 41: string;
521
- 42: string;
522
- 43: string;
523
- 44: string;
524
- 45: string;
525
- 46: string;
526
- 47: string;
527
- 48: string;
528
- 49: string;
529
- 50: string;
530
- 51: string;
531
- 52: string;
532
- 53: string;
533
- };
478
+ export declare const errorMessages: Record<number, string>;
534
479
 
535
480
  export declare const walk: any;
536
481