deep-object-diff
deep-object-diff copied to clipboard
Deep diffs two objects, including nested structures of arrays and objects, and returns the difference. ❄️
I tried this library to do some diffs between two typescript objects and the problem that I faced in was that when the difference was returned all the arrays that...
TypeScript in ESM mode is trying to use file `index.d.mts` for types but there is no such file. So we need to provide custom path to typings file. Root `types`...
Hey, I have the following error with the latest version 1.1.7 saying that there is no version specified in package.json and there is no version in mjs/package.json ``` WARNING in...
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....
Hi Matt. Great package thanks. Would you be able to create versions of `deletedDiff, updatedDiff, detailedDiff` or have them accept an optional `shouldShowOriginal` argument to also return the original values...
``` const originalObject = {...} const newObject = {...} const diffObject = deep-object-diff.diff(originalObject, newObject) ``` Is there a suggested solution how to get new object merging original object with diff...
Hi, I was not able to find any apply method which would allow us to take a diff, and apply it to an object. Is there one somewhere? Maybe in...
# Motivation and Context In aggreement with the issue #23. We would like to keep modified arrays with the complete values instead of the difference object. # How Has This...
Not sure what would need to be coerced here, triple equals might help ensure a more accurate diff. [sample source](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/valueOf) ```js const date1 = new Date(Date.UTC(96, 1, 2, 3, 4,...