Closed tylercallahan closed 7 years ago
Do you care to take a shot at a PR?
At or around line 150 there needs to be a test to see if key
is defined on the right-hand-side: rhs.hasOwnProperty(key)
... or something like that.
A regression test in test.js would be nice too.
If you don't have time to contribute, I'll get to it soon.
🌤 ▶️ I have a PR here: https://github.com/flitbit/diff/pull/99
Fixed with PR #99
This behavior changed in v0.3.6 (likely this commit).
DeepDiff({ foo: undefined }, { foo: undefined })
returns: 0.3.5:
undefined
0.3.6:[{"kind":"D","path":["foo"]}]
Expected: I believe this should not report a difference.