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.
package/dist/vue.cjs.js CHANGED
@@ -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
  **/
@@ -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
  **/
@@ -688,6 +688,9 @@ function isDirty(sub) {
688
688
  return false;
689
689
  }
690
690
  function refreshComputed(computed) {
691
+ if (computed.flags & 2) {
692
+ return false;
693
+ }
691
694
  if (computed.flags & 4 && !(computed.flags & 16)) {
692
695
  return;
693
696
  }
@@ -1962,8 +1965,8 @@ class ComputedRefImpl {
1962
1965
  * @internal
1963
1966
  */
1964
1967
  notify() {
1965
- this.flags |= 16;
1966
1968
  if (activeSub !== this) {
1969
+ this.flags |= 16;
1967
1970
  this.dep.notify();
1968
1971
  }
1969
1972
  }
@@ -3619,6 +3622,7 @@ function getInnerChild$1(vnode) {
3619
3622
  }
3620
3623
  function setTransitionHooks(vnode, hooks) {
3621
3624
  if (vnode.shapeFlag & 6 && vnode.component) {
3625
+ vnode.transition = hooks;
3622
3626
  setTransitionHooks(vnode.component.subTree, hooks);
3623
3627
  } else if (vnode.shapeFlag & 128) {
3624
3628
  vnode.ssContent.transition = hooks.clone(vnode.ssContent);
@@ -3663,7 +3667,7 @@ function defineComponent(options, extraOptions) {
3663
3667
  function useId() {
3664
3668
  const i = getCurrentInstance();
3665
3669
  if (i) {
3666
- return (i.appContext.config.idPrefix || "v") + ":" + i.ids[0] + i.ids[1]++;
3670
+ return (i.appContext.config.idPrefix || "v") + "-" + i.ids[0] + i.ids[1]++;
3667
3671
  } else {
3668
3672
  warn$1(
3669
3673
  `useId() is called when there is no active component instance to be associated with.`
@@ -7379,7 +7383,7 @@ function baseCreateRenderer(options, createHydrationFns) {
7379
7383
  endMeasure(instance, `hydrate`);
7380
7384
  }
7381
7385
  };
7382
- if (isAsyncWrapperVNode) {
7386
+ if (isAsyncWrapperVNode && type.__asyncHydrate) {
7383
7387
  type.__asyncHydrate(
7384
7388
  el,
7385
7389
  instance,
@@ -8550,8 +8554,7 @@ function renderComponentRoot(instance) {
8550
8554
  data,
8551
8555
  setupState,
8552
8556
  ctx,
8553
- inheritAttrs,
8554
- isMounted
8557
+ inheritAttrs
8555
8558
  } = instance;
8556
8559
  const prev = setCurrentRenderingInstance(instance);
8557
8560
  let result;
@@ -8671,7 +8674,7 @@ function renderComponentRoot(instance) {
8671
8674
  `Component inside <Transition> renders non-element root node that cannot be animated.`
8672
8675
  );
8673
8676
  }
8674
- root.transition = isMounted ? vnode.component.subTree.transition : vnode.transition;
8677
+ setTransitionHooks(root, vnode.transition);
8675
8678
  }
8676
8679
  if (setRoot) {
8677
8680
  setRoot(root);
@@ -10451,7 +10454,7 @@ function isMemoSame(cached, memo) {
10451
10454
  return true;
10452
10455
  }
10453
10456
 
10454
- const version = "3.5.2";
10457
+ const version = "3.5.3";
10455
10458
  const warn = warn$1 ;
10456
10459
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
10457
10460
  const devtools = devtools$1 ;
@@ -10464,7 +10467,9 @@ const _ssrUtils = {
10464
10467
  isVNode: isVNode,
10465
10468
  normalizeVNode,
10466
10469
  getComponentPublicInstance,
10467
- ensureValidVNode
10470
+ ensureValidVNode,
10471
+ pushWarningContext,
10472
+ popWarningContext
10468
10473
  };
10469
10474
  const ssrUtils = _ssrUtils ;
10470
10475
  const resolveFilter = null;