We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1ffef8 commit f7b20eaCopy full SHA for f7b20ea
index.ts
@@ -57,15 +57,14 @@ export default function diff(
57
!richTypes[Object.getPrototypeOf(objKey)?.constructor?.name] &&
58
(!options.cyclesFix || !_stack.includes(objKey))
59
) {
60
- const nestedDiffs = diff(
61
- objKey,
62
- newObjKey,
63
- options,
64
- options.cyclesFix ? _stack.concat([objKey]) : [],
65
- );
66
diffs.push.apply(
67
diffs,
68
- nestedDiffs.map((difference) => {
+ diff(
+ objKey,
+ newObjKey,
+ options,
+ options.cyclesFix ? _stack.concat([objKey]) : [],
+ ).map((difference) => {
69
difference.path.unshift(path);
70
return difference;
71
}),
0 commit comments