@erickmerchant/framework
Advanced tools
Comparing version 41.2.0 to 41.2.1
{ | ||
"name": "@erickmerchant/framework", | ||
"version": "41.2.0", | ||
"version": "41.2.1", | ||
"description": "A front-end framework.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/erickmerchant/framework#readme", |
@@ -83,12 +83,14 @@ const escape = (str) => | ||
if (child?.type === 'variable') { | ||
child = resolve(variables[child.value]) | ||
child = variables[child.value] | ||
} | ||
if (child?.[Symbol.iterator] != null && typeof child !== 'string') { | ||
for (const c of child) { | ||
descendants.push(c.key != null ? c.value : c) | ||
} | ||
} else { | ||
descendants.push(child) | ||
if (child?.[Symbol.iterator] == null || typeof child === 'string') { | ||
child = [child] | ||
} | ||
for (let c of child) { | ||
c = resolve(c) ?? '' | ||
descendants.push(c.key != null ? c.value : c) | ||
} | ||
} | ||
@@ -95,0 +97,0 @@ |
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
18888