AsyncBanana / microdiff

A fast, zero dependency object and array comparison library. Significantly faster than most other deep comparison libraries and has full TypeScript support.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does not handle object changes within array

98mux opened this issue · comments

import diff from "microdiff";

const obj1 = {
const obj2 = {

console.log(diff(obj1, obj2));

This ^ console logs an empty array. (repl)

Are there any plans on supporting objects within arrays? If no, do you know about another library that do support this?

Thanks for reporting this! That should work. I will take a look at this soon.

Thanks again! This should be fixed in the latest version. If you continue to have problems with this, let me know.