Comparing version 3.2.0 to 3.2.1
{ | ||
"name": "style-mod", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"description": "A minimal CSS module shim", | ||
@@ -5,0 +5,0 @@ "main": "dist/style-mod.cjs", |
@@ -89,3 +89,3 @@ const C = "\u037c" | ||
constructor(root) { | ||
if (root.adoptedStyleSheets && typeof CSSStyleSheet != "undefined") { | ||
if (!root.head && root.adoptedStyleSheets && typeof CSSStyleSheet != "undefined") { | ||
if (adoptedSet) { | ||
@@ -92,0 +92,0 @@ root.adoptedStyleSheets = [adoptedSet.sheet].concat(root.adoptedStyleSheets) |
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
22570