lodash.partialright
Advanced tools
Comparing version 4.1.3 to 4.1.4
15
index.js
/** | ||
* lodash 4.1.3 (Custom Build) <https://lodash.com/> | ||
* lodash (Custom Build) <https://lodash.com/> | ||
* Build: `lodash modularize exports="npm" -o ./` | ||
* Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/> | ||
* Copyright jQuery Foundation and other contributors <https://jquery.org/> | ||
* Released under MIT license <https://lodash.com/license> | ||
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE> | ||
* Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors | ||
* Available under MIT license <https://lodash.com/license> | ||
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors | ||
*/ | ||
@@ -50,3 +50,3 @@ var createWrapper = require('lodash._createwrapper'), | ||
*/ | ||
function getPlaceholder(func) { | ||
function getHolder(func) { | ||
var object = func; | ||
@@ -58,3 +58,3 @@ return object.placeholder; | ||
* This method is like `_.partial` except that partially applied arguments | ||
* are appended to those provided to the new function. | ||
* are appended to the arguments it receives. | ||
* | ||
@@ -69,2 +69,3 @@ * The `_.partialRight.placeholder` value, which defaults to `_` in monolithic | ||
* @memberOf _ | ||
* @since 1.0.0 | ||
* @category Function | ||
@@ -90,3 +91,3 @@ * @param {Function} func The function to partially apply arguments to. | ||
var partialRight = rest(function(func, partials) { | ||
var holders = replaceHolders(partials, getPlaceholder(partialRight)); | ||
var holders = replaceHolders(partials, getHolder(partialRight)); | ||
return createWrapper(func, PARTIAL_RIGHT_FLAG, undefined, partials, holders); | ||
@@ -93,0 +94,0 @@ }); |
{ | ||
"name": "lodash.partialright", | ||
"version": "4.1.3", | ||
"version": "4.1.4", | ||
"description": "The lodash method `_.partialRight` exported as a module.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://lodash.com/", |
@@ -1,2 +0,2 @@ | ||
# lodash.partialright v4.1.3 | ||
# lodash.partialright v4.1.4 | ||
@@ -18,2 +18,2 @@ The [lodash](https://lodash.com/) method `_.partialRight` exported as a [Node.js](https://nodejs.org/) module. | ||
See the [documentation](https://lodash.com/docs#partialRight) or [package source](https://github.com/lodash/lodash/blob/4.1.3-npm-packages/lodash.partialright) for more details. | ||
See the [documentation](https://lodash.com/docs#partialRight) or [package source](https://github.com/lodash/lodash/blob/4.1.4-npm-packages/lodash.partialright) for more details. |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6153
87
1