@vue/compat 3.4.33 → 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 +6 -6
- package/dist/vue.cjs.prod.js +6 -6
- package/dist/vue.esm-browser.js +6 -6
- package/dist/vue.esm-browser.prod.js +2 -2
- package/dist/vue.esm-bundler.js +6 -6
- package/dist/vue.global.js +6 -6
- package/dist/vue.global.prod.js +2 -2
- package/dist/vue.runtime.esm-browser.js +6 -6
- package/dist/vue.runtime.esm-browser.prod.js +2 -2
- package/dist/vue.runtime.esm-bundler.js +6 -6
- package/dist/vue.runtime.global.js +6 -6
- package/dist/vue.runtime.global.prod.js +2 -2
- package/package.json +2 -2
package/dist/vue.esm-bundler.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.4.
|
|
2
|
+
* @vue/compat v3.4.34
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -5261,7 +5261,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
5261
5261
|
return vm;
|
|
5262
5262
|
}
|
|
5263
5263
|
}
|
|
5264
|
-
Vue.version = `2.6.14-compat:${"3.4.
|
|
5264
|
+
Vue.version = `2.6.14-compat:${"3.4.34"}`;
|
|
5265
5265
|
Vue.config = singletonApp.config;
|
|
5266
5266
|
Vue.use = (plugin, ...options) => {
|
|
5267
5267
|
if (plugin && isFunction(plugin.install)) {
|
|
@@ -9306,7 +9306,7 @@ function useModel(props, name, options = EMPTY_OBJ) {
|
|
|
9306
9306
|
const modifiers = getModelModifiers(props, name);
|
|
9307
9307
|
const res = customRef((track, trigger) => {
|
|
9308
9308
|
let localValue;
|
|
9309
|
-
let prevSetValue;
|
|
9309
|
+
let prevSetValue = EMPTY_OBJ;
|
|
9310
9310
|
let prevEmittedValue;
|
|
9311
9311
|
watchSyncEffect(() => {
|
|
9312
9312
|
const propValue = props[name];
|
|
@@ -9321,7 +9321,7 @@ function useModel(props, name, options = EMPTY_OBJ) {
|
|
|
9321
9321
|
return options.get ? options.get(localValue) : localValue;
|
|
9322
9322
|
},
|
|
9323
9323
|
set(value) {
|
|
9324
|
-
if (!hasChanged(value, localValue)) {
|
|
9324
|
+
if (!hasChanged(value, localValue) && !(prevSetValue !== EMPTY_OBJ && hasChanged(value, prevSetValue))) {
|
|
9325
9325
|
return;
|
|
9326
9326
|
}
|
|
9327
9327
|
const rawProps = i.vnode.props;
|
|
@@ -9332,7 +9332,7 @@ function useModel(props, name, options = EMPTY_OBJ) {
|
|
|
9332
9332
|
}
|
|
9333
9333
|
const emittedValue = options.set ? options.set(value) : value;
|
|
9334
9334
|
i.emit(`update:${name}`, emittedValue);
|
|
9335
|
-
if (value
|
|
9335
|
+
if (hasChanged(value, emittedValue) && hasChanged(value, prevSetValue) && !hasChanged(emittedValue, prevEmittedValue)) {
|
|
9336
9336
|
trigger();
|
|
9337
9337
|
}
|
|
9338
9338
|
prevSetValue = value;
|
|
@@ -11531,7 +11531,7 @@ function isMemoSame(cached, memo) {
|
|
|
11531
11531
|
return true;
|
|
11532
11532
|
}
|
|
11533
11533
|
|
|
11534
|
-
const version = "3.4.
|
|
11534
|
+
const version = "3.4.34";
|
|
11535
11535
|
const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
|
|
11536
11536
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
11537
11537
|
const devtools = !!(process.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
|
package/dist/vue.global.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.4.
|
|
2
|
+
* @vue/compat v3.4.34
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -5249,7 +5249,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
5249
5249
|
return vm;
|
|
5250
5250
|
}
|
|
5251
5251
|
}
|
|
5252
|
-
Vue.version = `2.6.14-compat:${"3.4.
|
|
5252
|
+
Vue.version = `2.6.14-compat:${"3.4.34"}`;
|
|
5253
5253
|
Vue.config = singletonApp.config;
|
|
5254
5254
|
Vue.use = (plugin, ...options) => {
|
|
5255
5255
|
if (plugin && isFunction(plugin.install)) {
|
|
@@ -9217,7 +9217,7 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
9217
9217
|
const modifiers = getModelModifiers(props, name);
|
|
9218
9218
|
const res = customRef((track, trigger) => {
|
|
9219
9219
|
let localValue;
|
|
9220
|
-
let prevSetValue;
|
|
9220
|
+
let prevSetValue = EMPTY_OBJ;
|
|
9221
9221
|
let prevEmittedValue;
|
|
9222
9222
|
watchSyncEffect(() => {
|
|
9223
9223
|
const propValue = props[name];
|
|
@@ -9232,7 +9232,7 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
9232
9232
|
return options.get ? options.get(localValue) : localValue;
|
|
9233
9233
|
},
|
|
9234
9234
|
set(value) {
|
|
9235
|
-
if (!hasChanged(value, localValue)) {
|
|
9235
|
+
if (!hasChanged(value, localValue) && !(prevSetValue !== EMPTY_OBJ && hasChanged(value, prevSetValue))) {
|
|
9236
9236
|
return;
|
|
9237
9237
|
}
|
|
9238
9238
|
const rawProps = i.vnode.props;
|
|
@@ -9243,7 +9243,7 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
9243
9243
|
}
|
|
9244
9244
|
const emittedValue = options.set ? options.set(value) : value;
|
|
9245
9245
|
i.emit(`update:${name}`, emittedValue);
|
|
9246
|
-
if (value
|
|
9246
|
+
if (hasChanged(value, emittedValue) && hasChanged(value, prevSetValue) && !hasChanged(emittedValue, prevEmittedValue)) {
|
|
9247
9247
|
trigger();
|
|
9248
9248
|
}
|
|
9249
9249
|
prevSetValue = value;
|
|
@@ -11414,7 +11414,7 @@ Component that was made reactive: `,
|
|
|
11414
11414
|
return true;
|
|
11415
11415
|
}
|
|
11416
11416
|
|
|
11417
|
-
const version = "3.4.
|
|
11417
|
+
const version = "3.4.34";
|
|
11418
11418
|
const warn = warn$1 ;
|
|
11419
11419
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
11420
11420
|
const devtools = devtools$1 ;
|