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

node-ipc

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-ipc - npm Package Compare versions

Comparing version 1.1.7 to 1.1.8

testHarness/tests/stopRetrieing-unix-socket-test/client.js

24

lib/client.js

@@ -12,6 +12,8 @@ var net = require('net'),

log : log,
retriesRemaining:0
retriesRemaining:config.maxRetries||0
}
new pubsub(client);
console.log(this)
return client;

@@ -82,11 +84,15 @@ }

function(){
client.log('connection closed'.notice ,client.id.variable , client.path.variable);
client.log('connection closed'.notice ,client.id.variable , client.path.variable, client.retriesRemaining+' of '+client.config.maxRetries);
if(client.stopRetrying || client.retriesRemaining<1){
if(client.config.maxRetries){
client.log(client.config.id.variable,'exceeded connection rety amount of'.warn,client.config.stopRetrying, " or stopRetrying flag set.");
client.socket.destroy();
client=undefined;
return;
}
if(client.config.stopRetrying || client.retriesRemaining<1){
client.log(
client.config.id.variable,
'exceeded connection rety amount of'.warn,
" or stopRetrying flag set."
);
client.socket.destroy();
client=undefined;
return;
}

@@ -93,0 +99,0 @@

{
"name": "node-ipc",
"version": "1.1.7",
"version": "1.1.8",
"description": "A nodejs module for local and remote Inter Process Communication (IPC), Neural Networking, and able to facilitate machine learning.",

@@ -12,3 +12,3 @@ "main": "node-ipc.js",

"colors": "~0.6.2",
"node-cmd" : "~1.0.1"
"node-cmd": "~1.0.1"
},

@@ -15,0 +15,0 @@ "devDependencies": {},

@@ -7,3 +7,4 @@ var ipc = require('../node-ipc'),

fails=[],
passes=[];
passes=[],
debug=true;

@@ -165,3 +166,4 @@ ipc.config.id = 'testHarness';

process.exit(0);
if(!debug)
process.exit(0);
}

@@ -41,2 +41,3 @@ var ipc = require('../../../node-ipc');

}
);
);
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