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

node-red-contrib-boolean-logic-ultimate

Package Overview
Dependencies
Maintainers
1
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-boolean-logic-ultimate - npm Package Compare versions

Comparing version 1.0.58 to 1.0.59

13

boolean-logic-ultimate/BooleanLogicUltimate.js

@@ -92,2 +92,14 @@ module.exports = function (RED) {

// 26/01/2023 you can change the input count from msg
if (msg.hasOwnProperty("inputcount")) {
setTimeout(() => {
setNodeStatus({ fill: "grey", shape: "dot", text: "Input count changed to " + msg.inputcount });
}, 500);
try {
node.config.inputCount = Number(msg.inputcount);
} catch (error) {
}
}
// 15/11/2021 inform user about undefined topic or payload

@@ -99,3 +111,2 @@ if (!msg.hasOwnProperty("topic") || msg.topic === undefined || msg.topic === null) {

var topic = msg.topic;

@@ -102,0 +113,0 @@ const utils = require("./utils.js");

@@ -7,2 +7,7 @@ # node-red-contrib-boolean-logic-ultimate

<p>
<b>Version 1.0.59</b> January 2023<br/>
- NEW: added msg.gatecount property, to dinamically change the gate input count.</br>
- Updated the README</br>
</p>
<p>
<b>Version 1.0.58</b> December 2022<br/>

@@ -9,0 +14,0 @@ - NEW: added string conversion from "home", "not_home" to boolean.</br>

2

package.json
{
"name": "node-red-contrib-boolean-logic-ultimate",
"version": "1.0.58",
"version": "1.0.59",
"description": "A set of Node-RED enhanced boolean logic and utility nodes, flow interruption, blinker, invert, filter, toggle etc.., with persistent values after reboot. Compatible also with Homeassistant values.",

@@ -5,0 +5,0 @@ "author": "Supergiovane (https://github.com/Supergiovane)",

@@ -99,7 +99,9 @@ # node-red-contrib-boolean-logic-ultimate

<code>
msg.reset = true;
</code>
Resets all inputs to undefined.
|Input msg|Description|
|--|--|
| msg.reset = true | Resets all saved input values to undefined |
| msg.inputcount | Changes the inputs count property. For example, <b>msg.inputcount = 3</b> Whenever you lower the inputcount from a higher number to a lower one, for example from 3 to 2, it's suggested to do a <b>msg.reset=true</b> to reset all stored input values. |
<br/>

@@ -106,0 +108,0 @@ <br/>

Sorry, the diff of this file is not supported yet

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