json-diff
json-diff copied to clipboard
[fix] [102] Fix deep diffing issue for obj in array
Overview Fixes issue as described in #102
By default array replace was not recursively diffing objects in arrays which would cause them to be reported as complete replacements. Instead, this will recursively diff when the number of replacements equal and score is greater than zero.
Changes
- Fail out of replacement if change has no shared values
- Allow for recursive diffing if
keys onlyisn't set - Bump version since this could break some peoples output from past expectations
@ewoudenberg if you could review :)