Socket
Socket
Sign inDemoInstall

morphdom

Package Overview
Dependencies
0
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

.cache/lasso/default/198215032/read/03/c81163a7444338841d5bcf5e0d938f

10

dist/morphdom-umd.js

@@ -43,4 +43,7 @@ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.morphdom = f()}})(function(){var define,module,exports;module={exports:(exports={})};

fromEl.checked = toEl.checked;
fromEl.value = toEl.value;
if (fromEl.value != toEl.value) {
fromEl.value = toEl.value;
}
if (!toEl.hasAttribute('checked')) {

@@ -57,5 +60,6 @@ fromEl.removeAttribute('checked');

var newValue = toEl.value;
if (fromEl.value != newValue) {
fromEl.value = newValue;
}
fromEl.value = newValue;
if (fromEl.firstChild) {

@@ -62,0 +66,0 @@ fromEl.firstChild.nodeValue = newValue;

@@ -42,4 +42,7 @@ // Create a range object for efficently rendering strings to elements.

fromEl.checked = toEl.checked;
fromEl.value = toEl.value;
if (fromEl.value != toEl.value) {
fromEl.value = toEl.value;
}
if (!toEl.hasAttribute('checked')) {

@@ -56,5 +59,6 @@ fromEl.removeAttribute('checked');

var newValue = toEl.value;
if (fromEl.value != newValue) {
fromEl.value = newValue;
}
fromEl.value = newValue;
if (fromEl.firstChild) {

@@ -61,0 +65,0 @@ fromEl.firstChild.nodeValue = newValue;

@@ -38,3 +38,3 @@ {

"dependencies": {},
"version": "1.0.1"
"version": "1.0.2"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc