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

lodash.findindex

Package Overview
Dependencies
Maintainers
3
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lodash.findindex - npm Package Compare versions

Comparing version 4.2.1 to 4.3.0

12

index.js
/**
* lodash 4.2.1 (Custom Build) <https://lodash.com/>
* lodash 4.3.0 (Custom Build) <https://lodash.com/>
* Build: `lodash modularize exports="npm" -o ./`
* Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/>
* Copyright jQuery Foundation and other contributors <https://jquery.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
* Available under MIT license <https://lodash.com/license>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/

@@ -18,5 +18,7 @@ var baseFindIndex = require('lodash._basefindindex'),

* @memberOf _
* @since 1.1.0
* @category Array
* @param {Array} array The array to search.
* @param {Function|Object|string} [predicate=_.identity] The function invoked per iteration.
* @param {Array|Function|Object|string} [predicate=_.identity]
* The function invoked per iteration.
* @returns {number} Returns the index of the found element, else `-1`.

@@ -23,0 +25,0 @@ * @example

{
"name": "lodash.findindex",
"version": "4.2.1",
"version": "4.3.0",
"description": "The lodash method `_.findIndex` exported as a module.",

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

"lodash._basefindindex": "~3.6.0",
"lodash._baseiteratee": "~4.5.0"
"lodash._baseiteratee": "~4.6.0"
}
}

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

# lodash.findindex v4.2.1
# lodash.findindex v4.3.0

@@ -18,2 +18,2 @@ The [lodash](https://lodash.com/) method `_.findIndex` exported as a [Node.js](https://nodejs.org/) module.

See the [documentation](https://lodash.com/docs#findIndex) or [package source](https://github.com/lodash/lodash/blob/4.2.1-npm-packages/lodash.findindex) for more details.
See the [documentation](https://lodash.com/docs#findIndex) or [package source](https://github.com/lodash/lodash/blob/4.3.0-npm-packages/lodash.findindex) for more details.

Sorry, the diff of this file is not supported yet

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