mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 18:17:48 +00:00
Bump to v4.2.1.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# lodash.pickby v4.2.0
|
||||
# lodash.pickby v4.2.1
|
||||
|
||||
The [lodash](https://lodash.com/) method `_.pickBy` exported as a [Node.js](https://nodejs.org/) module.
|
||||
|
||||
@@ -15,4 +15,4 @@ In Node.js:
|
||||
var pickBy = require('lodash.pickby');
|
||||
```
|
||||
|
||||
See the [documentation](https://lodash.com/docs#pickBy) or [package source](https://github.com/lodash/lodash/blob/4.2.0-npm-packages/lodash.pickby) for more details.
|
||||
See the [documentation](https://lodash.com/docs#pickBy) or [package source](https://github.com/lodash/lodash/blob/4.2.1-npm-packages/lodash.pickby) for more details.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* lodash 4.2.0 (Custom Build) <https://lodash.com/>
|
||||
* lodash 4.2.1 (Custom Build) <https://lodash.com/>
|
||||
* Build: `lodash modularize exports="npm" -o ./`
|
||||
* Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/>
|
||||
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
||||
@@ -58,7 +58,7 @@ function basePickBy(object, predicate) {
|
||||
* // => { 'a': 1, 'c': 3 }
|
||||
*/
|
||||
function pickBy(object, predicate) {
|
||||
return object == null ? {} : basePickBy(object, baseIteratee(predicate, 2));
|
||||
return object == null ? {} : basePickBy(object, baseIteratee(predicate));
|
||||
}
|
||||
|
||||
module.exports = pickBy;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "lodash.pickby",
|
||||
"version": "4.2.0",
|
||||
"version": "4.2.1",
|
||||
"description": "The lodash method `_.pickBy` exported as a module.",
|
||||
"homepage": "https://lodash.com/",
|
||||
"icon": "https://lodash.com/icon.svg",
|
||||
|
||||
Reference in New Issue
Block a user