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 9.0.4 to 10.0.0

config10.json

37

index.js

@@ -63,4 +63,4 @@ const events = require('events');

this.minimumSupportedBuildNumber = 170603;
this.supportedSettingsVersion = 9;
this.minimumSupportedBuildNumber = 170624;
this.supportedSettingsVersion = 10;

@@ -466,2 +466,11 @@ this.vendorId = 0x0416;

.word8(config.MediumSkinVWLine1 + (config.MediumSkinVWLine1Puff ? 0x80 : 0))
.word8(config.MediumSkinVWLine2 + (config.MediumSkinVWLine2Puff ? 0x80 : 0))
.word8(config.MediumSkinVWLine3 + (config.MediumSkinVWLine2Puff ? 0x80 : 0))
.word8(config.MediumSkinTCLine1 + (config.MediumSkinTCLine1Puff ? 0x80 : 0))
.word8(config.MediumSkinTCLine2 + (config.MediumSkinTCLine2Puff ? 0x80 : 0))
.word8(config.MediumSkinTCLine3 + (config.MediumSkinTCLine2Puff ? 0x80 : 0))
.word8(Math.round(config.Brightness * 2.55))

@@ -588,2 +597,10 @@ .word8(config.DimTimeout)

.word8u('MediumSkinVWLine1')
.word8u('MediumSkinVWLine2')
.word8u('MediumSkinVWLine3')
.word8u('MediumSkinTCLine1')
.word8u('MediumSkinTCLine2')
.word8u('MediumSkinTCLine3')
.word8u('Brightness')

@@ -700,2 +717,16 @@ .word8u('DimTimeout')

data.MediumSkinVWLine1Puff = Boolean(data.MediumSkinVWLine1 & 0x80);
data.MediumSkinVWLine1 = data.MediumSkinVWLine1 & 0x7f;
data.MediumSkinVWLine2Puff = Boolean(data.MediumSkinVWLine2 & 0x80);
data.MediumSkinVWLine2 = data.MediumSkinVWLine2 & 0x7f;
data.MediumSkinVWLine3Puff = Boolean(data.MediumSkinVWLine3 & 0x80);
data.MediumSkinVWLine3 = data.MediumSkinVWLine3 & 0x7f;
data.MediumSkinTCLine1Puff = Boolean(data.MediumSkinTCLine1 & 0x80);
data.MediumSkinTCLine1 = data.MediumSkinTCLine1 & 0x7f;
data.MediumSkinTCLine2Puff = Boolean(data.MediumSkinTCLine2 & 0x80);
data.MediumSkinTCLine2 = data.MediumSkinTCLine2 & 0x7f;
data.MediumSkinTCLine3Puff = Boolean(data.MediumSkinTCLine3 & 0x80);
data.MediumSkinTCLine3 = data.MediumSkinTCLine3 & 0x7f;
data.Brightness = Math.round(data.Brightness / 2.55);

@@ -1014,3 +1045,3 @@ data.PuffScreenDelay = Math.round(data.PuffScreenDelay / 10);

bin = Buffer.concat([bin, Buffer.from(Array.apply(null, Array(58)).map(Number.prototype.valueOf, 0))]);
bin = Buffer.concat([bin, Buffer.from(Array.apply(null, Array(this.configurationLength - bin.length)).map(Number.prototype.valueOf, 0))]);

@@ -1017,0 +1048,0 @@ //this.saveDump('b.bin', bin);

2

package.json
{
"name": "arcticfox",
"version": "9.0.4",
"version": "10.0.0",
"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