@semantic-ui/component
Advanced tools
Comparing version 0.0.34 to 0.0.35
@@ -15,8 +15,8 @@ { | ||
"dependencies": { | ||
"@semantic-ui/query": "^0.0.34", | ||
"@semantic-ui/reactivity": "^0.0.34", | ||
"@semantic-ui/templating": "^0.0.34", | ||
"@semantic-ui/utils": "^0.0.34" | ||
"@semantic-ui/query": "^0.0.35", | ||
"@semantic-ui/reactivity": "^0.0.35", | ||
"@semantic-ui/templating": "^0.0.35", | ||
"@semantic-ui/utils": "^0.0.35" | ||
}, | ||
"version": "0.0.34" | ||
"version": "0.0.35" | ||
} |
@@ -9,3 +9,2 @@ import { unsafeCSS } from 'lit'; | ||
export const createComponent = ({ | ||
@@ -12,0 +11,0 @@ template = '', |
@@ -15,3 +15,3 @@ import { html, svg } from 'lit'; | ||
static PARENS_REGEXP = /('[^']*'|\(|\)|[^\s()]+)/g; | ||
static PARENS_REGEXP = /('[^']*'|"[^"]*"|\(|\)|[^\s()]+)/g; | ||
static STRING_REGEXP = /^\'(.*)\'$/; | ||
@@ -152,3 +152,7 @@ | ||
evaluateSVG(svg, data) { | ||
return this.renderContent({ ast: svg, isSVG: true, data }); | ||
return this.renderContent({ | ||
isSVG: true, | ||
ast: svg, | ||
data | ||
}); | ||
} | ||
@@ -309,5 +313,13 @@ | ||
} | ||
const current = wrapFunction(acc)(); | ||
const current = (acc instanceof ReactiveVar) | ||
? acc.get() | ||
: wrapFunction(acc)() | ||
; | ||
if (current == undefined) { | ||
fatal(`Error evaluating expression "${path}"`); | ||
return undefined; | ||
/* erroring on intermediate undefined | ||
feels better not as an error state | ||
but this may change | ||
*/ | ||
//fatal(`Error evaluating expression "${path}"`); | ||
} | ||
@@ -314,0 +326,0 @@ return current[part]; |
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
48537
1452
+ Added@semantic-ui/query@0.0.35(transitive)
+ Added@semantic-ui/reactivity@0.0.35(transitive)
+ Added@semantic-ui/templating@0.0.35(transitive)
+ Added@semantic-ui/utils@0.0.35(transitive)
- Removed@semantic-ui/query@0.0.34(transitive)
- Removed@semantic-ui/reactivity@0.0.34(transitive)
- Removed@semantic-ui/templating@0.0.34(transitive)
- Removed@semantic-ui/utils@0.0.34(transitive)
Updated@semantic-ui/query@^0.0.35
Updated@semantic-ui/utils@^0.0.35