@vue/runtime-dom 3.5.2 → 3.5.3

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.2
2
+ * @vue/runtime-dom v3.5.3
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/runtime-dom v3.5.2
2
+ * @vue/runtime-dom v3.5.3
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/runtime-dom v3.5.2
2
+ * @vue/runtime-dom v3.5.3
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -621,6 +621,9 @@ function isDirty(sub) {
621
621
  return false;
622
622
  }
623
623
  function refreshComputed(computed) {
624
+ if (computed.flags & 2) {
625
+ return false;
626
+ }
624
627
  if (computed.flags & 4 && !(computed.flags & 16)) {
625
628
  return;
626
629
  }
@@ -1895,8 +1898,8 @@ class ComputedRefImpl {
1895
1898
  * @internal
1896
1899
  */
1897
1900
  notify() {
1898
- this.flags |= 16;
1899
1901
  if (activeSub !== this) {
1902
+ this.flags |= 16;
1900
1903
  this.dep.notify();
1901
1904
  }
1902
1905
  }
@@ -3552,6 +3555,7 @@ function getInnerChild$1(vnode) {
3552
3555
  }
3553
3556
  function setTransitionHooks(vnode, hooks) {
3554
3557
  if (vnode.shapeFlag & 6 && vnode.component) {
3558
+ vnode.transition = hooks;
3555
3559
  setTransitionHooks(vnode.component.subTree, hooks);
3556
3560
  } else if (vnode.shapeFlag & 128) {
3557
3561
  vnode.ssContent.transition = hooks.clone(vnode.ssContent);
@@ -3596,7 +3600,7 @@ function defineComponent(options, extraOptions) {
3596
3600
  function useId() {
3597
3601
  const i = getCurrentInstance();
3598
3602
  if (i) {
3599
- return (i.appContext.config.idPrefix || "v") + ":" + i.ids[0] + i.ids[1]++;
3603
+ return (i.appContext.config.idPrefix || "v") + "-" + i.ids[0] + i.ids[1]++;
3600
3604
  } else {
3601
3605
  warn$1(
3602
3606
  `useId() is called when there is no active component instance to be associated with.`
@@ -7312,7 +7316,7 @@ function baseCreateRenderer(options, createHydrationFns) {
7312
7316
  endMeasure(instance, `hydrate`);
7313
7317
  }
7314
7318
  };
7315
- if (isAsyncWrapperVNode) {
7319
+ if (isAsyncWrapperVNode && type.__asyncHydrate) {
7316
7320
  type.__asyncHydrate(
7317
7321
  el,
7318
7322
  instance,
@@ -8483,8 +8487,7 @@ function renderComponentRoot(instance) {
8483
8487
  data,
8484
8488
  setupState,
8485
8489
  ctx,
8486
- inheritAttrs,
8487
- isMounted
8490
+ inheritAttrs
8488
8491
  } = instance;
8489
8492
  const prev = setCurrentRenderingInstance(instance);
8490
8493
  let result;
@@ -8604,7 +8607,7 @@ function renderComponentRoot(instance) {
8604
8607
  `Component inside <Transition> renders non-element root node that cannot be animated.`
8605
8608
  );
8606
8609
  }
8607
- root.transition = isMounted ? vnode.component.subTree.transition : vnode.transition;
8610
+ setTransitionHooks(root, vnode.transition);
8608
8611
  }
8609
8612
  if (setRoot) {
8610
8613
  setRoot(root);
@@ -10384,7 +10387,7 @@ function isMemoSame(cached, memo) {
10384
10387
  return true;
10385
10388
  }
10386
10389
 
10387
- const version = "3.5.2";
10390
+ const version = "3.5.3";
10388
10391
  const warn = warn$1 ;
10389
10392
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
10390
10393
  const devtools = devtools$1 ;
@@ -10397,7 +10400,9 @@ const _ssrUtils = {
10397
10400
  isVNode: isVNode,
10398
10401
  normalizeVNode,
10399
10402
  getComponentPublicInstance,
10400
- ensureValidVNode
10403
+ ensureValidVNode,
10404
+ pushWarningContext,
10405
+ popWarningContext
10401
10406
  };
10402
10407
  const ssrUtils = _ssrUtils ;
10403
10408
  const resolveFilter = null;