MIT Licence and Buffer fix
This commit is contained in:
parent
3c95b0ef14
commit
768c5fc3a6
19 changed files with 564 additions and 1792 deletions
|
@ -759,7 +759,7 @@ Writing explicit buffers, int types, doubles, floats etc. as well as big endian
|
|||
ipc.config.encoding='hex';
|
||||
|
||||
//make a 6 byte buffer for example
|
||||
const myBuffer=new Buffer(6).fill(0);
|
||||
const myBuffer=Buffer.alloc(6).fill(0);
|
||||
|
||||
//fill the first 2 bytes with a 16 bit (2 byte) short unsigned int
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ function emit(type,data){
|
|||
message.data=data;
|
||||
|
||||
if(this.config.rawBuffer){
|
||||
message=new Buffer(type,this.config.encoding);
|
||||
message=Buffer.from(type,this.config.encoding);
|
||||
}else{
|
||||
message=eventParser.format(message);
|
||||
}
|
||||
|
@ -205,7 +205,7 @@ function connect(){
|
|||
if(client.config.rawBuffer){
|
||||
client.publish(
|
||||
'data',
|
||||
new Buffer(data,client.config.encoding)
|
||||
Buffer.from(data,client.config.encoding)
|
||||
);
|
||||
if(!client.config.sync){
|
||||
return;
|
||||
|
|
|
@ -74,7 +74,7 @@ function emit(socket, type, data){
|
|||
|
||||
if(this.config.rawBuffer){
|
||||
this.log(this.config.encoding)
|
||||
message=new Buffer(type,this.config.encoding);
|
||||
message=Buffer.from(type,this.config.encoding);
|
||||
}else{
|
||||
message=eventParser.format(message);
|
||||
}
|
||||
|
@ -104,7 +104,7 @@ function broadcast(type,data){
|
|||
message.data=data;
|
||||
|
||||
if(this.config.rawBuffer){
|
||||
message=new Buffer(type,this.config.encoding);
|
||||
message=Buffer.from(type,this.config.encoding);
|
||||
}else{
|
||||
message=eventParser.format(message);
|
||||
}
|
||||
|
@ -152,7 +152,7 @@ function serverClosed(){
|
|||
function gotData(socket,data,UDPSocket){
|
||||
let sock=((this.udp4 || this.udp6)? UDPSocket : socket);
|
||||
if(this.config.rawBuffer){
|
||||
data=new Buffer(data,this.config.encoding);
|
||||
data=Buffer.from(data,this.config.encoding);
|
||||
this.publish(
|
||||
'data',
|
||||
data,
|
||||
|
@ -240,7 +240,7 @@ function serverCreated(socket) {
|
|||
let data;
|
||||
|
||||
if(this.config.rawSocket){
|
||||
data=new Buffer(msg,this.config.encoding);
|
||||
data=Buffer.from(msg,this.config.encoding);
|
||||
}else{
|
||||
data=msg.toString();
|
||||
}
|
||||
|
@ -374,7 +374,7 @@ function startTLSServer(){
|
|||
}
|
||||
|
||||
function UDPWrite(message,socket){
|
||||
let data=new Buffer(message, this.config.encoding);
|
||||
let data=Buffer.from(message, this.config.encoding);
|
||||
this.server.send(
|
||||
data,
|
||||
0,
|
||||
|
|
|
@ -21,7 +21,7 @@ ipc.connectTo(
|
|||
'connect',
|
||||
function(){
|
||||
//make a 6 byte buffer for example
|
||||
const myBuffer=new Buffer(6).fill(0);
|
||||
const myBuffer=Buffer.alloc(6).fill(0);
|
||||
|
||||
myBuffer.writeUInt16BE(0x02,0);
|
||||
myBuffer.writeUInt32BE(0xffeecc,2);
|
||||
|
|
1214
package-lock.json
generated
1214
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -1,13 +1,13 @@
|
|||
{
|
||||
"name": "node-ipc",
|
||||
"version": "9.1.1",
|
||||
"version": "9.1.2",
|
||||
"description": "A nodejs module for local and remote Inter Process Communication (IPC), Neural Networking, and able to facilitate machine learning.",
|
||||
"main": "node-ipc.js",
|
||||
"directories": {
|
||||
"example": "example"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=4.0.0"
|
||||
"node": ">=6.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"event-pubsub": "4.3.0",
|
||||
|
@ -52,7 +52,7 @@
|
|||
"memory"
|
||||
],
|
||||
"author": "Brandon Nozaki Miller",
|
||||
"license": "DBAD",
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/RIAEvangelist/node-ipc.git"
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -20,14 +20,14 @@
|
|||
</h1>
|
||||
<div class='clearfix'>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">69.32% </span>
|
||||
<span class="strong">70.44% </span>
|
||||
<span class="quiet">Statements</span>
|
||||
<span class='fraction'>314/453</span>
|
||||
<span class='fraction'>317/450</span>
|
||||
</div>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">56.65% </span>
|
||||
<span class="strong">57.58% </span>
|
||||
<span class="quiet">Branches</span>
|
||||
<span class='fraction'>132/233</span>
|
||||
<span class='fraction'>133/231</span>
|
||||
</div>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">85.71% </span>
|
||||
|
@ -35,9 +35,9 @@
|
|||
<span class='fraction'>36/42</span>
|
||||
</div>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">69.32% </span>
|
||||
<span class="strong">70.44% </span>
|
||||
<span class="quiet">Lines</span>
|
||||
<span class='fraction'>314/453</span>
|
||||
<span class='fraction'>317/450</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -73,41 +73,41 @@
|
|||
|
||||
<tr>
|
||||
<td class="file medium" data-value="node-ipc/dao/"><a href="node-ipc/dao/index.html">node-ipc/dao/</a></td>
|
||||
<td data-value="67.03" class="pic medium"><div class="chart"><div class="cover-fill" style="width: 67%;"></div><div class="cover-empty" style="width:33%;"></div></div></td>
|
||||
<td data-value="67.03" class="pct medium">67.03%</td>
|
||||
<td data-value="273" class="abs medium">183/273</td>
|
||||
<td data-value="54.55" class="pct medium">54.55%</td>
|
||||
<td data-value="143" class="abs medium">78/143</td>
|
||||
<td data-value="68.77" class="pic medium"><div class="chart"><div class="cover-fill" style="width: 68%;"></div><div class="cover-empty" style="width:32%;"></div></div></td>
|
||||
<td data-value="68.77" class="pct medium">68.77%</td>
|
||||
<td data-value="269" class="abs medium">185/269</td>
|
||||
<td data-value="56.03" class="pct medium">56.03%</td>
|
||||
<td data-value="141" class="abs medium">79/141</td>
|
||||
<td data-value="82.14" class="pct high">82.14%</td>
|
||||
<td data-value="28" class="abs high">23/28</td>
|
||||
<td data-value="67.03" class="pct medium">67.03%</td>
|
||||
<td data-value="273" class="abs medium">183/273</td>
|
||||
<td data-value="68.77" class="pct medium">68.77%</td>
|
||||
<td data-value="269" class="abs medium">185/269</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="file high" data-value="node-ipc/entities/"><a href="node-ipc/entities/index.html">node-ipc/entities/</a></td>
|
||||
<td data-value="92.68" class="pic high"><div class="chart"><div class="cover-fill" style="width: 92%;"></div><div class="cover-empty" style="width:8%;"></div></div></td>
|
||||
<td data-value="92.68" class="pct high">92.68%</td>
|
||||
<td data-value="41" class="abs high">38/41</td>
|
||||
<td data-value="93.02" class="pic high"><div class="chart"><div class="cover-fill" style="width: 93%;"></div><div class="cover-empty" style="width:7%;"></div></div></td>
|
||||
<td data-value="93.02" class="pct high">93.02%</td>
|
||||
<td data-value="43" class="abs high">40/43</td>
|
||||
<td data-value="56.25" class="pct medium">56.25%</td>
|
||||
<td data-value="16" class="abs medium">9/16</td>
|
||||
<td data-value="100" class="pct high">100%</td>
|
||||
<td data-value="5" class="abs high">5/5</td>
|
||||
<td data-value="92.68" class="pct high">92.68%</td>
|
||||
<td data-value="41" class="abs high">38/41</td>
|
||||
<td data-value="93.02" class="pct high">93.02%</td>
|
||||
<td data-value="43" class="abs high">40/43</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="file medium" data-value="node-ipc/services/"><a href="node-ipc/services/index.html">node-ipc/services/</a></td>
|
||||
<td data-value="65.93" class="pic medium"><div class="chart"><div class="cover-fill" style="width: 65%;"></div><div class="cover-empty" style="width:35%;"></div></div></td>
|
||||
<td data-value="65.93" class="pct medium">65.93%</td>
|
||||
<td data-value="135" class="abs medium">89/135</td>
|
||||
<td data-value="65.67" class="pic medium"><div class="chart"><div class="cover-fill" style="width: 65%;"></div><div class="cover-empty" style="width:35%;"></div></div></td>
|
||||
<td data-value="65.67" class="pct medium">65.67%</td>
|
||||
<td data-value="134" class="abs medium">88/134</td>
|
||||
<td data-value="60.81" class="pct medium">60.81%</td>
|
||||
<td data-value="74" class="abs medium">45/74</td>
|
||||
<td data-value="87.5" class="pct high">87.5%</td>
|
||||
<td data-value="8" class="abs high">7/8</td>
|
||||
<td data-value="65.93" class="pct medium">65.93%</td>
|
||||
<td data-value="135" class="abs medium">89/135</td>
|
||||
<td data-value="65.67" class="pct medium">65.67%</td>
|
||||
<td data-value="134" class="abs medium">88/134</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
|
@ -116,7 +116,7 @@
|
|||
</div><!-- /wrapper -->
|
||||
<div class='footer quiet pad2 space-top1 center small'>
|
||||
Code coverage
|
||||
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sat Apr 15 2017 22:58:40 GMT-0700 (PDT)
|
||||
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed Nov 11 2020 12:19:05 GMT-0800 (Pacific Standard Time)
|
||||
</div>
|
||||
</div>
|
||||
<script src="prettify.js"></script>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Code coverage report for node-ipc/dao/client.js</title>
|
||||
<title>Code coverage report for node-ipc\dao\client.js</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="../../prettify.css" />
|
||||
<link rel="stylesheet" href="../../base.css" />
|
||||
|
@ -20,14 +20,14 @@
|
|||
</h1>
|
||||
<div class='clearfix'>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">71.68% </span>
|
||||
<span class="strong">74.55% </span>
|
||||
<span class="quiet">Statements</span>
|
||||
<span class='fraction'>81/113</span>
|
||||
<span class='fraction'>82/110</span>
|
||||
</div>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">50.94% </span>
|
||||
<span class="strong">54.9% </span>
|
||||
<span class="quiet">Branches</span>
|
||||
<span class='fraction'>27/53</span>
|
||||
<span class='fraction'>28/51</span>
|
||||
</div>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">100% </span>
|
||||
|
@ -35,9 +35,9 @@
|
|||
<span class='fraction'>9/9</span>
|
||||
</div>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">71.68% </span>
|
||||
<span class="strong">74.55% </span>
|
||||
<span class="quiet">Lines</span>
|
||||
<span class='fraction'>81/113</span>
|
||||
<span class='fraction'>82/110</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -296,11 +296,7 @@
|
|||
251
|
||||
252
|
||||
253
|
||||
254
|
||||
255
|
||||
256
|
||||
257
|
||||
258</td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
||||
254</td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
|
@ -309,10 +305,6 @@
|
|||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
|
@ -384,9 +376,9 @@
|
|||
<span class="cline-any cline-yes">7×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">7×</span>
|
||||
<span class="cline-any cline-no"> </span>
|
||||
<span class="cline-any cline-no"> </span>
|
||||
<span class="cline-any cline-no"> </span>
|
||||
<span class="cline-any cline-yes">7×</span>
|
||||
<span class="cline-any cline-yes">7×</span>
|
||||
<span class="cline-any cline-yes">7×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">7×</span>
|
||||
|
@ -548,10 +540,10 @@
|
|||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">7×</span>
|
||||
<span class="cline-any cline-no"> </span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">7×</span>
|
||||
<span class="cline-any cline-yes">6×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
|
@ -564,12 +556,8 @@ const net = require('net'),
|
|||
EventParser = require('../entities/EventParser.js'),
|
||||
Message = require('js-message'),
|
||||
fs = require('fs'),
|
||||
Queue = require('js-queue');
|
||||
|
||||
let Events = require('event-pubsub/es5');
|
||||
<span class="missing-if-branch" title="else path not taken" >E</span>if(process.version[1]>4){
|
||||
Queue = require('js-queue'),
|
||||
Events = require('event-pubsub');
|
||||
}
|
||||
|
||||
let eventParser = new EventParser();
|
||||
|
||||
|
@ -603,7 +591,7 @@ function emit(type,data){
|
|||
message.data=data;
|
||||
|
||||
<span class="missing-if-branch" title="if path not taken" >I</span>if(this.config.rawBuffer){
|
||||
<span class="cstat-no" title="statement not covered" > message=new Buffer(type,this.config.encoding);</span>
|
||||
<span class="cstat-no" title="statement not covered" > message=Buffer.from(type,this.config.encoding);</span>
|
||||
}else{
|
||||
message=eventParser.format(message);
|
||||
}
|
||||
|
@ -640,10 +628,10 @@ function connect(){
|
|||
|
||||
options.path=client.path;
|
||||
|
||||
<span class="missing-if-branch" title="if path not taken" >I</span>if (process.platform ==='win32' && <span class="branch-1 cbranch-no" title="branch not covered" >!client.path.startsWith('\\\\.\\pipe\\'))</span>{
|
||||
<span class="cstat-no" title="statement not covered" > options.path = options.path.replace(/^\//, '');</span>
|
||||
<span class="cstat-no" title="statement not covered" > options.path = options.path.replace(/\//g, '-');</span>
|
||||
<span class="cstat-no" title="statement not covered" > options.path= `\\\\.\\pipe\\${options.path}`;</span>
|
||||
<span class="missing-if-branch" title="else path not taken" >E</span>if (process.platform ==='win32' && !client.path.startsWith('\\\\.\\pipe\\')){
|
||||
options.path = options.path.replace(/^\//, '');
|
||||
options.path = options.path.replace(/\//g, '-');
|
||||
options.path= `\\\\.\\pipe\\${options.path}`;
|
||||
}
|
||||
|
||||
client.socket = net.connect(options);
|
||||
|
@ -768,7 +756,7 @@ function connect(){
|
|||
<span class="missing-if-branch" title="if path not taken" >I</span>if(client.config.rawBuffer){
|
||||
<span class="cstat-no" title="statement not covered" > client.publish(</span>
|
||||
'data',
|
||||
new Buffer(data,client.config.encoding)
|
||||
Buffer.from(data,client.config.encoding)
|
||||
);
|
||||
<span class="cstat-no" title="statement not covered" > if(!client.config.sync){</span>
|
||||
<span class="cstat-no" title="statement not covered" > return;</span>
|
||||
|
@ -804,8 +792,8 @@ function connect(){
|
|||
);
|
||||
}
|
||||
|
||||
<span class="missing-if-branch" title="if path not taken" >I</span>if(!client.config.sync){
|
||||
<span class="cstat-no" title="statement not covered" > return;</span>
|
||||
if(!client.config.sync){
|
||||
return;
|
||||
}
|
||||
|
||||
client.queue.next();
|
||||
|
@ -820,7 +808,7 @@ module.exports=Client;
|
|||
</div><!-- /wrapper -->
|
||||
<div class='footer quiet pad2 space-top1 center small'>
|
||||
Code coverage
|
||||
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sat Apr 15 2017 22:58:40 GMT-0700 (PDT)
|
||||
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed Nov 11 2020 12:19:05 GMT-0800 (Pacific Standard Time)
|
||||
</div>
|
||||
</div>
|
||||
<script src="../../prettify.js"></script>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Code coverage report for node-ipc/dao/</title>
|
||||
<title>Code coverage report for node-ipc\dao\</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="../../prettify.css" />
|
||||
<link rel="stylesheet" href="../../base.css" />
|
||||
|
@ -20,14 +20,14 @@
|
|||
</h1>
|
||||
<div class='clearfix'>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">67.03% </span>
|
||||
<span class="strong">68.77% </span>
|
||||
<span class="quiet">Statements</span>
|
||||
<span class='fraction'>183/273</span>
|
||||
<span class='fraction'>185/269</span>
|
||||
</div>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">54.55% </span>
|
||||
<span class="strong">56.03% </span>
|
||||
<span class="quiet">Branches</span>
|
||||
<span class='fraction'>78/143</span>
|
||||
<span class='fraction'>79/141</span>
|
||||
</div>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">82.14% </span>
|
||||
|
@ -35,9 +35,9 @@
|
|||
<span class='fraction'>23/28</span>
|
||||
</div>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">67.03% </span>
|
||||
<span class="strong">68.77% </span>
|
||||
<span class="quiet">Lines</span>
|
||||
<span class='fraction'>183/273</span>
|
||||
<span class='fraction'>185/269</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -60,28 +60,28 @@
|
|||
</thead>
|
||||
<tbody><tr>
|
||||
<td class="file medium" data-value="client.js"><a href="client.js.html">client.js</a></td>
|
||||
<td data-value="71.68" class="pic medium"><div class="chart"><div class="cover-fill" style="width: 71%;"></div><div class="cover-empty" style="width:29%;"></div></div></td>
|
||||
<td data-value="71.68" class="pct medium">71.68%</td>
|
||||
<td data-value="113" class="abs medium">81/113</td>
|
||||
<td data-value="50.94" class="pct medium">50.94%</td>
|
||||
<td data-value="53" class="abs medium">27/53</td>
|
||||
<td data-value="74.55" class="pic medium"><div class="chart"><div class="cover-fill" style="width: 74%;"></div><div class="cover-empty" style="width:26%;"></div></div></td>
|
||||
<td data-value="74.55" class="pct medium">74.55%</td>
|
||||
<td data-value="110" class="abs medium">82/110</td>
|
||||
<td data-value="54.9" class="pct medium">54.9%</td>
|
||||
<td data-value="51" class="abs medium">28/51</td>
|
||||
<td data-value="100" class="pct high">100%</td>
|
||||
<td data-value="9" class="abs high">9/9</td>
|
||||
<td data-value="71.68" class="pct medium">71.68%</td>
|
||||
<td data-value="113" class="abs medium">81/113</td>
|
||||
<td data-value="74.55" class="pct medium">74.55%</td>
|
||||
<td data-value="110" class="abs medium">82/110</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="file medium" data-value="socketServer.js"><a href="socketServer.js.html">socketServer.js</a></td>
|
||||
<td data-value="63.75" class="pic medium"><div class="chart"><div class="cover-fill" style="width: 63%;"></div><div class="cover-empty" style="width:37%;"></div></div></td>
|
||||
<td data-value="63.75" class="pct medium">63.75%</td>
|
||||
<td data-value="160" class="abs medium">102/160</td>
|
||||
<td data-value="64.78" class="pic medium"><div class="chart"><div class="cover-fill" style="width: 64%;"></div><div class="cover-empty" style="width:36%;"></div></div></td>
|
||||
<td data-value="64.78" class="pct medium">64.78%</td>
|
||||
<td data-value="159" class="abs medium">103/159</td>
|
||||
<td data-value="56.67" class="pct medium">56.67%</td>
|
||||
<td data-value="90" class="abs medium">51/90</td>
|
||||
<td data-value="73.68" class="pct medium">73.68%</td>
|
||||
<td data-value="19" class="abs medium">14/19</td>
|
||||
<td data-value="63.75" class="pct medium">63.75%</td>
|
||||
<td data-value="160" class="abs medium">102/160</td>
|
||||
<td data-value="64.78" class="pct medium">64.78%</td>
|
||||
<td data-value="159" class="abs medium">103/159</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
|
@ -90,7 +90,7 @@
|
|||
</div><!-- /wrapper -->
|
||||
<div class='footer quiet pad2 space-top1 center small'>
|
||||
Code coverage
|
||||
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sat Apr 15 2017 22:58:40 GMT-0700 (PDT)
|
||||
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed Nov 11 2020 12:19:05 GMT-0800 (Pacific Standard Time)
|
||||
</div>
|
||||
</div>
|
||||
<script src="../../prettify.js"></script>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Code coverage report for node-ipc/dao/socketServer.js</title>
|
||||
<title>Code coverage report for node-ipc\dao\socketServer.js</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="../../prettify.css" />
|
||||
<link rel="stylesheet" href="../../base.css" />
|
||||
|
@ -20,9 +20,9 @@
|
|||
</h1>
|
||||
<div class='clearfix'>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">63.75% </span>
|
||||
<span class="strong">64.78% </span>
|
||||
<span class="quiet">Statements</span>
|
||||
<span class='fraction'>102/160</span>
|
||||
<span class='fraction'>103/159</span>
|
||||
</div>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">56.67% </span>
|
||||
|
@ -35,9 +35,9 @@
|
|||
<span class='fraction'>14/19</span>
|
||||
</div>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">63.75% </span>
|
||||
<span class="strong">64.78% </span>
|
||||
<span class="quiet">Lines</span>
|
||||
<span class='fraction'>102/160</span>
|
||||
<span class='fraction'>103/159</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -450,10 +450,6 @@
|
|||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
|
@ -502,10 +498,14 @@
|
|||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">4×</span>
|
||||
<span class="cline-any cline-yes">4×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-no"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
|
@ -746,9 +746,9 @@
|
|||
<span class="cline-any cline-yes">4×</span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
<span class="cline-any cline-no"> </span>
|
||||
<span class="cline-any cline-no"> </span>
|
||||
<span class="cline-any cline-no"> </span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
|
@ -846,12 +846,8 @@ const net = require('net'),
|
|||
fs = require('fs'),
|
||||
dgram = require('dgram'),
|
||||
EventParser = require('../entities/EventParser.js'),
|
||||
Message = require('js-message');
|
||||
|
||||
let Events = require('event-pubsub/es5');
|
||||
<span class="missing-if-branch" title="else path not taken" >E</span>if(process.version[1]>4){
|
||||
Message = require('js-message'),
|
||||
Events = require('event-pubsub');
|
||||
}
|
||||
|
||||
let eventParser = new EventParser();
|
||||
|
||||
|
@ -899,10 +895,14 @@ class Server extends Events{
|
|||
<span class="cstat-no" title="statement not covered" > return;</span>
|
||||
}
|
||||
|
||||
<span class="missing-if-branch" title="else path not taken" >E</span>if(this.config.unlink){
|
||||
fs.unlink(
|
||||
this.path,
|
||||
startServer.bind(this)
|
||||
);
|
||||
}else{
|
||||
<span class="cstat-no" title="statement not covered" > startServer.bind(this)();</span>
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -915,7 +915,7 @@ function emit(socket, type, data){
|
|||
|
||||
<span class="missing-if-branch" title="if path not taken" >I</span>if(this.config.rawBuffer){
|
||||
<span class="cstat-no" title="statement not covered" > this.log(this.config.encoding)</span>
|
||||
<span class="cstat-no" title="statement not covered" > message=new Buffer(type,this.config.encoding);</span>
|
||||
<span class="cstat-no" title="statement not covered" > message=Buffer.from(type,this.config.encoding);</span>
|
||||
}else{
|
||||
message=eventParser.format(message);
|
||||
}
|
||||
|
@ -945,7 +945,7 @@ function emit(socket, type, data){
|
|||
<span class="cstat-no" title="statement not covered" > message.data=data;</span>
|
||||
|
||||
<span class="cstat-no" title="statement not covered" > if(this.config.rawBuffer){</span>
|
||||
<span class="cstat-no" title="statement not covered" > message=new Buffer(type,this.config.encoding);</span>
|
||||
<span class="cstat-no" title="statement not covered" > message=Buffer.from(type,this.config.encoding);</span>
|
||||
}else{
|
||||
<span class="cstat-no" title="statement not covered" > message=eventParser.format(message);</span>
|
||||
}
|
||||
|
@ -993,7 +993,7 @@ function serverClosed(){
|
|||
function gotData(socket,data,UDPSocket){
|
||||
let sock=((this.udp4 || this.udp6)? UDPSocket : <span class="branch-1 cbranch-no" title="branch not covered" >socket)</span>;
|
||||
<span class="missing-if-branch" title="if path not taken" >I</span>if(this.config.rawBuffer){
|
||||
<span class="cstat-no" title="statement not covered" > data=new Buffer(data,this.config.encoding);</span>
|
||||
<span class="cstat-no" title="statement not covered" > data=Buffer.from(data,this.config.encoding);</span>
|
||||
<span class="cstat-no" title="statement not covered" > this.publish(</span>
|
||||
'data',
|
||||
data,
|
||||
|
@ -1002,18 +1002,18 @@ function gotData(socket,data,UDPSocket){
|
|||
<span class="cstat-no" title="statement not covered" > return;</span>
|
||||
}
|
||||
|
||||
<span class="missing-if-branch" title="else path not taken" >E</span>if(!this.ipcBuffer){
|
||||
this.ipcBuffer='';
|
||||
<span class="missing-if-branch" title="else path not taken" >E</span>if(!sock.ipcBuffer){
|
||||
sock.ipcBuffer='';
|
||||
}
|
||||
|
||||
data=(this.ipcBuffer+=data);
|
||||
data=(sock.ipcBuffer+=data);
|
||||
|
||||
<span class="missing-if-branch" title="if path not taken" >I</span>if(data.slice(-1)!=eventParser.delimiter || data.indexOf(eventParser.delimiter) == -1){
|
||||
<span class="cstat-no" title="statement not covered" > this.log('Messages are large, You may want to consider smaller messages.');</span>
|
||||
<span class="cstat-no" title="statement not covered" > return;</span>
|
||||
}
|
||||
|
||||
this.ipcBuffer='';
|
||||
sock.ipcBuffer='';
|
||||
|
||||
data=eventParser.parse(data);
|
||||
|
||||
|
@ -1081,7 +1081,7 @@ function serverCreated(socket) {
|
|||
let data;
|
||||
|
||||
<span class="missing-if-branch" title="if path not taken" >I</span>if(this.config.rawSocket){
|
||||
<span class="cstat-no" title="statement not covered" > data=new Buffer(msg,this.config.encoding);</span>
|
||||
<span class="cstat-no" title="statement not covered" > data=Buffer.from(msg,this.config.encoding);</span>
|
||||
}else{
|
||||
data=msg.toString();
|
||||
}
|
||||
|
@ -1136,17 +1136,17 @@ function startServer() {
|
|||
'error',
|
||||
err
|
||||
);
|
||||
}
|
||||
}.bind(this)
|
||||
);
|
||||
|
||||
this.server.maxConnections=this.config.maxConnections;
|
||||
|
||||
if(!this.port){
|
||||
this.log('starting server as', 'Unix || Windows Socket');
|
||||
<span class="missing-if-branch" title="if path not taken" >I</span>if (process.platform ==='win32'){
|
||||
<span class="cstat-no" title="statement not covered" > this.path = this.path.replace(/^\//, '');</span>
|
||||
<span class="cstat-no" title="statement not covered" > this.path = this.path.replace(/\//g, '-');</span>
|
||||
<span class="cstat-no" title="statement not covered" > this.path= `\\\\.\\pipe\\${this.path}`;</span>
|
||||
<span class="missing-if-branch" title="else path not taken" >E</span>if (process.platform ==='win32'){
|
||||
this.path = this.path.replace(/^\//, '');
|
||||
this.path = this.path.replace(/\//g, '-');
|
||||
this.path= `\\\\.\\pipe\\${this.path}`;
|
||||
}
|
||||
|
||||
this.server.listen(
|
||||
|
@ -1215,7 +1215,7 @@ function startServer() {
|
|||
}
|
||||
|
||||
function UDPWrite(message,socket){
|
||||
let data=new Buffer(message, this.config.encoding);
|
||||
let data=Buffer.from(message, this.config.encoding);
|
||||
this.server.send(
|
||||
data,
|
||||
0,
|
||||
|
@ -1243,7 +1243,7 @@ module.exports=Server;
|
|||
</div><!-- /wrapper -->
|
||||
<div class='footer quiet pad2 space-top1 center small'>
|
||||
Code coverage
|
||||
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sat Apr 15 2017 22:58:40 GMT-0700 (PDT)
|
||||
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed Nov 11 2020 12:19:05 GMT-0800 (Pacific Standard Time)
|
||||
</div>
|
||||
</div>
|
||||
<script src="../../prettify.js"></script>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Code coverage report for node-ipc/entities/Defaults.js</title>
|
||||
<title>Code coverage report for node-ipc\entities\Defaults.js</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="../../prettify.css" />
|
||||
<link rel="stylesheet" href="../../base.css" />
|
||||
|
@ -20,9 +20,9 @@
|
|||
</h1>
|
||||
<div class='clearfix'>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">96.3% </span>
|
||||
<span class="strong">96.55% </span>
|
||||
<span class="quiet">Statements</span>
|
||||
<span class='fraction'>26/27</span>
|
||||
<span class='fraction'>28/29</span>
|
||||
</div>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">57.14% </span>
|
||||
|
@ -35,9 +35,9 @@
|
|||
<span class='fraction'>2/2</span>
|
||||
</div>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">96.3% </span>
|
||||
<span class="strong">96.55% </span>
|
||||
<span class="quiet">Lines</span>
|
||||
<span class='fraction'>26/27</span>
|
||||
<span class='fraction'>28/29</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -121,7 +121,9 @@
|
|||
76
|
||||
77
|
||||
78
|
||||
79</td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
||||
79
|
||||
80
|
||||
81</td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
|
@ -151,12 +153,14 @@
|
|||
<span class="cline-any cline-yes">3×</span>
|
||||
<span class="cline-any cline-yes">3×</span>
|
||||
<span class="cline-any cline-yes">3×</span>
|
||||
<span class="cline-any cline-yes">3×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">3×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">3×</span>
|
||||
<span class="cline-any cline-yes">3×</span>
|
||||
<span class="cline-any cline-yes">3×</span>
|
||||
<span class="cline-any cline-yes">3×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">3×</span>
|
||||
<span class="cline-any cline-yes">3×</span>
|
||||
|
@ -229,12 +233,14 @@ class Defaults{
|
|||
this.encoding='utf8';
|
||||
this.rawBuffer=false;
|
||||
this.sync=false;
|
||||
this.unlink=true;
|
||||
|
||||
this.delimiter='\f';
|
||||
|
||||
this.silent=false;
|
||||
this.logDepth=5;
|
||||
this.logInColor=true;
|
||||
this.logger=console.log.bind(console);
|
||||
|
||||
this.maxConnections=100;
|
||||
this.retry=500;
|
||||
|
@ -283,7 +289,7 @@ module.exports=Defaults;
|
|||
</div><!-- /wrapper -->
|
||||
<div class='footer quiet pad2 space-top1 center small'>
|
||||
Code coverage
|
||||
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sat Apr 15 2017 22:58:40 GMT-0700 (PDT)
|
||||
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed Nov 11 2020 12:19:05 GMT-0800 (Pacific Standard Time)
|
||||
</div>
|
||||
</div>
|
||||
<script src="../../prettify.js"></script>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Code coverage report for node-ipc/entities/EventParser.js</title>
|
||||
<title>Code coverage report for node-ipc\entities\EventParser.js</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="../../prettify.css" />
|
||||
<link rel="stylesheet" href="../../base.css" />
|
||||
|
@ -145,7 +145,7 @@ module.exports=Parser;
|
|||
</div><!-- /wrapper -->
|
||||
<div class='footer quiet pad2 space-top1 center small'>
|
||||
Code coverage
|
||||
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sat Apr 15 2017 22:58:40 GMT-0700 (PDT)
|
||||
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed Nov 11 2020 12:19:05 GMT-0800 (Pacific Standard Time)
|
||||
</div>
|
||||
</div>
|
||||
<script src="../../prettify.js"></script>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Code coverage report for node-ipc/entities/</title>
|
||||
<title>Code coverage report for node-ipc\entities\</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="../../prettify.css" />
|
||||
<link rel="stylesheet" href="../../base.css" />
|
||||
|
@ -20,9 +20,9 @@
|
|||
</h1>
|
||||
<div class='clearfix'>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">92.68% </span>
|
||||
<span class="strong">93.02% </span>
|
||||
<span class="quiet">Statements</span>
|
||||
<span class='fraction'>38/41</span>
|
||||
<span class='fraction'>40/43</span>
|
||||
</div>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">56.25% </span>
|
||||
|
@ -35,9 +35,9 @@
|
|||
<span class='fraction'>5/5</span>
|
||||
</div>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">92.68% </span>
|
||||
<span class="strong">93.02% </span>
|
||||
<span class="quiet">Lines</span>
|
||||
<span class='fraction'>38/41</span>
|
||||
<span class='fraction'>40/43</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -60,15 +60,15 @@
|
|||
</thead>
|
||||
<tbody><tr>
|
||||
<td class="file high" data-value="Defaults.js"><a href="Defaults.js.html">Defaults.js</a></td>
|
||||
<td data-value="96.3" class="pic high"><div class="chart"><div class="cover-fill" style="width: 96%;"></div><div class="cover-empty" style="width:4%;"></div></div></td>
|
||||
<td data-value="96.3" class="pct high">96.3%</td>
|
||||
<td data-value="27" class="abs high">26/27</td>
|
||||
<td data-value="96.55" class="pic high"><div class="chart"><div class="cover-fill" style="width: 96%;"></div><div class="cover-empty" style="width:4%;"></div></div></td>
|
||||
<td data-value="96.55" class="pct high">96.55%</td>
|
||||
<td data-value="29" class="abs high">28/29</td>
|
||||
<td data-value="57.14" class="pct medium">57.14%</td>
|
||||
<td data-value="7" class="abs medium">4/7</td>
|
||||
<td data-value="100" class="pct high">100%</td>
|
||||
<td data-value="2" class="abs high">2/2</td>
|
||||
<td data-value="96.3" class="pct high">96.3%</td>
|
||||
<td data-value="27" class="abs high">26/27</td>
|
||||
<td data-value="96.55" class="pct high">96.55%</td>
|
||||
<td data-value="29" class="abs high">28/29</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
@ -90,7 +90,7 @@
|
|||
</div><!-- /wrapper -->
|
||||
<div class='footer quiet pad2 space-top1 center small'>
|
||||
Code coverage
|
||||
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sat Apr 15 2017 22:58:40 GMT-0700 (PDT)
|
||||
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed Nov 11 2020 12:19:05 GMT-0800 (Pacific Standard Time)
|
||||
</div>
|
||||
</div>
|
||||
<script src="../../prettify.js"></script>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Code coverage report for node-ipc/</title>
|
||||
<title>Code coverage report for node-ipc\</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="../prettify.css" />
|
||||
<link rel="stylesheet" href="../base.css" />
|
||||
|
@ -77,7 +77,7 @@
|
|||
</div><!-- /wrapper -->
|
||||
<div class='footer quiet pad2 space-top1 center small'>
|
||||
Code coverage
|
||||
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sat Apr 15 2017 22:58:40 GMT-0700 (PDT)
|
||||
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed Nov 11 2020 12:19:05 GMT-0800 (Pacific Standard Time)
|
||||
</div>
|
||||
</div>
|
||||
<script src="../prettify.js"></script>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Code coverage report for node-ipc/node-ipc.js</title>
|
||||
<title>Code coverage report for node-ipc\node-ipc.js</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="../prettify.css" />
|
||||
<link rel="stylesheet" href="../base.css" />
|
||||
|
@ -112,7 +112,7 @@ module.exports=new IPCModule;
|
|||
</div><!-- /wrapper -->
|
||||
<div class='footer quiet pad2 space-top1 center small'>
|
||||
Code coverage
|
||||
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sat Apr 15 2017 22:58:40 GMT-0700 (PDT)
|
||||
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed Nov 11 2020 12:19:05 GMT-0800 (Pacific Standard Time)
|
||||
</div>
|
||||
</div>
|
||||
<script src="../prettify.js"></script>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Code coverage report for node-ipc/services/IPC.js</title>
|
||||
<title>Code coverage report for node-ipc\services\IPC.js</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="../../prettify.css" />
|
||||
<link rel="stylesheet" href="../../base.css" />
|
||||
|
@ -20,9 +20,9 @@
|
|||
</h1>
|
||||
<div class='clearfix'>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">65.93% </span>
|
||||
<span class="strong">65.67% </span>
|
||||
<span class="quiet">Statements</span>
|
||||
<span class='fraction'>89/135</span>
|
||||
<span class='fraction'>88/134</span>
|
||||
</div>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">60.81% </span>
|
||||
|
@ -35,9 +35,9 @@
|
|||
<span class='fraction'>7/8</span>
|
||||
</div>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">65.93% </span>
|
||||
<span class="strong">65.67% </span>
|
||||
<span class="quiet">Lines</span>
|
||||
<span class='fraction'>89/135</span>
|
||||
<span class='fraction'>88/134</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -380,8 +380,7 @@
|
|||
335
|
||||
336
|
||||
337
|
||||
338
|
||||
339</td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
||||
338</td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">1×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
|
@ -450,8 +449,6 @@
|
|||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">116×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">116×</span>
|
||||
<span class="cline-any cline-yes">370×</span>
|
||||
<span class="cline-any cline-yes">336×</span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
|
@ -697,6 +694,7 @@
|
|||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-yes">3×</span>
|
||||
<span class="cline-any cline-no"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-no"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
<span class="cline-any cline-neutral"> </span>
|
||||
|
@ -782,12 +780,10 @@ class IPC{
|
|||
}
|
||||
}
|
||||
|
||||
function log(){
|
||||
function log(...args){
|
||||
<span class="missing-if-branch" title="if path not taken" >I</span>if(this.config.silent){
|
||||
<span class="cstat-no" title="statement not covered" > return;</span>
|
||||
}
|
||||
|
||||
const args=Array.prototype.slice.call(arguments);
|
||||
|
||||
for(let i=0, count=args.length; i<count; i++){
|
||||
if(typeof args[i] != 'object'){
|
||||
|
@ -803,7 +799,7 @@ function log(){
|
|||
);
|
||||
}
|
||||
|
||||
console.log(
|
||||
this.config.logger(
|
||||
args.join(' ')
|
||||
);
|
||||
}
|
||||
|
@ -832,9 +828,9 @@ function serve(path,callback){
|
|||
}
|
||||
<span class="missing-if-branch" title="if path not taken" >I</span>if(!path){
|
||||
<span class="cstat-no" title="statement not covered" > this.log(</span>
|
||||
'Server path not specified, so defaulting to'.notice,
|
||||
'ipc.config.socketRoot + ipc.config.appspace + ipc.config.id'.variable,
|
||||
(this.config.socketRoot+this.config.appspace+this.config.id).data
|
||||
'Server path not specified, so defaulting to',
|
||||
'ipc.config.socketRoot + ipc.config.appspace + ipc.config.id',
|
||||
this.config.socketRoot+this.config.appspace+this.config.id
|
||||
);
|
||||
<span class="cstat-no" title="statement not covered" > path=this.config.socketRoot+this.config.appspace+this.config.id;</span>
|
||||
}
|
||||
|
@ -874,9 +870,9 @@ function serveNet(host,port,UDPType,callback){
|
|||
}
|
||||
if(!host){
|
||||
this.log(
|
||||
'Server host not specified, so defaulting to'.notice,
|
||||
'ipc.config.networkHost'.variable,
|
||||
this.config.networkHost.data
|
||||
'Server host not specified, so defaulting to',
|
||||
'ipc.config.networkHost',
|
||||
this.config.networkHost
|
||||
);
|
||||
host=this.config.networkHost;
|
||||
}
|
||||
|
@ -899,8 +895,8 @@ function serveNet(host,port,UDPType,callback){
|
|||
}
|
||||
if(!port){
|
||||
this.log(
|
||||
'Server port not specified, so defaulting to'.notice,
|
||||
'ipc.config.networkPort'.variable,
|
||||
'Server port not specified, so defaulting to',
|
||||
'ipc.config.networkPort',
|
||||
this.config.networkPort
|
||||
);
|
||||
port=this.config.networkPort;
|
||||
|
@ -948,16 +944,16 @@ function connect(id,path,callback){
|
|||
|
||||
<span class="missing-if-branch" title="if path not taken" >I</span>if(!id){
|
||||
<span class="cstat-no" title="statement not covered" > this.log(</span>
|
||||
'Service id required'.warn,
|
||||
'Requested service connection without specifying service id. Aborting connection attempt'.notice
|
||||
'Service id required',
|
||||
'Requested service connection without specifying service id. Aborting connection attempt'
|
||||
);
|
||||
<span class="cstat-no" title="statement not covered" > return;</span>
|
||||
}
|
||||
|
||||
if(!path){
|
||||
this.log(
|
||||
'Service path not specified, so defaulting to'.notice,
|
||||
'ipc.config.socketRoot + ipc.config.appspace + id'.variable,
|
||||
'Service path not specified, so defaulting to',
|
||||
'ipc.config.socketRoot + ipc.config.appspace + id',
|
||||
(this.config.socketRoot+this.config.appspace+id).data
|
||||
);
|
||||
path=this.config.socketRoot+this.config.appspace+id;
|
||||
|
@ -966,9 +962,9 @@ function connect(id,path,callback){
|
|||
<span class="missing-if-branch" title="if path not taken" >I</span>if(this.of[id]){
|
||||
<span class="cstat-no" title="statement not covered" > if(!this.of[id].socket.destroyed){</span>
|
||||
<span class="cstat-no" title="statement not covered" > this.log(</span>
|
||||
'Already Connected to'.notice,
|
||||
id.variable,
|
||||
'- So executing success without connection'.notice
|
||||
'Already Connected to',
|
||||
id,
|
||||
'- So executing success without connection'
|
||||
);
|
||||
<span class="cstat-no" title="statement not covered" > callback();</span>
|
||||
<span class="cstat-no" title="statement not covered" > return;</span>
|
||||
|
@ -988,8 +984,8 @@ function connect(id,path,callback){
|
|||
function connectNet(id,host,port,callback){
|
||||
<span class="missing-if-branch" title="if path not taken" >I</span>if(!id){
|
||||
<span class="cstat-no" title="statement not covered" > this.log(</span>
|
||||
'Service id required'.warn,
|
||||
'Requested service connection without specifying service id. Aborting connection attempt'.notice
|
||||
'Service id required',
|
||||
'Requested service connection without specifying service id. Aborting connection attempt'
|
||||
);
|
||||
<span class="cstat-no" title="statement not covered" > return;</span>
|
||||
}
|
||||
|
@ -1005,9 +1001,9 @@ function connectNet(id,host,port,callback){
|
|||
}
|
||||
<span class="missing-if-branch" title="else path not taken" >E</span>if(!host){
|
||||
this.log(
|
||||
'Server host not specified, so defaulting to'.notice,
|
||||
'ipc.config.networkHost'.variable,
|
||||
this.config.networkHost.data
|
||||
'Server host not specified, so defaulting to',
|
||||
'ipc.config.networkHost',
|
||||
this.config.networkHost
|
||||
);
|
||||
host=this.config.networkHost;
|
||||
}
|
||||
|
@ -1018,8 +1014,8 @@ function connectNet(id,host,port,callback){
|
|||
}
|
||||
<span class="missing-if-branch" title="if path not taken" >I</span>if(!port){
|
||||
<span class="cstat-no" title="statement not covered" > this.log(</span>
|
||||
'Server port not specified, so defaulting to'.notice,
|
||||
'ipc.config.networkPort'.variable,
|
||||
'Server port not specified, so defaulting to',
|
||||
'ipc.config.networkPort',
|
||||
this.config.networkPort
|
||||
);
|
||||
<span class="cstat-no" title="statement not covered" > port=this.config.networkPort;</span>
|
||||
|
@ -1035,10 +1031,11 @@ function connectNet(id,host,port,callback){
|
|||
|
||||
<span class="missing-if-branch" title="if path not taken" >I</span>if(this.of[id]){
|
||||
<span class="cstat-no" title="statement not covered" > if(!this.of[id].socket.destroyed){</span>
|
||||
|
||||
<span class="cstat-no" title="statement not covered" > this.log(</span>
|
||||
'Already Connected to'.notice,
|
||||
id.variable,
|
||||
'- So executing success without connection'.notice
|
||||
'Already Connected to',
|
||||
id,
|
||||
'- So executing success without connection'
|
||||
);
|
||||
<span class="cstat-no" title="statement not covered" > callback();</span>
|
||||
<span class="cstat-no" title="statement not covered" > return;</span>
|
||||
|
@ -1063,7 +1060,7 @@ module.exports=IPC;
|
|||
</div><!-- /wrapper -->
|
||||
<div class='footer quiet pad2 space-top1 center small'>
|
||||
Code coverage
|
||||
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sat Apr 15 2017 22:58:40 GMT-0700 (PDT)
|
||||
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed Nov 11 2020 12:19:05 GMT-0800 (Pacific Standard Time)
|
||||
</div>
|
||||
</div>
|
||||
<script src="../../prettify.js"></script>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Code coverage report for node-ipc/services/</title>
|
||||
<title>Code coverage report for node-ipc\services\</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="../../prettify.css" />
|
||||
<link rel="stylesheet" href="../../base.css" />
|
||||
|
@ -20,9 +20,9 @@
|
|||
</h1>
|
||||
<div class='clearfix'>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">65.93% </span>
|
||||
<span class="strong">65.67% </span>
|
||||
<span class="quiet">Statements</span>
|
||||
<span class='fraction'>89/135</span>
|
||||
<span class='fraction'>88/134</span>
|
||||
</div>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">60.81% </span>
|
||||
|
@ -35,9 +35,9 @@
|
|||
<span class='fraction'>7/8</span>
|
||||
</div>
|
||||
<div class='fl pad1y space-right2'>
|
||||
<span class="strong">65.93% </span>
|
||||
<span class="strong">65.67% </span>
|
||||
<span class="quiet">Lines</span>
|
||||
<span class='fraction'>89/135</span>
|
||||
<span class='fraction'>88/134</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -60,15 +60,15 @@
|
|||
</thead>
|
||||
<tbody><tr>
|
||||
<td class="file medium" data-value="IPC.js"><a href="IPC.js.html">IPC.js</a></td>
|
||||
<td data-value="65.93" class="pic medium"><div class="chart"><div class="cover-fill" style="width: 65%;"></div><div class="cover-empty" style="width:35%;"></div></div></td>
|
||||
<td data-value="65.93" class="pct medium">65.93%</td>
|
||||
<td data-value="135" class="abs medium">89/135</td>
|
||||
<td data-value="65.67" class="pic medium"><div class="chart"><div class="cover-fill" style="width: 65%;"></div><div class="cover-empty" style="width:35%;"></div></div></td>
|
||||
<td data-value="65.67" class="pct medium">65.67%</td>
|
||||
<td data-value="134" class="abs medium">88/134</td>
|
||||
<td data-value="60.81" class="pct medium">60.81%</td>
|
||||
<td data-value="74" class="abs medium">45/74</td>
|
||||
<td data-value="87.5" class="pct high">87.5%</td>
|
||||
<td data-value="8" class="abs high">7/8</td>
|
||||
<td data-value="65.93" class="pct medium">65.93%</td>
|
||||
<td data-value="135" class="abs medium">89/135</td>
|
||||
<td data-value="65.67" class="pct medium">65.67%</td>
|
||||
<td data-value="134" class="abs medium">88/134</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
|
@ -77,7 +77,7 @@
|
|||
</div><!-- /wrapper -->
|
||||
<div class='footer quiet pad2 space-top1 center small'>
|
||||
Code coverage
|
||||
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sat Apr 15 2017 22:58:40 GMT-0700 (PDT)
|
||||
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed Nov 11 2020 12:19:05 GMT-0800 (Pacific Standard Time)
|
||||
</div>
|
||||
</div>
|
||||
<script src="../../prettify.js"></script>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
TN:
|
||||
SF:/home/brandon/git/node-ipc/node-ipc.js
|
||||
SF:C:\Users\brand\git\node-ipc\node-ipc.js
|
||||
FN:6,(anonymous_1)
|
||||
FNF:1
|
||||
FNH:1
|
||||
|
@ -14,15 +14,15 @@ BRF:0
|
|||
BRH:0
|
||||
end_of_record
|
||||
TN:
|
||||
SF:/home/brandon/git/node-ipc/services/IPC.js
|
||||
SF:C:\Users\brand\git\node-ipc\services\IPC.js
|
||||
FN:9,(anonymous_1)
|
||||
FN:64,log
|
||||
FN:90,disconnect
|
||||
FN:107,serve
|
||||
FN:137,emptyCallback
|
||||
FN:141,serveNet
|
||||
FN:218,connect
|
||||
FN:267,connectNet
|
||||
FN:88,disconnect
|
||||
FN:105,serve
|
||||
FN:135,emptyCallback
|
||||
FN:139,serveNet
|
||||
FN:216,connect
|
||||
FN:265,connectNet
|
||||
FNF:8
|
||||
FNH:7
|
||||
FNDA:1,(anonymous_1)
|
||||
|
@ -39,218 +39,217 @@ DA:64,1
|
|||
DA:65,116
|
||||
DA:66,0
|
||||
DA:69,116
|
||||
DA:71,116
|
||||
DA:72,370
|
||||
DA:73,336
|
||||
DA:76,34
|
||||
DA:85,116
|
||||
DA:90,1
|
||||
DA:91,7
|
||||
DA:92,0
|
||||
DA:70,370
|
||||
DA:71,336
|
||||
DA:74,34
|
||||
DA:83,116
|
||||
DA:88,1
|
||||
DA:89,7
|
||||
DA:90,0
|
||||
DA:93,7
|
||||
DA:95,7
|
||||
DA:96,7
|
||||
DA:97,7
|
||||
DA:98,7
|
||||
DA:99,7
|
||||
DA:100,7
|
||||
DA:104,7
|
||||
DA:107,1
|
||||
DA:108,1
|
||||
DA:109,0
|
||||
DA:110,0
|
||||
DA:112,1
|
||||
DA:113,0
|
||||
DA:118,0
|
||||
DA:121,1
|
||||
DA:122,0
|
||||
DA:125,1
|
||||
DA:131,1
|
||||
DA:137,1
|
||||
DA:102,7
|
||||
DA:105,1
|
||||
DA:106,1
|
||||
DA:107,0
|
||||
DA:108,0
|
||||
DA:110,1
|
||||
DA:111,0
|
||||
DA:116,0
|
||||
DA:119,1
|
||||
DA:120,0
|
||||
DA:123,1
|
||||
DA:129,1
|
||||
DA:135,1
|
||||
DA:139,1
|
||||
DA:140,3
|
||||
DA:141,1
|
||||
DA:142,3
|
||||
DA:142,1
|
||||
DA:143,1
|
||||
DA:144,1
|
||||
DA:145,1
|
||||
DA:146,1
|
||||
DA:148,3
|
||||
DA:146,3
|
||||
DA:147,1
|
||||
DA:148,1
|
||||
DA:149,1
|
||||
DA:150,1
|
||||
DA:151,1
|
||||
DA:152,1
|
||||
DA:154,3
|
||||
DA:155,2
|
||||
DA:160,2
|
||||
DA:162,3
|
||||
DA:152,3
|
||||
DA:153,2
|
||||
DA:158,2
|
||||
DA:160,3
|
||||
DA:161,0
|
||||
DA:162,0
|
||||
DA:163,0
|
||||
DA:164,0
|
||||
DA:165,0
|
||||
DA:166,0
|
||||
DA:169,3
|
||||
DA:167,3
|
||||
DA:168,0
|
||||
DA:169,0
|
||||
DA:170,0
|
||||
DA:171,0
|
||||
DA:172,0
|
||||
DA:174,3
|
||||
DA:172,3
|
||||
DA:173,0
|
||||
DA:174,0
|
||||
DA:175,0
|
||||
DA:176,0
|
||||
DA:177,0
|
||||
DA:179,3
|
||||
DA:180,1
|
||||
DA:185,1
|
||||
DA:188,3
|
||||
DA:189,0
|
||||
DA:190,0
|
||||
DA:193,3
|
||||
DA:194,0
|
||||
DA:197,3
|
||||
DA:204,3
|
||||
DA:205,2
|
||||
DA:206,2
|
||||
DA:208,0
|
||||
DA:212,3
|
||||
DA:218,1
|
||||
DA:219,4
|
||||
DA:220,2
|
||||
DA:221,2
|
||||
DA:224,4
|
||||
DA:225,0
|
||||
DA:228,4
|
||||
DA:229,0
|
||||
DA:233,0
|
||||
DA:236,4
|
||||
DA:237,2
|
||||
DA:242,2
|
||||
DA:245,4
|
||||
DA:246,0
|
||||
DA:247,0
|
||||
DA:252,0
|
||||
DA:177,3
|
||||
DA:178,1
|
||||
DA:183,1
|
||||
DA:186,3
|
||||
DA:187,0
|
||||
DA:188,0
|
||||
DA:191,3
|
||||
DA:192,0
|
||||
DA:195,3
|
||||
DA:202,3
|
||||
DA:203,2
|
||||
DA:204,2
|
||||
DA:206,0
|
||||
DA:210,3
|
||||
DA:216,1
|
||||
DA:217,4
|
||||
DA:218,2
|
||||
DA:219,2
|
||||
DA:222,4
|
||||
DA:223,0
|
||||
DA:226,4
|
||||
DA:227,0
|
||||
DA:231,0
|
||||
DA:234,4
|
||||
DA:235,2
|
||||
DA:240,2
|
||||
DA:243,4
|
||||
DA:244,0
|
||||
DA:245,0
|
||||
DA:250,0
|
||||
DA:251,0
|
||||
DA:253,0
|
||||
DA:255,0
|
||||
DA:256,4
|
||||
DA:257,4
|
||||
DA:258,4
|
||||
DA:259,4
|
||||
DA:260,4
|
||||
DA:262,4
|
||||
DA:264,4
|
||||
DA:267,1
|
||||
DA:268,3
|
||||
DA:269,0
|
||||
DA:273,0
|
||||
DA:265,1
|
||||
DA:266,3
|
||||
DA:267,0
|
||||
DA:271,0
|
||||
DA:273,3
|
||||
DA:274,3
|
||||
DA:275,3
|
||||
DA:276,3
|
||||
DA:277,3
|
||||
DA:278,3
|
||||
DA:280,3
|
||||
DA:279,0
|
||||
DA:280,0
|
||||
DA:281,0
|
||||
DA:282,0
|
||||
DA:283,0
|
||||
DA:285,3
|
||||
DA:286,3
|
||||
DA:291,3
|
||||
DA:294,3
|
||||
DA:295,0
|
||||
DA:296,0
|
||||
DA:298,3
|
||||
DA:299,0
|
||||
DA:304,0
|
||||
DA:307,3
|
||||
DA:308,0
|
||||
DA:309,0
|
||||
DA:311,3
|
||||
DA:312,0
|
||||
DA:315,3
|
||||
DA:283,3
|
||||
DA:284,3
|
||||
DA:289,3
|
||||
DA:292,3
|
||||
DA:293,0
|
||||
DA:294,0
|
||||
DA:296,3
|
||||
DA:297,0
|
||||
DA:302,0
|
||||
DA:305,3
|
||||
DA:306,0
|
||||
DA:307,0
|
||||
DA:309,3
|
||||
DA:310,0
|
||||
DA:313,3
|
||||
DA:314,0
|
||||
DA:316,0
|
||||
DA:317,0
|
||||
DA:321,0
|
||||
DA:322,0
|
||||
DA:323,0
|
||||
DA:325,0
|
||||
DA:324,0
|
||||
DA:327,3
|
||||
DA:328,3
|
||||
DA:329,3
|
||||
DA:330,3
|
||||
DA:331,3
|
||||
DA:333,3
|
||||
DA:335,3
|
||||
DA:338,1
|
||||
LF:135
|
||||
LH:89
|
||||
DA:332,3
|
||||
DA:334,3
|
||||
DA:337,1
|
||||
LF:134
|
||||
LH:88
|
||||
BRDA:65,1,0,0
|
||||
BRDA:65,1,1,116
|
||||
BRDA:72,2,0,336
|
||||
BRDA:72,2,1,34
|
||||
BRDA:91,3,0,0
|
||||
BRDA:91,3,1,7
|
||||
BRDA:98,4,0,7
|
||||
BRDA:98,4,1,0
|
||||
BRDA:99,5,0,7
|
||||
BRDA:99,5,1,0
|
||||
BRDA:108,6,0,0
|
||||
BRDA:108,6,1,1
|
||||
BRDA:112,7,0,0
|
||||
BRDA:112,7,1,1
|
||||
BRDA:121,8,0,0
|
||||
BRDA:121,8,1,1
|
||||
BRDA:142,9,0,1
|
||||
BRDA:142,9,1,2
|
||||
BRDA:148,10,0,1
|
||||
BRDA:148,10,1,2
|
||||
BRDA:154,11,0,2
|
||||
BRDA:154,11,1,1
|
||||
BRDA:162,12,0,0
|
||||
BRDA:162,12,1,3
|
||||
BRDA:162,13,0,3
|
||||
BRDA:162,13,1,3
|
||||
BRDA:169,14,0,0
|
||||
BRDA:169,14,1,3
|
||||
BRDA:174,15,0,0
|
||||
BRDA:174,15,1,3
|
||||
BRDA:179,16,0,1
|
||||
BRDA:179,16,1,2
|
||||
BRDA:188,17,0,0
|
||||
BRDA:188,17,1,3
|
||||
BRDA:193,18,0,0
|
||||
BRDA:193,18,1,3
|
||||
BRDA:204,19,0,2
|
||||
BRDA:204,19,1,1
|
||||
BRDA:206,20,0,0
|
||||
BRDA:206,20,1,2
|
||||
BRDA:206,21,0,2
|
||||
BRDA:206,21,1,1
|
||||
BRDA:219,22,0,2
|
||||
BRDA:219,22,1,2
|
||||
BRDA:224,23,0,0
|
||||
BRDA:224,23,1,4
|
||||
BRDA:228,24,0,0
|
||||
BRDA:228,24,1,4
|
||||
BRDA:236,25,0,2
|
||||
BRDA:236,25,1,2
|
||||
BRDA:245,26,0,0
|
||||
BRDA:245,26,1,4
|
||||
BRDA:246,27,0,0
|
||||
BRDA:246,27,1,0
|
||||
BRDA:268,28,0,0
|
||||
BRDA:268,28,1,3
|
||||
BRDA:275,29,0,3
|
||||
BRDA:275,29,1,0
|
||||
BRDA:280,30,0,0
|
||||
BRDA:280,30,1,3
|
||||
BRDA:285,31,0,3
|
||||
BRDA:285,31,1,0
|
||||
BRDA:294,32,0,0
|
||||
BRDA:294,32,1,3
|
||||
BRDA:298,33,0,0
|
||||
BRDA:298,33,1,3
|
||||
BRDA:307,34,0,0
|
||||
BRDA:307,34,1,3
|
||||
BRDA:311,35,0,0
|
||||
BRDA:311,35,1,3
|
||||
BRDA:315,36,0,0
|
||||
BRDA:315,36,1,3
|
||||
BRDA:316,37,0,0
|
||||
BRDA:316,37,1,0
|
||||
BRDA:70,2,0,336
|
||||
BRDA:70,2,1,34
|
||||
BRDA:89,3,0,0
|
||||
BRDA:89,3,1,7
|
||||
BRDA:96,4,0,7
|
||||
BRDA:96,4,1,0
|
||||
BRDA:97,5,0,7
|
||||
BRDA:97,5,1,0
|
||||
BRDA:106,6,0,0
|
||||
BRDA:106,6,1,1
|
||||
BRDA:110,7,0,0
|
||||
BRDA:110,7,1,1
|
||||
BRDA:119,8,0,0
|
||||
BRDA:119,8,1,1
|
||||
BRDA:140,9,0,1
|
||||
BRDA:140,9,1,2
|
||||
BRDA:146,10,0,1
|
||||
BRDA:146,10,1,2
|
||||
BRDA:152,11,0,2
|
||||
BRDA:152,11,1,1
|
||||
BRDA:160,12,0,0
|
||||
BRDA:160,12,1,3
|
||||
BRDA:160,13,0,3
|
||||
BRDA:160,13,1,3
|
||||
BRDA:167,14,0,0
|
||||
BRDA:167,14,1,3
|
||||
BRDA:172,15,0,0
|
||||
BRDA:172,15,1,3
|
||||
BRDA:177,16,0,1
|
||||
BRDA:177,16,1,2
|
||||
BRDA:186,17,0,0
|
||||
BRDA:186,17,1,3
|
||||
BRDA:191,18,0,0
|
||||
BRDA:191,18,1,3
|
||||
BRDA:202,19,0,2
|
||||
BRDA:202,19,1,1
|
||||
BRDA:204,20,0,0
|
||||
BRDA:204,20,1,2
|
||||
BRDA:204,21,0,2
|
||||
BRDA:204,21,1,1
|
||||
BRDA:217,22,0,2
|
||||
BRDA:217,22,1,2
|
||||
BRDA:222,23,0,0
|
||||
BRDA:222,23,1,4
|
||||
BRDA:226,24,0,0
|
||||
BRDA:226,24,1,4
|
||||
BRDA:234,25,0,2
|
||||
BRDA:234,25,1,2
|
||||
BRDA:243,26,0,0
|
||||
BRDA:243,26,1,4
|
||||
BRDA:244,27,0,0
|
||||
BRDA:244,27,1,0
|
||||
BRDA:266,28,0,0
|
||||
BRDA:266,28,1,3
|
||||
BRDA:273,29,0,3
|
||||
BRDA:273,29,1,0
|
||||
BRDA:278,30,0,0
|
||||
BRDA:278,30,1,3
|
||||
BRDA:283,31,0,3
|
||||
BRDA:283,31,1,0
|
||||
BRDA:292,32,0,0
|
||||
BRDA:292,32,1,3
|
||||
BRDA:296,33,0,0
|
||||
BRDA:296,33,1,3
|
||||
BRDA:305,34,0,0
|
||||
BRDA:305,34,1,3
|
||||
BRDA:309,35,0,0
|
||||
BRDA:309,35,1,3
|
||||
BRDA:313,36,0,0
|
||||
BRDA:313,36,1,3
|
||||
BRDA:314,37,0,0
|
||||
BRDA:314,37,1,0
|
||||
BRF:74
|
||||
BRH:45
|
||||
end_of_record
|
||||
TN:
|
||||
SF:/home/brandon/git/node-ipc/entities/Defaults.js
|
||||
SF:C:\Users\brand\git\node-ipc\entities\Defaults.js
|
||||
FN:22,(anonymous_1)
|
||||
FN:64,getIPType
|
||||
FN:66,getIPType
|
||||
FNF:2
|
||||
FNH:2
|
||||
FNDA:3,(anonymous_1)
|
||||
|
@ -262,49 +261,51 @@ DA:26,3
|
|||
DA:28,3
|
||||
DA:29,3
|
||||
DA:30,3
|
||||
DA:32,3
|
||||
DA:34,3
|
||||
DA:31,3
|
||||
DA:33,3
|
||||
DA:35,3
|
||||
DA:36,3
|
||||
DA:37,3
|
||||
DA:38,3
|
||||
DA:39,3
|
||||
DA:40,3
|
||||
DA:41,3
|
||||
DA:42,3
|
||||
DA:43,3
|
||||
DA:44,3
|
||||
DA:45,3
|
||||
DA:46,3
|
||||
DA:47,3
|
||||
DA:48,3
|
||||
DA:64,1
|
||||
DA:65,3
|
||||
DA:66,3
|
||||
DA:50,3
|
||||
DA:66,1
|
||||
DA:67,3
|
||||
DA:71,0
|
||||
DA:75,3
|
||||
DA:78,1
|
||||
LF:27
|
||||
LH:26
|
||||
BRDA:45,1,0,0
|
||||
BRDA:45,1,1,3
|
||||
BRDA:67,2,0,0
|
||||
BRDA:67,2,1,3
|
||||
BRDA:67,3,0,3
|
||||
BRDA:67,3,1,3
|
||||
BRDA:67,3,2,0
|
||||
DA:68,3
|
||||
DA:69,3
|
||||
DA:73,0
|
||||
DA:77,3
|
||||
DA:80,1
|
||||
LF:29
|
||||
LH:28
|
||||
BRDA:47,1,0,0
|
||||
BRDA:47,1,1,3
|
||||
BRDA:69,2,0,0
|
||||
BRDA:69,2,1,3
|
||||
BRDA:69,3,0,3
|
||||
BRDA:69,3,1,3
|
||||
BRDA:69,3,2,0
|
||||
BRF:7
|
||||
BRH:4
|
||||
end_of_record
|
||||
TN:
|
||||
SF:/home/brandon/git/node-ipc/dao/client.js
|
||||
FN:18,(anonymous_1)
|
||||
FN:39,emit
|
||||
FN:62,syncEmit
|
||||
FN:67,connect
|
||||
FN:150,(anonymous_5)
|
||||
FN:159,connectionMade
|
||||
FN:168,connectionClosed
|
||||
FN:194,retryTimeout
|
||||
FN:207,(anonymous_9)
|
||||
SF:C:\Users\brand\git\node-ipc\dao\client.js
|
||||
FN:14,(anonymous_1)
|
||||
FN:35,emit
|
||||
FN:58,syncEmit
|
||||
FN:63,connect
|
||||
FN:146,(anonymous_5)
|
||||
FN:155,connectionMade
|
||||
FN:164,connectionClosed
|
||||
FN:190,retryTimeout
|
||||
FN:203,(anonymous_9)
|
||||
FNF:9
|
||||
FNH:9
|
||||
FNDA:7,(anonymous_1)
|
||||
|
@ -317,45 +318,44 @@ FNDA:13,connectionClosed
|
|||
FNDA:6,retryTimeout
|
||||
FNDA:7,(anonymous_9)
|
||||
DA:3,1
|
||||
DA:10,1
|
||||
DA:11,1
|
||||
DA:12,1
|
||||
DA:15,1
|
||||
DA:19,7
|
||||
DA:20,7
|
||||
DA:35,7
|
||||
DA:39,1
|
||||
DA:15,7
|
||||
DA:16,7
|
||||
DA:31,7
|
||||
DA:35,1
|
||||
DA:36,7
|
||||
DA:38,7
|
||||
DA:39,7
|
||||
DA:40,7
|
||||
DA:42,7
|
||||
DA:43,7
|
||||
DA:44,7
|
||||
DA:46,7
|
||||
DA:47,0
|
||||
DA:49,7
|
||||
DA:52,7
|
||||
DA:53,1
|
||||
DA:54,1
|
||||
DA:57,6
|
||||
DA:62,1
|
||||
DA:63,6
|
||||
DA:64,6
|
||||
DA:67,1
|
||||
DA:69,13
|
||||
DA:71,13
|
||||
DA:72,13
|
||||
DA:73,0
|
||||
DA:74,0
|
||||
DA:77,13
|
||||
DA:79,13
|
||||
DA:43,0
|
||||
DA:45,7
|
||||
DA:48,7
|
||||
DA:49,1
|
||||
DA:50,1
|
||||
DA:53,6
|
||||
DA:58,1
|
||||
DA:59,6
|
||||
DA:60,6
|
||||
DA:63,1
|
||||
DA:65,13
|
||||
DA:67,13
|
||||
DA:68,13
|
||||
DA:69,0
|
||||
DA:70,0
|
||||
DA:73,13
|
||||
DA:75,13
|
||||
DA:76,7
|
||||
DA:78,7
|
||||
DA:80,7
|
||||
DA:81,7
|
||||
DA:82,7
|
||||
DA:84,7
|
||||
DA:85,0
|
||||
DA:86,0
|
||||
DA:87,0
|
||||
DA:90,7
|
||||
DA:92,6
|
||||
DA:93,6
|
||||
DA:83,7
|
||||
DA:86,7
|
||||
DA:88,6
|
||||
DA:89,6
|
||||
DA:91,6
|
||||
DA:92,0
|
||||
DA:95,6
|
||||
DA:96,0
|
||||
DA:99,6
|
||||
|
@ -365,88 +365,86 @@ DA:104,0
|
|||
DA:107,6
|
||||
DA:108,0
|
||||
DA:111,6
|
||||
DA:112,0
|
||||
DA:115,6
|
||||
DA:116,6
|
||||
DA:117,6
|
||||
DA:112,6
|
||||
DA:113,6
|
||||
DA:115,0
|
||||
DA:116,0
|
||||
DA:117,0
|
||||
DA:119,0
|
||||
DA:120,0
|
||||
DA:121,0
|
||||
DA:122,0
|
||||
DA:123,0
|
||||
DA:124,0
|
||||
DA:126,0
|
||||
DA:127,0
|
||||
DA:128,0
|
||||
DA:130,0
|
||||
DA:131,0
|
||||
DA:132,0
|
||||
DA:138,0
|
||||
DA:140,0
|
||||
DA:146,13
|
||||
DA:148,13
|
||||
DA:151,10
|
||||
DA:152,10
|
||||
DA:157,13
|
||||
DA:160,3
|
||||
DA:161,3
|
||||
DA:162,3
|
||||
DA:166,13
|
||||
DA:134,0
|
||||
DA:136,0
|
||||
DA:142,13
|
||||
DA:144,13
|
||||
DA:147,10
|
||||
DA:148,10
|
||||
DA:153,13
|
||||
DA:156,3
|
||||
DA:157,3
|
||||
DA:158,3
|
||||
DA:162,13
|
||||
DA:165,13
|
||||
DA:169,13
|
||||
DA:173,13
|
||||
DA:179,7
|
||||
DA:180,7
|
||||
DA:175,7
|
||||
DA:176,7
|
||||
DA:182,7
|
||||
DA:183,7
|
||||
DA:184,7
|
||||
DA:186,7
|
||||
DA:187,7
|
||||
DA:188,7
|
||||
DA:190,7
|
||||
DA:193,6
|
||||
DA:195,6
|
||||
DA:196,6
|
||||
DA:201,6
|
||||
DA:205,13
|
||||
DA:208,7
|
||||
DA:209,7
|
||||
DA:189,6
|
||||
DA:191,6
|
||||
DA:192,6
|
||||
DA:197,6
|
||||
DA:201,13
|
||||
DA:204,7
|
||||
DA:205,7
|
||||
DA:206,0
|
||||
DA:210,0
|
||||
DA:211,0
|
||||
DA:214,0
|
||||
DA:215,0
|
||||
DA:218,0
|
||||
DA:219,0
|
||||
DA:218,7
|
||||
DA:219,7
|
||||
DA:222,7
|
||||
DA:223,7
|
||||
DA:226,7
|
||||
DA:228,7
|
||||
DA:229,0
|
||||
DA:230,0
|
||||
DA:224,7
|
||||
DA:225,0
|
||||
DA:226,0
|
||||
DA:229,7
|
||||
DA:231,7
|
||||
DA:232,7
|
||||
DA:233,7
|
||||
DA:234,7
|
||||
DA:235,7
|
||||
DA:236,7
|
||||
DA:237,7
|
||||
DA:238,7
|
||||
DA:239,7
|
||||
DA:241,7
|
||||
DA:242,7
|
||||
DA:248,7
|
||||
DA:249,0
|
||||
DA:252,7
|
||||
DA:257,1
|
||||
LF:113
|
||||
LH:81
|
||||
BRDA:11,1,0,1
|
||||
BRDA:11,1,1,0
|
||||
BRDA:30,2,0,7
|
||||
BRDA:30,2,1,0
|
||||
BRDA:46,3,0,0
|
||||
BRDA:46,3,1,7
|
||||
BRDA:52,4,0,1
|
||||
BRDA:52,4,1,6
|
||||
BRDA:72,5,0,0
|
||||
BRDA:72,5,1,13
|
||||
BRDA:79,6,0,7
|
||||
BRDA:79,6,1,6
|
||||
BRDA:84,7,0,0
|
||||
BRDA:84,7,1,7
|
||||
BRDA:84,8,0,7
|
||||
BRDA:84,8,1,0
|
||||
DA:244,7
|
||||
DA:245,1
|
||||
DA:248,6
|
||||
DA:253,1
|
||||
LF:110
|
||||
LH:82
|
||||
BRDA:26,1,0,7
|
||||
BRDA:26,1,1,0
|
||||
BRDA:42,2,0,0
|
||||
BRDA:42,2,1,7
|
||||
BRDA:48,3,0,1
|
||||
BRDA:48,3,1,6
|
||||
BRDA:68,4,0,0
|
||||
BRDA:68,4,1,13
|
||||
BRDA:75,5,0,7
|
||||
BRDA:75,5,1,6
|
||||
BRDA:80,6,0,7
|
||||
BRDA:80,6,1,0
|
||||
BRDA:80,7,0,7
|
||||
BRDA:80,7,1,7
|
||||
BRDA:91,8,0,0
|
||||
BRDA:91,8,1,6
|
||||
BRDA:95,9,0,0
|
||||
BRDA:95,9,1,6
|
||||
BRDA:99,10,0,0
|
||||
|
@ -455,40 +453,38 @@ BRDA:103,11,0,0
|
|||
BRDA:103,11,1,6
|
||||
BRDA:107,12,0,0
|
||||
BRDA:107,12,1,6
|
||||
BRDA:111,13,0,0
|
||||
BRDA:111,13,1,6
|
||||
BRDA:115,14,0,6
|
||||
BRDA:115,14,1,0
|
||||
BRDA:120,15,0,0
|
||||
BRDA:120,15,1,0
|
||||
BRDA:123,16,0,0
|
||||
BRDA:123,16,1,0
|
||||
BRDA:126,17,0,0
|
||||
BRDA:126,17,1,0
|
||||
BRDA:127,18,0,0
|
||||
BRDA:127,18,1,0
|
||||
BRDA:173,19,0,7
|
||||
BRDA:173,19,1,6
|
||||
BRDA:174,20,0,13
|
||||
BRDA:174,20,1,8
|
||||
BRDA:174,20,2,6
|
||||
BRDA:209,21,0,0
|
||||
BRDA:209,21,1,7
|
||||
BRDA:214,22,0,0
|
||||
BRDA:214,22,1,0
|
||||
BRDA:222,23,0,7
|
||||
BRDA:222,23,1,0
|
||||
BRDA:228,24,0,0
|
||||
BRDA:228,24,1,7
|
||||
BRDA:228,25,0,7
|
||||
BRDA:228,25,1,7
|
||||
BRDA:248,26,0,0
|
||||
BRDA:248,26,1,7
|
||||
BRF:53
|
||||
BRH:27
|
||||
BRDA:111,13,0,6
|
||||
BRDA:111,13,1,0
|
||||
BRDA:116,14,0,0
|
||||
BRDA:116,14,1,0
|
||||
BRDA:119,15,0,0
|
||||
BRDA:119,15,1,0
|
||||
BRDA:122,16,0,0
|
||||
BRDA:122,16,1,0
|
||||
BRDA:123,17,0,0
|
||||
BRDA:123,17,1,0
|
||||
BRDA:169,18,0,7
|
||||
BRDA:169,18,1,6
|
||||
BRDA:170,19,0,13
|
||||
BRDA:170,19,1,8
|
||||
BRDA:170,19,2,6
|
||||
BRDA:205,20,0,0
|
||||
BRDA:205,20,1,7
|
||||
BRDA:210,21,0,0
|
||||
BRDA:210,21,1,0
|
||||
BRDA:218,22,0,7
|
||||
BRDA:218,22,1,0
|
||||
BRDA:224,23,0,0
|
||||
BRDA:224,23,1,7
|
||||
BRDA:224,24,0,7
|
||||
BRDA:224,24,1,7
|
||||
BRDA:244,25,0,1
|
||||
BRDA:244,25,1,6
|
||||
BRF:51
|
||||
BRH:28
|
||||
end_of_record
|
||||
TN:
|
||||
SF:/home/brandon/git/node-ipc/entities/EventParser.js
|
||||
SF:C:\Users\brand\git\node-ipc\entities\EventParser.js
|
||||
FN:6,(anonymous_1)
|
||||
FN:13,(anonymous_2)
|
||||
FN:25,(anonymous_3)
|
||||
|
@ -526,11 +522,11 @@ BRF:9
|
|||
BRH:5
|
||||
end_of_record
|
||||
TN:
|
||||
SF:/home/brandon/git/node-ipc/dao/socketServer.js
|
||||
FN:18,(anonymous_1)
|
||||
FN:44,(anonymous_2)
|
||||
FN:51,(anonymous_3)
|
||||
FN:55,(anonymous_4)
|
||||
SF:C:\Users\brand\git\node-ipc\dao\socketServer.js
|
||||
FN:14,(anonymous_1)
|
||||
FN:40,(anonymous_2)
|
||||
FN:47,(anonymous_3)
|
||||
FN:51,(anonymous_4)
|
||||
FN:68,emit
|
||||
FN:100,broadcast
|
||||
FN:123,serverClosed
|
||||
|
@ -568,20 +564,19 @@ FNDA:2,UDPWrite
|
|||
FNDA:2,(anonymous_18)
|
||||
FNDA:0,(anonymous_19)
|
||||
DA:3,1
|
||||
DA:10,1
|
||||
DA:11,1
|
||||
DA:12,1
|
||||
DA:15,1
|
||||
DA:19,4
|
||||
DA:20,4
|
||||
DA:36,4
|
||||
DA:38,4
|
||||
DA:45,4
|
||||
DA:15,4
|
||||
DA:16,4
|
||||
DA:32,4
|
||||
DA:34,4
|
||||
DA:41,4
|
||||
DA:48,4
|
||||
DA:52,4
|
||||
DA:56,4
|
||||
DA:57,0
|
||||
DA:58,0
|
||||
DA:61,4
|
||||
DA:53,0
|
||||
DA:54,0
|
||||
DA:57,4
|
||||
DA:58,4
|
||||
DA:63,0
|
||||
DA:68,1
|
||||
DA:69,2
|
||||
DA:71,2
|
||||
|
@ -690,9 +685,9 @@ DA:301,4
|
|||
DA:303,4
|
||||
DA:304,1
|
||||
DA:305,1
|
||||
DA:306,0
|
||||
DA:307,0
|
||||
DA:308,0
|
||||
DA:306,1
|
||||
DA:307,1
|
||||
DA:308,1
|
||||
DA:311,1
|
||||
DA:316,1
|
||||
DA:319,3
|
||||
|
@ -727,12 +722,12 @@ DA:386,0
|
|||
DA:387,0
|
||||
DA:390,0
|
||||
DA:398,1
|
||||
LF:160
|
||||
LH:102
|
||||
BRDA:11,1,0,1
|
||||
BRDA:11,1,1,0
|
||||
BRDA:56,2,0,0
|
||||
BRDA:56,2,1,4
|
||||
LF:159
|
||||
LH:103
|
||||
BRDA:52,1,0,0
|
||||
BRDA:52,1,1,4
|
||||
BRDA:57,2,0,4
|
||||
BRDA:57,2,1,0
|
||||
BRDA:75,3,0,0
|
||||
BRDA:75,3,1,2
|
||||
BRDA:82,4,0,2
|
||||
|
@ -797,8 +792,8 @@ BRDA:278,33,0,1
|
|||
BRDA:278,33,1,1
|
||||
BRDA:303,34,0,1
|
||||
BRDA:303,34,1,3
|
||||
BRDA:305,35,0,0
|
||||
BRDA:305,35,1,1
|
||||
BRDA:305,35,0,1
|
||||
BRDA:305,35,1,0
|
||||
BRDA:319,36,0,1
|
||||
BRDA:319,36,1,2
|
||||
BRDA:319,37,0,3
|
||||
|
|
Loading…
Reference in a new issue