vue 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 v3.5.2
2
+ * vue 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 v3.5.2
2
+ * vue v3.5.3
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -691,6 +691,9 @@ var Vue = (function (exports) {
691
691
  return false;
692
692
  }
693
693
  function refreshComputed(computed) {
694
+ if (computed.flags & 2) {
695
+ return false;
696
+ }
694
697
  if (computed.flags & 4 && !(computed.flags & 16)) {
695
698
  return;
696
699
  }
@@ -1965,8 +1968,8 @@ var Vue = (function (exports) {
1965
1968
  * @internal
1966
1969
  */
1967
1970
  notify() {
1968
- this.flags |= 16;
1969
1971
  if (activeSub !== this) {
1972
+ this.flags |= 16;
1970
1973
  this.dep.notify();
1971
1974
  }
1972
1975
  }
@@ -3622,6 +3625,7 @@ var Vue = (function (exports) {
3622
3625
  }
3623
3626
  function setTransitionHooks(vnode, hooks) {
3624
3627
  if (vnode.shapeFlag & 6 && vnode.component) {
3628
+ vnode.transition = hooks;
3625
3629
  setTransitionHooks(vnode.component.subTree, hooks);
3626
3630
  } else if (vnode.shapeFlag & 128) {
3627
3631
  vnode.ssContent.transition = hooks.clone(vnode.ssContent);
@@ -3666,7 +3670,7 @@ var Vue = (function (exports) {
3666
3670
  function useId() {
3667
3671
  const i = getCurrentInstance();
3668
3672
  if (i) {
3669
- return (i.appContext.config.idPrefix || "v") + ":" + i.ids[0] + i.ids[1]++;
3673
+ return (i.appContext.config.idPrefix || "v") + "-" + i.ids[0] + i.ids[1]++;
3670
3674
  } else {
3671
3675
  warn$1(
3672
3676
  `useId() is called when there is no active component instance to be associated with.`
@@ -7373,7 +7377,7 @@ If you want to remount the same app, move your app creation logic into a factory
7373
7377
  endMeasure(instance, `hydrate`);
7374
7378
  }
7375
7379
  };
7376
- if (isAsyncWrapperVNode) {
7380
+ if (isAsyncWrapperVNode && type.__asyncHydrate) {
7377
7381
  type.__asyncHydrate(
7378
7382
  el,
7379
7383
  instance,
@@ -8522,8 +8526,7 @@ If you want to remount the same app, move your app creation logic into a factory
8522
8526
  data,
8523
8527
  setupState,
8524
8528
  ctx,
8525
- inheritAttrs,
8526
- isMounted
8529
+ inheritAttrs
8527
8530
  } = instance;
8528
8531
  const prev = setCurrentRenderingInstance(instance);
8529
8532
  let result;
@@ -8643,7 +8646,7 @@ If you want to remount the same app, move your app creation logic into a factory
8643
8646
  `Component inside <Transition> renders non-element root node that cannot be animated.`
8644
8647
  );
8645
8648
  }
8646
- root.transition = isMounted ? vnode.component.subTree.transition : vnode.transition;
8649
+ setTransitionHooks(root, vnode.transition);
8647
8650
  }
8648
8651
  if (setRoot) {
8649
8652
  setRoot(root);
@@ -10409,7 +10412,7 @@ Component that was made reactive: `,
10409
10412
  return true;
10410
10413
  }
10411
10414
 
10412
- const version = "3.5.2";
10415
+ const version = "3.5.3";
10413
10416
  const warn = warn$1 ;
10414
10417
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
10415
10418
  const devtools = devtools$1 ;