deep-diff is a javascript/node.js module providing utility functions for determining the structural differences between objects and includes some utilities for applying differences across objects.
1.0.2
- 2018-08-10
1.0.0
- 2018-04-18
examples/issue-XXx.js
for each issue I believe is fixed in this version.0.3.8
- 2017-05-03
index.es.js
and index.js
0.3.7
- 2017-05-01
undefined
value existing on either operand. Unit tests supplied.0.3.6
- 2017-04-25 — Fixed, closed lingering issues:
undefined
and was undefined on the comparand (rhs). :o).0.3.5
- 2017-04-23 — Rolled up recent fixes; patches:
deep-diff
in Typescript as reported by @kgentes in #970.3.4
- Typescript users, reference this version until #97 is fixed!
0.3.3
- Thanks @SimenB: enabled npm script for release (alternate to the Makefile). Also linting as part of npm test
. Thanks @joeldenning: Fixed issue #35; diffs of top level arrays now working.
0.3.3
- Thanks @SimenB: enabled npm script for release (alternate to the Makefile). Also linting as part of npm test
. Thanks @joeldenning: Fixed issue #35; diffs of top level arrays now working.
0.3.2
- Resolves #46; support more robust filters by including lhs
and rhs
in the filter callback. By @Orlando80
0.3.1
- Better type checking by @Drinks, UMD wrapper by @SimenB. Now certifies against nodejs 12 and iojs (Thanks @SimenB).
0.2.0
- Fixes Bug #17, Fixes Bug #19, Enhancement #21 Applying changes that are properly structured can now be applied as a change (no longer requires typeof Diff) - supports differences being applied after round-trip serialization to JSON format. Prefilter now reports the path of all changes - it was not showing a path for arrays and anything in the structure below (reported by @ravishvt).
Breaking Change – The structure of change records for differences below an array element has changed. Array indexes are now reported as numeric elements in the path
if the changes is merely edited (an E
kind). Changes of kind A
(array) are only reported for changes in the terminal array itself and will have a nested N
(new) item or a nested D
(deleted) item.
0.1.7
- Enhancement #11 Added the ability to filter properties that should not be analyzed while calculating differences. Makes deep-diff
more usable with frameworks that attach housekeeping properties to existing objects. AngularJS does this, and the new filter ability should ease working with it.
0.1.6
- Changed objects within nested arrays can now be applied. They were previously recording the changes appropriately but applyDiff
would error. Comparison of NaN
works more sanely - comparison to number shows difference, comparison to another Nan
does not.