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.57 to 1.0.58

3

boolean-logic-ultimate/utils.js

@@ -25,2 +25,5 @@ module.exports.ToBoolean = function ToBoolean(value) {

if (value.toLowerCase() === "home") return true;
if (value.toLowerCase() === "not_home") return false;
} else if (typeof value === 'number') {

@@ -27,0 +30,0 @@ // Is it formated as a decimal number?

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

<p>
<b>Version 1.0.58</b> December 2022<br/>
- NEW: added string conversion from "home", "not_home" to boolean.</br>
- Updated the README</br>
</p>
<p>
<b>Version 1.0.57</b> September 2022<br/>

@@ -9,0 +14,0 @@ - Added node help in the node-red help tab.</br>

2

package.json
{
"name": "node-red-contrib-boolean-logic-ultimate",
"version": "1.0.57",
"version": "1.0.58",
"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)",

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

| "0" | false |
| "home" | true |
| "not_home" | false |

@@ -204,4 +206,4 @@

This node has 2 outputs.<br />
If the input payload is true, the node will send <code>true</code> on output 1 and nothing on oputput 2<br />
If the input payload is false, the node will send nothing on output 1 and <code>false</code> on oputput 2<br />
If the input payload is true, the node will send <code>true</code> on output 1 and nothing on output 2<br />
If the input payload is false, the node will send nothing on output 1 and <code>false</code> on output 2<br />
The input message is preserved and passed to the output, changing only the topic and the payload. If the input message has it's own topic, it'll be preserved as well.<br/>

@@ -208,0 +210,0 @@

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