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

node-red-contrib-deconz

Package Overview
Dependencies
Maintainers
2
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-deconz - npm Package Compare versions

Comparing version 2.3.2 to 2.3.3

6

CHANGELOG.md

@@ -10,2 +10,8 @@ # Changelog

## [2.3.3] - 2022-01-30 ![Relative date](https://img.shields.io/date/1643634592?label=)
### Fixed
- Fix HomeKit value translation for inverted range. (#196) @Zehir
## [2.3.2] - 2022-01-29 ![Relative date](https://img.shields.io/date/1643459917?label=)

@@ -12,0 +18,0 @@

2

package.json
{
"name": "node-red-contrib-deconz",
"version": "2.3.2",
"version": "2.3.3",
"description": "deCONZ connectivity nodes for node-red",

@@ -5,0 +5,0 @@ "keywords": [

@@ -29,3 +29,3 @@ const REDUtil = require("@node-red/util/lib/util");

property.type :
REDUtil.evaluateNodeProperty(property.value, property.type, node, message_in);
REDUtil.evaluateNodeProperty(property.value, property.type, node, message_in, undefined);
}

@@ -36,4 +36,9 @@

if (limitValue) {
value = Math.max(value, r1[0]);
value = Math.min(value, r1[1]);
if (r1[0] < r1[1]) {
if (value < r1[0]) value = r1[0];
if (value > r1[1]) value = r1[1];
} else {
if (value > r1[0]) value = r1[0];
if (value < r1[1]) value = r1[1];
}
}

@@ -40,0 +45,0 @@ let result = (value - r1[0]) * (r2[1] - r2[0]) / (r1[1] - r1[0]) + r2[0];

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