mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 09:47:48 +00:00
Allow lodash underscore plus=cloneDeep without also needing to include clone.
Former-commit-id: 90f89296ab47eff635c3c30ed34466e347ea13d3
This commit is contained in:
2
build.js
2
build.js
@@ -1708,7 +1708,7 @@
|
||||
exposeZipObject = methods.indexOf('zipObject') > -1;
|
||||
|
||||
methods = _.without.apply(_, [plusMethods].concat(minusMethods));
|
||||
useUnderscoreClone = methods.indexOf('clone') < 0;
|
||||
useUnderscoreClone = methods.indexOf('clone') < 0 && methods.indexOf('cloneDeep') < 0;
|
||||
}
|
||||
// update dependencies
|
||||
if (isLegacy) {
|
||||
|
||||
Reference in New Issue
Block a user