Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

element-internals-polyfill

Package Overview
Dependencies
Maintainers
1
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

element-internals-polyfill - npm Package Compare versions

Comparing version 0.1.37 to 0.1.38

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [0.1.38](https://github.com/calebdwilliams/element-internals-polyfill/compare/v0.1.37...v0.1.38) (2021-06-07)
### Bug Fixes
* add attribute filter to disabled observer ([329a620](https://github.com/calebdwilliams/element-internals-polyfill/commit/329a6204186e8d916dd94302eadeed2d3f265ad7))
### [0.1.37](https://github.com/calebdwilliams/element-internals-polyfill/compare/v0.1.36...v0.1.37) (2021-05-27)

@@ -7,0 +14,0 @@

5

dist/index.js

@@ -18,8 +18,7 @@ (function () {

const observerConfig$1 = { attributes: true };
const observerConfig$1 = { attributes: true, attributeFilter: ['disabled'] };
const observer = new MutationObserver((mutationsList) => {
for (const mutation of mutationsList) {
const attributeName = mutation.attributeName;
const target = mutation.target;
if (attributeName === 'disabled' && target.constructor['formAssociated']) {
if (target.constructor['formAssociated']) {
if (target.formDisabledCallback) {

@@ -26,0 +25,0 @@ target.formDisabledCallback.apply(target, [target.hasAttribute('disabled')]);

2

package.json
{
"name": "element-internals-polyfill",
"version": "0.1.37",
"version": "0.1.38",
"description": "A polyfill for the element internals specification",

@@ -5,0 +5,0 @@ "main": "dist/index.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