mdn-polyfills
Advanced tools
Comparing version 5.1.0 to 5.2.0
{ | ||
"name": "mdn-polyfills", | ||
"version": "5.1.0", | ||
"version": "5.2.0", | ||
"description": "MDN polyfills", | ||
@@ -26,2 +26,3 @@ "scripts": { | ||
"startsWith", | ||
"endsWith", | ||
"bind", | ||
@@ -42,2 +43,3 @@ "closest", | ||
"String.prototype.startsWith", | ||
"String.prototype.endsWith", | ||
"NodeList.prototype.forEach", | ||
@@ -65,4 +67,4 @@ "Function.prototype.bind", | ||
"eslint-config-helmut": "^1.2.0", | ||
"eslint-plugin-react": "^7.3.0", | ||
"rollup": "^0.49.3", | ||
"eslint-plugin-react": "^7.4.0", | ||
"rollup": "^0.50.0", | ||
"rollup-plugin-babel": "^3.0.2", | ||
@@ -69,0 +71,0 @@ "rollup-plugin-uglify": "^2.0.1", |
@@ -1,2 +0,2 @@ | ||
# 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)]() | ||
# 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)](https://www.npmjs.com/package/mdn-polyfills) | ||
@@ -86,2 +86,8 @@ > [MDN](https://developer.mozilla.org) polyfills. A collection of side-effect ECMAScript modules. Minimized, mangled and extremely small thanks to [Rollup](https://rollupjs.org) - next-generation ES6 module bundler. | ||
### [String.prototype.endsWith](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String/endsWith#Polyfill) | ||
```js | ||
import 'mdn-polyfills/String.prototype.endsWith'; // 176 bytes | ||
``` | ||
### [Function.prototype.bind](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_objects/Function/bind#Polyfill) | ||
@@ -88,0 +94,0 @@ |
@@ -35,2 +35,3 @@ const babelrc = require('babelrc-rollup').default; | ||
rollup(input('./src/String.prototype.startsWith/index.js')).then(output('./String.prototype.startsWith.js')); | ||
rollup(input('./src/String.prototype.endsWith/index.js')).then(output('./String.prototype.endsWith.js')); | ||
rollup(input('./src/String.prototype.includes/index.js')).then(output('./String.prototype.includes.js')); | ||
@@ -37,0 +38,0 @@ rollup(input('./src/Function.prototype.bind/index.js')).then(output('./Function.prototype.bind.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
36819
71
676
125