vue 3.5.7 → 3.5.8

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.7
2
+ * vue v3.5.8
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.7
2
+ * vue v3.5.8
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.7
2
+ * vue v3.5.8
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -664,7 +664,7 @@ function prepareDeps(sub) {
664
664
  link.dep.activeLink = link;
665
665
  }
666
666
  }
667
- function cleanupDeps(sub) {
667
+ function cleanupDeps(sub, fromComputed = false) {
668
668
  let head;
669
669
  let tail = sub.depsTail;
670
670
  let link = tail;
@@ -672,7 +672,7 @@ function cleanupDeps(sub) {
672
672
  const prev = link.prevDep;
673
673
  if (link.version === -1) {
674
674
  if (link === tail) tail = prev;
675
- removeSub(link);
675
+ removeSub(link, fromComputed);
676
676
  removeDep(link);
677
677
  } else {
678
678
  head = link;
@@ -727,7 +727,7 @@ function refreshComputed(computed) {
727
727
  } finally {
728
728
  activeSub = prevSub;
729
729
  shouldTrack = prevShouldTrack;
730
- cleanupDeps(computed);
730
+ cleanupDeps(computed, true);
731
731
  computed.flags &= ~2;
732
732
  }
733
733
  }
@@ -10503,7 +10503,7 @@ function isMemoSame(cached, memo) {
10503
10503
  return true;
10504
10504
  }
10505
10505
 
10506
- const version = "3.5.7";
10506
+ const version = "3.5.8";
10507
10507
  const warn = warn$1 ;
10508
10508
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
10509
10509
  const devtools = devtools$1 ;