@erickmerchant/framework
Advanced tools
Comparing version 41.1.0 to 41.2.0
23
main.js
@@ -377,3 +377,2 @@ const svgNamespace = 'http://www.w3.org/2000/svg' | ||
const str = strs[index] | ||
let first = index > 0 | ||
@@ -408,4 +407,2 @@ let tag = acc.tag | ||
first = false | ||
tag = value | ||
@@ -426,4 +423,2 @@ | ||
first = false | ||
tag = false | ||
@@ -435,4 +430,2 @@ | ||
first = false | ||
tag = false | ||
@@ -457,4 +450,2 @@ | ||
first = false | ||
if (next() === '=') { | ||
@@ -504,9 +495,3 @@ i++ | ||
let trim = true | ||
if (!current() && first) { | ||
trim = false | ||
} | ||
if ((!trim && value) || (trim && value.trim())) { | ||
if (value) { | ||
yield { | ||
@@ -635,4 +620,4 @@ type: 'text', | ||
parse(tokens, {children}, token.value) | ||
} else if (token.type === 'text') { | ||
children.push({value: token.value}) | ||
} else if (token.type === 'text' && token.value.trim()) { | ||
throw createAssertionError(token.type, "'node'") | ||
} | ||
@@ -643,4 +628,2 @@ } | ||
throw createAssertionError(children.length, 1) | ||
} else if (children[0].type !== 'node') { | ||
throw createAssertionError(children[0].type, "'node'") | ||
} | ||
@@ -647,0 +630,0 @@ |
{ | ||
"name": "@erickmerchant/framework", | ||
"version": "41.1.0", | ||
"version": "41.2.0", | ||
"description": "A front-end framework.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/erickmerchant/framework#readme", |
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
18897
616