@@ -48,2 +48,5 @@ "use strict"; | ||
| for (const val of values) { | ||
| if (!val) { | ||
| return ""; | ||
| } | ||
| const value = parsers.parsePropertyValue(property, val, { | ||
@@ -50,0 +53,0 @@ caseSensitive: true |
@@ -43,3 +43,3 @@ "use strict"; | ||
| } = dimensionTypes; | ||
| const { color: colorType, image: imageType } = functionTypes; | ||
| const { color: colorType, image: imageType, paint: paintType } = functionTypes; | ||
| const [{ name, type, value: itemValue }] = parsedValue; | ||
@@ -115,3 +115,3 @@ switch (type) { | ||
| default: { | ||
| if (colorType) { | ||
| if (colorType || paintType) { | ||
| this._setProperty(property, parsers.serializeColor(parsedValue), priority); | ||
@@ -118,0 +118,0 @@ } else if (imageType) { |
+1
-1
@@ -9,3 +9,3 @@ { | ||
| ], | ||
| "version": "6.0.1", | ||
| "version": "6.0.2", | ||
| "repository": { | ||
@@ -12,0 +12,0 @@ "type": "git", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
25407
0.01%943216
-0.02%