Socket
Socket
Sign inDemoInstall

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

13

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

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

baseCreate = require('lodash._basecreate'),
replaceHolders = require('lodash._replaceholders'),
isFunction = require('lodash.isfunction');
replaceHolders = require('lodash._replaceholders');

@@ -34,3 +33,3 @@ /** Used to compose bitmasks for wrapper metadata. */

* Used as the maximum length of an array-like value.
* See the [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength)
* See the [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.max_safe_integer)
* for more details.

@@ -285,3 +284,3 @@ */

var isBindKey = bitmask & BIND_KEY_FLAG;
if (!isBindKey && !isFunction(func)) {
if (!isBindKey && typeof func != 'function') {
throw new TypeError(FUNC_ERROR_TEXT);

@@ -310,5 +309,5 @@ }

} else if ((bitmask == PARTIAL_FLAG || bitmask == (BIND_FLAG | PARTIAL_FLAG)) && !newData[4].length) {
result = createPartialWrapper.apply(null, newData);
result = createPartialWrapper.apply(undefined, newData);
} else {
result = createHybridWrapper.apply(null, newData);
result = createHybridWrapper.apply(undefined, newData);
}

@@ -315,0 +314,0 @@ return result;

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

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

"lodash._basecreate": "^3.0.0",
"lodash._replaceholders": "^3.0.0",
"lodash.isfunction": "^3.0.0"
"lodash._replaceholders": "^3.0.0"
}
}

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

# lodash._createwrapper v3.0.0
# lodash._createwrapper v3.0.1

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