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

node-red-contrib-sia-ultimate

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-sia-ultimate - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

4

CHANGELOG.md

@@ -11,2 +11,6 @@ # node-red-contrib-sia-ultimate

<p>
<b>Version 1.0.5</b> - December 2021<br/>
- FIX: fix a possible crash if you have more than 1 server node with the same port.<br/>
</p>
<p>
<b>Version 1.0.4</b> - December 2021<br/>

@@ -13,0 +17,0 @@ - FIX: a possible crash if the TCP/UDP port are already in use.<br/>

17

nodes/siaendpoint-config.js

@@ -401,14 +401,15 @@

try {
servertcp = net.createServer(onClientConnectedTCP);
servertcp = net.createServer(onClientConnectedTCP(servertcp));
servertcp.listen(node.port, () => {
try {
let text = 'siaendpointConfig: SIA Server listening on IP-Adress (TCP): ' + servertcp.address().address || "" + ':' + servertcp.address().port;
RED.log.info(text);
RED.log.info(text);
} catch (error) {
RED.log.error("siaendpointConfig: Unable to listen to the TCP server: " + error.message);
RED.log.error("siaendpointConfig: Unable to listen to the TCP server: " + error.message + " do you have another config node with the same port?");
throw (error);
}
});
} catch (error) {
RED.log.error("siaendpointConfig: Unable to instantiate the TCP server: " + error.message);
RED.log.error("siaendpointConfig: Unable to instantiate the TCP server: " + error.message + " do you have another config node with the same port?");
throw (error);

@@ -429,5 +430,6 @@ }

let text = 'siaendpointConfig: SIA Server listening on IP-Adress (UDP): ' + serverudp.address().address + ':' + serverudp.address().port;
RED.log.info(text);
RED.log.info(text);
} catch (error) {
RED.log.error("siaendpointConfig: Unable to listen to the UDP server: " + error.message);
throw (error);
}

@@ -673,4 +675,3 @@ });

*/
function
onClientConnectedUDP(sock) {
function onClientConnectedUDP(sock) {
// See https://nodejs.org/api/stream.html#stream_readable_setencoding_encoding

@@ -677,0 +678,0 @@ // sock.setEncoding(null);

{
"name": "node-red-contrib-sia-ultimate",
"version": "1.0.4",
"version": "1.0.5",
"description": "Connect your SIA-DCS compatible alarm system to node-red. It works with Ajax System too.",

@@ -5,0 +5,0 @@ "author": "Supergiovane (https://github.com/Supergiovane)",

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