node-red-contrib-boolean-logic-ultimate
Advanced tools
Comparing version 1.1.12 to 1.1.14
@@ -36,4 +36,5 @@ | ||
node.curVal = !node.curVal; | ||
let jRet; | ||
try { | ||
node.outputJSON = JSON.parse(node.outputJSON); | ||
jRet = JSON.parse(node.outputJSON); | ||
if (node.outputJSON.topic === undefined) node.outputJSON.topic = node.topic; // Add topic if not present | ||
@@ -44,3 +45,3 @@ } catch (error) { | ||
} | ||
node.send([msgTrue, msgFalse, msgToggled, node.outputJSON]); | ||
node.send([msgTrue, msgFalse, msgToggled, jRet]); | ||
} | ||
@@ -47,0 +48,0 @@ |
@@ -7,4 +7,8 @@ # node-red-contrib-boolean-logic-ultimate | ||
<p> | ||
<b>Version 1.1.14</b> Mai 2024<br/> | ||
- FIX: inject node: fixed an error in JSON.parse.</br> | ||
</p> | ||
<p> | ||
<b>Version 1.1.12</b> Mai 2024<br/> | ||
- FIX: fixed the empty JSON for old injectUltimate nodes.</br> | ||
- FIX: inject node: fixed the empty JSON for old injectUltimate nodes.</br> | ||
</p> | ||
@@ -11,0 +15,0 @@ <p> |
{ | ||
"name": "node-red-contrib-boolean-logic-ultimate", | ||
"version": "1.1.12", | ||
"version": "1.1.14", | ||
"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)", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1320466
1453