Closed joniba closed 2 years ago
Hey @joniba looks like this is happening because you are using JSON.stringify
which doesn't support undefined
which is used by this library to represent deleted values.
I think this is a duplicate of #10. This comment shows how you can use JSON.stringify
with the deleted elements of a diff: https://github.com/mattphillips/deep-object-diff/issues/10#issuecomment-308224665
Going to close this but feel free to re-open / comment should I have misunderstood anything 😃
Deleted doesn't seem to work in the
detailedDiff
method. Examples: