Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

raptor-dom

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

raptor-dom - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

package.json

@@ -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 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc