Comparing version 0.10.1 to 0.10.2
@@ -33,3 +33,5 @@ /** | ||
const element = result.getTemplateElement(); | ||
window.ShadyCSS.prepareTemplateDom(element, scopeName); | ||
if (typeof window.ShadyCSS === 'object') { | ||
window.ShadyCSS.prepareTemplateDom(element, scopeName); | ||
} | ||
template = new Template(result, element); | ||
@@ -36,0 +38,0 @@ templateCache.set(result.strings, template); |
{ | ||
"name": "lit-html", | ||
"version": "0.10.1", | ||
"version": "0.10.2", | ||
"description": "HTML template literals in JavaScript", | ||
@@ -35,4 +35,4 @@ "license": "BSD-3-Clause", | ||
"@webcomponents/shadycss": "^1.2.1", | ||
"@webcomponents/shadydom": "^1.0.11", | ||
"@webcomponents/template": "^1.2.2", | ||
"@webcomponents/template": "^1.3.1", | ||
"@webcomponents/webcomponentsjs": "^2.0.2", | ||
"babel-polyfill": "^6.26.0", | ||
@@ -39,0 +39,0 @@ "chai": "^4.1.2", |
@@ -47,3 +47,5 @@ /** | ||
const element = result.getTemplateElement(); | ||
window.ShadyCSS.prepareTemplateDom(element, scopeName); | ||
if (typeof window.ShadyCSS === 'object') { | ||
window.ShadyCSS.prepareTemplateDom(element, scopeName); | ||
} | ||
template = new Template(result, element); | ||
@@ -50,0 +52,0 @@ templateCache.set(result.strings, template); |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
243469
3272
0