flitbit / diff

Javascript utility for calculating deep difference, capturing changes, and applying changes across objects; for nodejs and the browser.
MIT License
2.99k stars 213 forks source link

Modern typescript rewrite of this library is available #185

Open therohk opened 1 week ago

therohk commented 1 week ago

Hello folks, After facing many issues with bugs in this awesome but unmaintained library, I have done a full migration into typescript.

The typescript source code is available here (deep-diff.ts) along with a summary of changes (readme.md). All tests have also been carried over.

The published npm package contains both esm and cjs modules along with type definitions. It exports all interfaces that are present in the original library. Any existing function can be imported as import { diff, applyChange } from "datum-merge".

Do explore the new deep merge functionality in my library while you're there!