Comparing version 3.1.0 to 3.1.1
# Changelog | ||
## 3.1.1 | ||
- Allow module to be imported by non-browser JavaScript. | ||
## 3.1.0 | ||
- Add `focusTrap.isFocusable` and `focusTrap.isTabbable` functions. | ||
- Add `tabbable.isFocusable` and `tabbable.isTabbable` functions. | ||
@@ -7,0 +11,0 @@ ## 3.0.0 |
@@ -14,3 +14,5 @@ var candidateSelectors = [ | ||
var matches = Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector; | ||
var matches = typeof Element === 'undefined' | ||
? function () {} | ||
: Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector; | ||
@@ -17,0 +19,0 @@ function tabbable(el, options) { |
{ | ||
"name": "tabbable", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "Returns an array of all tabbable DOM nodes within a containing node.", | ||
@@ -5,0 +5,0 @@ "main": "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
15719
192