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.4.0 to 5.5.0

Node.prototype.append.js

7

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