@vue/runtime-core 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/runtime-core.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/runtime-core v3.6.0-alpha.
|
|
2
|
+
* @vue/runtime-core v3.6.0-alpha.2
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -545,7 +545,7 @@ function reload(id, newComp) {
|
|
|
545
545
|
newComp = normalizeClassComponent(newComp);
|
|
546
546
|
updateComponentDef(record.initialDef, newComp);
|
|
547
547
|
const instances = [...record.instances];
|
|
548
|
-
if (newComp.
|
|
548
|
+
if (newComp.__vapor) {
|
|
549
549
|
for (const instance of instances) {
|
|
550
550
|
instance.hmrReload(newComp);
|
|
551
551
|
}
|
|
@@ -6316,7 +6316,7 @@ function traverseStaticChildren(n1, n2, shallow = false) {
|
|
|
6316
6316
|
}
|
|
6317
6317
|
}
|
|
6318
6318
|
function locateNonHydratedAsyncRoot(instance) {
|
|
6319
|
-
const subComponent = instance.subTree.component;
|
|
6319
|
+
const subComponent = instance.vapor ? null : instance.subTree.component;
|
|
6320
6320
|
if (subComponent) {
|
|
6321
6321
|
if (subComponent.asyncDep && !subComponent.asyncResolved) {
|
|
6322
6322
|
return subComponent;
|
|
@@ -8665,7 +8665,7 @@ function isMemoSame(cached, memo) {
|
|
|
8665
8665
|
return true;
|
|
8666
8666
|
}
|
|
8667
8667
|
|
|
8668
|
-
const version = "3.6.0-alpha.
|
|
8668
|
+
const version = "3.6.0-alpha.2";
|
|
8669
8669
|
const warn = warn$1 ;
|
|
8670
8670
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
8671
8671
|
const devtools = devtools$1 ;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/runtime-core v3.6.0-alpha.
|
|
2
|
+
* @vue/runtime-core v3.6.0-alpha.2
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -4980,7 +4980,7 @@ function traverseStaticChildren(n1, n2, shallow = false) {
|
|
|
4980
4980
|
}
|
|
4981
4981
|
}
|
|
4982
4982
|
function locateNonHydratedAsyncRoot(instance) {
|
|
4983
|
-
const subComponent = instance.subTree.component;
|
|
4983
|
+
const subComponent = instance.vapor ? null : instance.subTree.component;
|
|
4984
4984
|
if (subComponent) {
|
|
4985
4985
|
if (subComponent.asyncDep && !subComponent.asyncResolved) {
|
|
4986
4986
|
return subComponent;
|
|
@@ -6787,7 +6787,7 @@ function isMemoSame(cached, memo) {
|
|
|
6787
6787
|
return true;
|
|
6788
6788
|
}
|
|
6789
6789
|
|
|
6790
|
-
const version = "3.6.0-alpha.
|
|
6790
|
+
const version = "3.6.0-alpha.2";
|
|
6791
6791
|
const warn$1 = shared.NOOP;
|
|
6792
6792
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
6793
6793
|
const devtools = void 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/runtime-core v3.6.0-alpha.
|
|
2
|
+
* @vue/runtime-core v3.6.0-alpha.2
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -548,7 +548,7 @@ function reload(id, newComp) {
|
|
|
548
548
|
newComp = normalizeClassComponent(newComp);
|
|
549
549
|
updateComponentDef(record.initialDef, newComp);
|
|
550
550
|
const instances = [...record.instances];
|
|
551
|
-
if (newComp.
|
|
551
|
+
if (newComp.__vapor) {
|
|
552
552
|
for (const instance of instances) {
|
|
553
553
|
instance.hmrReload(newComp);
|
|
554
554
|
}
|
|
@@ -6387,7 +6387,7 @@ function traverseStaticChildren(n1, n2, shallow = false) {
|
|
|
6387
6387
|
}
|
|
6388
6388
|
}
|
|
6389
6389
|
function locateNonHydratedAsyncRoot(instance) {
|
|
6390
|
-
const subComponent = instance.subTree.component;
|
|
6390
|
+
const subComponent = instance.vapor ? null : instance.subTree.component;
|
|
6391
6391
|
if (subComponent) {
|
|
6392
6392
|
if (subComponent.asyncDep && !subComponent.asyncResolved) {
|
|
6393
6393
|
return subComponent;
|
|
@@ -8753,7 +8753,7 @@ function isMemoSame(cached, memo) {
|
|
|
8753
8753
|
return true;
|
|
8754
8754
|
}
|
|
8755
8755
|
|
|
8756
|
-
const version = "3.6.0-alpha.
|
|
8756
|
+
const version = "3.6.0-alpha.2";
|
|
8757
8757
|
const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
|
|
8758
8758
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
8759
8759
|
const devtools = !!(process.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/runtime-core",
|
|
3
|
-
"version": "3.6.0-alpha.
|
|
3
|
+
"version": "3.6.0-alpha.2",
|
|
4
4
|
"description": "@vue/runtime-core",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/runtime-core.esm-bundler.js",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-core#readme",
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@vue/shared": "3.6.0-alpha.
|
|
50
|
-
"@vue/reactivity": "3.6.0-alpha.
|
|
49
|
+
"@vue/shared": "3.6.0-alpha.2",
|
|
50
|
+
"@vue/reactivity": "3.6.0-alpha.2"
|
|
51
51
|
}
|
|
52
52
|
}
|