Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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.0 to 4.1.1

21

index.js
/**
* lodash 4.1.0 (Custom Build) <https://lodash.com/>
* lodash 4.1.1 (Custom Build) <https://lodash.com/>
* Build: `lodash modularize exports="npm" -o ./`

@@ -34,3 +34,4 @@ * Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/>

while (++index < length) {
if (array[index] === placeholder) {
var value = array[index];
if (value === placeholder || value === PLACEHOLDER) {
array[index] = PLACEHOLDER;

@@ -44,2 +45,14 @@ result[++resIndex] = index;

/**
* Gets the argument placeholder value for `func`.
*
* @private
* @param {Function} func The function to inspect.
* @returns {*} Returns the placeholder value.
*/
function getPlaceholder(func) {
var object = func;
return object.placeholder;
}
/**
* This method is like `_.partial` except that partially applied arguments

@@ -76,5 +89,3 @@ * are appended to those provided to the new function.

var partialRight = rest(function(func, partials) {
var placeholder = partialRight.placeholder,
holders = replaceHolders(partials, placeholder);
var holders = replaceHolders(partials, getPlaceholder(partialRight));
return createWrapper(func, PARTIAL_RIGHT_FLAG, undefined, partials, holders);

@@ -81,0 +92,0 @@ });

{
"name": "lodash.partialright",
"version": "4.1.0",
"version": "4.1.1",
"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.0
# lodash.partialright v4.1.1

@@ -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.0-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.1-npm-packages/lodash.partialright) for more details.
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