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.8.0 to 5.9.0

Element.prototype.toggleAttribute.js

4

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

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