diff icon indicating copy to clipboard operation
diff copied to clipboard

Javascript utility for calculating deep difference, capturing changes, and applying changes across objects; for nodejs and the browser.

Results 42 diff issues
Sort by recently updated
recently updated
newest added

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,...

enhancement

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...

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...

enhancement

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...

question

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...

question

It would be nice if one could choose to use the RFC6902 JSON Patch format. http://jsonpatch.com/

enhancement

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.