vue 3.2.35 → 3.2.36
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.esm-browser.js +13 -6
- package/dist/vue.esm-browser.prod.js +1 -1
- package/dist/vue.global.js +13 -6
- package/dist/vue.global.prod.js +1 -1
- package/dist/vue.runtime.esm-browser.js +5 -6
- package/dist/vue.runtime.esm-browser.prod.js +1 -1
- package/dist/vue.runtime.global.js +5 -6
- package/dist/vue.runtime.global.prod.js +1 -1
- package/package.json +6 -6
package/dist/vue.global.js
CHANGED
|
@@ -9262,7 +9262,7 @@ var Vue = (function (exports) {
|
|
|
9262
9262
|
}
|
|
9263
9263
|
|
|
9264
9264
|
// Core API ------------------------------------------------------------------
|
|
9265
|
-
const version = "3.2.
|
|
9265
|
+
const version = "3.2.36";
|
|
9266
9266
|
/**
|
|
9267
9267
|
* SSR utils for \@vue/server-renderer. Only exposed in cjs builds.
|
|
9268
9268
|
* @internal
|
|
@@ -9573,7 +9573,7 @@ var Vue = (function (exports) {
|
|
|
9573
9573
|
// if the low-res timestamp which is bigger than the event timestamp
|
|
9574
9574
|
// (which is evaluated AFTER) it means the event is using a hi-res timestamp,
|
|
9575
9575
|
// and we need to use the hi-res version for event listeners as well.
|
|
9576
|
-
_getNow =
|
|
9576
|
+
_getNow = performance.now.bind(performance);
|
|
9577
9577
|
}
|
|
9578
9578
|
// #3485: Firefox <= 53 has incorrect Event.timeStamp implementation
|
|
9579
9579
|
// and does not fire microtasks in between event propagation, so safe to exclude.
|
|
@@ -10091,9 +10091,8 @@ var Vue = (function (exports) {
|
|
|
10091
10091
|
removeTransitionClass(el, isAppear ? appearActiveClass : enterActiveClass);
|
|
10092
10092
|
done && done();
|
|
10093
10093
|
};
|
|
10094
|
-
let isLeaving = false;
|
|
10095
10094
|
const finishLeave = (el, done) => {
|
|
10096
|
-
|
|
10095
|
+
el._isLeaving = false;
|
|
10097
10096
|
removeTransitionClass(el, leaveFromClass);
|
|
10098
10097
|
removeTransitionClass(el, leaveToClass);
|
|
10099
10098
|
removeTransitionClass(el, leaveActiveClass);
|
|
@@ -10127,14 +10126,14 @@ var Vue = (function (exports) {
|
|
|
10127
10126
|
onEnter: makeEnterHook(false),
|
|
10128
10127
|
onAppear: makeEnterHook(true),
|
|
10129
10128
|
onLeave(el, done) {
|
|
10130
|
-
|
|
10129
|
+
el._isLeaving = true;
|
|
10131
10130
|
const resolve = () => finishLeave(el, done);
|
|
10132
10131
|
addTransitionClass(el, leaveFromClass);
|
|
10133
10132
|
// force reflow so *-leave-from classes immediately take effect (#2593)
|
|
10134
10133
|
forceReflow();
|
|
10135
10134
|
addTransitionClass(el, leaveActiveClass);
|
|
10136
10135
|
nextFrame(() => {
|
|
10137
|
-
if (!
|
|
10136
|
+
if (!el._isLeaving) {
|
|
10138
10137
|
// cancelled
|
|
10139
10138
|
return;
|
|
10140
10139
|
}
|
|
@@ -12541,6 +12540,14 @@ var Vue = (function (exports) {
|
|
|
12541
12540
|
// static then they don't need to be blocks since there will be no
|
|
12542
12541
|
// nested updates.
|
|
12543
12542
|
if (codegenNode.isBlock) {
|
|
12543
|
+
// except set custom directives.
|
|
12544
|
+
for (let i = 0; i < node.props.length; i++) {
|
|
12545
|
+
const p = node.props[i];
|
|
12546
|
+
if (p.type === 7 /* DIRECTIVE */) {
|
|
12547
|
+
constantCache.set(node, 0 /* NOT_CONSTANT */);
|
|
12548
|
+
return 0 /* NOT_CONSTANT */;
|
|
12549
|
+
}
|
|
12550
|
+
}
|
|
12544
12551
|
context.removeHelper(OPEN_BLOCK);
|
|
12545
12552
|
context.removeHelper(getVNodeBlockHelper(context.inSSR, codegenNode.isComponent));
|
|
12546
12553
|
codegenNode.isBlock = false;
|