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.16 to 1.1.17

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,10 +41,6 @@ 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 = "";
if (msg.hasOwnProperty("topic")) {
// 06/11/2019

@@ -58,2 +54,8 @@ if (!msg.hasOwnProperty("topic") || msg.topic === undefined)

if (sIncomingTopic === node.sTriggerTopic) {
// 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';
const utils = require("./utils.js");

@@ -60,0 +62,0 @@ let sPayload = utils.fetchFromObject(

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

<p>
<b>Version 1.1.17</b> September 2024<br/>
- Railway Switcher: fixed an issue caused by fixing an issue for backward compatibility of true/false input msg. The node was emitting 0 and 1 instead of true and false</br>
</p>
<p>
<b>Version 1.1.16</b> August 2024<br/>

@@ -9,0 +13,0 @@ - Railway Switcher: fixed an issue for backward compatibility of true/false input msg.</br>

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