Socket
Socket
Sign inDemoInstall

array.prototype.findindex

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

array.prototype.findindex - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

3

CHANGELOG.md

@@ -0,1 +1,4 @@

# 2.0.2
- [Performance] the entry point should use the native function when compliant
# 2.0.1

@@ -2,0 +5,0 @@ - [Fix] use call instead of apply in bound entry point function (#17)

4

index.js

@@ -12,6 +12,8 @@ 'use strict';

var polyfill = getPolyfill();
var boundShim = function findIndex(array, predicate) {
ES.RequireObjectCoercible(array);
var args = slice.call(arguments, 1);
return implementation.apply(array, args);
return polyfill.apply(array, args);
};

@@ -18,0 +20,0 @@

{
"name": "array.prototype.findindex",
"version": "2.0.1",
"version": "2.0.2",
"description": "Array.prototype.findIndex ES6 polyfill.",

@@ -5,0 +5,0 @@ "keywords": [

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