mattphillips / deep-object-diff

Deep diffs two objects, including nested structures of arrays and objects, and returns the difference. ❄️
https://www.npmjs.com/package/deep-object-diff
MIT License
1.05k stars 89 forks source link

Support for maps? #102

Open SZOKOZ opened 7 months ago

SZOKOZ commented 7 months ago

Some objects such as a map cannot have their keys or entries retrieved via Object.keys or Object.entries and you need to instead call those functions on the object itself e.g. new Map().entries() Could diff be updated to support objects that are iterable.