vue 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 +1 -1
- package/dist/vue.cjs.prod.js +1 -1
- package/dist/vue.esm-browser.js +40 -9
- package/dist/vue.esm-browser.prod.js +5 -5
- package/dist/vue.esm-bundler.js +1 -1
- package/dist/vue.global.js +40 -9
- package/dist/vue.global.prod.js +7 -7
- package/dist/vue.runtime.esm-browser.js +40 -9
- 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 +40 -9
- package/dist/vue.runtime.global.prod.js +3 -3
- package/package.json +7 -7
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.33
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -500,7 +500,18 @@ class EffectScope {
|
|
|
500
500
|
*/
|
|
501
501
|
off() {
|
|
502
502
|
if (this._on > 0 && --this._on === 0) {
|
|
503
|
-
activeEffectScope
|
|
503
|
+
if (activeEffectScope === this) {
|
|
504
|
+
activeEffectScope = this.prevScope;
|
|
505
|
+
} else {
|
|
506
|
+
let current = activeEffectScope;
|
|
507
|
+
while (current) {
|
|
508
|
+
if (current.prevScope === this) {
|
|
509
|
+
current.prevScope = this.prevScope;
|
|
510
|
+
break;
|
|
511
|
+
}
|
|
512
|
+
current = current.prevScope;
|
|
513
|
+
}
|
|
514
|
+
}
|
|
504
515
|
this.prevScope = void 0;
|
|
505
516
|
}
|
|
506
517
|
}
|
|
@@ -3300,7 +3311,7 @@ const TeleportImpl = {
|
|
|
3300
3311
|
mc: mountChildren,
|
|
3301
3312
|
pc: patchChildren,
|
|
3302
3313
|
pbc: patchBlockChildren,
|
|
3303
|
-
o: { insert, querySelector, createText, createComment }
|
|
3314
|
+
o: { insert, querySelector, createText, createComment, parentNode }
|
|
3304
3315
|
} = internals;
|
|
3305
3316
|
const disabled = isTeleportDisabled(n2.props);
|
|
3306
3317
|
let { dynamicChildren } = n2;
|
|
@@ -3348,7 +3359,8 @@ const TeleportImpl = {
|
|
|
3348
3359
|
if (pendingMounts.get(vnode) !== mountJob) return;
|
|
3349
3360
|
pendingMounts.delete(vnode);
|
|
3350
3361
|
if (isTeleportDisabled(vnode.props)) {
|
|
3351
|
-
|
|
3362
|
+
const mountContainer = parentNode(vnode.el) || container;
|
|
3363
|
+
mount(vnode, mountContainer, vnode.anchor);
|
|
3352
3364
|
updateCssVars(vnode, true);
|
|
3353
3365
|
}
|
|
3354
3366
|
mountToTarget(vnode);
|
|
@@ -3510,7 +3522,7 @@ function moveTeleport(vnode, container, parentAnchor, { o: { insert }, m: move }
|
|
|
3510
3522
|
if (isReorder) {
|
|
3511
3523
|
insert(el, container, parentAnchor);
|
|
3512
3524
|
}
|
|
3513
|
-
if (!isReorder || isTeleportDisabled(props)) {
|
|
3525
|
+
if (!pendingMounts.has(vnode) && (!isReorder || isTeleportDisabled(props))) {
|
|
3514
3526
|
if (shapeFlag & 16) {
|
|
3515
3527
|
for (let i = 0; i < children.length; i++) {
|
|
3516
3528
|
move(
|
|
@@ -3684,10 +3696,14 @@ const BaseTransitionImpl = {
|
|
|
3684
3696
|
const state = useTransitionState();
|
|
3685
3697
|
return () => {
|
|
3686
3698
|
const children = slots.default && getTransitionRawChildren(slots.default(), true);
|
|
3687
|
-
|
|
3699
|
+
const child = children && children.length ? findNonCommentChild(children) : (
|
|
3700
|
+
// Keep explicit default-slot conditionals on the same transition path
|
|
3701
|
+
// as regular v-if branches, which render a comment placeholder.
|
|
3702
|
+
instance.subTree ? createCommentVNode() : void 0
|
|
3703
|
+
);
|
|
3704
|
+
if (!child) {
|
|
3688
3705
|
return;
|
|
3689
3706
|
}
|
|
3690
|
-
const child = findNonCommentChild(children);
|
|
3691
3707
|
const rawProps = toRaw(props);
|
|
3692
3708
|
const { mode } = rawProps;
|
|
3693
3709
|
if (mode && mode !== "in-out" && mode !== "out-in" && mode !== "default") {
|
|
@@ -10867,7 +10883,7 @@ function isMemoSame(cached, memo) {
|
|
|
10867
10883
|
return true;
|
|
10868
10884
|
}
|
|
10869
10885
|
|
|
10870
|
-
const version = "3.5.
|
|
10886
|
+
const version = "3.5.33";
|
|
10871
10887
|
const warn = warn$1 ;
|
|
10872
10888
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
10873
10889
|
const devtools = devtools$1 ;
|
|
@@ -11414,7 +11430,19 @@ function patchStyle(el, prev, next) {
|
|
|
11414
11430
|
if (key === "display") {
|
|
11415
11431
|
hasControlledDisplay = true;
|
|
11416
11432
|
}
|
|
11417
|
-
|
|
11433
|
+
const value = next[key];
|
|
11434
|
+
if (value != null) {
|
|
11435
|
+
if (!shouldPreserveTextareaResizeStyle(
|
|
11436
|
+
el,
|
|
11437
|
+
key,
|
|
11438
|
+
!isString(prev) && prev ? prev[key] : void 0,
|
|
11439
|
+
value
|
|
11440
|
+
)) {
|
|
11441
|
+
setStyle(style, key, value);
|
|
11442
|
+
}
|
|
11443
|
+
} else {
|
|
11444
|
+
setStyle(style, key, "");
|
|
11445
|
+
}
|
|
11418
11446
|
}
|
|
11419
11447
|
} else {
|
|
11420
11448
|
if (isCssString) {
|
|
@@ -11487,6 +11515,9 @@ function autoPrefix(style, rawName) {
|
|
|
11487
11515
|
}
|
|
11488
11516
|
return rawName;
|
|
11489
11517
|
}
|
|
11518
|
+
function shouldPreserveTextareaResizeStyle(el, key, prev, next) {
|
|
11519
|
+
return el.tagName === "TEXTAREA" && (key === "width" || key === "height") && isString(next) && prev === next;
|
|
11520
|
+
}
|
|
11490
11521
|
|
|
11491
11522
|
const xlinkNS = "http://www.w3.org/1999/xlink";
|
|
11492
11523
|
function patchAttr(el, key, value, isSVG, instance, isBoolean = isSpecialBooleanAttr(key)) {
|