Bump to v4.17.0.

This commit is contained in:
John-David Dalton
2016-11-13 22:50:13 -08:00
parent 39e6c50f72
commit 9849321273
64 changed files with 743 additions and 593 deletions

View File

@@ -1,5 +1,8 @@
var baseClone = require('./_baseClone');
/** Used to compose bitmasks for cloning. */
var CLONE_SYMBOLS_FLAG = 4;
/**
* This method is like `_.clone` except that it accepts `customizer` which
* is invoked to produce the cloned value. If `customizer` returns `undefined`,
@@ -33,7 +36,7 @@ var baseClone = require('./_baseClone');
*/
function cloneWith(value, customizer) {
customizer = typeof customizer == 'function' ? customizer : undefined;
return baseClone(value, false, true, customizer);
return baseClone(value, CLONE_SYMBOLS_FLAG, customizer);
}
module.exports = cloneWith;