mdn-polyfills
Advanced tools
Comparing version 3.2.0 to 3.3.0
{ | ||
"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 @@ |
@@ -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')); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26238
50
539
82