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

arcticfox

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arcticfox - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

config.json

77

index.js

@@ -208,2 +208,7 @@ const events = require('events');

data.Name = String(data.Name);
data.Power /= 10;
data.Resistance /= 1000;
data.PreheatTime /= 100;
data.PreheatDelay /= 10;
data.PreheatPower /= 10;
data.Material = data.Flags & 0x0F;

@@ -233,4 +238,5 @@ data.IsTemperatureDominant = Boolean(data.Flags & 0x10);

data.productId = String(data.productId);
data.maxDevicePower /= 10;
data.ProductId = String(data.ProductId);
data.HardwareVersion = String(data.HardwareVersion / 100);
data.MaxDevicePower /= 10;

@@ -373,2 +379,67 @@ buf = data.buf;

data.IsFlipped = Boolean(data.IsFlipped);
data.IsStealthMode = Boolean(data.IsStealthMode);
data.WakeUpByPlusMinus = Boolean(data.WakeUpByPlusMinus);
data.IsPowerStep1W = Boolean(data.IsPowerStep1W);
data.IsTemperatureStep1C2F = Boolean(data.IsTemperatureStep1C2F);
data.IsLogoEnabled = Boolean(data.IsLogoEnabled);
data.IsClassicMenu = Boolean(data.IsClassicMenu);
data.IsClockOnMainScreen = Boolean(data.IsClockOnMainScreen);
data.IsUpDownSwapped = Boolean(data.IsUpDownSwapped);
data.ShowChargingInStealth = Boolean(data.ShowChargingInStealth);
data.ShowScreensaverInStealth = Boolean(data.ShowScreensaverInStealth);
data.ClockOnClickInStealth = Boolean(data.ClockOnClickInStealth);
data.ClassicSkinVWLine1 = data.ClassicSkinVWLine1 & 0x7f;
data.ClassicSkinVWLine1Puff = Boolean(data.ClassicSkinVWLine1 & 0x80);
data.ClassicSkinVWLine2 = data.ClassicSkinVWLine2 & 0x7f;
data.ClassicSkinVWLine2Puff = Boolean(data.ClassicSkinVWLine2 & 0x80);
data.ClassicSkinVWLine3 = data.ClassicSkinVWLine3 & 0x7f;
data.ClassicSkinVWLine3Puff = Boolean(data.ClassicSkinVWLine3 & 0x80);
data.ClassicSkinVWLine4 = data.ClassicSkinVWLine4 & 0x7f;
data.ClassicSkinVWLine4Puff = Boolean(data.ClassicSkinVWLine4 & 0x80);
data.ClassicSkinTCLine1 = data.ClassicSkinTCLine1 & 0x7f;
data.ClassicSkinTCLine1Puff = Boolean(data.ClassicSkinTCLine1 & 0x80);
data.ClassicSkinTCLine2 = data.ClassicSkinTCLine2 & 0x7f;
data.ClassicSkinTCLine2Puff = Boolean(data.ClassicSkinTCLine2 & 0x80);
data.ClassicSkinTCLine3 = data.ClassicSkinTCLine3 & 0x7f;
data.ClassicSkinTCLine3Puff = Boolean(data.ClassicSkinTCLine3 & 0x80);
data.ClassicSkinTCLine4 = data.ClassicSkinTCLine4 & 0x7f;
data.ClassicSkinTCLine4Puff = Boolean(data.ClassicSkinTCLine4 & 0x80);
data.CircleSkinVWLine1 = data.CircleSkinVWLine1 & 0x7f;
data.CircleSkinVWLine2 = data.CircleSkinVWLine2 & 0x7f;
data.CircleSkinVWLine3 = data.CircleSkinVWLine3 & 0x7f;
data.CircleSkinVWLine3Puff = Boolean(data.CircleSkinVWLine3 & 0x80);
data.CircleSkinTCLine1 = data.CircleSkinTCLine1 & 0x7f;
data.CircleSkinTCLine2 = data.CircleSkinTCLine2 & 0x7f;
data.CircleSkinTCLine3 = data.CircleSkinTCLine3 & 0x7f;
data.CircleSkinTCLine3Puff = Boolean(data.CircleSkinTCLine3 & 0x80);
data.FoxySkinVWLine1 = data.FoxySkinVWLine1 & 0x7f;
data.FoxySkinVWLine1Puff = Boolean(data.FoxySkinVWLine1 & 0x80);
data.FoxySkinVWLine2 = data.FoxySkinVWLine2 & 0x7f;
data.FoxySkinVWLine2Puff = Boolean(data.FoxySkinVWLine2 & 0x80);
data.FoxySkinVWLine3 = data.FoxySkinVWLine3 & 0x7f;
data.FoxySkinVWLine3Puff = Boolean(data.FoxySkinVWLine3 & 0x80);
data.FoxySkinTCLine1 = data.FoxySkinTCLine1 & 0x7f;
data.FoxySkinTCLine1Puff = Boolean(data.FoxySkinTCLine1 & 0x80);
data.FoxySkinTCLine2 = data.FoxySkinTCLine2 & 0x7f;
data.FoxySkinTCLine2Puff = Boolean(data.FoxySkinTCLine2 & 0x80);
data.FoxySkinTCLine3 = data.FoxySkinTCLine3 & 0x7f;
data.FoxySkinTCLine3Puff = Boolean(data.FoxySkinTCLine3 & 0x80);
data.SmallSkinVWLine1 = data.SmallSkinVWLine1 & 0x7f;
data.SmallSkinVWLine1Puff = Boolean(data.SmallSkinVWLine1 & 0x80);
data.SmallSkinVWLine2 = data.SmallSkinVWLine2 & 0x7f;
data.SmallSkinVWLine2Puff = Boolean(data.SmallSkinVWLine2 & 0x80);
data.SmallSkinTCLine1 = data.SmallSkinTCLine1 & 0x7f;
data.SmallSkinTCLine1Puff = Boolean(data.SmallSkinTCLine1 & 0x80);
data.SmallSkinTCLine2 = data.SmallSkinTCLine2 & 0x7f;
data.SmallSkinTCLine2Puff = Boolean(data.SmallSkinTCLine2 & 0x80);
buf = data.buf;

@@ -503,2 +574,4 @@ delete data.buf;

data2.IsUsbCharge = Boolean(data2.IsUsbCharge);
buf = data2.buf;

@@ -505,0 +578,0 @@ delete data2.buf;

2

package.json
{
"name": "arcticfox",
"version": "0.0.4",
"version": "0.0.5",
"description": "Module that abstracts the HID communication with the ArcticFox firmware",

@@ -5,0 +5,0 @@ "main": "index.js",

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