mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 01:17:50 +00:00
Bump to v4.1.1.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# lodash.forown v4.1.0
|
||||
# lodash.forown v4.1.1
|
||||
|
||||
The [lodash](https://lodash.com/) method `_.forOwn` exported as a [Node.js](https://nodejs.org/) module.
|
||||
|
||||
@@ -15,4 +15,4 @@ In Node.js:
|
||||
var forOwn = require('lodash.forown');
|
||||
```
|
||||
|
||||
See the [documentation](https://lodash.com/docs#forOwn) or [package source](https://github.com/lodash/lodash/blob/4.1.0-npm-packages/lodash.forown) for more details.
|
||||
See the [documentation](https://lodash.com/docs#forOwn) or [package source](https://github.com/lodash/lodash/blob/4.1.1-npm-packages/lodash.forown) for more details.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* lodash 4.1.0 (Custom Build) <https://lodash.com/>
|
||||
* lodash (Custom Build) <https://lodash.com/>
|
||||
* Build: `lodash modularize exports="npm" -o ./`
|
||||
* Copyright jQuery Foundation and other contributors <https://jquery.org/>
|
||||
* Released under MIT license <https://lodash.com/license>
|
||||
@@ -35,6 +35,7 @@ function baseForOwn(object, iteratee) {
|
||||
* @param {Object} object The object to iterate over.
|
||||
* @param {Function} [iteratee=_.identity] The function invoked per iteration.
|
||||
* @returns {Object} Returns `object`.
|
||||
* @see _.forOwnRight
|
||||
* @example
|
||||
*
|
||||
* function Foo() {
|
||||
@@ -50,7 +51,7 @@ function baseForOwn(object, iteratee) {
|
||||
* // => Logs 'a' then 'b' (iteration order is not guaranteed).
|
||||
*/
|
||||
function forOwn(object, iteratee) {
|
||||
return object && baseForOwn(object, baseIteratee(iteratee));
|
||||
return object && baseForOwn(object, baseIteratee(iteratee, 3));
|
||||
}
|
||||
|
||||
module.exports = forOwn;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "lodash.forown",
|
||||
"version": "4.1.0",
|
||||
"version": "4.1.1",
|
||||
"description": "The lodash method `_.forOwn` exported as a module.",
|
||||
"homepage": "https://lodash.com/",
|
||||
"icon": "https://lodash.com/icon.svg",
|
||||
|
||||
Reference in New Issue
Block a user