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
3
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.21.4 to 2.21.5

15

lib/App/index.js

@@ -264,2 +264,3 @@ /* eslint-disable no-restricted-properties */

const seenZwaveSettings = new Set();
// validate 'app.Json.drivers[].settings[].zwave'

@@ -276,7 +277,17 @@ if (driver.zwave && Array.isArray(driver.settings)) {

const childSetting = setting.children[k];
if (childSetting) {
if (childSetting && childSetting.zwave) {
if (seenZwaveSettings.has(childSetting.zwave.index)) {
throw new Error(`drivers.${driver.id} invalid settings: duplicate zwave setting index ${childSetting.zwave.index}`);
} else {
seenZwaveSettings.add(childSetting.zwave.index);
}
this._checkZwaveForSetting(driver, childSetting);
}
}
} else {
} else if (setting.zwave) {
if (seenZwaveSettings.has(setting.zwave.index)) {
throw new Error(`drivers.${driver.id} invalid settings: duplicate zwave setting index ${setting.zwave.index}`);
} else {
seenZwaveSettings.add(setting.zwave.index);
}
this._checkZwaveForSetting(driver, setting);

@@ -283,0 +294,0 @@ }

2

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

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

Sorry, the diff of this file is too big to display

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