@vue/runtime-dom 3.5.16 → 3.5.17

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/runtime-dom v3.5.16
2
+ * @vue/runtime-dom v3.5.17
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -787,6 +787,7 @@ var VueRuntimeDOM = (function (exports) {
787
787
  }
788
788
  }
789
789
  class Dep {
790
+ // TODO isolatedDeclarations "__v_skip"
790
791
  constructor(computed) {
791
792
  this.computed = computed;
792
793
  this.version = 0;
@@ -807,6 +808,10 @@ var VueRuntimeDOM = (function (exports) {
807
808
  * Subscriber counter
808
809
  */
809
810
  this.sc = 0;
811
+ /**
812
+ * @internal
813
+ */
814
+ this.__v_skip = true;
810
815
  {
811
816
  this.subsHead = void 0;
812
817
  }
@@ -4410,7 +4415,7 @@ Server rendered element contains fewer child nodes than client vdom.`
4410
4415
  if (allowedType === 0 /* TEXT */ && list.includes("children")) {
4411
4416
  return true;
4412
4417
  }
4413
- return allowedAttr.split(",").includes(MismatchTypeString[allowedType]);
4418
+ return list.includes(MismatchTypeString[allowedType]);
4414
4419
  }
4415
4420
  }
4416
4421
 
@@ -6648,6 +6653,8 @@ If you want to remount the same app, move your app creation logic into a factory
6648
6653
  const initSlots = (instance, children, optimized) => {
6649
6654
  const slots = instance.slots = createInternalObject();
6650
6655
  if (instance.vnode.shapeFlag & 32) {
6656
+ const cacheIndexes = children.__;
6657
+ if (cacheIndexes) def(slots, "__", cacheIndexes, true);
6651
6658
  const type = children._;
6652
6659
  if (type) {
6653
6660
  assignSlots(slots, children, optimized);
@@ -6859,6 +6866,8 @@ If you want to remount the same app, move your app creation logic into a factory
6859
6866
  }
6860
6867
  if (ref != null && parentComponent) {
6861
6868
  setRef(ref, n1 && n1.ref, parentSuspense, n2 || n1, !n2);
6869
+ } else if (ref == null && n1 && n1.ref != null) {
6870
+ setRef(n1.ref, null, parentSuspense, n1, true);
6862
6871
  }
6863
6872
  };
6864
6873
  const processText = (n1, n2, container, anchor) => {
@@ -7418,7 +7427,8 @@ If you want to remount the same app, move your app creation logic into a factory
7418
7427
  hydrateSubTree();
7419
7428
  }
7420
7429
  } else {
7421
- if (root.ce) {
7430
+ if (root.ce && // @ts-expect-error _def is private
7431
+ root.ce._def.shadowRoot !== false) {
7422
7432
  root.ce._injectChildStyle(type);
7423
7433
  }
7424
7434
  {
@@ -10474,7 +10484,7 @@ Component that was made reactive: `,
10474
10484
  return true;
10475
10485
  }
10476
10486
 
10477
- const version = "3.5.16";
10487
+ const version = "3.5.17";
10478
10488
  const warn = warn$1 ;
10479
10489
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
10480
10490
  const devtools = devtools$1 ;
@@ -11458,9 +11468,10 @@ Expected function or array of functions, received type ${typeof value}.`
11458
11468
  };
11459
11469
  const asyncDef = this._def.__asyncLoader;
11460
11470
  if (asyncDef) {
11461
- this._pendingResolve = asyncDef().then(
11462
- (def) => resolve(this._def = def, true)
11463
- );
11471
+ this._pendingResolve = asyncDef().then((def) => {
11472
+ def.configureApp = this._def.configureApp;
11473
+ resolve(this._def = def, true);
11474
+ });
11464
11475
  } else {
11465
11476
  resolve(this._def);
11466
11477
  }