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.7 to 0.0.8

19

dist/index.js

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

;const $1870128113_createBranch = (parent, index) => {
if (index in parent.children) {
if (index in parent.children && 'children' in parent.children[index]) {
return parent.children[index]

@@ -178,2 +178,3 @@ } else {

if (!('x' in set)) {
set.x = parent.x

@@ -464,10 +465,12 @@ if (index) {

}
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]
// 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]
}
}
}
if (children[index]) {
children.pop()

@@ -474,0 +477,0 @@ }

{
"name": "aim",
"version": "0.0.7",
"version": "0.0.8",
"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