mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 02:47:50 +00:00
Bump to v4.2.1.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# lodash.forownright v4.2.0
|
||||
# lodash.forownright v4.2.1
|
||||
|
||||
The [lodash](https://lodash.com/) method `_.forOwnRight` exported as a [Node.js](https://nodejs.org/) module.
|
||||
|
||||
@@ -15,4 +15,4 @@ In Node.js:
|
||||
var forOwnRight = require('lodash.forownright');
|
||||
```
|
||||
|
||||
See the [documentation](https://lodash.com/docs#forOwnRight) or [package source](https://github.com/lodash/lodash/blob/4.2.0-npm-packages/lodash.forownright) for more details.
|
||||
See the [documentation](https://lodash.com/docs#forOwnRight) or [package source](https://github.com/lodash/lodash/blob/4.2.1-npm-packages/lodash.forownright) for more details.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* lodash 4.2.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>
|
||||
@@ -33,6 +33,7 @@ function baseForOwnRight(object, iteratee) {
|
||||
* @param {Object} object The object to iterate over.
|
||||
* @param {Function} [iteratee=_.identity] The function invoked per iteration.
|
||||
* @returns {Object} Returns `object`.
|
||||
* @see _.forOwn
|
||||
* @example
|
||||
*
|
||||
* function Foo() {
|
||||
@@ -48,7 +49,7 @@ function baseForOwnRight(object, iteratee) {
|
||||
* // => Logs 'b' then 'a' assuming `_.forOwn` logs 'a' then 'b'.
|
||||
*/
|
||||
function forOwnRight(object, iteratee) {
|
||||
return object && baseForOwnRight(object, baseIteratee(iteratee));
|
||||
return object && baseForOwnRight(object, baseIteratee(iteratee, 3));
|
||||
}
|
||||
|
||||
module.exports = forOwnRight;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "lodash.forownright",
|
||||
"version": "4.2.0",
|
||||
"version": "4.2.1",
|
||||
"description": "The lodash method `_.forOwnRight` exported as a module.",
|
||||
"homepage": "https://lodash.com/",
|
||||
"icon": "https://lodash.com/icon.svg",
|
||||
|
||||
Reference in New Issue
Block a user