Socket
Socket
Sign inDemoInstall

array-find-index

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

3

package.json
{
"name": "array-find-index",
"version": "1.0.1",
"version": "1.0.2",
"description": "ES2015 `Array#findIndex()` ponyfill",

@@ -22,3 +22,2 @@ "license": "MIT",

"keywords": [
"es6",
"es2015",

@@ -25,0 +24,0 @@ "ponyfill",

# array-find-index [![Build Status](https://travis-ci.org/sindresorhus/array-find-index.svg?branch=master)](https://travis-ci.org/sindresorhus/array-find-index)
> ES2015 [`Array#findIndex()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/findIndex) ponyfill
> ES2015 [`Array#findIndex()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/findIndex) [ponyfill](https://ponyfill.com)
> Ponyfill: A polyfill that doesn't overwrite the native method
## Install

@@ -18,3 +16,3 @@

```js
arrayFindIndex = require('array-find-index');
const arrayFindIndex = require('array-find-index');

@@ -33,2 +31,2 @@ arrayFindIndex(['rainbow', 'unicorn', 'pony'], x => x === 'unicorn');

MIT © [Sindre Sorhus](http://sindresorhus.com)
MIT © [Sindre Sorhus](https://sindresorhus.com)
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