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

lodash._createwrapper

Package Overview
Dependencies
Maintainers
5
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lodash._createwrapper - npm Package Compare versions

Comparing version 3.0.6 to 3.0.7

LICENSE

28

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

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

/**
* Used as the [maximum length](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.max_safe_integer)
* Used as the [maximum length](http://ecma-international.org/ecma-262/6.0/#sec-number.max_safe_integer)
* of an array-like value.

@@ -56,3 +56,3 @@ */

leftLength = partials.length,
result = Array(argsLength + leftLength);
result = Array(leftLength + argsLength);

@@ -133,3 +133,3 @@ while (++leftIndex < leftLength) {

// Use a `switch` statement to work with class constructors.
// See https://people.mozilla.org/~jorendorff/es6-draft.html#sec-ecmascript-function-objects-call-thisargument-argumentslist
// See http://ecma-international.org/ecma-262/6.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist
// for more details.

@@ -144,2 +144,4 @@ var args = arguments;

case 5: return new Ctor(args[0], args[1], args[2], args[3], args[4]);
case 6: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5]);
case 7: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]);
}

@@ -179,3 +181,3 @@ var thisBinding = baseCreate(Ctor.prototype),

isCurryRight = bitmask & CURRY_RIGHT_FLAG,
Ctor = isBindKey ? null : createCtorWrapper(func);
Ctor = isBindKey ? undefined : createCtorWrapper(func);

@@ -204,8 +206,8 @@ function wrapper() {

if (length < arity) {
var newArgPos = argPos ? arrayCopy(argPos) : null,
var newArgPos = argPos ? arrayCopy(argPos) : undefined,
newArity = nativeMax(arity - length, 0),
newsHolders = isCurry ? argsHolders : null,
newHoldersRight = isCurry ? null : argsHolders,
newPartials = isCurry ? args : null,
newPartialsRight = isCurry ? null : args;
newsHolders = isCurry ? argsHolders : undefined,
newHoldersRight = isCurry ? undefined : argsHolders,
newPartials = isCurry ? args : undefined,
newPartialsRight = isCurry ? undefined : args;

@@ -264,3 +266,3 @@ bitmask |= (isCurry ? PARTIAL_FLAG : PARTIAL_RIGHT_FLAG);

leftLength = partials.length,
args = Array(argsLength + leftLength);
args = Array(leftLength + argsLength);

@@ -312,3 +314,3 @@ while (++leftIndex < leftLength) {

bitmask &= ~(PARTIAL_FLAG | PARTIAL_RIGHT_FLAG);
partials = holders = null;
partials = holders = undefined;
}

@@ -320,3 +322,3 @@ length -= (holders ? holders.length : 0);

partials = holders = null;
partials = holders = undefined;
}

@@ -323,0 +325,0 @@ var newData = [func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity];

{
"name": "lodash._createwrapper",
"version": "3.0.6",
"version": "3.0.7",
"description": "The modern build of lodash’s internal `createWrapper` as a module.",

@@ -5,0 +5,0 @@ "homepage": "https://lodash.com/",

@@ -1,2 +0,2 @@

# lodash._createwrapper v3.0.6
# lodash._createwrapper v3.0.7

@@ -20,2 +20,2 @@ The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `createWrapper` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.

See the [package source](https://github.com/lodash/lodash/blob/3.0.6-npm-packages/lodash._createwrapper) for more details.
See the [package source](https://github.com/lodash/lodash/blob/3.0.7-npm-packages/lodash._createwrapper) 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