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 3.5.0 to 3.6.0

Element.closest.js

5

package.json
{
"name": "mdn-polyfills",
"version": "3.5.0",
"version": "3.6.0",
"description": "MDN polyfills",

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

"bind",
"closest",
"mdn"

@@ -53,3 +54,3 @@ ],

"eslint-config-helmut": "^1.2.0",
"rollup": "^0.41.6",
"rollup": "^0.43.0",
"rollup-plugin-babel": "^2.7.1",

@@ -56,0 +57,0 @@ "rollup-plugin-uglify": "^2.0.1",

@@ -91,4 +91,10 @@ # 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)]()

### [Element.closest](https://developer.mozilla.org/pl/docs/Web/API/Element/closest#Polyfill)
```js
import 'mdn-polyfills/Element.closest'; // 277 bytes
```
# License
MIT © [Michał Jezierski](https://github.com/msn0)

1

rollup.build.js

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

rollup(input('./src/NodeList.forEach/index.js')).then(output('./NodeList.forEach.js'));
rollup(input('./src/Element.closest/index.js')).then(output('./Element.closest.js'));

Sorry, the diff of this file is not supported yet

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