inline-critical
Advanced tools
Comparing version 5.1.1 to 5.1.2
@@ -27,3 +27,3 @@ /** | ||
ignore: [], | ||
replaceStylesheets: [], | ||
replaceStylesheets: false, | ||
}; | ||
@@ -91,3 +91,3 @@ | ||
if (o.replaceStylesheets.length > 0 && links.length > 0) { | ||
if (Array.isArray(o.replaceStylesheets) > 0 && links.length > 0) { | ||
// Detect links to be removed | ||
@@ -94,0 +94,0 @@ const [ref] = links; |
{ | ||
"name": "inline-critical", | ||
"version": "5.1.1", | ||
"version": "5.1.2", | ||
"description": "Inline critical-path css and load the existing stylesheets asynchronously", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
25527