@fsoft/diff-patch
Advanced tools
+1
-1
@@ -42,3 +42,3 @@ "use strict"; | ||
| // now scan oldObject keys and delete the ones that are not present in newObject | ||
| keys = Object.keys(oldObject); | ||
| keys = Object.keys(oldObject !== null && oldObject !== void 0 ? oldObject : {}); | ||
| keys.forEach((key) => { | ||
@@ -45,0 +45,0 @@ if (newObject[key] === undefined) { |
+1
-1
| { | ||
| "name": "@fsoft/diff-patch", | ||
| "version": "0.1.8", | ||
| "version": "0.1.9", | ||
| "description": "Deep compare two objects and produces a diffData to transform object1 to object2", | ||
@@ -5,0 +5,0 @@ "repository": { |
8098
0.62%