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

@parallaxcontrol/node-red-control

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@parallaxcontrol/node-red-control - npm Package Compare versions

Comparing version 1.0.38 to 1.0.39

2

package.json
{
"name": "@parallaxcontrol/node-red-control",
"version": "1.0.38",
"version": "1.0.39",
"description": "A comprehensive package of Node-RED nodes designed to seamlessly integrate with the Parallax Control Engine, offering enhanced control capabilities for AV, IoT, and Industrial Automation.",

@@ -5,0 +5,0 @@ "main": "index.js",

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

node.on('input', function(msg) {
switch(msg.Input)
//set-reset-latch v2
switch(msg.payload.Input)
{

@@ -12,0 +12,0 @@ case 1:

@@ -13,2 +13,4 @@ const { exec } = require('child_process');

if(typeof msg.payload.Value === 'boolean'){
if(msg.payload.Value){

@@ -125,3 +127,9 @@ switch(node.selection)

}
}
}
else{
node.warn("Warning in Node: " + node.id + ", check node status for more information.");
node.status({ fill: "red", shape: "ring", text:"Error: Expected type of Boolean value."});
return [[null]];
}
// Execute the command if it's set

@@ -128,0 +136,0 @@ if(command) {

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