Comparing version 10.0.1 to 10.0.2
@@ -6,13 +6,6 @@ import IPC from './services/IPC.js'; | ||
super(); | ||
//include IPC to make extensible | ||
Object.defineProperty( | ||
this, | ||
'IPC', | ||
{ | ||
enumerable:true, | ||
writable:false, | ||
value:IPC | ||
} | ||
) | ||
} | ||
IPC=IPC; | ||
} | ||
@@ -19,0 +12,0 @@ |
{ | ||
"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.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -9,2 +9,6 @@ node-ipc | ||
#### for commonjs or node <v14 | ||
set version to `<10.0.0` in your `pagage.json` for the node-ipc dep. | ||
#### NPM Stats | ||
@@ -494,3 +498,4 @@ | ||
const RawIPC=from 'node-ipc').IPC; | ||
import {IPCModule} from 'node-ipc'; | ||
const ipc=new RawIPC; | ||
@@ -530,3 +535,3 @@ const someOtherExplicitIPC=new RawIPC; | ||
var ipc=from 'node-ipc'); | ||
import ipc from 'node-ipc'; | ||
@@ -568,3 +573,3 @@ ipc.config.id = 'world'; | ||
var ipc=from 'node-ipc'); | ||
import ipc from 'node-ipc'; | ||
@@ -615,3 +620,3 @@ ipc.config.id = 'hello'; | ||
var ipc=from '../../../node-ipc'); | ||
import ipc from 'node-ipc'; | ||
@@ -811,8 +816,11 @@ ipc.config.id = 'world'; | ||
const fs = from 'fs'); | ||
const ipc=from '../../../node-ipc'); | ||
const cpuCount = from 'os').cpus().length; | ||
const cluster = from 'cluster'); | ||
const socketPath = '/tmp/ipc.sock'; | ||
import fs from 'fs'; | ||
import ipc from 'node-ipc'; | ||
import {cpus} from 'os'; | ||
import cluster from 'cluster'; | ||
const cpuCount=cpus().length; | ||
const socketPath='/tmp/ipc.sock'; | ||
ipc.config.unlink = false; | ||
@@ -851,4 +859,4 @@ | ||
const fs = from 'fs'); | ||
const ipc = from '../../node-ipc'); | ||
import fs from 'fs'; | ||
import ipc from 'node-ipc'; | ||
@@ -855,0 +863,0 @@ const socketPath = '/tmp/ipc.sock'; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
889
83665
944