New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.4.0 to 2.5.0

.npmignore

10

diffDOM.js

@@ -1024,4 +1024,4 @@ (function(root, factory) {

.setValue(t._const.action, t._const.modifyValue)
.setValue(t._const.oldValue, t1.value)
.setValue(t._const.newValue, t2.value)
.setValue(t._const.oldValue, t1.value || "")
.setValue(t._const.newValue, t2.value || "")
.setValue(t._const.route, route)

@@ -1114,5 +1114,2 @@ );

node.attributes[diff[this._const.name]] = diff[this._const.newValue];
if (node.nodeName === 'INPUT' && diff[this._const.name] === 'value') {
node.value = diff[this._const.value];
}
break;

@@ -1399,2 +1396,5 @@ case this._const.removeAttribute:

node.setAttribute(diff[this._const.name], diff[this._const.newValue]);
if (diff[this._const.name] === 'value' && node.nodeName === 'INPUT' && node.value !== diff[this._const.oldValue]) {
node.value = diff[this._const.oldValue];
}
break;

@@ -1401,0 +1401,0 @@ case this._const.removeAttribute:

{
"name": "diff-dom",
"version": "2.4.0",
"version": "2.5.0",
"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",

Sorry, the diff of this file is not supported yet

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