@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
  **/
@@ -624,6 +624,9 @@ var VueRuntimeDOM = (function (exports) {
624
624
  return false;
625
625
  }
626
626
  function refreshComputed(computed) {
627
+ if (computed.flags & 2) {
628
+ return false;
629
+ }
627
630
  if (computed.flags & 4 && !(computed.flags & 16)) {
628
631
  return;
629
632
  }
@@ -1898,8 +1901,8 @@ var VueRuntimeDOM = (function (exports) {
1898
1901
  * @internal
1899
1902
  */
1900
1903
  notify() {
1901
- this.flags |= 16;
1902
1904
  if (activeSub !== this) {
1905
+ this.flags |= 16;
1903
1906
  this.dep.notify();
1904
1907
  }
1905
1908
  }
@@ -3555,6 +3558,7 @@ var VueRuntimeDOM = (function (exports) {
3555
3558
  }
3556
3559
  function setTransitionHooks(vnode, hooks) {
3557
3560
  if (vnode.shapeFlag & 6 && vnode.component) {
3561
+ vnode.transition = hooks;
3558
3562
  setTransitionHooks(vnode.component.subTree, hooks);
3559
3563
  } else if (vnode.shapeFlag & 128) {
3560
3564
  vnode.ssContent.transition = hooks.clone(vnode.ssContent);
@@ -3599,7 +3603,7 @@ var VueRuntimeDOM = (function (exports) {
3599
3603
  function useId() {
3600
3604
  const i = getCurrentInstance();
3601
3605
  if (i) {
3602
- return (i.appContext.config.idPrefix || "v") + ":" + i.ids[0] + i.ids[1]++;
3606
+ return (i.appContext.config.idPrefix || "v") + "-" + i.ids[0] + i.ids[1]++;
3603
3607
  } else {
3604
3608
  warn$1(
3605
3609
  `useId() is called when there is no active component instance to be associated with.`
@@ -7306,7 +7310,7 @@ If you want to remount the same app, move your app creation logic into a factory
7306
7310
  endMeasure(instance, `hydrate`);
7307
7311
  }
7308
7312
  };
7309
- if (isAsyncWrapperVNode) {
7313
+ if (isAsyncWrapperVNode && type.__asyncHydrate) {
7310
7314
  type.__asyncHydrate(
7311
7315
  el,
7312
7316
  instance,
@@ -8455,8 +8459,7 @@ If you want to remount the same app, move your app creation logic into a factory
8455
8459
  data,
8456
8460
  setupState,
8457
8461
  ctx,
8458
- inheritAttrs,
8459
- isMounted
8462
+ inheritAttrs
8460
8463
  } = instance;
8461
8464
  const prev = setCurrentRenderingInstance(instance);
8462
8465
  let result;
@@ -8576,7 +8579,7 @@ If you want to remount the same app, move your app creation logic into a factory
8576
8579
  `Component inside <Transition> renders non-element root node that cannot be animated.`
8577
8580
  );
8578
8581
  }
8579
- root.transition = isMounted ? vnode.component.subTree.transition : vnode.transition;
8582
+ setTransitionHooks(root, vnode.transition);
8580
8583
  }
8581
8584
  if (setRoot) {
8582
8585
  setRoot(root);
@@ -10342,7 +10345,7 @@ Component that was made reactive: `,
10342
10345
  return true;
10343
10346
  }
10344
10347
 
10345
- const version = "3.5.2";
10348
+ const version = "3.5.3";
10346
10349
  const warn = warn$1 ;
10347
10350
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
10348
10351
  const devtools = devtools$1 ;