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.
@@ -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
  **/
@@ -208,8 +208,8 @@ var Vue = (function (exports) {
208
208
  }
209
209
  for (const key in styles) {
210
210
  const value = styles[key];
211
- const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);
212
211
  if (isString(value) || typeof value === "number") {
212
+ const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);
213
213
  ret += `${normalizedKey}:${value};`;
214
214
  }
215
215
  }
@@ -6626,7 +6626,7 @@ Server rendered element contains fewer child nodes than client vdom.`
6626
6626
  mismatchType = mismatchKey = `class`;
6627
6627
  }
6628
6628
  } else if (key === "style") {
6629
- actual = el.getAttribute("style");
6629
+ actual = el.getAttribute("style") || "";
6630
6630
  expected = isString(clientValue) ? clientValue : stringifyStyle(normalizeStyle(clientValue));
6631
6631
  const actualMap = toStyleMap(actual);
6632
6632
  const expectedMap = toStyleMap(expected);
@@ -9614,7 +9614,7 @@ Component that was made reactive: `,
9614
9614
  return true;
9615
9615
  }
9616
9616
 
9617
- const version = "3.4.26";
9617
+ const version = "3.4.27";
9618
9618
  const warn = warn$1 ;
9619
9619
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
9620
9620
  const devtools = devtools$1 ;
@@ -15642,7 +15642,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
15642
15642
  };
15643
15643
  }
15644
15644
 
15645
- const fnExpRE = /^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/;
15645
+ const fnExpRE = /^\s*(async\s*)?(\([^)]*?\)|[\w$_]+)\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/;
15646
15646
  const transformOn$1 = (dir, node, context, augmentor) => {
15647
15647
  const { loc, modifiers, arg } = dir;
15648
15648
  if (!dir.exp && !modifiers.length) {