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.1.0 to 5.2.0

Array.from.min.js

8

package.json
{
"name": "mdn-polyfills",
"version": "5.1.0",
"version": "5.2.0",
"description": "MDN polyfills",

@@ -26,2 +26,3 @@ "scripts": {

"startsWith",
"endsWith",
"bind",

@@ -42,2 +43,3 @@ "closest",

"String.prototype.startsWith",
"String.prototype.endsWith",
"NodeList.prototype.forEach",

@@ -65,4 +67,4 @@ "Function.prototype.bind",

"eslint-config-helmut": "^1.2.0",
"eslint-plugin-react": "^7.3.0",
"rollup": "^0.49.3",
"eslint-plugin-react": "^7.4.0",
"rollup": "^0.50.0",
"rollup-plugin-babel": "^3.0.2",

@@ -69,0 +71,0 @@ "rollup-plugin-uglify": "^2.0.1",

@@ -1,2 +0,2 @@

# Polyfills copy-pasted from MDN [![Build Status](https://travis-ci.org/msn0/mdn-polyfills.svg?branch=master)](http://travis-ci.org/msn0/mdn-polyfills) [![npm](https://img.shields.io/npm/dt/mdn-polyfills.svg)]()
# Polyfills copy-pasted from MDN [![Build Status](https://travis-ci.org/msn0/mdn-polyfills.svg?branch=master)](http://travis-ci.org/msn0/mdn-polyfills) [![npm](https://img.shields.io/npm/dt/mdn-polyfills.svg)](https://www.npmjs.com/package/mdn-polyfills)

@@ -86,2 +86,8 @@ > [MDN](https://developer.mozilla.org) polyfills. A collection of side-effect ECMAScript modules. Minimized, mangled and extremely small thanks to [Rollup](https://rollupjs.org) - next-generation ES6 module bundler.

### [String.prototype.endsWith](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String/endsWith#Polyfill)
```js
import 'mdn-polyfills/String.prototype.endsWith'; // 176 bytes
```
### [Function.prototype.bind](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_objects/Function/bind#Polyfill)

@@ -88,0 +94,0 @@

@@ -35,2 +35,3 @@ const babelrc = require('babelrc-rollup').default;

rollup(input('./src/String.prototype.startsWith/index.js')).then(output('./String.prototype.startsWith.js'));
rollup(input('./src/String.prototype.endsWith/index.js')).then(output('./String.prototype.endsWith.js'));
rollup(input('./src/String.prototype.includes/index.js')).then(output('./String.prototype.includes.js'));

@@ -37,0 +38,0 @@ rollup(input('./src/Function.prototype.bind/index.js')).then(output('./Function.prototype.bind.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