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

diff-dom

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

diff-dom - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

6

diffDOM.js

@@ -1316,3 +1316,3 @@ (function(root, factory) {

}
node.insertBefore(childNode, reference);
node.insertBefore(childNode, reference || null);
}

@@ -1327,3 +1327,3 @@ break;

node = this.getFromRoute(tree, route);
node.insertBefore(this.objToNode(diff[this._const.element], node.namespaceURI === 'http://www.w3.org/2000/svg'), node.childNodes[c]);
node.insertBefore(this.objToNode(diff[this._const.element], node.namespaceURI === 'http://www.w3.org/2000/svg'), node.childNodes[c] || null);
break;

@@ -1344,3 +1344,3 @@ case this._const.removeTextElement:

}
node.insertBefore(newNode, node.childNodes[c]);
node.insertBefore(newNode, node.childNodes[c] || null);
break;

@@ -1347,0 +1347,0 @@ default:

{
"name": "diff-dom",
"version": "2.3.0",
"version": "2.3.1",
"description": "A diff for DOM elements, as client-side JavaScript code. Gets all modifications, insertions and removals between two DOM fragments.",

@@ -5,0 +5,0 @@ "main": "diffDOM.js",

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