lodash._createwrapper
Advanced tools
Comparing version 3.0.5 to 3.0.6
/** | ||
* lodash 3.0.5 (Custom Build) <https://lodash.com/> | ||
* lodash 3.0.6 (Custom Build) <https://lodash.com/> | ||
* Build: `lodash modern modularize exports="npm" -o ./` | ||
@@ -26,2 +26,5 @@ * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/> | ||
/** Used to detect unsigned integer values. */ | ||
var reIsUint = /^\d+$/; | ||
/* Native method references for those with the same name as other `lodash` methods. */ | ||
@@ -337,3 +340,3 @@ var nativeMax = Math.max, | ||
function isIndex(value, length) { | ||
value = typeof value == 'number' ? value : parseFloat(value); | ||
value = (typeof value == 'number' || reIsUint.test(value)) ? +value : -1; | ||
length = length == null ? MAX_SAFE_INTEGER : length; | ||
@@ -340,0 +343,0 @@ return value > -1 && value % 1 == 0 && value < length; |
{ | ||
"name": "lodash._createwrapper", | ||
"version": "3.0.5", | ||
"version": "3.0.6", | ||
"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.5 | ||
# lodash._createwrapper v3.0.6 | ||
@@ -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.5-npm-packages/lodash._createwrapper) for more details. | ||
See the [package source](https://github.com/lodash/lodash/blob/3.0.6-npm-packages/lodash._createwrapper) for more details. |
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
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
16461
360