vue 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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * vue v3.4.33
2
+ * vue v3.4.34
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -1,5 +1,5 @@
1
1
  /**
2
- * vue v3.4.33
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 !== emittedValue && value !== prevSetValue && emittedValue === prevEmittedValue) {
7598
+ if (hasChanged(value, emittedValue) && hasChanged(value, prevSetValue) && !hasChanged(emittedValue, prevEmittedValue)) {
7599
7599
  trigger();
7600
7600
  }
7601
7601
  prevSetValue = value;
@@ -9659,7 +9659,7 @@ Component that was made reactive: `,
9659
9659
  return true;
9660
9660
  }
9661
9661
 
9662
- const version = "3.4.33";
9662
+ const version = "3.4.34";
9663
9663
  const warn = warn$1 ;
9664
9664
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
9665
9665
  const devtools = devtools$1 ;