mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 11:27:50 +00:00
Bump to v3.1.0.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import baseMatches from '../internal/baseMatches';
|
||||
import find from './find';
|
||||
import matches from '../utility/matches';
|
||||
|
||||
/**
|
||||
* Performs a deep comparison between each element in `collection` and the
|
||||
@@ -26,7 +26,7 @@ import matches from '../utility/matches';
|
||||
* // => 'fred'
|
||||
*/
|
||||
function findWhere(collection, source) {
|
||||
return find(collection, matches(source));
|
||||
return find(collection, baseMatches(source));
|
||||
}
|
||||
|
||||
export default findWhere;
|
||||
|
||||
Reference in New Issue
Block a user