raptor-dom
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -26,3 +26,3 @@ { | ||
}, | ||
"version": "1.0.3" | ||
"version": "1.0.4" | ||
} |
@@ -55,5 +55,12 @@ var tryRequire = require('try-require'); | ||
parentEl = getNode(parentEl); | ||
dom.forEachChildEl(parentEl, function (childEl) { | ||
_beforeRemove(childEl); | ||
}); | ||
var i = 0; | ||
var childNodes = parentEl.childNodes; | ||
var len = childNodes.length; | ||
for (; i < len; i++) { | ||
var childNode = childNodes[i]; | ||
if (childNode && childNode.nodeType === 1) { | ||
_beforeRemove(childNode); | ||
} | ||
} | ||
parentEl.innerHTML = ''; | ||
@@ -60,0 +67,0 @@ }, |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
9116
225
0