Open jchip opened 2 years ago
Sounds like #10 with a solution: https://github.com/mattphillips/deep-object-diff/issues/10#issuecomment-308224665
As referenced from https://github.com/mattphillips/deep-object-diff/issues/76#issuecomment-1048090047
Can this be closed now?
When you JSON.stringify an object, it omit keys that has
undefined
value.That means for the result coming back from deletedDiff needs a replacer for JSON.stringify to keep the key.
It's a small thing, but if you were not aware of it, like I did, you get tripped by it.