mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 08:07:50 +00:00
Bump to v4.17.0.
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
import baseClone from './_baseClone.js';
|
||||
import baseConforms from './_baseConforms.js';
|
||||
|
||||
/** 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
|
||||
@@ -26,7 +29,7 @@ import baseConforms from './_baseConforms.js';
|
||||
* // => [{ 'a': 1, 'b': 2 }]
|
||||
*/
|
||||
function conforms(source) {
|
||||
return baseConforms(baseClone(source, true));
|
||||
return baseConforms(baseClone(source, CLONE_DEEP_FLAG));
|
||||
}
|
||||
|
||||
export default conforms;
|
||||
|
||||
Reference in New Issue
Block a user