vue 3.4.26 → 3.4.27

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 v3.4.26
2
+ * vue v3.4.27
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.26
2
+ * vue v3.4.27
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.26
2
+ * vue v3.4.27
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -205,8 +205,8 @@ function stringifyStyle(styles) {
205
205
  }
206
206
  for (const key in styles) {
207
207
  const value = styles[key];
208
- const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);
209
208
  if (isString(value) || typeof value === "number") {
209
+ const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);
210
210
  ret += `${normalizedKey}:${value};`;
211
211
  }
212
212
  }
@@ -6629,7 +6629,7 @@ function propHasMismatch(el, key, clientValue, vnode, instance) {
6629
6629
  mismatchType = mismatchKey = `class`;
6630
6630
  }
6631
6631
  } else if (key === "style") {
6632
- actual = el.getAttribute("style");
6632
+ actual = el.getAttribute("style") || "";
6633
6633
  expected = isString(clientValue) ? clientValue : stringifyStyle(normalizeStyle(clientValue));
6634
6634
  const actualMap = toStyleMap(actual);
6635
6635
  const expectedMap = toStyleMap(expected);
@@ -9617,7 +9617,7 @@ function isMemoSame(cached, memo) {
9617
9617
  return true;
9618
9618
  }
9619
9619
 
9620
- const version = "3.4.26";
9620
+ const version = "3.4.27";
9621
9621
  const warn = warn$1 ;
9622
9622
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
9623
9623
  const devtools = devtools$1 ;
@@ -15819,7 +15819,7 @@ function processSlotOutlet(node, context) {
15819
15819
  };
15820
15820
  }
15821
15821
 
15822
- const fnExpRE = /^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/;
15822
+ const fnExpRE = /^\s*(async\s*)?(\([^)]*?\)|[\w$_]+)\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/;
15823
15823
  const transformOn$1 = (dir, node, context, augmentor) => {
15824
15824
  const { loc, modifiers, arg } = dir;
15825
15825
  if (!dir.exp && !modifiers.length) {