simple-style-loader
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -150,5 +150,5 @@ define(function (require, exports, module) {/* | ||
var childNodes = styleElement.childNodes; | ||
if (childNodes[index]) styleElement.removeChild(childNodes[index]); | ||
if (childNodes.length) { | ||
styleElement.insertBefore(cssNode, childNodes[index]); | ||
var child = childNodes[index]; | ||
if (child) { | ||
styleElement.replaceChild(cssNode, child); | ||
} else { | ||
@@ -155,0 +155,0 @@ styleElement.appendChild(cssNode); |
{ | ||
"name": "simple-style-loader", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "simplified style loader module for webpack based on style-loader by Tobias Koppers @sokra", | ||
@@ -5,0 +5,0 @@ "scripts": {}, |
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
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
6859