New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@zag-js/tabbable

Package Overview
Dependencies
Maintainers
1
Versions
543
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zag-js/tabbable - npm Package Compare versions

Comparing version 0.0.0-dev-20240419221913 to 0.0.0-dev-20240419232104

6

dist/index.js

@@ -152,3 +152,7 @@ "use strict";

event.preventDefault();
onFocus?.(elementToFocus) ?? elementToFocus.focus();
if (typeof onFocus === "function") {
onFocus(elementToFocus);
} else {
elementToFocus.focus();
}
}

@@ -155,0 +159,0 @@ doc?.addEventListener("keydown", onKeyDown, true);

4

package.json
{
"name": "@zag-js/tabbable",
"version": "0.0.0-dev-20240419221913",
"version": "0.0.0-dev-20240419232104",
"description": "Small utility that returns an array of all* tabbable DOM nodes within a containing node.",

@@ -31,3 +31,3 @@ "keywords": [

"dependencies": {
"@zag-js/dom-query": "0.0.0-dev-20240419221913"
"@zag-js/dom-query": "0.0.0-dev-20240419232104"
},

@@ -34,0 +34,0 @@ "module": "dist/index.mjs",

@@ -52,3 +52,7 @@ import { raf } from "@zag-js/dom-query"

onFocus?.(elementToFocus) ?? elementToFocus.focus()
if (typeof onFocus === "function") {
onFocus(elementToFocus)
} else {
elementToFocus.focus()
}
}

@@ -55,0 +59,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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