@unocss/core
Advanced tools
Comparing version 0.4.8 to 0.4.9
@@ -486,7 +486,7 @@ var __defProp = Object.defineProperty; | ||
result = result.split(/ /g); | ||
return uniq(result.flatMap((r) => this.expandShortcut(r, depth - 1) || [r])); | ||
return result.flatMap((r) => this.expandShortcut(r, depth - 1) || [r]); | ||
} | ||
async stringifyShortcuts(parent, expanded) { | ||
const selectorMap = new TwoKeyMap(); | ||
const parsed = (await Promise.all(expanded.map((i) => this.parseUtil(i)))).filter(Boolean).sort((a, b) => a[0] - b[0]); | ||
const parsed = (await Promise.all(uniq(expanded).map((i) => this.parseUtil(i)))).filter(Boolean).sort((a, b) => a[0] - b[0]); | ||
const [raw, , parentVariants] = parent; | ||
@@ -493,0 +493,0 @@ for (const item of parsed) { |
{ | ||
"name": "@unocss/core", | ||
"version": "0.4.8", | ||
"version": "0.4.9", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
Sorry, the diff of this file is not supported yet
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