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.1.1 to 0.1.2

22

dist/index.js

@@ -217,3 +217,3 @@ const $1906921049_autoFocus = (aim, set) => {

set.parent = parent
parent.children[index] = set
return (parent.children[index] = set)
}

@@ -322,3 +322,7 @@

}
$1870128113_createLeaf(parent, index, set)
if (index in parent.children && parent.children[index] === $3174120555_aim.currentFocus) {
$3174120555_aim.currentFocus = $1870128113_createLeaf(parent, index, set)
} else {
$1870128113_createLeaf(parent, index, set)
}
if (parent.children.length > index + 1) {

@@ -483,4 +487,2 @@ $3174120555_updatePositions(parent)

$3174120555_aim.currentFocus = false
// changeFocus(aim, 'y', -1) || changeFocus(aim, 'x', -1) ||
// changeFocus(aim, 'y', 1) || changeFocus(aim, 'x', 1)
}

@@ -499,14 +501,2 @@ while ((length = children.length) === 1 && ('parent' in target)) {

}
// // why do we need this check???
// if (index < length) {
// for (var i = index + 1; i < length; i++) {
// if (i in children) {
// children[children[i].index = i - 1] = children[i]
// } else {
// delete children[i - 1]
// }
// }
// children.pop()
// }
},

@@ -513,0 +503,0 @@ /*

{
"name": "aim",
"version": "0.1.1",
"version": "0.1.2",
"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