lodash.indexof
Advanced tools
Comparing version 4.0.0 to 4.0.1
13
index.js
/** | ||
* lodash 4.0.0 (Custom Build) <https://lodash.com/> | ||
* lodash 4.0.1 (Custom Build) <https://lodash.com/> | ||
* Build: `lodash modularize exports="npm" -o ./` | ||
@@ -31,3 +31,3 @@ * Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/> | ||
/** Built-in method references without a dependency on `global`. */ | ||
/** Built-in method references without a dependency on `root`. */ | ||
var freeParseInt = parseInt; | ||
@@ -82,3 +82,3 @@ | ||
/** Used for built-in method references. */ | ||
var objectProto = global.Object.prototype; | ||
var objectProto = Object.prototype; | ||
@@ -98,4 +98,3 @@ /** | ||
* for equality comparisons. If `fromIndex` is negative, it's used as the offset | ||
* from the end of `array`. If `array` is sorted providing `true` for `fromIndex` | ||
* performs a faster binary search. | ||
* from the end of `array`. | ||
* | ||
@@ -114,3 +113,3 @@ * @static | ||
* | ||
* // using `fromIndex` | ||
* // Search from the `fromIndex`. | ||
* _.indexOf([1, 2, 1, 2], 2, 2); | ||
@@ -179,4 +178,2 @@ * // => 3 | ||
function isObject(value) { | ||
// Avoid a V8 JIT bug in Chrome 19-20. | ||
// See https://code.google.com/p/v8/issues/detail?id=2291 for more details. | ||
var type = typeof value; | ||
@@ -183,0 +180,0 @@ return !!value && (type == 'object' || type == 'function'); |
{ | ||
"name": "lodash.indexof", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "The lodash method `_.indexOf` exported as a module.", | ||
@@ -8,3 +8,3 @@ "homepage": "https://lodash.com/", | ||
"license": "MIT", | ||
"keywords": "lodash, lodash-modularized, stdlib, util, indexof", | ||
"keywords": "lodash-modularized, indexof", | ||
"author": "John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)", | ||
@@ -11,0 +11,0 @@ "contributors": [ |
@@ -1,2 +0,2 @@ | ||
# lodash.indexof v4.0.0 | ||
# lodash.indexof v4.0.1 | ||
@@ -18,2 +18,2 @@ The [lodash](https://lodash.com/) method `_.indexOf` exported as a [Node.js](https://nodejs.org/) module. | ||
See the [documentation](https://lodash.com/docs#indexOf) or [package source](https://github.com/lodash/lodash/blob/4.0.0-npm-packages/lodash.indexof) for more details. | ||
See the [documentation](https://lodash.com/docs#indexOf) or [package source](https://github.com/lodash/lodash/blob/4.0.1-npm-packages/lodash.indexof) 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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
9127
232