mdn-polyfills
Advanced tools
Comparing version 5.10.1 to 5.11.0
{ | ||
"name": "mdn-polyfills", | ||
"version": "5.10.1", | ||
"version": "5.11.0", | ||
"description": "MDN polyfills", | ||
@@ -50,2 +50,7 @@ "scripts": { | ||
"Node.prototype.append", | ||
"Node.prototype.prepend", | ||
"Node.prototype.before", | ||
"Node.prototype.after", | ||
"Node.prototype.remove", | ||
"Node.prototype.replaceWith", | ||
"Node.prototype.children", | ||
@@ -52,0 +57,0 @@ "NodeList.prototype.forEach", |
@@ -130,2 +130,32 @@ [https://msn0.github.io/mdn-polyfills](https://msn0.github.io/mdn-polyfills) | ||
### [Node.prototype.prepend](https://developer.mozilla.org/en-US/docs/Web/API/ParentNode/prepend#Polyfill) | ||
```js | ||
import 'mdn-polyfills/Node.prototype.prepend'; // 452 bytes | ||
``` | ||
### [Node.prototype.before](https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/before#Polyfill) | ||
```js | ||
import 'mdn-polyfills/Node.prototype.before'; // 440 bytes | ||
``` | ||
### [Node.prototype.after](https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/after#Polyfill) | ||
```js | ||
import 'mdn-polyfills/Node.prototype.after'; // 461 bytes | ||
``` | ||
### [Node.prototype.remove](https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/remove#Polyfill) | ||
```js | ||
import 'mdn-polyfills/Node.prototype.remove'; // 290 bytes | ||
``` | ||
### [Node.prototype.replaceWith](https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/replaceWith#Polyfill) | ||
```js | ||
import 'mdn-polyfills/Node.prototype.replaceWith'; // 731 bytes | ||
``` | ||
### [Node.prototype.children](https://developer.mozilla.org/en-US/docs/Web/API/ParentNode/children#Polyfill) | ||
@@ -132,0 +162,0 @@ |
@@ -44,2 +44,7 @@ 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.prepend/index.js')).then(output('./Node.prototype.prepend.js')); | ||
rollup(input('./src/Node.prototype.before/index.js')).then(output('./Node.prototype.before.js')); | ||
rollup(input('./src/Node.prototype.after/index.js')).then(output('./Node.prototype.after.js')); | ||
rollup(input('./src/Node.prototype.remove/index.js')).then(output('./Node.prototype.remove.js')); | ||
rollup(input('./src/Node.prototype.replaceWith/index.js')).then(output('./Node.prototype.replaceWith.js')); | ||
rollup(input('./src/Node.prototype.children/index.js')).then(output('./Node.prototype.children.js')); | ||
@@ -46,0 +51,0 @@ rollup(input('./src/NodeList.prototype.forEach/index.js')).then(output('./NodeList.prototype.forEach.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
56962
118
1123
212