@vue/compat 3.4.35 → 3.4.36

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.35
2
+ * @vue/compat v3.4.36
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -5194,7 +5194,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
5194
5194
  return vm;
5195
5195
  }
5196
5196
  }
5197
- Vue.version = `2.6.14-compat:${"3.4.35"}`;
5197
+ Vue.version = `2.6.14-compat:${"3.4.36"}`;
5198
5198
  Vue.config = singletonApp.config;
5199
5199
  Vue.use = (plugin, ...options) => {
5200
5200
  if (plugin && isFunction(plugin.install)) {
@@ -7038,6 +7038,7 @@ Server rendered element contains more child nodes than client vdom.`
7038
7038
  }
7039
7039
  if (props) {
7040
7040
  if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_HYDRATION_MISMATCH_DETAILS__ || forcePatch || !optimized || patchFlag & (16 | 32)) {
7041
+ const isCustomElement = el.tagName.includes("-");
7041
7042
  for (const key in props) {
7042
7043
  if ((!!(process.env.NODE_ENV !== "production") || __VUE_PROD_HYDRATION_MISMATCH_DETAILS__) && // #11189 skip if this node has directives that have created hooks
7043
7044
  // as it could have mutated the DOM in any possible way
@@ -7045,7 +7046,7 @@ Server rendered element contains more child nodes than client vdom.`
7045
7046
  logMismatchError();
7046
7047
  }
7047
7048
  if (forcePatch && (key.endsWith("value") || key === "indeterminate") || isOn(key) && !isReservedProp(key) || // force hydrate v-bind with .prop modifiers
7048
- key[0] === ".") {
7049
+ key[0] === "." || isCustomElement) {
7049
7050
  patchProp(el, key, null, props[key], void 0, parentComponent);
7050
7051
  }
7051
7052
  }
@@ -11480,7 +11481,7 @@ function isMemoSame(cached, memo) {
11480
11481
  return true;
11481
11482
  }
11482
11483
 
11483
- const version = "3.4.35";
11484
+ const version = "3.4.36";
11484
11485
  const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
11485
11486
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
11486
11487
  const devtools = !!(process.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compat v3.4.35
2
+ * @vue/compat v3.4.36
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -5182,7 +5182,7 @@ If this is a native custom element, make sure to exclude it from component resol
5182
5182
  return vm;
5183
5183
  }
5184
5184
  }
5185
- Vue.version = `2.6.14-compat:${"3.4.35"}`;
5185
+ Vue.version = `2.6.14-compat:${"3.4.36"}`;
5186
5186
  Vue.config = singletonApp.config;
5187
5187
  Vue.use = (plugin, ...options) => {
5188
5188
  if (plugin && isFunction(plugin.install)) {
@@ -7024,6 +7024,7 @@ Server rendered element contains more child nodes than client vdom.`
7024
7024
  }
7025
7025
  if (props) {
7026
7026
  {
7027
+ const isCustomElement = el.tagName.includes("-");
7027
7028
  for (const key in props) {
7028
7029
  if (// #11189 skip if this node has directives that have created hooks
7029
7030
  // as it could have mutated the DOM in any possible way
@@ -7031,7 +7032,7 @@ Server rendered element contains more child nodes than client vdom.`
7031
7032
  logMismatchError();
7032
7033
  }
7033
7034
  if (forcePatch && (key.endsWith("value") || key === "indeterminate") || isOn(key) && !isReservedProp(key) || // force hydrate v-bind with .prop modifiers
7034
- key[0] === ".") {
7035
+ key[0] === "." || isCustomElement) {
7035
7036
  patchProp(el, key, null, props[key], void 0, parentComponent);
7036
7037
  }
7037
7038
  }
@@ -11363,7 +11364,7 @@ Component that was made reactive: `,
11363
11364
  return true;
11364
11365
  }
11365
11366
 
11366
- const version = "3.4.35";
11367
+ const version = "3.4.36";
11367
11368
  const warn = warn$1 ;
11368
11369
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
11369
11370
  const devtools = devtools$1 ;