mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 09:27:49 +00:00
Bump to v4.17.0.
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
define(['./_baseClone', './_baseConforms'], function(baseClone, baseConforms) {
|
||||
|
||||
/** Used to compose bitmasks for cloning. */
|
||||
var CLONE_DEEP_FLAG = 1;
|
||||
|
||||
/**
|
||||
* Creates a function that invokes the predicate properties of `source` with
|
||||
* the corresponding property values of a given object, returning `true` if
|
||||
@@ -25,7 +28,7 @@ define(['./_baseClone', './_baseConforms'], function(baseClone, baseConforms) {
|
||||
* // => [{ 'a': 1, 'b': 2 }]
|
||||
*/
|
||||
function conforms(source) {
|
||||
return baseConforms(baseClone(source, true));
|
||||
return baseConforms(baseClone(source, CLONE_DEEP_FLAG));
|
||||
}
|
||||
|
||||
return conforms;
|
||||
|
||||
Reference in New Issue
Block a user