@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.
@@ -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
  **/
@@ -6518,7 +6518,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
6518
6518
  return vm;
6519
6519
  }
6520
6520
  }
6521
- Vue.version = `2.6.14-compat:${"3.4.9"}`;
6521
+ Vue.version = `2.6.14-compat:${"3.4.10"}`;
6522
6522
  Vue.config = singletonApp.config;
6523
6523
  Vue.use = (p, ...options) => {
6524
6524
  if (p && isFunction(p.install)) {
@@ -8284,15 +8284,11 @@ function propHasMismatch(el, key, clientValue, vnode) {
8284
8284
  } else {
8285
8285
  if (el.hasAttribute(key)) {
8286
8286
  actual = el.getAttribute(key);
8287
- } else if (key in el) {
8287
+ } else {
8288
8288
  const serverValue = el[key];
8289
- if (!isObject(serverValue)) {
8290
- actual = serverValue == null ? "" : String(serverValue);
8291
- }
8292
- }
8293
- if (!isObject(clientValue)) {
8294
- expected = clientValue == null ? "" : String(clientValue);
8289
+ actual = isObject(serverValue) || serverValue == null ? "" : String(serverValue);
8295
8290
  }
8291
+ expected = isObject(clientValue) || clientValue == null ? "" : String(clientValue);
8296
8292
  }
8297
8293
  if (actual !== expected) {
8298
8294
  mismatchType = `attribute`;
@@ -11418,7 +11414,7 @@ function isMemoSame(cached, memo) {
11418
11414
  return true;
11419
11415
  }
11420
11416
 
11421
- const version = "3.4.9";
11417
+ const version = "3.4.10";
11422
11418
  const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
11423
11419
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
11424
11420
  const devtools = !!(process.env.NODE_ENV !== "production") || true ? devtools$1 : 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
  **/
@@ -6477,7 +6477,7 @@ If this is a native custom element, make sure to exclude it from component resol
6477
6477
  return vm;
6478
6478
  }
6479
6479
  }
6480
- Vue.version = `2.6.14-compat:${"3.4.9"}`;
6480
+ Vue.version = `2.6.14-compat:${"3.4.10"}`;
6481
6481
  Vue.config = singletonApp.config;
6482
6482
  Vue.use = (p, ...options) => {
6483
6483
  if (p && isFunction(p.install)) {
@@ -8230,15 +8230,11 @@ Server rendered element contains fewer child nodes than client vdom.`
8230
8230
  } else {
8231
8231
  if (el.hasAttribute(key)) {
8232
8232
  actual = el.getAttribute(key);
8233
- } else if (key in el) {
8233
+ } else {
8234
8234
  const serverValue = el[key];
8235
- if (!isObject(serverValue)) {
8236
- actual = serverValue == null ? "" : String(serverValue);
8237
- }
8238
- }
8239
- if (!isObject(clientValue)) {
8240
- expected = clientValue == null ? "" : String(clientValue);
8235
+ actual = isObject(serverValue) || serverValue == null ? "" : String(serverValue);
8241
8236
  }
8237
+ expected = isObject(clientValue) || clientValue == null ? "" : String(clientValue);
8242
8238
  }
8243
8239
  if (actual !== expected) {
8244
8240
  mismatchType = `attribute`;
@@ -11293,7 +11289,7 @@ Component that was made reactive: `,
11293
11289
  return true;
11294
11290
  }
11295
11291
 
11296
- const version = "3.4.9";
11292
+ const version = "3.4.10";
11297
11293
  const warn = warn$1 ;
11298
11294
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
11299
11295
  const devtools = devtools$1 ;