New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

homey-lib

Package Overview
Dependencies
Maintainers
1
Versions
236
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

homey-lib - npm Package Compare versions

Comparing version 2.2.3 to 2.2.4

22

lib/App/index.js

@@ -192,2 +192,24 @@ 'use strict';

}
if (driver.zwave) {
for (let j = 0; j < driver.settings.length; j++) {
let setting = driver.settings[j];
if (setting.zwave && settings.attr && settings.attr.max) {
let signed;
let size = setting.zwave.size;
let max = setting.attr.max;
if (typeof setting.zwave.signed === 'boolean') {
signed = setting.zwave.signed;
} else {
signed = true;
}
if (size === 1 && max > 127 && max < 255 && signed ||
size === 2 && max > 32767 && max < 65535 && signed ||
size === 4 && max > 2147483647 && max < 4294967295 && signed)
throw new Error(`Value cannot be signed: ${driver}, ${setting}`);
}
}
}

@@ -194,0 +216,0 @@ // validate `appJson.drivers[].images`

2

package.json
{
"name": "homey-lib",
"version": "2.2.3",
"version": "2.2.4",
"description": "Shared Library for Homey",

@@ -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