mdn-polyfills
Advanced tools
Comparing version 5.4.0 to 5.5.0
{ | ||
"name": "mdn-polyfills", | ||
"version": "5.4.0", | ||
"version": "5.5.0", | ||
"description": "MDN polyfills", | ||
@@ -45,2 +45,3 @@ "scripts": { | ||
"String.prototype.padEnd", | ||
"Node.prototype.append", | ||
"NodeList.prototype.forEach", | ||
@@ -63,3 +64,3 @@ "Function.prototype.bind", | ||
"devDependencies": { | ||
"ava": "^0.22.0", | ||
"ava": "^0.23.0", | ||
"babel-cli": "^6.26.0", | ||
@@ -71,3 +72,3 @@ "babel-plugin-external-helpers": "^6.22.0", | ||
"eslint-plugin-react": "^7.4.0", | ||
"rollup": "^0.50.0", | ||
"rollup": "^0.51.2", | ||
"rollup-plugin-babel": "^3.0.2", | ||
@@ -74,0 +75,0 @@ "rollup-plugin-uglify": "^2.0.1", |
@@ -118,2 +118,8 @@ [https://msn0.github.io/mdn-polyfills](https://msn0.github.io/mdn-polyfills) | ||
### [Node.prototype.append](https://developer.mozilla.org/en-US/docs/Web/API/ParentNode/append#Polyfill) | ||
```js | ||
import 'mdn-polyfills/Node.prototype.append'; // 433 bytes | ||
``` | ||
### [NodeList.prototype.forEach](https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach#Polyfill) | ||
@@ -120,0 +126,0 @@ |
@@ -42,2 +42,3 @@ const babelrc = require('babelrc-rollup').default; | ||
rollup(input('./src/Function.prototype.bind/index.js')).then(output('./Function.prototype.bind.js')); | ||
rollup(input('./src/Node.prototype.append/index.js')).then(output('./Node.prototype.append.js')); | ||
rollup(input('./src/NodeList.prototype.forEach/index.js')).then(output('./NodeList.prototype.forEach.js')); | ||
@@ -44,0 +45,0 @@ rollup(input('./src/Element.prototype.closest/index.js')).then(output('./Element.prototype.closest.js')); |
@@ -1,1 +0,1 @@ | ||
String.prototype.includes||(String.prototype.includes=function(t,e){"use strict";return"number"!=typeof e&&(e=0),!(e+t.length>this.length)&&-1!==this.indexOf(t,e)}); | ||
String.prototype.includes||(String.prototype.includes=function(t,n){return"number"!=typeof n&&(n=0),!(n+t.length>this.length)&&-1!==this.indexOf(t,n)}); |
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
42893
90
845
157