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
0
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.1.15 to 1.1.16

2

boolean-logic-ultimate/InjectUltimate.js

@@ -12,4 +12,4 @@

setNodeStatus({ fill: "grey", shape: "dot", text: "Waiting" });
5
RED.httpAdmin.post("/InjectUltimate/:id", RED.auth.needsPermission("InjectUltimate.write"), function (req, res) {

@@ -16,0 +16,0 @@ var node = RED.nodes.getNode(req.params.id);

@@ -41,2 +41,8 @@ module.exports = function (RED) {

this.on("input", function (msg) {
// Backward compatibility
// Pass msg.payload = false switches the msg input to the UPPER output
// Pass msg.payload = true switches the msg input to the LOWER output
if (msg.payload === false) msg.payload = '0';
if (msg.payload === true) msg.payload = '1';
var sIncomingTopic = "";

@@ -74,7 +80,2 @@ if (msg.hasOwnProperty("topic")) {

// Backward compatibility
// Pass msg.payload = false switches the msg input to the UPPER output
// Pass msg.payload = true switches the msg input to the LOWER output
if (msg.payload === false) msg.payload = '0';
if (msg.payload === true) msg.payload = '1';
node.sRailway = msg.payload;

@@ -81,0 +82,0 @@ node.alignStatus();

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

<p>
<b>Version 1.1.16</b> August 2024<br/>
- Railway Switcher: fixed an issue for backward compatibility of true/false input msg.</br>
</p>
<p>
<b>Version 1.1.15</b> August 2024<br/>

@@ -9,0 +13,0 @@ - Railway Switcher: now you can choose between 5 different output instead of 2.</br>

{
"name": "node-red-contrib-boolean-logic-ultimate",
"version": "1.1.15",
"version": "1.1.16",
"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)",

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