Socket
Socket
Sign inDemoInstall

lodash.partialright

Package Overview
Dependencies
Maintainers
3
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lodash.partialright - npm Package Compare versions

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc