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

lodash.find

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.find - npm Package Compare versions

Comparing version 4.2.1 to 4.3.0

20

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
*/

@@ -16,10 +16,12 @@ var baseEach = require('lodash._baseeach'),

* Iterates over elements of `collection`, returning the first element
* `predicate` returns truthy for. The predicate is invoked with three arguments:
* (value, index|key, collection).
* `predicate` returns truthy for. The predicate is invoked with three
* arguments: (value, index|key, collection).
*
* @static
* @memberOf _
* @since 0.1.0
* @category Collection
* @param {Array|Object} collection The collection 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 {*} Returns the matched element, else `undefined`.

@@ -63,6 +65,8 @@ * @example

* @memberOf _
* @since 0.1.0
* @type {Function}
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.
* @returns {boolean} Returns `true` if `value` is correctly classified,
* else `false`.
* @example

@@ -69,0 +73,0 @@ *

4

package.json
{
"name": "lodash.find",
"version": "4.2.1",
"version": "4.3.0",
"description": "The lodash method `_.find` exported as a module.",

@@ -21,4 +21,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.find v4.2.1
# lodash.find v4.3.0

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

See the [documentation](https://lodash.com/docs#find) or [package source](https://github.com/lodash/lodash/blob/4.2.1-npm-packages/lodash.find) for more details.
See the [documentation](https://lodash.com/docs#find) or [package source](https://github.com/lodash/lodash/blob/4.3.0-npm-packages/lodash.find) 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