mdn-polyfills
Advanced tools
Comparing version 3.5.0 to 3.6.0
{ | ||
"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) |
@@ -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
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
29671
59
597
100