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

lba-cli

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lba-cli - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

2

package.json
{
"name": "lba-cli",
"version": "2.0.2",
"version": "2.0.3",
"author": "Lebronaire",

@@ -5,0 +5,0 @@ "repository": "https://github.com/lebronaire/flight-control-system/tree/main/packages/cli",

@@ -12,3 +12,3 @@ import { getConfig } from '../config';

let pinToDevice: { [pin: number]: string } = {};
let iocpToPin: { [iocpVariable: number]: number } = {};
let iocpToPin: { [iocpVariable: number]: { pin: number, device: string } } = {};
let invertedOutput: { [iocpVariable: number]: boolean } = {};

@@ -62,3 +62,6 @@ let iocpToName: { [iocpVariable: number]: string } = {};

if (cc.iocp && cc.pin) {
iocpToPin[cc.iocp] = cc.pin;
iocpToPin[cc.iocp] = {
device: cc.arduino || '',
pin: cc.pin
};
pinToIOCP[`${cc.arduino}::${cc.pin}`] = cc.iocp;

@@ -97,4 +100,3 @@ pinToDevice[cc.pin] = cc.arduino || '';

// Send new value to the appropriate pin via serial
const pin = iocpToPin[iocpVariable];
const device = pinToDevice[pin];
const { device, pin } = iocpToPin[iocpVariable];

@@ -101,0 +103,0 @@ if (!pin || !device) {

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