@vue/compat 3.5.32 → 3.5.33
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.cjs.js +41 -10
- package/dist/vue.cjs.prod.js +41 -10
- package/dist/vue.esm-browser.js +41 -10
- package/dist/vue.esm-browser.prod.js +5 -5
- package/dist/vue.esm-bundler.js +41 -10
- package/dist/vue.global.js +41 -10
- package/dist/vue.global.prod.js +5 -5
- package/dist/vue.runtime.esm-browser.js +41 -10
- package/dist/vue.runtime.esm-browser.prod.js +3 -3
- package/dist/vue.runtime.esm-bundler.js +41 -10
- package/dist/vue.runtime.global.js +41 -10
- package/dist/vue.runtime.global.prod.js +3 -3
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.5.
|
|
2
|
+
* @vue/compat v3.5.33
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -427,7 +427,18 @@ class EffectScope {
|
|
|
427
427
|
*/
|
|
428
428
|
off() {
|
|
429
429
|
if (this._on > 0 && --this._on === 0) {
|
|
430
|
-
activeEffectScope
|
|
430
|
+
if (activeEffectScope === this) {
|
|
431
|
+
activeEffectScope = this.prevScope;
|
|
432
|
+
} else {
|
|
433
|
+
let current = activeEffectScope;
|
|
434
|
+
while (current) {
|
|
435
|
+
if (current.prevScope === this) {
|
|
436
|
+
current.prevScope = this.prevScope;
|
|
437
|
+
break;
|
|
438
|
+
}
|
|
439
|
+
current = current.prevScope;
|
|
440
|
+
}
|
|
441
|
+
}
|
|
431
442
|
this.prevScope = void 0;
|
|
432
443
|
}
|
|
433
444
|
}
|
|
@@ -3696,7 +3707,7 @@ const TeleportImpl = {
|
|
|
3696
3707
|
mc: mountChildren,
|
|
3697
3708
|
pc: patchChildren,
|
|
3698
3709
|
pbc: patchBlockChildren,
|
|
3699
|
-
o: { insert, querySelector, createText, createComment }
|
|
3710
|
+
o: { insert, querySelector, createText, createComment, parentNode }
|
|
3700
3711
|
} = internals;
|
|
3701
3712
|
const disabled = isTeleportDisabled(n2.props);
|
|
3702
3713
|
let { dynamicChildren } = n2;
|
|
@@ -3744,7 +3755,8 @@ const TeleportImpl = {
|
|
|
3744
3755
|
if (pendingMounts.get(vnode) !== mountJob) return;
|
|
3745
3756
|
pendingMounts.delete(vnode);
|
|
3746
3757
|
if (isTeleportDisabled(vnode.props)) {
|
|
3747
|
-
|
|
3758
|
+
const mountContainer = parentNode(vnode.el) || container;
|
|
3759
|
+
mount(vnode, mountContainer, vnode.anchor);
|
|
3748
3760
|
updateCssVars(vnode, true);
|
|
3749
3761
|
}
|
|
3750
3762
|
mountToTarget(vnode);
|
|
@@ -3906,7 +3918,7 @@ function moveTeleport(vnode, container, parentAnchor, { o: { insert }, m: move }
|
|
|
3906
3918
|
if (isReorder) {
|
|
3907
3919
|
insert(el, container, parentAnchor);
|
|
3908
3920
|
}
|
|
3909
|
-
if (!isReorder || isTeleportDisabled(props)) {
|
|
3921
|
+
if (!pendingMounts.has(vnode) && (!isReorder || isTeleportDisabled(props))) {
|
|
3910
3922
|
if (shapeFlag & 16) {
|
|
3911
3923
|
for (let i = 0; i < children.length; i++) {
|
|
3912
3924
|
move(
|
|
@@ -4080,10 +4092,14 @@ const BaseTransitionImpl = {
|
|
|
4080
4092
|
const state = useTransitionState();
|
|
4081
4093
|
return () => {
|
|
4082
4094
|
const children = slots.default && getTransitionRawChildren(slots.default(), true);
|
|
4083
|
-
|
|
4095
|
+
const child = children && children.length ? findNonCommentChild(children) : (
|
|
4096
|
+
// Keep explicit default-slot conditionals on the same transition path
|
|
4097
|
+
// as regular v-if branches, which render a comment placeholder.
|
|
4098
|
+
instance.subTree ? createCommentVNode() : void 0
|
|
4099
|
+
);
|
|
4100
|
+
if (!child) {
|
|
4084
4101
|
return;
|
|
4085
4102
|
}
|
|
4086
|
-
const child = findNonCommentChild(children);
|
|
4087
4103
|
const rawProps = toRaw(props);
|
|
4088
4104
|
const { mode } = rawProps;
|
|
4089
4105
|
if (mode && mode !== "in-out" && mode !== "out-in" && mode !== "default") {
|
|
@@ -7448,7 +7464,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
7448
7464
|
return vm;
|
|
7449
7465
|
}
|
|
7450
7466
|
}
|
|
7451
|
-
Vue.version = `2.6.14-compat:${"3.5.
|
|
7467
|
+
Vue.version = `2.6.14-compat:${"3.5.33"}`;
|
|
7452
7468
|
Vue.config = singletonApp.config;
|
|
7453
7469
|
Vue.use = (plugin, ...options) => {
|
|
7454
7470
|
if (plugin && isFunction(plugin.install)) {
|
|
@@ -12564,7 +12580,7 @@ function isMemoSame(cached, memo) {
|
|
|
12564
12580
|
return true;
|
|
12565
12581
|
}
|
|
12566
12582
|
|
|
12567
|
-
const version = "3.5.
|
|
12583
|
+
const version = "3.5.33";
|
|
12568
12584
|
const warn = warn$1 ;
|
|
12569
12585
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
12570
12586
|
const devtools = devtools$1 ;
|
|
@@ -13155,7 +13171,19 @@ function patchStyle(el, prev, next) {
|
|
|
13155
13171
|
if (key === "display") {
|
|
13156
13172
|
hasControlledDisplay = true;
|
|
13157
13173
|
}
|
|
13158
|
-
|
|
13174
|
+
const value = next[key];
|
|
13175
|
+
if (value != null) {
|
|
13176
|
+
if (!shouldPreserveTextareaResizeStyle(
|
|
13177
|
+
el,
|
|
13178
|
+
key,
|
|
13179
|
+
!isString(prev) && prev ? prev[key] : void 0,
|
|
13180
|
+
value
|
|
13181
|
+
)) {
|
|
13182
|
+
setStyle(style, key, value);
|
|
13183
|
+
}
|
|
13184
|
+
} else {
|
|
13185
|
+
setStyle(style, key, "");
|
|
13186
|
+
}
|
|
13159
13187
|
}
|
|
13160
13188
|
} else {
|
|
13161
13189
|
if (isCssString) {
|
|
@@ -13228,6 +13256,9 @@ function autoPrefix(style, rawName) {
|
|
|
13228
13256
|
}
|
|
13229
13257
|
return rawName;
|
|
13230
13258
|
}
|
|
13259
|
+
function shouldPreserveTextareaResizeStyle(el, key, prev, next) {
|
|
13260
|
+
return el.tagName === "TEXTAREA" && (key === "width" || key === "height") && isString(next) && prev === next;
|
|
13261
|
+
}
|
|
13231
13262
|
|
|
13232
13263
|
const xlinkNS = "http://www.w3.org/1999/xlink";
|
|
13233
13264
|
function patchAttr(el, key, value, isSVG, instance, isBoolean = isSpecialBooleanAttr(key)) {
|