New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

omron-fins

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

omron-fins - npm Package Compare versions

Comparing version 0.5.0-beta.4 to 0.5.0

4

lib/fins_client.js

@@ -49,3 +49,3 @@ const dgram = require('dgram');

* @param {string} host The IP or hostname to connect to
* @param {object} options Additional options including `MODE` `protocol` `timeout` `DNA` `DA1` `DA2` `SNA` `SA1` `SA2`
* @param {object} options Additional options including `protocol` `MODE` `timeout` `DNA` `DA1` `DA2` `SNA` `SA1` `SA2`
* @param {boolean} [connect=true] (optional, default=true) Connect to PLC when initialising

@@ -164,2 +164,3 @@ * @returns

optionOverride(self.options, options, "protocol");
optionOverride(self.options, options, "MODE");
optionOverride(self.options, options, "timeout");

@@ -173,2 +174,3 @@ optionOverride(self.options, options, "max_queue");

optionOverride(self.options, options, "DA2");
optionOverride(self.options, options, "maxEventListeners");
}

@@ -175,0 +177,0 @@ self.init(port || self.port, host || self.host, self.options);

@@ -17,14 +17,6 @@ const constants = require('./FinsConstants');

case "CSCJ":
self.memoryAreas = constants.MemoryAreas.CS;
break;
case "CJ":
self.memoryAreas = constants.MemoryAreas.CS;
break;
case "CP":
self.memoryAreas = constants.MemoryAreas.CS;
break;
case "NJ":
case "NJNX":
self.memoryAreas = constants.MemoryAreas.CS;
break;
case "NX":

@@ -31,0 +23,0 @@ self.memoryAreas = constants.MemoryAreas.CS;

{
"name": "omron-fins",
"description": "Node.js implementation of the Omron FINS protocol",
"version": "0.5.0-beta.4",
"version": "0.5.0",
"main": "lib/index.js",

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

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