Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mdn-polyfills

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mdn-polyfills - npm Package Compare versions

Comparing version 5.10.1 to 5.11.0

Node.prototype.after.js

7

package.json
{
"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'));

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc