@vue/shared
Advanced tools
Comparing version 3.0.0-beta.2 to 3.0.0-beta.3
@@ -234,3 +234,3 @@ 'use strict'; | ||
const value = styles[key]; | ||
const normalizedKey = key.indexOf(`--`) === 0 ? key : hyphenate(key); | ||
const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key); | ||
if (isString(value) || | ||
@@ -237,0 +237,0 @@ (typeof value === 'number' && isNoUnitNumericStyleProp(normalizedKey))) { |
@@ -234,3 +234,3 @@ 'use strict'; | ||
const value = styles[key]; | ||
const normalizedKey = key.indexOf(`--`) === 0 ? key : hyphenate(key); | ||
const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key); | ||
if (isString(value) || | ||
@@ -237,0 +237,0 @@ (typeof value === 'number' && isNoUnitNumericStyleProp(normalizedKey))) { |
@@ -230,3 +230,3 @@ // Make a map and return a function for checking if a key | ||
const value = styles[key]; | ||
const normalizedKey = key.indexOf(`--`) === 0 ? key : hyphenate(key); | ||
const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key); | ||
if (isString(value) || | ||
@@ -233,0 +233,0 @@ (typeof value === 'number' && isNoUnitNumericStyleProp(normalizedKey))) { |
{ | ||
"name": "@vue/shared", | ||
"version": "3.0.0-beta.2", | ||
"version": "3.0.0-beta.3", | ||
"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
59310