mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 19:37:49 +00:00
Prevent failed circular reference detection in _.defaultsDeep. [closes #2537]
This commit is contained in:
@@ -6115,7 +6115,6 @@
|
|||||||
// Recursively merge objects and arrays (susceptible to call stack limits).
|
// Recursively merge objects and arrays (susceptible to call stack limits).
|
||||||
stack.set(srcValue, objValue);
|
stack.set(srcValue, objValue);
|
||||||
baseMerge(objValue, srcValue, undefined, mergeDefaults, stack);
|
baseMerge(objValue, srcValue, undefined, mergeDefaults, stack);
|
||||||
stack['delete'](srcValue);
|
|
||||||
}
|
}
|
||||||
return objValue;
|
return objValue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user