diff --git a/CHANGELOG.md b/CHANGELOG.md index e2946a6..1c246a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,7 @@ For major (breaking) changes - version 3 and 2 see end of page. | Version | Date | Comment | | -------------- | -------------- | -------- | +| 4.14.2 | 2019-07-07 | `networkConnections()` pid linux fix NAN | | 4.14.1 | 2019-07-04 | `graphics()` added display position windows | | 4.14.0 | 2019-07-03 | `processes()` added process path and params | | 4.13.2 | 2019-07-02 | `versions()` fix getting all versions | diff --git a/docs/history.html b/docs/history.html index e9f6dca..456418f 100644 --- a/docs/history.html +++ b/docs/history.html @@ -83,6 +83,11 @@ + + 4.14.2 + 2019-07-07 + networkConnections() pid linux fix NAN + 4.14.1 2019-07-04 diff --git a/docs/index.html b/docs/index.html index 9124f73..3ce406b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -168,7 +168,7 @@
systeminformation
-
Current Version: 4.14.1
+
Current Version: 4.14.2
@@ -199,7 +199,7 @@
Downloads last month
-
167
+
166
Dependends
diff --git a/lib/network.js b/lib/network.js index 7357edd..457fc16 100644 --- a/lib/network.js +++ b/lib/network.js @@ -814,7 +814,7 @@ function networkConnections(callback) { peeraddress: peerip, peerport: peerport, state: connstate, - pid: proc[0] ? parseInt(proc[0], 10) : -1, + pid: proc[0] && proc[0] !== '-' ? parseInt(proc[0], 10) : -1, process: proc[1] ? proc[1].split(' ')[0] : '' }); }