mdn-polyfills
Advanced tools
Comparing version 5.8.0 to 5.9.0
{ | ||
"name": "mdn-polyfills", | ||
"version": "5.8.0", | ||
"version": "5.9.0", | ||
"description": "MDN polyfills", | ||
@@ -30,2 +30,3 @@ "scripts": { | ||
"closest", | ||
"toggleAttribute", | ||
"matches", | ||
@@ -53,2 +54,3 @@ "Object.assign", | ||
"Element.prototype.closest", | ||
"Element.prototype.toggleAttribute", | ||
"Element.prototype.matches", | ||
@@ -55,0 +57,0 @@ "MouseEvent", |
@@ -148,2 +148,8 @@ [https://msn0.github.io/mdn-polyfills](https://msn0.github.io/mdn-polyfills) | ||
### [Element.prototype.toggleAttribute](https://developer.mozilla.org/en-US/docs/Web/API/Element/toggleAttribute#Polyfill) | ||
```js | ||
import 'mdn-polyfills/Element.prototype.toggleAttribute'; // 258 bytes | ||
``` | ||
### [Element.prototype.matches](https://developer.mozilla.org/en-US/docs/Web/API/Element/matches#Polyfill) | ||
@@ -150,0 +156,0 @@ |
@@ -47,4 +47,5 @@ const babelrc = require('babelrc-rollup').default; | ||
rollup(input('./src/Element.prototype.closest/index.js')).then(output('./Element.prototype.closest.js')); | ||
rollup(input('./src/Element.prototype.toggleAttribute/index.js')).then(output('./Element.prototype.toggleAttribute.js')); | ||
rollup(input('./src/Element.prototype.matches/index.js')).then(output('./Element.prototype.matches.js')); | ||
rollup(input('./src/MouseEvent/index.js')).then(output('./MouseEvent.js')); | ||
rollup(input('./src/CustomEvent/index.js')).then(output('./CustomEvent.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
48897
101
967
176