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

tabbable

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tabbable - npm Package Compare versions

Comparing version 3.1.0 to 3.1.1

6

CHANGELOG.md
# 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

4

index.js

@@ -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",

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