graphics() fixed compare bug

This commit is contained in:
Sebastian Hildebrandt 2021-05-05 08:58:36 +02:00
parent 1d999e954b
commit 54f2736445
6 changed files with 18 additions and 7 deletions

View File

@ -77,6 +77,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
| Version | Date | Comment |
| -------------- | -------------- | -------- |
| 5.6.16 | 2021-05-05 | `graphics()` fixed compare bug |
| 5.6.15 | 2021-05-05 | restored Node 4.x compatibility |
| 5.6.14 | 2021-05-04 | `networkGatewayDefault()` macOS improvement for active VPN |
| 5.6.13 | 2021-05-04 | `dockerImagesInspect()`, `dockerContainerInspect()`, `dockerContainerProcesses()` security updates |

View File

@ -56,6 +56,11 @@
</tr>
</thead>
<tbody>
<tr>
<th scope="row">5.6.16</th>
<td>2021-05-05</td>
<td><span class="code">graphics()</span> fixed compare bug</td>
</tr>
<tr>
<th scope="row">5.6.15</th>
<td>2021-05-05</td>
@ -2292,4 +2297,4 @@
</body>
</html>
</html>

View File

@ -170,7 +170,7 @@
<img class="logo" src="assets/logo.png">
<div class="title">systeminformation</div>
<div class="subtitle"><span id="typed"></span>&nbsp;</div>
<div class="version">New Version: <span id="version">5.6.15</span></div>
<div class="version">New Version: <span id="version">5.6.16</span></div>
<button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button>
</div>
<div class="down">
@ -398,4 +398,4 @@
</script>
</body>
</html>
</html>

View File

@ -83,6 +83,11 @@
</tr>
</thead>
<tbody>
<tr>
<th scope="row">4.34.22</th>
<td>2021-05-05</td>
<td>restored Node 4.x compatibility</td>
</tr>
<tr>
<th scope="row">4.34.21</th>
<td>2021-05-04</td>
@ -2142,4 +2147,4 @@
</body>
</html>
</html>

View File

@ -170,7 +170,7 @@
<div class="title">systeminformation </div>
<div class="subtitle"><span id="typed"></span>&nbsp;</div>
<div class="version larger">Version 4 documentation</div>
<div class="version">Current Version: <span id="version">4.34.21</span></div>
<div class="version">Current Version: <span id="version">4.34.22</span></div>
<button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button>
</div>
<div class="down">
@ -369,4 +369,4 @@
</script>
</body>
</html>
</html>

View File

@ -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((controller) => controller.pciBus.toLowerCase().endsWith(controller.busAddress.toLowerCase())) || {});
return mergeControllerNvidia(controller, nvidiaData.find((contr) => contr.pciBus.toLowerCase().endsWith(controller.busAddress.toLowerCase())) || {});
});
}
let cmd = 'clinfo --raw';