@vue/shared 3.5.12 → 3.5.14

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/shared v3.5.12
2
+ * @vue/shared v3.5.14
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -284,10 +284,9 @@ function parseStringStyle(cssText) {
284
284
  return ret;
285
285
  }
286
286
  function stringifyStyle(styles) {
287
+ if (!styles) return "";
288
+ if (isString(styles)) return styles;
287
289
  let ret = "";
288
- if (!styles || isString(styles)) {
289
- return ret;
290
- }
291
290
  for (const key in styles) {
292
291
  const value = styles[key];
293
292
  if (isString(value) || typeof value === "number") {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/shared v3.5.12
2
+ * @vue/shared v3.5.14
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -284,10 +284,9 @@ function parseStringStyle(cssText) {
284
284
  return ret;
285
285
  }
286
286
  function stringifyStyle(styles) {
287
+ if (!styles) return "";
288
+ if (isString(styles)) return styles;
287
289
  let ret = "";
288
- if (!styles || isString(styles)) {
289
- return ret;
290
- }
291
290
  for (const key in styles) {
292
291
  const value = styles[key];
293
292
  if (isString(value) || typeof value === "number") {
package/dist/shared.d.ts CHANGED
@@ -326,3 +326,4 @@ type OverloadProps<TOverload> = Pick<TOverload, keyof TOverload>;
326
326
  type OverloadUnionRecursive<TOverload, TPartialOverload = unknown> = TOverload extends (...args: infer TArgs) => infer TReturn ? TPartialOverload extends TOverload ? never : OverloadUnionRecursive<TPartialOverload & TOverload, TPartialOverload & ((...args: TArgs) => TReturn) & OverloadProps<TOverload>> | ((...args: TArgs) => TReturn) : never;
327
327
  type OverloadUnion<TOverload extends (...args: any[]) => any> = Exclude<OverloadUnionRecursive<(() => never) & TOverload>, TOverload extends () => never ? never : () => never>;
328
328
 
329
+
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/shared v3.5.12
2
+ * @vue/shared v3.5.14
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -280,10 +280,9 @@ function parseStringStyle(cssText) {
280
280
  return ret;
281
281
  }
282
282
  function stringifyStyle(styles) {
283
+ if (!styles) return "";
284
+ if (isString(styles)) return styles;
283
285
  let ret = "";
284
- if (!styles || isString(styles)) {
285
- return ret;
286
- }
287
286
  for (const key in styles) {
288
287
  const value = styles[key];
289
288
  if (isString(value) || typeof value === "number") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/shared",
3
- "version": "3.5.12",
3
+ "version": "3.5.14",
4
4
  "description": "internal utils shared across @vue packages",
5
5
  "main": "index.js",
6
6
  "module": "dist/shared.esm-bundler.js",