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

node-red-contrib-modbus

Package Overview
Dependencies
Maintainers
4
Versions
197
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-modbus - npm Package Compare versions

Comparing version 0.10.1 to 0.10.2

4

modbus/modbus-client.js

@@ -141,3 +141,3 @@ /**

try {
let modbusLogLevel = 'info'
let modbusLogLevel = 'warn'
if (RED.settings.verbose) {

@@ -147,2 +147,4 @@ modbusLogLevel = 'debug'

node.log('modbusLogLevel: ' + modbusLogLevel)
if (node.clienttype === 'tcp') {

@@ -149,0 +151,0 @@ node.client = modbus.client.tcp.complete({

@@ -310,3 +310,2 @@ /**

function buildMessage (values, response) {
setNodeStatusTo('connected')
return [{payload: values}, {payload: response}]

@@ -313,0 +312,0 @@ }

@@ -103,5 +103,10 @@ /**

let modbusLogLevel = 'warn'
if (RED.settings.verbose) {
modbusLogLevel = 'debug'
}
let ModbusServer = stampit().refs({
'logLabel': 'ModbusServer',
'logLevel': 'debug',
'logLevel': modbusLogLevel,
'logEnabled': node.logEnabled,

@@ -108,0 +113,0 @@ 'port': node.serverPort,

@@ -254,3 +254,2 @@ /**

function buildMessage (values, response) {
setNodeStatusTo('connected')
return [{payload: values}, {payload: response}]

@@ -257,0 +256,0 @@ }

{
"name": "node-red-contrib-modbus",
"tag": "0.10-alpha-2",
"version": "0.10.1",
"tag": "0.10-alpha-3",
"version": "0.10.2",
"description": "Node-RED original nodes to communicate via Modbus TCP and Serial (RTU).",

@@ -6,0 +6,0 @@ "dependencies": {

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