Socket
Socket
Sign inDemoInstall

node-modbus

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-modbus - npm Package Compare versions

Comparing version 2.1.2 to 2.1.3

18

node-modbus/modbus-serial-client.js

@@ -14,2 +14,10 @@ var stampit = require('stampit'),

if(!this.connectionDelay) {
if(process.platform === "win32") {
this.connectionDelay = 250; // ms
} else {
this.connectionDelay = 100; // ms
}
}
var init = function () {

@@ -43,10 +51,2 @@

if(!this.connectionDelay) {
if(process.platform === "win32") {
this.connectionDelay = 250; // ms
} else {
this.connectionDelay = 100; // ms
}
}
if (!this.connectionType) {

@@ -168,4 +168,4 @@ this.connectionType = 'RTU';

this.setState('connecting');
timerID = setTimeout(init(), connectionDelay);
timerID = setTimeout(init(), this.connectionDelay);
});
{
"name": "node-modbus",
"version": "2.1.2",
"version": "2.1.3",
"description": "Sum of implementations for the Serial/TCP Modbus protocol.",

@@ -5,0 +5,0 @@ "author": "Klaus Landsdorf <klaus.landsdorf@bianco-royal.de>",

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