Socket
Socket
Sign inDemoInstall

modbus-serial

Package Overview
Dependencies
Maintainers
1
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

modbus-serial - npm Package Compare versions

Comparing version 5.0.1 to 5.1.1

examples/server.js

2

examples/simple.js

@@ -8,3 +8,3 @@ // create an empty modbus client

//client.connectRTU("/dev/ttyUSB0", {baudrate: 9600})
client.connectTCP("10.205.1.42")
client.connectTCP("127.0.0.1", {port: 8502})
.then(setClient)

@@ -11,0 +11,0 @@ .then(function() {

@@ -322,2 +322,3 @@ 'use strict';

this._port.removeAllListeners('data');
this._port.removeAllListeners('debug');
};

@@ -662,1 +663,3 @@

module.exports.C701Port = require('./ports/c701port');
module.exports.ServerTCP = require('./servers/servertcp');
{
"name": "modbus-serial",
"version": "5.0.1",
"version": "5.1.1",
"description": "A pure JavaScript implemetation of MODBUS-RTU (and TCP) for NodeJS.",

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

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