@vue/server-renderer
Advanced tools
Comparing version 3.5.2 to 3.5.3
/** | ||
* @vue/server-renderer v3.5.2 | ||
* @vue/server-renderer v3.5.3 | ||
* (c) 2018-present Yuxi (Evan) You and Vue contributors | ||
@@ -207,6 +207,6 @@ * @license MIT | ||
const stack = []; | ||
function pushWarningContext(vnode) { | ||
function pushWarningContext$1(vnode) { | ||
stack.push(vnode); | ||
} | ||
function popWarningContext() { | ||
function popWarningContext$1() { | ||
stack.pop(); | ||
@@ -391,7 +391,7 @@ } | ||
if (contextVNode) { | ||
pushWarningContext(contextVNode); | ||
pushWarningContext$1(contextVNode); | ||
} | ||
warn$1(`Unhandled error${info ? ` during execution of ${info}` : ``}`); | ||
if (contextVNode) { | ||
popWarningContext(); | ||
popWarningContext$1(); | ||
} | ||
@@ -615,3 +615,5 @@ if (throwInDev) { | ||
renderComponentRoot, | ||
normalizeVNode | ||
normalizeVNode, | ||
pushWarningContext, | ||
popWarningContext | ||
} = Vue.ssrUtils; | ||
@@ -640,3 +642,8 @@ function createBuffer() { | ||
function renderComponentVNode(vnode, parentComponent = null, slotScopeId) { | ||
const instance = createComponentInstance(vnode, parentComponent, null); | ||
const instance = vnode.component = createComponentInstance( | ||
vnode, | ||
parentComponent, | ||
null | ||
); | ||
pushWarningContext(vnode); | ||
const res = setupComponent( | ||
@@ -647,2 +654,3 @@ instance, | ||
); | ||
popWarningContext(); | ||
const hasAsyncSetup = shared.isPromise(res); | ||
@@ -665,2 +673,3 @@ let prefetches = instance.sp; | ||
function renderComponentSubTree(instance, slotScopeId) { | ||
pushWarningContext(instance.vnode); | ||
const comp = instance.type; | ||
@@ -739,2 +748,3 @@ const { getBuffer, push } = createBuffer(); | ||
} | ||
popWarningContext(); | ||
return getBuffer(); | ||
@@ -741,0 +751,0 @@ } |
/** | ||
* @vue/server-renderer v3.5.2 | ||
* @vue/server-renderer v3.5.3 | ||
* (c) 2018-present Yuxi (Evan) You and Vue contributors | ||
@@ -345,3 +345,5 @@ * @license MIT | ||
renderComponentRoot, | ||
normalizeVNode | ||
normalizeVNode, | ||
pushWarningContext, | ||
popWarningContext | ||
} = Vue.ssrUtils; | ||
@@ -370,3 +372,7 @@ function createBuffer() { | ||
function renderComponentVNode(vnode, parentComponent = null, slotScopeId) { | ||
const instance = createComponentInstance(vnode, parentComponent, null); | ||
const instance = vnode.component = createComponentInstance( | ||
vnode, | ||
parentComponent, | ||
null | ||
); | ||
const res = setupComponent( | ||
@@ -373,0 +379,0 @@ instance, |
/** | ||
* @vue/server-renderer v3.5.2 | ||
* @vue/server-renderer v3.5.3 | ||
* (c) 2018-present Yuxi (Evan) You and Vue contributors | ||
@@ -313,6 +313,6 @@ * @license MIT | ||
const stack = []; | ||
function pushWarningContext(vnode) { | ||
function pushWarningContext$1(vnode) { | ||
stack.push(vnode); | ||
} | ||
function popWarningContext() { | ||
function popWarningContext$1() { | ||
stack.pop(); | ||
@@ -501,7 +501,7 @@ } | ||
if (contextVNode) { | ||
pushWarningContext(contextVNode); | ||
pushWarningContext$1(contextVNode); | ||
} | ||
warn$1(`Unhandled error${info ? ` during execution of ${info}` : ``}`); | ||
if (contextVNode) { | ||
popWarningContext(); | ||
popWarningContext$1(); | ||
} | ||
@@ -717,3 +717,5 @@ if (throwInDev) { | ||
renderComponentRoot, | ||
normalizeVNode | ||
normalizeVNode, | ||
pushWarningContext, | ||
popWarningContext | ||
} = ssrUtils; | ||
@@ -742,3 +744,8 @@ function createBuffer() { | ||
function renderComponentVNode(vnode, parentComponent = null, slotScopeId) { | ||
const instance = createComponentInstance(vnode, parentComponent, null); | ||
const instance = vnode.component = createComponentInstance( | ||
vnode, | ||
parentComponent, | ||
null | ||
); | ||
if (!!(process.env.NODE_ENV !== "production")) pushWarningContext(vnode); | ||
const res = setupComponent( | ||
@@ -749,2 +756,3 @@ instance, | ||
); | ||
if (!!(process.env.NODE_ENV !== "production")) popWarningContext(); | ||
const hasAsyncSetup = isPromise(res); | ||
@@ -767,2 +775,3 @@ let prefetches = instance.sp; | ||
function renderComponentSubTree(instance, slotScopeId) { | ||
if (!!(process.env.NODE_ENV !== "production")) pushWarningContext(instance.vnode); | ||
const comp = instance.type; | ||
@@ -841,2 +850,3 @@ const { getBuffer, push } = createBuffer(); | ||
} | ||
if (!!(process.env.NODE_ENV !== "production")) popWarningContext(); | ||
return getBuffer(); | ||
@@ -843,0 +853,0 @@ } |
{ | ||
"name": "@vue/server-renderer", | ||
"version": "3.5.2", | ||
"version": "3.5.3", | ||
"description": "@vue/server-renderer", | ||
@@ -49,8 +49,8 @@ "main": "index.js", | ||
"peerDependencies": { | ||
"vue": "3.5.2" | ||
"vue": "3.5.3" | ||
}, | ||
"dependencies": { | ||
"@vue/shared": "3.5.2", | ||
"@vue/compiler-ssr": "3.5.2" | ||
"@vue/shared": "3.5.3", | ||
"@vue/compiler-ssr": "3.5.3" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
418322
11938
19
+ Added@vue/compiler-core@3.5.3(transitive)
+ Added@vue/compiler-dom@3.5.3(transitive)
+ Added@vue/compiler-sfc@3.5.3(transitive)
+ Added@vue/compiler-ssr@3.5.3(transitive)
+ Added@vue/reactivity@3.5.3(transitive)
+ Added@vue/runtime-core@3.5.3(transitive)
+ Added@vue/runtime-dom@3.5.3(transitive)
+ Added@vue/shared@3.5.3(transitive)
+ Addedvue@3.5.3(transitive)
- Removed@vue/compiler-core@3.5.2(transitive)
- Removed@vue/compiler-dom@3.5.2(transitive)
- Removed@vue/compiler-sfc@3.5.2(transitive)
- Removed@vue/compiler-ssr@3.5.2(transitive)
- Removed@vue/reactivity@3.5.2(transitive)
- Removed@vue/runtime-core@3.5.2(transitive)
- Removed@vue/runtime-dom@3.5.2(transitive)
- Removed@vue/shared@3.5.2(transitive)
- Removedvue@3.5.2(transitive)
Updated@vue/compiler-ssr@3.5.3
Updated@vue/shared@3.5.3