@vue/shared
Advanced tools
Comparing version 3.4.26 to 3.4.27
/** | ||
* @vue/shared v3.4.26 | ||
* @vue/shared v3.4.27 | ||
* (c) 2018-present Yuxi (Evan) You and Vue contributors | ||
@@ -280,4 +280,4 @@ * @license MIT | ||
const value = styles[key]; | ||
const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key); | ||
if (isString(value) || typeof value === "number") { | ||
const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key); | ||
ret += `${normalizedKey}:${value};`; | ||
@@ -284,0 +284,0 @@ } |
/** | ||
* @vue/shared v3.4.26 | ||
* @vue/shared v3.4.27 | ||
* (c) 2018-present Yuxi (Evan) You and Vue contributors | ||
@@ -280,4 +280,4 @@ * @license MIT | ||
const value = styles[key]; | ||
const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key); | ||
if (isString(value) || typeof value === "number") { | ||
const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key); | ||
ret += `${normalizedKey}:${value};`; | ||
@@ -284,0 +284,0 @@ } |
/** | ||
* @vue/shared v3.4.26 | ||
* @vue/shared v3.4.27 | ||
* (c) 2018-present Yuxi (Evan) You and Vue contributors | ||
@@ -276,4 +276,4 @@ * @license MIT | ||
const value = styles[key]; | ||
const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key); | ||
if (isString(value) || typeof value === "number") { | ||
const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key); | ||
ret += `${normalizedKey}:${value};`; | ||
@@ -280,0 +280,0 @@ } |
{ | ||
"name": "@vue/shared", | ||
"version": "3.4.26", | ||
"version": "3.4.27", | ||
"description": "internal utils shared across @vue packages", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
80625