@vue/runtime-dom 3.6.0-alpha.1 → 3.6.0-alpha.2

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.6.0-alpha.1
2
+ * @vue/runtime-dom v3.6.0-alpha.2
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/runtime-dom v3.6.0-alpha.1
2
+ * @vue/runtime-dom v3.6.0-alpha.2
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/runtime-dom v3.6.0-alpha.1
2
+ * @vue/runtime-dom v3.6.0-alpha.2
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -456,9 +456,6 @@ function link(dep, sub) {
456
456
  }
457
457
  }
458
458
  const prevSub = dep.subsTail;
459
- if (prevSub !== void 0 && prevSub.sub === sub && (!recursedCheck || isValidLink(prevSub, sub))) {
460
- return;
461
- }
462
459
  const newLink = sub.depsTail = dep.subsTail = {
463
460
  dep,
464
461
  sub,
@@ -1932,14 +1929,12 @@ class EffectScope {
1932
1929
  }
1933
1930
  }
1934
1931
  run(fn) {
1935
- const prevSub = setActiveSub();
1936
1932
  const prevScope = activeEffectScope;
1937
1933
  try {
1938
1934
  activeEffectScope = this;
1939
1935
  return fn();
1940
1936
  } finally {
1941
1937
  activeEffectScope = prevScope;
1942
- setActiveSub(prevSub);
1943
1938
  }
1944
1939
  }
1945
1940
  stop() {
@@ -2835,7 +2830,7 @@ function reload(id, newComp) {
2835
2830
  newComp = normalizeClassComponent(newComp);
2836
2831
  updateComponentDef(record.initialDef, newComp);
2837
2832
  const instances = [...record.instances];
2838
- if (newComp.vapor) {
2833
+ if (newComp.__vapor) {
2839
2834
  for (const instance of instances) {
2840
2835
  instance.hmrReload(newComp);
2841
2836
  }
@@ -8609,7 +8604,7 @@ function traverseStaticChildren(n1, n2, shallow = false) {
8609
8604
  }
8610
8605
  }
8611
8606
  function locateNonHydratedAsyncRoot(instance) {
8612
- const subComponent = instance.subTree.component;
8607
+ const subComponent = instance.vapor ? null : instance.subTree.component;
8613
8608
  if (subComponent) {
8614
8609
  if (subComponent.asyncDep && !subComponent.asyncResolved) {
8615
8610
  return subComponent;
@@ -10958,7 +10953,7 @@ function isMemoSame(cached, memo) {
10958
10953
  return true;
10959
10954
  }
10960
10955
 
10961
- const version = "3.6.0-alpha.1";
10956
+ const version = "3.6.0-alpha.2";
10962
10957
  const warn = warn$1 ;
10963
10958
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
10964
10959
  const devtools = devtools$1 ;