element-internals-polyfill
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -408,2 +408,5 @@ (function () { | ||
throwIfNotFormAssociated(ref, `Failed to execute 'checkValidity' on 'ElementInternals': The target element is not a form-associated custom element.`); | ||
if (!this.willValidate) { | ||
return true; | ||
} | ||
const validity = validityMap.get(this); | ||
@@ -442,2 +445,5 @@ if (!validity.valid) { | ||
throwIfNotFormAssociated(ref, `Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element.`); | ||
if (!this.willValidate) { | ||
return true; | ||
} | ||
const valid = this.checkValidity(); | ||
@@ -444,0 +450,0 @@ const anchor = validationAnchorMap.get(this); |
{ | ||
"name": "element-internals-polyfill", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "A polyfill for the element internals specification", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
53131
955