vue 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.
package/dist/vue.cjs.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * vue v3.6.0-alpha.1
2
+ * vue 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 v3.6.0-alpha.1
2
+ * vue 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 v3.6.0-alpha.1
2
+ * vue v3.6.0-alpha.2
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -529,9 +529,6 @@ function link(dep, sub) {
529
529
  }
530
530
  }
531
531
  const prevSub = dep.subsTail;
532
- if (prevSub !== void 0 && prevSub.sub === sub && (!recursedCheck || isValidLink(prevSub, sub))) {
533
- return;
534
- }
535
532
  const newLink = sub.depsTail = dep.subsTail = {
536
533
  dep,
537
534
  sub,
@@ -2005,14 +2002,12 @@ class EffectScope {
2005
2002
  }
2006
2003
  }
2007
2004
  run(fn) {
2008
- const prevSub = setActiveSub();
2009
2005
  const prevScope = activeEffectScope;
2010
2006
  try {
2011
2007
  activeEffectScope = this;
2012
2008
  return fn();
2013
2009
  } finally {
2014
2010
  activeEffectScope = prevScope;
2015
- setActiveSub(prevSub);
2016
2011
  }
2017
2012
  }
2018
2013
  stop() {
@@ -2908,7 +2903,7 @@ function reload(id, newComp) {
2908
2903
  newComp = normalizeClassComponent(newComp);
2909
2904
  updateComponentDef(record.initialDef, newComp);
2910
2905
  const instances = [...record.instances];
2911
- if (newComp.vapor) {
2906
+ if (newComp.__vapor) {
2912
2907
  for (const instance of instances) {
2913
2908
  instance.hmrReload(newComp);
2914
2909
  }
@@ -8682,7 +8677,7 @@ function traverseStaticChildren(n1, n2, shallow = false) {
8682
8677
  }
8683
8678
  }
8684
8679
  function locateNonHydratedAsyncRoot(instance) {
8685
- const subComponent = instance.subTree.component;
8680
+ const subComponent = instance.vapor ? null : instance.subTree.component;
8686
8681
  if (subComponent) {
8687
8682
  if (subComponent.asyncDep && !subComponent.asyncResolved) {
8688
8683
  return subComponent;
@@ -11031,7 +11026,7 @@ function isMemoSame(cached, memo) {
11031
11026
  return true;
11032
11027
  }
11033
11028
 
11034
- const version = "3.6.0-alpha.1";
11029
+ const version = "3.6.0-alpha.2";
11035
11030
  const warn = warn$1 ;
11036
11031
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
11037
11032
  const devtools = devtools$1 ;