Socket
Socket
Sign inDemoInstall

find-index

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.1.1

CHANGELOG.md

4

package.json
{
"name": "find-index",
"version": "1.1.0",
"version": "1.1.1",
"description": "finds an item in an array matching a predicate function, and returns its index",

@@ -20,3 +20,3 @@ "main": "index.js",

"array-findindex": "0.1.0",
"lodash.findindex": "3.2.0",
"lodash.findindex": "^4.6.0",
"tap": "^1.0.4"

@@ -23,0 +23,0 @@ },

# find-index
ES6 `Array#findIndex` as a standalone module and a **ponyfill** (a polyfill that
doesn't overwrite the native method).
An implementation of the ES6 method `Array.prototype.findIndex` as a standalone module and a
[*ponyfill*](https://ponyfill.com).
Finds an item in an array matching a predicate function, and returns its index.
Fast both when `thisArg` is used and also when it isn't:
[jsPerf](http://jsperf.com/array-prototype-findindex-shims)
Fast both when `thisArg` is used and also when it isn't.

@@ -43,3 +42,3 @@ ### usage

```js
```bash
$ iojs --harmony_arrays perf/benchmark.js

@@ -46,0 +45,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc