style-inject
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -9,2 +9,4 @@ module.exports = function styleInject (css, returnValue) { | ||
style.type = 'text/css'; | ||
head.appendChild(style); | ||
if (style.styleSheet){ | ||
@@ -15,4 +17,3 @@ style.styleSheet.cssText = css; | ||
} | ||
head.appendChild(style); | ||
return returnValue; | ||
}; |
{ | ||
"name": "style-inject", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Inject style tag to document head.", | ||
@@ -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
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
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
2936
1