deep-object-diff icon indicating copy to clipboard operation
deep-object-diff copied to clipboard

Deep diffs two objects, including nested structures of arrays and objects, and returns the difference. ❄️

Results 38 deep-object-diff issues
Sort by recently updated
recently updated
newest added

This PR takes #98 a step further to force the type system to reflect the recursive transformation of array field types into the object structure presented in the README examples....

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....

## Overview Inspired by PR #98 and #99, and with the desire to use Typia functions which means types must be properly defined, I have ported all the JS functions...

Hey, thanks for the code. I'm trying to replace our custom implementation with this lib and I noticed that ``` filter1: { something: { values: ["Item-1", "Item-2"], operator: 1, extra:...

While comparing two strings if there is whitespace in the target, it shows as a change and returns a change value, is there any options to trim the string before...

When comparing two mongoose models whose _id or discriminated docs arent equal, the library returns no differences. Steps to reproduce: (pseudo code) 1.Find a document ``` const original = await...

Return a stronger representation of the return value of `diff()`.

On using `updateDiff` I'm getting this error: ``` [Nest] 1 - 06/04/2025, 6:52:38 PM ERROR [ExceptionsHandler] Maximum call stack size exceeded RangeError: Maximum call stack size exceeded at /app/node_modules/deep-object-diff/cjs/updated.js:19:34 at...