ember-template-lint
Advanced tools
Comparing version 5.10.1 to 5.10.2
@@ -26,3 +26,4 @@ import { roles, elementRoles } from 'aria-query'; | ||
} | ||
let implicitRoles = elementRoles.get(elementRoles.keys().find((key) => key.name === element)); | ||
const key = elementRoles.keys().find((key) => key.name === element); | ||
const implicitRoles = key && elementRoles.get(key); | ||
return implicitRoles && implicitRoles[0]; | ||
@@ -29,0 +30,0 @@ } |
{ | ||
"name": "ember-template-lint", | ||
"version": "5.10.1", | ||
"version": "5.10.2", | ||
"description": "Linter for Ember or Handlebars templates.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
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
745487
14922