prepping for 10.0.2 patch

This commit is contained in:
Brandon 2021-07-07 13:16:21 -07:00
commit a5939c1a8a
50 changed files with 986 additions and 394 deletions

2
.gitattributes vendored
View file

@ -1 +1 @@
spec/**/* linguist-generated=true coverage/**/* linguist-generated=true

View file

@ -6,6 +6,10 @@ A great solution for complex multiprocess **Neural Networking** in Node.JS
**npm install node-ipc** **npm install node-ipc**
#### for commonjs or node <v14
set version to `<10.0.0` in your `pagage.json` for the node-ipc dep.
#### NPM Stats #### NPM Stats
npm info : [See npm trends and stats for node-ipc](http://npm-stat.com/charts.html?package=node-ipc&author=&from=&to=) npm info : [See npm trends and stats for node-ipc](http://npm-stat.com/charts.html?package=node-ipc&author=&from=&to=)
@ -490,7 +494,8 @@ Sometimes you might need explicit and independent instances of node-ipc. Just fo
```javascript ```javascript
const RawIPC=from 'node-ipc').IPC; import {IPCModule} from 'node-ipc';
const ipc=new RawIPC; const ipc=new RawIPC;
const someOtherExplicitIPC=new RawIPC; const someOtherExplicitIPC=new RawIPC;
@ -525,7 +530,7 @@ The server is the process keeping a socket for IPC open. Multiple sockets can co
```javascript ```javascript
var ipc=from 'node-ipc'); import ipc from 'node-ipc';
ipc.config.id = 'world'; ipc.config.id = 'world';
ipc.config.retry= 1500; ipc.config.retry= 1500;
@ -562,7 +567,7 @@ The client connects to the servers socket for Inter Process Communication. The s
```javascript ```javascript
var ipc=from 'node-ipc'); import ipc from 'node-ipc';
ipc.config.id = 'hello'; ipc.config.id = 'hello';
ipc.config.retry= 1500; ipc.config.retry= 1500;
@ -608,7 +613,7 @@ This is the most basic example which will work for both local and remote UDP Soc
```javascript ```javascript
var ipc=from '../../../node-ipc'); import ipc from 'node-ipc';
ipc.config.id = 'world'; ipc.config.id = 'world';
ipc.config.retry= 1500; ipc.config.retry= 1500;
@ -803,10 +808,13 @@ Writing explicit buffers, int types, doubles, floats etc. as well as big endian
```javascript ```javascript
const fs = from 'fs'); import fs from 'fs';
const ipc=from '../../../node-ipc'); import ipc from 'node-ipc';
const cpuCount = from 'os').cpus().length; import {cpus} from 'os';
const cluster = from 'cluster'); import cluster from 'cluster';
const cpuCount=cpus().length;
const socketPath='/tmp/ipc.sock'; const socketPath='/tmp/ipc.sock';
ipc.config.unlink = false; ipc.config.unlink = false;
@ -842,8 +850,8 @@ Writing explicit buffers, int types, doubles, floats etc. as well as big endian
```javascript ```javascript
const fs = from 'fs'); import fs from 'fs';
const ipc = from '../../node-ipc'); import ipc from 'node-ipc';
const socketPath = '/tmp/ipc.sock'; const socketPath = '/tmp/ipc.sock';

26
coverage/index.html generated
View file

@ -23,30 +23,30 @@
<div class='clearfix'> <div class='clearfix'>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">79.65% </span> <span class="strong">79.52% </span>
<span class="quiet">Statements</span> <span class="quiet">Statements</span>
<span class='fraction'>900/1130</span> <span class='fraction'>893/1123</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">67.9% </span> <span class="strong">68.1% </span>
<span class="quiet">Branches</span> <span class="quiet">Branches</span>
<span class='fraction'>110/162</span> <span class='fraction'>111/163</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">84.62% </span> <span class="strong">84.91% </span>
<span class="quiet">Functions</span> <span class="quiet">Functions</span>
<span class='fraction'>44/52</span> <span class='fraction'>45/53</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">79.65% </span> <span class="strong">79.52% </span>
<span class="quiet">Lines</span> <span class="quiet">Lines</span>
<span class='fraction'>900/1130</span> <span class='fraction'>893/1123</span>
</div> </div>
@ -78,13 +78,13 @@
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div> <div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
</td> </td>
<td data-value="100" class="pct high">100%</td> <td data-value="100" class="pct high">100%</td>
<td data-value="24" class="abs high">24/24</td> <td data-value="17" class="abs high">17/17</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="3" class="abs high">3/3</td>
<td data-value="100" class="pct high">100%</td> <td data-value="100" class="pct high">100%</td>
<td data-value="2" class="abs high">2/2</td> <td data-value="2" class="abs high">2/2</td>
<td data-value="100" class="pct high">100%</td> <td data-value="100" class="pct high">100%</td>
<td data-value="1" class="abs high">1/1</td> <td data-value="17" class="abs high">17/17</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="24" class="abs high">24/24</td>
</tr> </tr>
<tr> <tr>
@ -155,7 +155,7 @@
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 09:13:38 GMT-0700 (Pacific Daylight Time) at Wed Jul 07 2021 13:15:27 GMT-0700 (Pacific Daylight Time)
</div> </div>
</div> </div>
<script src="prettify.js"></script> <script src="prettify.js"></script>

View file

@ -23,30 +23,30 @@
<div class='clearfix'> <div class='clearfix'>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">79.65% </span> <span class="strong">79.52% </span>
<span class="quiet">Statements</span> <span class="quiet">Statements</span>
<span class='fraction'>900/1130</span> <span class='fraction'>893/1123</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">67.9% </span> <span class="strong">68.1% </span>
<span class="quiet">Branches</span> <span class="quiet">Branches</span>
<span class='fraction'>110/162</span> <span class='fraction'>111/163</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">84.62% </span> <span class="strong">84.91% </span>
<span class="quiet">Functions</span> <span class="quiet">Functions</span>
<span class='fraction'>44/52</span> <span class='fraction'>45/53</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">79.65% </span> <span class="strong">79.52% </span>
<span class="quiet">Lines</span> <span class="quiet">Lines</span>
<span class='fraction'>900/1130</span> <span class='fraction'>893/1123</span>
</div> </div>
@ -78,13 +78,13 @@
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div> <div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
</td> </td>
<td data-value="100" class="pct high">100%</td> <td data-value="100" class="pct high">100%</td>
<td data-value="24" class="abs high">24/24</td> <td data-value="17" class="abs high">17/17</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="3" class="abs high">3/3</td>
<td data-value="100" class="pct high">100%</td> <td data-value="100" class="pct high">100%</td>
<td data-value="2" class="abs high">2/2</td> <td data-value="2" class="abs high">2/2</td>
<td data-value="100" class="pct high">100%</td> <td data-value="100" class="pct high">100%</td>
<td data-value="1" class="abs high">1/1</td> <td data-value="17" class="abs high">17/17</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="24" class="abs high">24/24</td>
</tr> </tr>
<tr> <tr>
@ -155,7 +155,7 @@
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 09:13:38 GMT-0700 (Pacific Daylight Time) at Wed Jul 07 2021 13:15:26 GMT-0700 (Pacific Daylight Time)
</div> </div>
</div> </div>
<script src="prettify.js"></script> <script src="prettify.js"></script>

View file

@ -838,7 +838,7 @@ export {
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 09:13:38 GMT-0700 (Pacific Daylight Time) at Wed Jul 07 2021 13:15:26 GMT-0700 (Pacific Daylight Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -110,7 +110,7 @@
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 09:13:38 GMT-0700 (Pacific Daylight Time) at Wed Jul 07 2021 13:15:26 GMT-0700 (Pacific Daylight Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -1261,7 +1261,7 @@ export {
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 09:13:38 GMT-0700 (Pacific Daylight Time) at Wed Jul 07 2021 13:15:26 GMT-0700 (Pacific Daylight Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -262,7 +262,7 @@ export {
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 09:13:38 GMT-0700 (Pacific Daylight Time) at Wed Jul 07 2021 13:15:26 GMT-0700 (Pacific Daylight Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -166,7 +166,7 @@ export {
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 09:13:38 GMT-0700 (Pacific Daylight Time) at Wed Jul 07 2021 13:15:26 GMT-0700 (Pacific Daylight Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -110,7 +110,7 @@
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 09:13:38 GMT-0700 (Pacific Daylight Time) at Wed Jul 07 2021 13:15:26 GMT-0700 (Pacific Daylight Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -97,7 +97,7 @@ export {
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 09:13:38 GMT-0700 (Pacific Daylight Time) at Wed Jul 07 2021 13:15:26 GMT-0700 (Pacific Daylight Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -95,7 +95,7 @@
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 09:13:38 GMT-0700 (Pacific Daylight Time) at Wed Jul 07 2021 13:15:26 GMT-0700 (Pacific Daylight Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -25,28 +25,28 @@
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">100% </span> <span class="strong">100% </span>
<span class="quiet">Statements</span> <span class="quiet">Statements</span>
<span class='fraction'>24/24</span> <span class='fraction'>17/17</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">100% </span> <span class="strong">100% </span>
<span class="quiet">Branches</span> <span class="quiet">Branches</span>
<span class='fraction'>2/2</span> <span class='fraction'>3/3</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">100% </span> <span class="strong">100% </span>
<span class="quiet">Functions</span> <span class="quiet">Functions</span>
<span class='fraction'>1/1</span> <span class='fraction'>2/2</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">100% </span> <span class="strong">100% </span>
<span class="quiet">Lines</span> <span class="quiet">Lines</span>
<span class='fraction'>24/24</span> <span class='fraction'>17/17</span>
</div> </div>
@ -78,13 +78,13 @@
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div> <div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
</td> </td>
<td data-value="100" class="pct high">100%</td> <td data-value="100" class="pct high">100%</td>
<td data-value="24" class="abs high">24/24</td> <td data-value="17" class="abs high">17/17</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="3" class="abs high">3/3</td>
<td data-value="100" class="pct high">100%</td> <td data-value="100" class="pct high">100%</td>
<td data-value="2" class="abs high">2/2</td> <td data-value="2" class="abs high">2/2</td>
<td data-value="100" class="pct high">100%</td> <td data-value="100" class="pct high">100%</td>
<td data-value="1" class="abs high">1/1</td> <td data-value="17" class="abs high">17/17</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="24" class="abs high">24/24</td>
</tr> </tr>
</tbody> </tbody>
@ -95,7 +95,7 @@
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 09:13:38 GMT-0700 (Pacific Daylight Time) at Wed Jul 07 2021 13:15:26 GMT-0700 (Pacific Daylight Time)
</div> </div>
</div> </div>
<script src="../prettify.js"></script> <script src="../prettify.js"></script>

View file

@ -25,28 +25,28 @@
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">100% </span> <span class="strong">100% </span>
<span class="quiet">Statements</span> <span class="quiet">Statements</span>
<span class='fraction'>24/24</span> <span class='fraction'>17/17</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">100% </span> <span class="strong">100% </span>
<span class="quiet">Branches</span> <span class="quiet">Branches</span>
<span class='fraction'>2/2</span> <span class='fraction'>3/3</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">100% </span> <span class="strong">100% </span>
<span class="quiet">Functions</span> <span class="quiet">Functions</span>
<span class='fraction'>1/1</span> <span class='fraction'>2/2</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">100% </span> <span class="strong">100% </span>
<span class="quiet">Lines</span> <span class="quiet">Lines</span>
<span class='fraction'>24/24</span> <span class='fraction'>17/17</span>
</div> </div>
@ -74,29 +74,15 @@
<a name='L15'></a><a href='#L15'>15</a> <a name='L15'></a><a href='#L15'>15</a>
<a name='L16'></a><a href='#L16'>16</a> <a name='L16'></a><a href='#L16'>16</a>
<a name='L17'></a><a href='#L17'>17</a> <a name='L17'></a><a href='#L17'>17</a>
<a name='L18'></a><a href='#L18'>18</a> <a name='L18'></a><a href='#L18'>18</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">7x</span>
<a name='L19'></a><a href='#L19'>19</a>
<a name='L20'></a><a href='#L20'>20</a>
<a name='L21'></a><a href='#L21'>21</a>
<a name='L22'></a><a href='#L22'>22</a>
<a name='L23'></a><a href='#L23'>23</a>
<a name='L24'></a><a href='#L24'>24</a>
<a name='L25'></a><a href='#L25'>25</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">15x</span> <span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">15x</span> <span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">15x</span> <span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">15x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">15x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
@ -110,17 +96,10 @@
class IPCModule extends IPC{ class IPCModule extends IPC{
constructor(){ constructor(){
super(); super();
//include IPC to make extensible &nbsp;
Object.defineProperty(
this,
'IPC',
{
enumerable:true,
writable:false,
value:IPC
}
)
} }
&nbsp;
IPC=IPC;
} }
&nbsp; &nbsp;
const singleton=new IPCModule; const singleton=new IPCModule;
@ -136,7 +115,7 @@ export {
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 09:13:38 GMT-0700 (Pacific Daylight Time) at Wed Jul 07 2021 13:15:26 GMT-0700 (Pacific Daylight Time)
</div> </div>
</div> </div>
<script src="../prettify.js"></script> <script src="../prettify.js"></script>

View file

@ -1075,7 +1075,7 @@ export {
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 09:13:38 GMT-0700 (Pacific Daylight Time) at Wed Jul 07 2021 13:15:26 GMT-0700 (Pacific Daylight Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -95,7 +95,7 @@
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 09:13:38 GMT-0700 (Pacific Daylight Time) at Wed Jul 07 2021 13:15:26 GMT-0700 (Pacific Daylight Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

40
coverage/lcov.info generated
View file

@ -1,9 +1,11 @@
TN: TN:
SF:node-ipc.js SF:node-ipc.js
FN:4,IPCModule FN:4,IPCModule
FNF:1 FN:9,<instance_members_initializer>
FNH:1 FNF:2
FNH:2
FNDA:15,IPCModule FNDA:15,IPCModule
FNDA:15,<instance_members_initializer>
DA:1,7 DA:1,7
DA:2,7 DA:2,7
DA:3,7 DA:3,7
@ -11,29 +13,23 @@ DA:4,7
DA:5,15 DA:5,15
DA:6,15 DA:6,15
DA:7,15 DA:7,15
DA:8,15 DA:8,7
DA:9,15 DA:9,7
DA:10,15 DA:10,7
DA:11,15 DA:11,7
DA:12,15 DA:12,7
DA:13,15 DA:13,7
DA:14,15 DA:14,7
DA:15,15 DA:15,7
DA:16,15 DA:16,7
DA:17,7 DA:17,7
DA:18,7 LF:17
DA:19,7 LH:17
DA:20,7
DA:21,7
DA:22,7
DA:23,7
DA:24,7
LF:24
LH:24
BRDA:1,0,0,7 BRDA:1,0,0,7
BRDA:4,1,0,15 BRDA:4,1,0,15
BRF:2 BRDA:9,2,0,15
BRH:2 BRF:3
BRH:3
end_of_record end_of_record
TN: TN:
SF:dao\client.js SF:dao\client.js

View file

@ -838,7 +838,7 @@ export {
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 09:13:38 GMT-0700 (Pacific Daylight Time) at Wed Jul 07 2021 13:15:27 GMT-0700 (Pacific Daylight Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -110,7 +110,7 @@
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 09:13:38 GMT-0700 (Pacific Daylight Time) at Wed Jul 07 2021 13:15:27 GMT-0700 (Pacific Daylight Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -1261,7 +1261,7 @@ export {
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 09:13:38 GMT-0700 (Pacific Daylight Time) at Wed Jul 07 2021 13:15:27 GMT-0700 (Pacific Daylight Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -262,7 +262,7 @@ export {
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 09:13:38 GMT-0700 (Pacific Daylight Time) at Wed Jul 07 2021 13:15:27 GMT-0700 (Pacific Daylight Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -166,7 +166,7 @@ export {
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 09:13:38 GMT-0700 (Pacific Daylight Time) at Wed Jul 07 2021 13:15:27 GMT-0700 (Pacific Daylight Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -110,7 +110,7 @@
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 09:13:38 GMT-0700 (Pacific Daylight Time) at Wed Jul 07 2021 13:15:27 GMT-0700 (Pacific Daylight Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -97,7 +97,7 @@ export {
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 09:13:38 GMT-0700 (Pacific Daylight Time) at Wed Jul 07 2021 13:15:27 GMT-0700 (Pacific Daylight Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -95,7 +95,7 @@
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 09:13:38 GMT-0700 (Pacific Daylight Time) at Wed Jul 07 2021 13:15:27 GMT-0700 (Pacific Daylight Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -25,28 +25,28 @@
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">100% </span> <span class="strong">100% </span>
<span class="quiet">Statements</span> <span class="quiet">Statements</span>
<span class='fraction'>24/24</span> <span class='fraction'>17/17</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">100% </span> <span class="strong">100% </span>
<span class="quiet">Branches</span> <span class="quiet">Branches</span>
<span class='fraction'>2/2</span> <span class='fraction'>3/3</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">100% </span> <span class="strong">100% </span>
<span class="quiet">Functions</span> <span class="quiet">Functions</span>
<span class='fraction'>1/1</span> <span class='fraction'>2/2</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">100% </span> <span class="strong">100% </span>
<span class="quiet">Lines</span> <span class="quiet">Lines</span>
<span class='fraction'>24/24</span> <span class='fraction'>17/17</span>
</div> </div>
@ -78,13 +78,13 @@
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div> <div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
</td> </td>
<td data-value="100" class="pct high">100%</td> <td data-value="100" class="pct high">100%</td>
<td data-value="24" class="abs high">24/24</td> <td data-value="17" class="abs high">17/17</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="3" class="abs high">3/3</td>
<td data-value="100" class="pct high">100%</td> <td data-value="100" class="pct high">100%</td>
<td data-value="2" class="abs high">2/2</td> <td data-value="2" class="abs high">2/2</td>
<td data-value="100" class="pct high">100%</td> <td data-value="100" class="pct high">100%</td>
<td data-value="1" class="abs high">1/1</td> <td data-value="17" class="abs high">17/17</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="24" class="abs high">24/24</td>
</tr> </tr>
</tbody> </tbody>
@ -95,7 +95,7 @@
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 09:13:38 GMT-0700 (Pacific Daylight Time) at Wed Jul 07 2021 13:15:27 GMT-0700 (Pacific Daylight Time)
</div> </div>
</div> </div>
<script src="../prettify.js"></script> <script src="../prettify.js"></script>

View file

@ -25,28 +25,28 @@
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">100% </span> <span class="strong">100% </span>
<span class="quiet">Statements</span> <span class="quiet">Statements</span>
<span class='fraction'>24/24</span> <span class='fraction'>17/17</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">100% </span> <span class="strong">100% </span>
<span class="quiet">Branches</span> <span class="quiet">Branches</span>
<span class='fraction'>2/2</span> <span class='fraction'>3/3</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">100% </span> <span class="strong">100% </span>
<span class="quiet">Functions</span> <span class="quiet">Functions</span>
<span class='fraction'>1/1</span> <span class='fraction'>2/2</span>
</div> </div>
<div class='fl pad1y space-right2'> <div class='fl pad1y space-right2'>
<span class="strong">100% </span> <span class="strong">100% </span>
<span class="quiet">Lines</span> <span class="quiet">Lines</span>
<span class='fraction'>24/24</span> <span class='fraction'>17/17</span>
</div> </div>
@ -74,29 +74,15 @@
<a name='L15'></a><a href='#L15'>15</a> <a name='L15'></a><a href='#L15'>15</a>
<a name='L16'></a><a href='#L16'>16</a> <a name='L16'></a><a href='#L16'>16</a>
<a name='L17'></a><a href='#L17'>17</a> <a name='L17'></a><a href='#L17'>17</a>
<a name='L18'></a><a href='#L18'>18</a> <a name='L18'></a><a href='#L18'>18</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">7x</span>
<a name='L19'></a><a href='#L19'>19</a>
<a name='L20'></a><a href='#L20'>20</a>
<a name='L21'></a><a href='#L21'>21</a>
<a name='L22'></a><a href='#L22'>22</a>
<a name='L23'></a><a href='#L23'>23</a>
<a name='L24'></a><a href='#L24'>24</a>
<a name='L25'></a><a href='#L25'>25</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">15x</span> <span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">15x</span> <span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">15x</span> <span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">15x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">15x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">15x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-yes">7x</span> <span class="cline-any cline-yes">7x</span>
@ -110,17 +96,10 @@
class IPCModule extends IPC{ class IPCModule extends IPC{
constructor(){ constructor(){
super(); super();
//include IPC to make extensible &nbsp;
Object.defineProperty(
this,
'IPC',
{
enumerable:true,
writable:false,
value:IPC
}
)
} }
&nbsp;
IPC=IPC;
} }
&nbsp; &nbsp;
const singleton=new IPCModule; const singleton=new IPCModule;
@ -136,7 +115,7 @@ export {
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 09:13:38 GMT-0700 (Pacific Daylight Time) at Wed Jul 07 2021 13:15:27 GMT-0700 (Pacific Daylight Time)
</div> </div>
</div> </div>
<script src="../prettify.js"></script> <script src="../prettify.js"></script>

View file

@ -1075,7 +1075,7 @@ export {
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 09:13:38 GMT-0700 (Pacific Daylight Time) at Wed Jul 07 2021 13:15:27 GMT-0700 (Pacific Daylight Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

View file

@ -95,7 +95,7 @@
<div class='footer quiet pad2 space-top1 center small'> <div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a> <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Sun Jul 04 2021 09:13:38 GMT-0700 (Pacific Daylight Time) at Wed Jul 07 2021 13:15:27 GMT-0700 (Pacific Daylight Time)
</div> </div>
</div> </div>
<script src="../../prettify.js"></script> <script src="../../prettify.js"></script>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
const fs = from 'fs'); import fs from 'fs';
const ipc = from '../../node-ipc'); import ipc from '../../node-ipc';
const socketPath = '/tmp/ipc.sock'; const socketPath = '/tmp/ipc.sock';

View file

@ -1,7 +1,9 @@
const fs = from 'fs');
import ipc from '../../../node-ipc.js'; import ipc from '../../../node-ipc.js';
const cpuCount = from 'os').cpus().length; import fs from 'fs';
const cluster = from 'cluster'); import {cpus} from 'os';
import cluster from 'cluster';
const cpuCount=cpus().length;
const socketPath = '/tmp/ipc.sock'; const socketPath = '/tmp/ipc.sock';
ipc.config.unlink = false; ipc.config.unlink = false;

View file

@ -3,17 +3,10 @@ import IPC from './services/IPC.js';
class IPCModule extends IPC{ class IPCModule extends IPC{
constructor(){ constructor(){
super(); super();
//include IPC to make extensible
Object.defineProperty(
this,
'IPC',
{
enumerable:true,
writable:false,
value:IPC
}
)
} }
IPC=IPC;
} }
const singleton=new IPCModule; const singleton=new IPCModule;

1053
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
{ {
"name": "node-ipc", "name": "node-ipc",
"version": "10.0.1", "version": "10.0.2",
"description": "A nodejs module for local and remote Inter Process Communication (IPC), Neural Networking, and able to facilitate machine learning.", "description": "A nodejs module for local and remote Inter Process Communication (IPC), Neural Networking, and able to facilitate machine learning.",
"type": "module", "type": "module",
"main": "node-ipc.js", "main": "node-ipc.js",