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.0.8 to 0.0.9

7

CHANGELOG.md

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

### [0.0.9](https://github.com/calebdwilliams/element-internals-polyfill/compare/v0.0.8...v0.0.9) (2020-04-26)
### Bug Fixes
* **polyfill:** change aria-descrbedby to aria-labelledby ([3cc5cd3](https://github.com/calebdwilliams/element-internals-polyfill/commit/3cc5cd31af66e298f9c8ffdb8a6c5fcf747162d2))
### [0.0.8](https://github.com/calebdwilliams/element-internals-polyfill/compare/v0.0.7...v0.0.8) (2020-04-26)

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

4

dist/element-internals.js

@@ -52,3 +52,3 @@ (function () {

labels[0].id = firstLabelId;
ref.setAttribute('aria-describedby', firstLabelId);
ref.setAttribute('aria-labelledby', firstLabelId);
}

@@ -226,2 +226,3 @@ };

setValidity(validityChanges, validationMessage) {
const ref = refMap.get(this);
if (!validityChanges) {

@@ -243,2 +244,3 @@ throw new TypeError('Failed to execute \'setValidity\' on \'ElementInternals\': 1 argument required, but only 0 present.');

validationMessageMap.set(this, valid ? '' : validationMessage);
ref.setAttribute('aria-invalid', !valid);
this.reportValidity();

@@ -245,0 +247,0 @@ }

{
"name": "element-internals-polyfill",
"version": "0.0.8",
"version": "0.0.9",
"description": "A polyfill for the element internals specification",

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