mdn-polyfills
Advanced tools
Comparing version 5.7.0 to 5.8.0
{ | ||
"name": "mdn-polyfills", | ||
"version": "5.7.0", | ||
"version": "5.8.0", | ||
"description": "MDN polyfills", | ||
@@ -48,2 +48,3 @@ "scripts": { | ||
"Node.prototype.append", | ||
"Node.prototype.children", | ||
"NodeList.prototype.forEach", | ||
@@ -71,4 +72,5 @@ "Function.prototype.bind", | ||
"babelrc-rollup": "^3.0.0", | ||
"browser-env": "^3.2.5", | ||
"eslint-config-helmut": "^3.0.0", | ||
"rollup": "^0.58.2", | ||
"rollup": "^0.59.0", | ||
"rollup-plugin-babel": "^3.0.4", | ||
@@ -75,0 +77,0 @@ "rollup-plugin-uglify": "^3.0.0", |
@@ -130,2 +130,8 @@ [https://msn0.github.io/mdn-polyfills](https://msn0.github.io/mdn-polyfills) | ||
### [Node.prototype.children](https://developer.mozilla.org/en-US/docs/Web/API/ParentNode/children#Polyfill) | ||
```js | ||
import 'mdn-polyfills/Node.prototype.children'; // 245 bytes | ||
``` | ||
### [NodeList.prototype.forEach](https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach#Polyfill) | ||
@@ -132,0 +138,0 @@ |
@@ -44,2 +44,3 @@ const babelrc = require('babelrc-rollup').default; | ||
rollup(input('./src/Node.prototype.append/index.js')).then(output('./Node.prototype.append.js')); | ||
rollup(input('./src/Node.prototype.children/index.js')).then(output('./Node.prototype.children.js')); | ||
rollup(input('./src/NodeList.prototype.forEach/index.js')).then(output('./NodeList.prototype.forEach.js')); | ||
@@ -46,0 +47,0 @@ rollup(input('./src/Element.prototype.closest/index.js')).then(output('./Element.prototype.closest.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
47695
98
947
170
11