@vue/compat 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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compat v3.5.7
2
+ * @vue/compat v3.5.8
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -597,7 +597,7 @@ function prepareDeps(sub) {
597
597
  link.dep.activeLink = link;
598
598
  }
599
599
  }
600
- function cleanupDeps(sub) {
600
+ function cleanupDeps(sub, fromComputed = false) {
601
601
  let head;
602
602
  let tail = sub.depsTail;
603
603
  let link = tail;
@@ -605,7 +605,7 @@ function cleanupDeps(sub) {
605
605
  const prev = link.prevDep;
606
606
  if (link.version === -1) {
607
607
  if (link === tail) tail = prev;
608
- removeSub(link);
608
+ removeSub(link, fromComputed);
609
609
  removeDep(link);
610
610
  } else {
611
611
  head = link;
@@ -660,7 +660,7 @@ function refreshComputed(computed) {
660
660
  } finally {
661
661
  activeSub = prevSub;
662
662
  shouldTrack = prevShouldTrack;
663
- cleanupDeps(computed);
663
+ cleanupDeps(computed, true);
664
664
  computed.flags &= ~2;
665
665
  }
666
666
  }
@@ -7083,7 +7083,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
7083
7083
  return vm;
7084
7084
  }
7085
7085
  }
7086
- Vue.version = `2.6.14-compat:${"3.5.7"}`;
7086
+ Vue.version = `2.6.14-compat:${"3.5.8"}`;
7087
7087
  Vue.config = singletonApp.config;
7088
7088
  Vue.use = (plugin, ...options) => {
7089
7089
  if (plugin && isFunction(plugin.install)) {
@@ -12198,7 +12198,7 @@ function isMemoSame(cached, memo) {
12198
12198
  return true;
12199
12199
  }
12200
12200
 
12201
- const version = "3.5.7";
12201
+ const version = "3.5.8";
12202
12202
  const warn = warn$1 ;
12203
12203
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
12204
12204
  const devtools = devtools$1 ;