Socket
Socket
Sign inDemoInstall

aim

Package Overview
Dependencies
0
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.8 to 0.0.9

17

dist/index.js

@@ -448,11 +448,4 @@ const $1906921049_autoFocus = (aim, set) => {

if ($3174120555_aim.currentFocus === target) {
const sibling = children[index ? index - 1 : index + 1]
if (sibling) {
$1906921049_focusElement($3174120555_aim, sibling)
} else {
$1906921049_changeFocus($3174120555_aim, 'x', -1) ||
$1906921049_changeFocus($3174120555_aim, 'y', -1) ||
$1906921049_changeFocus($3174120555_aim, 'x', 1) ||
$1906921049_changeFocus($3174120555_aim, 'y', 1)
}
$1906921049_changeFocus($3174120555_aim, 'x', -1) || $1906921049_changeFocus($3174120555_aim, 'y', -1) ||
$1906921049_changeFocus($3174120555_aim, 'x', 1) || $1906921049_changeFocus($3174120555_aim, 'y', 1)
}

@@ -511,3 +504,7 @@ while ((length = children.length) === 1 && ('parent' in target)) {

},
focus: target => $1906921049_focusElement($3174120555_aim, target)
focus: target => {
if (!('children' in target)) {
return $1906921049_focusElement($3174120555_aim, target)
}
}
}

@@ -514,0 +511,0 @@

{
"name": "aim",
"version": "0.0.8",
"version": "0.0.9",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "description": "Dependency free focus manager with built-in universal key navigation.",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc