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

lodash.indexof

Package Overview
Dependencies
Maintainers
3
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lodash.indexof - npm Package Compare versions

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.
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