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

mdn-polyfills

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mdn-polyfills - npm Package Compare versions

Comparing version 3.2.0 to 3.3.0

Array.prototype.findIndex.js

5

package.json
{
"name": "mdn-polyfills",
"version": "3.2.0",
"version": "3.3.0",
"description": "MDN polyfills",

@@ -27,2 +27,3 @@ "scripts": {

"array.filter",
"array.findIndex",
"array.includes",

@@ -53,3 +54,3 @@ "array.of",

"rollup-plugin-babel": "^2.7.1",
"rollup-plugin-uglify": "^2.0.0",
"rollup-plugin-uglify": "^2.0.1",
"tap-nyan": "^1.1.0"

@@ -56,0 +57,0 @@ },

@@ -49,2 +49,8 @@ # Polyfills copy-pasted from MDN [![Build Status](https://travis-ci.org/msn0/mdn-polyfills.svg?branch=master)](http://travis-ci.org/msn0/mdn-polyfills) [![npm](https://img.shields.io/npm/dt/mdn-polyfills.svg)]()

## [Array.prototype.findIndex](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/findIndex?v=control#Polyfill)
```js
import 'mdn-polyfills/Array.prototype.findIndex'; // 398 bytes
```
## [Array.prototype.includes](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Array/includes?v=control#Polyfill)

@@ -51,0 +57,0 @@

1

rollup.build.js

@@ -29,2 +29,3 @@ const babelrc = require('babelrc-rollup').default;

rollup(input('./src/Array.prototype.filter/index.js')).then(output('./Array.prototype.filter.js'));
rollup(input('./src/Array.prototype.findIndex/index.js')).then(output('./Array.prototype.findIndex.js'));
rollup(input('./src/Array.prototype.forEach/index.js')).then(output('./Array.prototype.forEach.js'));

@@ -31,0 +32,0 @@ rollup(input('./src/Array.prototype.includes/index.js')).then(output('./Array.prototype.includes.js'));

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