@vue/server-renderer 3.4.26 → 3.5.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/server-renderer v3.
|
|
2
|
+
* @vue/server-renderer v3.5.0-alpha.2
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -188,7 +188,7 @@ function toRaw(observed) {
|
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
function isRef(r) {
|
|
191
|
-
return
|
|
191
|
+
return r ? r.__v_isRef === true : false;
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
const stack = [];
|
|
@@ -326,7 +326,8 @@ const ErrorTypeStrings = {
|
|
|
326
326
|
[11]: "app warnHandler",
|
|
327
327
|
[12]: "ref function",
|
|
328
328
|
[13]: "async component loader",
|
|
329
|
-
[14]: "scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."
|
|
329
|
+
[14]: "scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core .",
|
|
330
|
+
[15]: "app unmount cleanup function"
|
|
330
331
|
};
|
|
331
332
|
function callWithErrorHandling(fn, instance, type, args) {
|
|
332
333
|
try {
|
|
@@ -658,12 +659,6 @@ function renderComponentSubTree(instance, slotScopeId) {
|
|
|
658
659
|
if ((!instance.render || instance.render === shared.NOOP) && !instance.ssrRender && !comp.ssrRender && shared.isString(comp.template)) {
|
|
659
660
|
comp.ssrRender = ssrCompile(comp.template, instance);
|
|
660
661
|
}
|
|
661
|
-
for (const e of instance.scope.effects) {
|
|
662
|
-
if (e.computed) {
|
|
663
|
-
e.computed._dirty = true;
|
|
664
|
-
e.computed._cacheable = true;
|
|
665
|
-
}
|
|
666
|
-
}
|
|
667
662
|
const ssrRender = instance.ssrRender || comp.ssrRender;
|
|
668
663
|
if (ssrRender) {
|
|
669
664
|
let attrs = instance.inheritAttrs !== false ? instance.attrs : void 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/server-renderer v3.
|
|
2
|
+
* @vue/server-renderer v3.5.0-alpha.2
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -393,12 +393,6 @@ function renderComponentSubTree(instance, slotScopeId) {
|
|
|
393
393
|
if ((!instance.render || instance.render === shared.NOOP) && !instance.ssrRender && !comp.ssrRender && shared.isString(comp.template)) {
|
|
394
394
|
comp.ssrRender = ssrCompile(comp.template, instance);
|
|
395
395
|
}
|
|
396
|
-
for (const e of instance.scope.effects) {
|
|
397
|
-
if (e.computed) {
|
|
398
|
-
e.computed._dirty = true;
|
|
399
|
-
e.computed._cacheable = true;
|
|
400
|
-
}
|
|
401
|
-
}
|
|
402
396
|
const ssrRender = instance.ssrRender || comp.ssrRender;
|
|
403
397
|
if (ssrRender) {
|
|
404
398
|
let attrs = instance.inheritAttrs !== false ? instance.attrs : void 0;
|