vue 2.7.16-beta.1 → 2.7.16-beta.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.common.dev.js +6 -7
- package/dist/vue.common.prod.js +3 -3
- package/dist/vue.esm.browser.js +6 -7
- package/dist/vue.esm.browser.min.js +3 -3
- package/dist/vue.esm.js +6 -7
- package/dist/vue.js +6 -7
- package/dist/vue.min.js +3 -3
- package/dist/vue.runtime.common.dev.js +6 -7
- package/dist/vue.runtime.common.prod.js +3 -3
- package/dist/vue.runtime.esm.js +6 -7
- package/dist/vue.runtime.js +6 -7
- package/dist/vue.runtime.min.js +3 -3
- package/package.json +3 -3
- package/packages/compiler-sfc/package.json +1 -1
- package/src/core/instance/render.ts +5 -6
- package/types/index.d.ts +7 -1
package/dist/vue.common.dev.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vue.js v2.7.16-beta.
|
|
2
|
+
* Vue.js v2.7.16-beta.2
|
|
3
3
|
* (c) 2014-2023 Evan You
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -2453,11 +2453,10 @@ function renderMixin(Vue) {
|
|
|
2453
2453
|
// to the data on the placeholder node.
|
|
2454
2454
|
vm.$vnode = _parentVnode;
|
|
2455
2455
|
// render self
|
|
2456
|
+
const prevInst = currentInstance;
|
|
2457
|
+
const prevRenderInst = currentRenderingInstance;
|
|
2456
2458
|
let vnode;
|
|
2457
2459
|
try {
|
|
2458
|
-
// There's no need to maintain a stack because all render fns are called
|
|
2459
|
-
// separately from one another. Nested component's render fns are called
|
|
2460
|
-
// when parent component is patched.
|
|
2461
2460
|
setCurrentInstance(vm);
|
|
2462
2461
|
currentRenderingInstance = vm;
|
|
2463
2462
|
vnode = render.call(vm._renderProxy, vm.$createElement);
|
|
@@ -2481,8 +2480,8 @@ function renderMixin(Vue) {
|
|
|
2481
2480
|
}
|
|
2482
2481
|
}
|
|
2483
2482
|
finally {
|
|
2484
|
-
currentRenderingInstance =
|
|
2485
|
-
setCurrentInstance();
|
|
2483
|
+
currentRenderingInstance = prevRenderInst;
|
|
2484
|
+
setCurrentInstance(prevInst);
|
|
2486
2485
|
}
|
|
2487
2486
|
// if the returned array contains only a single node, allow it
|
|
2488
2487
|
if (isArray(vnode) && vnode.length === 1) {
|
|
@@ -3950,7 +3949,7 @@ function onErrorCaptured(hook, target = currentInstance) {
|
|
|
3950
3949
|
/**
|
|
3951
3950
|
* Note: also update dist/vue.runtime.mjs when adding new exports to this file.
|
|
3952
3951
|
*/
|
|
3953
|
-
const version = '2.7.16-beta.
|
|
3952
|
+
const version = '2.7.16-beta.2';
|
|
3954
3953
|
/**
|
|
3955
3954
|
* @internal type is manually declared in <root>/types/v3-define-component.d.ts
|
|
3956
3955
|
*/
|