dynamic-resource-hints
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -17,7 +17,7 @@ var makeHint = function makeHint(href, rel, as, crossorigin, type) { | ||
function preloadResource(href, rel, as, crossorigin, type) { | ||
if (rel === void 0) { | ||
if (!rel) { | ||
rel = 'prerender'; | ||
} | ||
if (crossorigin === void 0) { | ||
if (!crossorigin) { | ||
crossorigin = false; | ||
@@ -24,0 +24,0 @@ } |
{ | ||
"name": "dynamic-resource-hints", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Dynamically add preload browser hints at runtime", | ||
@@ -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
4738