vue 3.5.28 → 3.5.29
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/README.md +1 -1
- package/dist/vue.cjs.js +1 -1
- package/dist/vue.cjs.prod.js +1 -1
- package/dist/vue.esm-browser.js +15 -3
- package/dist/vue.esm-browser.prod.js +5 -5
- package/dist/vue.esm-bundler.js +1 -1
- package/dist/vue.global.js +15 -3
- package/dist/vue.global.prod.js +4 -4
- package/dist/vue.runtime.esm-browser.js +15 -3
- package/dist/vue.runtime.esm-browser.prod.js +3 -3
- package/dist/vue.runtime.esm-bundler.js +1 -1
- package/dist/vue.runtime.global.js +15 -3
- package/dist/vue.runtime.global.prod.js +3 -3
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- **`vue(.runtime).global(.prod).js`**:
|
|
8
8
|
- For direct use via `<script src="...">` in the browser. Exposes the `Vue` global.
|
|
9
|
-
- Note that global builds are not [UMD](https://github.com/umdjs/umd) builds. They are built as [IIFEs](https://developer.mozilla.org/en-US/docs/Glossary/IIFE) and
|
|
9
|
+
- Note that global builds are not [UMD](https://github.com/umdjs/umd) builds. They are built as [IIFEs](https://developer.mozilla.org/en-US/docs/Glossary/IIFE) and are only meant for direct use via `<script src="...">`.
|
|
10
10
|
- In-browser template compilation:
|
|
11
11
|
- **`vue.global.js`** is the "full" build that includes both the compiler and the runtime so it supports compiling templates on the fly.
|
|
12
12
|
- **`vue.runtime.global.js`** contains only the runtime and requires templates to be pre-compiled during a build step.
|
package/dist/vue.cjs.js
CHANGED
package/dist/vue.cjs.prod.js
CHANGED
package/dist/vue.esm-browser.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* vue v3.5.
|
|
2
|
+
* vue v3.5.29
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -3834,6 +3834,7 @@ function resolveTransitionHooks(vnode, props, state, instance, postClone) {
|
|
|
3834
3834
|
callHook(hook, [el]);
|
|
3835
3835
|
},
|
|
3836
3836
|
enter(el) {
|
|
3837
|
+
if (leavingVNodesCache[key] === vnode) return;
|
|
3837
3838
|
let hook = onEnter;
|
|
3838
3839
|
let afterHook = onAfterEnter;
|
|
3839
3840
|
let cancelHook = onEnterCancelled;
|
|
@@ -5933,13 +5934,24 @@ function withAsyncContext(getAwaitable) {
|
|
|
5933
5934
|
}
|
|
5934
5935
|
let awaitable = getAwaitable();
|
|
5935
5936
|
unsetCurrentInstance();
|
|
5937
|
+
const cleanup = () => {
|
|
5938
|
+
if (getCurrentInstance() !== ctx) ctx.scope.off();
|
|
5939
|
+
unsetCurrentInstance();
|
|
5940
|
+
};
|
|
5936
5941
|
if (isPromise(awaitable)) {
|
|
5937
5942
|
awaitable = awaitable.catch((e) => {
|
|
5938
5943
|
setCurrentInstance(ctx);
|
|
5944
|
+
Promise.resolve().then(() => Promise.resolve().then(cleanup));
|
|
5939
5945
|
throw e;
|
|
5940
5946
|
});
|
|
5941
5947
|
}
|
|
5942
|
-
return [
|
|
5948
|
+
return [
|
|
5949
|
+
awaitable,
|
|
5950
|
+
() => {
|
|
5951
|
+
setCurrentInstance(ctx);
|
|
5952
|
+
Promise.resolve().then(cleanup);
|
|
5953
|
+
}
|
|
5954
|
+
];
|
|
5943
5955
|
}
|
|
5944
5956
|
|
|
5945
5957
|
function createDuplicateChecker() {
|
|
@@ -10793,7 +10805,7 @@ function isMemoSame(cached, memo) {
|
|
|
10793
10805
|
return true;
|
|
10794
10806
|
}
|
|
10795
10807
|
|
|
10796
|
-
const version = "3.5.
|
|
10808
|
+
const version = "3.5.29";
|
|
10797
10809
|
const warn = warn$1 ;
|
|
10798
10810
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
10799
10811
|
const devtools = devtools$1 ;
|