Open StephenTHendrix opened 1 year ago
Same for me
same for me, is there a fix anyone found or should i find a different package? actually should even be ability to say ignoreArrays:true to just get the new array instead of each index which doesnt really matter to alot of people..
It seems that this here doesn't work at all:
diff(
{
v: {
data: [
{
blabla: 3,
},
],
},
},
{
v: {
data: [
{},
],
},
},
),
Returns:
[Object: null prototype] {
v: [Object: null prototype] {
data: [Object: null prototype] { '0': [Object: null prototype] }
}
}
I think I'm just re-reporting https://github.com/mattphillips/deep-object-diff/issues/79.
diff({ test: [] }, { test: ['apple'] })
returns{ test: { 0: 'apple' }