vue 3.4.32 → 3.4.34
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 +10 -11
- package/dist/vue.esm-browser.prod.js +2 -2
- package/dist/vue.esm-bundler.js +1 -1
- package/dist/vue.global.js +10 -11
- package/dist/vue.global.prod.js +3 -3
- package/dist/vue.runtime.esm-browser.js +10 -11
- package/dist/vue.runtime.esm-browser.prod.js +2 -2
- package/dist/vue.runtime.esm-bundler.js +1 -1
- package/dist/vue.runtime.global.js +10 -11
- package/dist/vue.runtime.global.prod.js +2 -2
- package/package.json +6 -6
package/dist/vue.esm-bundler.js
CHANGED
package/dist/vue.global.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* vue v3.4.
|
|
2
|
+
* vue v3.4.34
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -7569,7 +7569,7 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
7569
7569
|
const modifiers = getModelModifiers(props, name);
|
|
7570
7570
|
const res = customRef((track, trigger) => {
|
|
7571
7571
|
let localValue;
|
|
7572
|
-
let prevSetValue;
|
|
7572
|
+
let prevSetValue = EMPTY_OBJ;
|
|
7573
7573
|
let prevEmittedValue;
|
|
7574
7574
|
watchSyncEffect(() => {
|
|
7575
7575
|
const propValue = props[name];
|
|
@@ -7584,7 +7584,7 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
7584
7584
|
return options.get ? options.get(localValue) : localValue;
|
|
7585
7585
|
},
|
|
7586
7586
|
set(value) {
|
|
7587
|
-
if (!hasChanged(value, localValue)) {
|
|
7587
|
+
if (!hasChanged(value, localValue) && !(prevSetValue !== EMPTY_OBJ && hasChanged(value, prevSetValue))) {
|
|
7588
7588
|
return;
|
|
7589
7589
|
}
|
|
7590
7590
|
const rawProps = i.vnode.props;
|
|
@@ -7595,7 +7595,7 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
7595
7595
|
}
|
|
7596
7596
|
const emittedValue = options.set ? options.set(value) : value;
|
|
7597
7597
|
i.emit(`update:${name}`, emittedValue);
|
|
7598
|
-
if (value
|
|
7598
|
+
if (hasChanged(value, emittedValue) && hasChanged(value, prevSetValue) && !hasChanged(emittedValue, prevEmittedValue)) {
|
|
7599
7599
|
trigger();
|
|
7600
7600
|
}
|
|
7601
7601
|
prevSetValue = value;
|
|
@@ -9071,8 +9071,6 @@ Component that was made reactive: `,
|
|
|
9071
9071
|
refs: EMPTY_OBJ,
|
|
9072
9072
|
setupState: EMPTY_OBJ,
|
|
9073
9073
|
setupContext: null,
|
|
9074
|
-
attrsProxy: null,
|
|
9075
|
-
slotsProxy: null,
|
|
9076
9074
|
// suspense related
|
|
9077
9075
|
suspense,
|
|
9078
9076
|
suspenseId: suspense ? suspense.pendingId : 0,
|
|
@@ -9329,12 +9327,12 @@ Component that was made reactive: `,
|
|
|
9329
9327
|
}
|
|
9330
9328
|
} ;
|
|
9331
9329
|
function getSlotsProxy(instance) {
|
|
9332
|
-
return
|
|
9330
|
+
return new Proxy(instance.slots, {
|
|
9333
9331
|
get(target, key) {
|
|
9334
9332
|
track(instance, "get", "$slots");
|
|
9335
9333
|
return target[key];
|
|
9336
9334
|
}
|
|
9337
|
-
})
|
|
9335
|
+
});
|
|
9338
9336
|
}
|
|
9339
9337
|
function createSetupContext(instance) {
|
|
9340
9338
|
const expose = (exposed) => {
|
|
@@ -9362,12 +9360,13 @@ Component that was made reactive: `,
|
|
|
9362
9360
|
};
|
|
9363
9361
|
{
|
|
9364
9362
|
let attrsProxy;
|
|
9363
|
+
let slotsProxy;
|
|
9365
9364
|
return Object.freeze({
|
|
9366
9365
|
get attrs() {
|
|
9367
9366
|
return attrsProxy || (attrsProxy = new Proxy(instance.attrs, attrsProxyHandlers));
|
|
9368
9367
|
},
|
|
9369
9368
|
get slots() {
|
|
9370
|
-
return getSlotsProxy(instance);
|
|
9369
|
+
return slotsProxy || (slotsProxy = getSlotsProxy(instance));
|
|
9371
9370
|
},
|
|
9372
9371
|
get emit() {
|
|
9373
9372
|
return (event, ...args) => instance.emit(event, ...args);
|
|
@@ -9660,7 +9659,7 @@ Component that was made reactive: `,
|
|
|
9660
9659
|
return true;
|
|
9661
9660
|
}
|
|
9662
9661
|
|
|
9663
|
-
const version = "3.4.
|
|
9662
|
+
const version = "3.4.34";
|
|
9664
9663
|
const warn = warn$1 ;
|
|
9665
9664
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
9666
9665
|
const devtools = devtools$1 ;
|
|
@@ -10250,7 +10249,7 @@ Component that was made reactive: `,
|
|
|
10250
10249
|
|
|
10251
10250
|
function patchDOMProp(el, key, value, parentComponent) {
|
|
10252
10251
|
if (key === "innerHTML" || key === "textContent") {
|
|
10253
|
-
if (value
|
|
10252
|
+
if (value == null) return;
|
|
10254
10253
|
el[key] = value;
|
|
10255
10254
|
return;
|
|
10256
10255
|
}
|