From ded86216a7986ec862c4cb193445eca2ad1853a1 Mon Sep 17 00:00:00 2001 From: Sebastian Hildebrandt Date: Sun, 28 Mar 2021 09:23:46 +0200 Subject: [PATCH 1/5] graphics() fixed nvidia-smi compare bug --- CHANGELOG.md | 1 + docs/history.html | 5 +++++ docs/index.html | 2 +- lib/graphics.js | 2 +- 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2569ac8..d45f543 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -77,6 +77,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page. | Version | Date | Comment | | -------------- | -------------- | -------- | +| 5.6.9 | 2021-03-28 | `graphics()` fixed nvidia-smi compare bug | | 5.6.8 | 2021-03-22 | typescript definitions fix `wifiInterfces()`, `wifiConnections()` | | 5.6.7 | 2021-03-16 | `inetLatency()` `ineChecksite()` schema validation | | 5.6.6 | 2021-03-16 | code refactoring | diff --git a/docs/history.html b/docs/history.html index 626b88c..adcd554 100644 --- a/docs/history.html +++ b/docs/history.html @@ -56,6 +56,11 @@ + + 5.6.9 + 2021-03-28 + graphics() fixed nvidia-smi compare bug + 5.6.8 2021-03-23 diff --git a/docs/index.html b/docs/index.html index d35e503..387d4ec 100644 --- a/docs/index.html +++ b/docs/index.html @@ -170,7 +170,7 @@
systeminformation
 
-
New Version: 5.6.8
+
New Version: 5.6.9
diff --git a/lib/graphics.js b/lib/graphics.js index 06c3b80..42e06e2 100644 --- a/lib/graphics.js +++ b/lib/graphics.js @@ -728,7 +728,7 @@ function graphics(callback) { const nvidiaData = nvidiaDevices(); // needs to be rewritten ... using no spread operators result.controllers = result.controllers.map((controller) => { // match by busAddress - return mergeControllerNvidia(controller, nvidiaData.find(({ pciBus }) => pciBus.endsWith(controller.busAddress)) || {}); + return mergeControllerNvidia(controller, nvidiaData.find(({ pciBus }) => pciBus.toLowerCase().endsWith(controller.busAddress.toLowerCase())) || {}); }); } let cmd = 'clinfo --raw'; From 9cef0f712fdc98f3135ff439361cfba21613d580 Mon Sep 17 00:00:00 2001 From: Sebastian Hildebrandt Date: Sun, 28 Mar 2021 09:23:52 +0200 Subject: [PATCH 2/5] 5.6.9 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index cf1228f..69e0d8e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "systeminformation", - "version": "5.6.8", + "version": "5.6.9", "description": "Simple system and OS information library", "license": "MIT", "author": "Sebastian Hildebrandt (https://plus-innovations.com)", From 7d62cd2f95ace2fe0cb895eab395b9bc18d8039f Mon Sep 17 00:00:00 2001 From: Sebastian Hildebrandt Date: Mon, 29 Mar 2021 21:35:40 +0200 Subject: [PATCH 3/5] vboxInfo() fixed windows bug --- CHANGELOG.md | 1 + docs/history.html | 5 +++++ docs/index.html | 4 ++-- lib/util.js | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d45f543..c3a4e4b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -77,6 +77,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page. | Version | Date | Comment | | -------------- | -------------- | -------- | +| 5.6.10 | 2021-03-29 | `vboxInfo()` fixed windows bug | | 5.6.9 | 2021-03-28 | `graphics()` fixed nvidia-smi compare bug | | 5.6.8 | 2021-03-22 | typescript definitions fix `wifiInterfces()`, `wifiConnections()` | | 5.6.7 | 2021-03-16 | `inetLatency()` `ineChecksite()` schema validation | diff --git a/docs/history.html b/docs/history.html index adcd554..3832da3 100644 --- a/docs/history.html +++ b/docs/history.html @@ -56,6 +56,11 @@ + + 5.6.10 + 2021-03-29 + vboxInfo() fixed windows bug + 5.6.9 2021-03-28 diff --git a/docs/index.html b/docs/index.html index 387d4ec..7465983 100644 --- a/docs/index.html +++ b/docs/index.html @@ -170,7 +170,7 @@
systeminformation
 
-
New Version: 5.6.9
+
New Version: 5.6.10
@@ -211,7 +211,7 @@
Downloads last month
-
402
+
404
Dependents
diff --git a/lib/util.js b/lib/util.js index d7cd6bf..16f22c3 100644 --- a/lib/util.js +++ b/lib/util.js @@ -333,7 +333,7 @@ function wmic(command, options) { } function getVboxmanage() { - return _windows ? `${process.env.VBOX_INSTALL_PATH || process.env.VBOX_MSI_INSTALL_PATH}\\VBoxManage.exe` : 'vboxmanage'; + return _windows ? `"${process.env.VBOX_INSTALL_PATH || process.env.VBOX_MSI_INSTALL_PATH}\\VBoxManage.exe"` : 'vboxmanage'; } function powerShell(cmd) { From a8bafe93402604153996f188cd2009c55c630f7a Mon Sep 17 00:00:00 2001 From: Sebastian Hildebrandt Date: Mon, 29 Mar 2021 21:35:46 +0200 Subject: [PATCH 4/5] 5.6.10 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 69e0d8e..20d3a62 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "systeminformation", - "version": "5.6.9", + "version": "5.6.10", "description": "Simple system and OS information library", "license": "MIT", "author": "Sebastian Hildebrandt (https://plus-innovations.com)", From 87e7b0c9560b98f2581f226712e0e49f248e41de Mon Sep 17 00:00:00 2001 From: Sebastian Hildebrandt Date: Fri, 2 Apr 2021 18:55:23 +0200 Subject: [PATCH 5/5] updated docs --- README.md | 6 +++--- docs/index.html | 2 +- docs/processes.html | 6 +++--- docs/security.html | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 8fad89e..03b938d 100644 --- a/README.md +++ b/README.md @@ -360,9 +360,9 @@ Full function reference with examples can be found at [https://systeminformation | si.fullLoad(cb) | : integer | X | | X | X | | CPU full load since bootup in % | | si.processes(cb) | {...} | X | X | X | X | X | # running processes | | | all | X | X | X | X | X | # of all processes | -| | running | X | X | X | X | X | # of all processes running | -| | blocked | X | X | X | X | X | # of all processes blocked | -| | sleeping | X | X | X | X | X | # of all processes sleeping | +| | running | X | X | X | | X | # of all processes running | +| | blocked | X | X | X | | X | # of all processes blocked | +| | sleeping | X | X | X | | X | # of all processes sleeping | | | unknown | | | | X | | # of all processes unknown status | | | list[] | X | X | X | X | X | list of all processes incl. details | | | ...[0].pid | X | X | X | X | X | process PID | diff --git a/docs/index.html b/docs/index.html index 7465983..3676089 100644 --- a/docs/index.html +++ b/docs/index.html @@ -211,7 +211,7 @@
Downloads last month
-
404
+
407
Dependents
diff --git a/docs/processes.html b/docs/processes.html index ec047c3..9ed7ef8 100644 --- a/docs/processes.html +++ b/docs/processes.html @@ -242,7 +242,7 @@ si.currentLoad().then(data => console.log(data)); X X X - X + X # of all processes running @@ -252,7 +252,7 @@ si.currentLoad().then(data => console.log(data)); X X X - X + X # of all processes blocked @@ -262,7 +262,7 @@ si.currentLoad().then(data => console.log(data)); X X X - X + X # of all processes sleeping diff --git a/docs/security.html b/docs/security.html index 96877e2..a462e72 100644 --- a/docs/security.html +++ b/docs/security.html @@ -52,7 +52,7 @@

Affected versions: < 5.6.4 and < 4.34.17
Date: 2021-03-15
- CVE indentifier - + CVE indentifier CVE-2021-21388

Impact