@vue/compat 3.4.9 → 3.4.10

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 CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compat v3.4.9
2
+ * @vue/compat v3.4.10
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -6558,7 +6558,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
6558
6558
  return vm;
6559
6559
  }
6560
6560
  }
6561
- Vue.version = `2.6.14-compat:${"3.4.9"}`;
6561
+ Vue.version = `2.6.14-compat:${"3.4.10"}`;
6562
6562
  Vue.config = singletonApp.config;
6563
6563
  Vue.use = (p, ...options) => {
6564
6564
  if (p && isFunction(p.install)) {
@@ -8311,15 +8311,11 @@ function propHasMismatch(el, key, clientValue, vnode) {
8311
8311
  } else {
8312
8312
  if (el.hasAttribute(key)) {
8313
8313
  actual = el.getAttribute(key);
8314
- } else if (key in el) {
8314
+ } else {
8315
8315
  const serverValue = el[key];
8316
- if (!isObject(serverValue)) {
8317
- actual = serverValue == null ? "" : String(serverValue);
8318
- }
8319
- }
8320
- if (!isObject(clientValue)) {
8321
- expected = clientValue == null ? "" : String(clientValue);
8316
+ actual = isObject(serverValue) || serverValue == null ? "" : String(serverValue);
8322
8317
  }
8318
+ expected = isObject(clientValue) || clientValue == null ? "" : String(clientValue);
8323
8319
  }
8324
8320
  if (actual !== expected) {
8325
8321
  mismatchType = `attribute`;
@@ -11391,7 +11387,7 @@ function isMemoSame(cached, memo) {
11391
11387
  return true;
11392
11388
  }
11393
11389
 
11394
- const version = "3.4.9";
11390
+ const version = "3.4.10";
11395
11391
  const warn = warn$1 ;
11396
11392
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
11397
11393
  const devtools = devtools$1 ;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compat v3.4.9
2
+ * @vue/compat v3.4.10
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -5247,7 +5247,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
5247
5247
  return vm;
5248
5248
  }
5249
5249
  }
5250
- Vue.version = `2.6.14-compat:${"3.4.9"}`;
5250
+ Vue.version = `2.6.14-compat:${"3.4.10"}`;
5251
5251
  Vue.config = singletonApp.config;
5252
5252
  Vue.use = (p, ...options) => {
5253
5253
  if (p && isFunction(p.install)) {
@@ -9106,7 +9106,7 @@ function isMemoSame(cached, memo) {
9106
9106
  return true;
9107
9107
  }
9108
9108
 
9109
- const version = "3.4.9";
9109
+ const version = "3.4.10";
9110
9110
  const warn$1 = NOOP;
9111
9111
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
9112
9112
  const devtools = void 0;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compat v3.4.9
2
+ * @vue/compat v3.4.10
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -6480,7 +6480,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
6480
6480
  return vm;
6481
6481
  }
6482
6482
  }
6483
- Vue.version = `2.6.14-compat:${"3.4.9"}`;
6483
+ Vue.version = `2.6.14-compat:${"3.4.10"}`;
6484
6484
  Vue.config = singletonApp.config;
6485
6485
  Vue.use = (p, ...options) => {
6486
6486
  if (p && isFunction(p.install)) {
@@ -8233,15 +8233,11 @@ function propHasMismatch(el, key, clientValue, vnode) {
8233
8233
  } else {
8234
8234
  if (el.hasAttribute(key)) {
8235
8235
  actual = el.getAttribute(key);
8236
- } else if (key in el) {
8236
+ } else {
8237
8237
  const serverValue = el[key];
8238
- if (!isObject(serverValue)) {
8239
- actual = serverValue == null ? "" : String(serverValue);
8240
- }
8241
- }
8242
- if (!isObject(clientValue)) {
8243
- expected = clientValue == null ? "" : String(clientValue);
8238
+ actual = isObject(serverValue) || serverValue == null ? "" : String(serverValue);
8244
8239
  }
8240
+ expected = isObject(clientValue) || clientValue == null ? "" : String(clientValue);
8245
8241
  }
8246
8242
  if (actual !== expected) {
8247
8243
  mismatchType = `attribute`;
@@ -11296,7 +11292,7 @@ function isMemoSame(cached, memo) {
11296
11292
  return true;
11297
11293
  }
11298
11294
 
11299
- const version = "3.4.9";
11295
+ const version = "3.4.10";
11300
11296
  const warn = warn$1 ;
11301
11297
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
11302
11298
  const devtools = devtools$1 ;