lodash-es
Advanced tools
Comparing version 3.9.2 to 3.9.3
@@ -0,1 +1,4 @@ | ||
/** Used to detect unsigned integer values. */ | ||
var reIsUint = /^\d+$/; | ||
/** | ||
@@ -16,3 +19,3 @@ * Used as the [maximum length](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.max_safe_integer) | ||
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; | ||
@@ -19,0 +22,0 @@ return value > -1 && value % 1 == 0 && value < length; |
/** | ||
* @license | ||
* lodash 3.9.2 (Custom Build) <https://lodash.com/> | ||
* lodash 3.9.3 (Custom Build) <https://lodash.com/> | ||
* Build: `lodash modularize modern exports="es" -o ./` | ||
@@ -45,3 +45,3 @@ * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/> | ||
/** Used as the semantic version number. */ | ||
var VERSION = '3.9.2'; | ||
var VERSION = '3.9.3'; | ||
@@ -48,0 +48,0 @@ /** Used to compose bitmasks for wrapper metadata. */ |
{ | ||
"name": "lodash-es", | ||
"version": "3.9.2", | ||
"version": "3.9.3", | ||
"description": "The modern build of lodash exported as ES modules.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://lodash.com/custom-builds", |
@@ -1,2 +0,2 @@ | ||
# lodash-es v3.9.2 | ||
# lodash-es v3.9.3 | ||
@@ -10,2 +10,2 @@ The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash](https://lodash.com/) exported as [ES](https://people.mozilla.org/~jorendorff/es6-draft.html) modules. | ||
See the [package source](https://github.com/lodash/lodash/tree/3.9.2-es) for more details. | ||
See the [package source](https://github.com/lodash/lodash/tree/3.9.3-es) for more details. |
438185
13412