diff --git a/CHANGELOG.md b/CHANGELOG.md index fc36209..9654157 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.16.0 | 2019-11-27 | `networkInterfaces()` bug fix (osx) | | 4.16.0 | 2019-11-27 | `networkGatewayDefault()` added | | 4.15.3 | 2019-11-10 | type definitions and docs update | | 4.15.2 | 2019-11-10 | `mem()` improved calculation linux | diff --git a/README.md b/README.md index 23415c6..0fa7fe8 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,21 @@ [![Caretaker][caretaker-image]][caretaker-url] [![MIT license][license-img]][license-url] -This is amazing. Started as a small project just for myself, it now has > 9,000 lines of code, > 250 versions published, up to 900,000 downloads per month, > 2 Mio downloads overall. Thank you to all who contributed to this project! +#### Happy new year + +``` + .''. + .''. . *''* :_\/_: . + :_\/_: _\(/_ .:.*_\/_* : /\ : .'.:.'. + .''.: /\ : ./)\ ':'* /\ * : '..'. -=:o:=- + :_\/_:'.:::. ' *''* * '.\'/.' _\(/_'.':'.' + : /\ : ::::: *_\/_* -= o =- /)\ ' * + '..' ':::' * /\ * .'/.\'. ' + * *..* : + * +``` + +This is amazing. Started as a small project just for myself, it now has > 9,000 lines of code, > 250 versions published, up to 1 mio downloads per month, > 4 mio downloads overall. Thank you to all who contributed to this project! ## New Version 4.0 @@ -84,13 +98,13 @@ si.cpu() (last 7 major and minor version releases) +- Version 4.16.0: `networkGatewayDefault()` added - Version 4.15.0: `cpu()` added governor (linux) - Version 4.14.0: `processes()` added process path and params - Version 4.13.0: `networkConnections()` added PID, process - Version 4.12.0: `networkInterfaces()` added property virtual - Version 4.11.0: `wifiNetworks()` added available wifi networks - Version 4.10.0: `graphics()` added windows multiple display support, added display size, connection, ... -- Version 4.9.0: `graphics()` added vendor, refresh rate, current resolution - ... You can find all changes here: [detailed changelog][changelog-url] diff --git a/docs/gettingstarted.html b/docs/gettingstarted.html index 2775b44..42eca5d 100644 --- a/docs/gettingstarted.html +++ b/docs/gettingstarted.html @@ -124,7 +124,8 @@ async function cpuData() { console.log(e) } }
- +

Issues

+

If you discover some empty or incorrect values, please be sure to first have a look at the Known issues section.

diff --git a/docs/history.html b/docs/history.html index 1f93bc1..c3763a3 100644 --- a/docs/history.html +++ b/docs/history.html @@ -83,6 +83,11 @@ + + 4.16.1 + 2019-01-01 + networkInterfaces() bug fix (osx) + 4.16.0 2019-11-27 diff --git a/docs/index.html b/docs/index.html index ca889c9..54d70e9 100644 --- a/docs/index.html +++ b/docs/index.html @@ -168,7 +168,7 @@
systeminformation
-
Current Version: 4.16.0
+
Current Version: 4.16.1
@@ -199,7 +199,7 @@
Downloads last month
-
216
+
231
Dependends
diff --git a/docs/issues.html b/docs/issues.html index e78345f..347f729 100644 --- a/docs/issues.html +++ b/docs/issues.html @@ -72,6 +72,9 @@

Stats Functions

To get correct values with fsStats(), disksIO() and networkStats() please check this guide

+

Empty / incorrect values

+

If you discover empty or incorrect values, please keep in mind that some underlying commands need to be run under admin privileges. So if you run your scripts as normal users, not all system information values can be determined. For linux this is e.g. the case for `memLayout()`, advances `system()`, `bios()`, `baseboard()`, `cpu()`information, S.M.A.R.T. status and others...

+

Finding New Issues

If you still have problems, please feel free to open an issue on our github page

diff --git a/lib/network.js b/lib/network.js index 28126fa..b9a2928 100644 --- a/lib/network.js +++ b/lib/network.js @@ -294,7 +294,7 @@ function parseLinesDarwinNics(sections) { } function getDarwinNics() { - const cmd = 'ifconfig -v'; + const cmd = '/sbin/ifconfig -v'; try { const lines = execSync(cmd, util.execOptsWin).toString().split('\n'); const nsections = splitSectionsNics(lines); @@ -1075,9 +1075,8 @@ function networkGatewayDefault(callback) { if (callback) { callback(result); } resolve(result); }); - } - }) + }); } catch (e) { if (callback) { callback(result); } resolve(result);