diff
diff copied to clipboard
Javascript utility for calculating deep difference, capturing changes, and applying changes across objects; for nodejs and the browser.
How to reproduce: ``` var original = { obj: {}, func: function () {} }; var modified = _.merge({}, original); modified.obj.added = 'test'; modified.func.added = 'test'; var differences = DeepDiff.diff(original,...
Thanks for creating deep-diff, which I am currently working with for Typescript. I found out some inconsistencies between the code and the typings in the project. I would like to...
Diffing array is very inefficient if deletion/addition occurs anywhere but at the end of the array
Often an array will have an element inserted or deleted from some index within the array. As it stands, deepDiff seems to treat such an event as an insertion or...
I was wondering what the consensus was of adding an interface to provide the ability to use custom getters and setters? Possibly as an argument to `applyChange` or `revertChange`. This...
Hi, I run a Discord bot that constantly checks differences in a relatively large object and sends messages accordingly, and I've noticed that every time diff is ran on the...
Why is the lhs property created in diff? Is this only used for revertChange? I am using this to generate diffs that are stored in a database. If I only...
It would be nice if one could choose to use the RFC6902 JSON Patch format. http://jsonpatch.com/
These are two arrays, they differ in the middle element `var o1 = {files: [{pages: [{id: 1, name: 'abc'},{id: 2, name: 'def'},{id: 3, name: 'jhk'}]} ]} var o2 = {files:...
When diffing ES6 Map/Set the diff is always undefined because they are objects, but without enumerable own properties
Upgrade jQuery version to 3.5.0 for the Security Vulnerability issue.