graphics() improved vendor, model parsing (linux), memLayout() DDR5 detection (windows)

This commit is contained in:
Sebastian Hildebrandt 2023-08-26 16:18:35 +02:00
parent a94259e9dd
commit 1e3535fc85
4 changed files with 10 additions and 3 deletions

View File

@ -83,6 +83,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
| Version | Date | Comment |
| ------- | ---------- | --------------------------------------------------------------------------------------------------- |
| 5.20.1 | 2023-08-28 | `graphics()` improved vendor, model parsing (linux) `memLayout()` DDR5 detection (windows) |
| 5.20.0 | 2023-08-25 | `mem()` added writenack and dirty (linux) |
| 5.19.1 | 2023-08-23 | `wifiNetworks()` improved SSID parsing (macOS) |
| 5.19.0 | 2023-08-22 | `currentLoad()` added steal and guest time (linux) |

View File

@ -58,7 +58,12 @@
</thead>
<tbody>
<tr>
new <th scope="row">5.20.0</th>
<th scope="row">5.20.1</th>
<td>2023-08-28</td>
<td><span class="code">graphics()</span> improved parsing (linux) <span class="code">mamLayout()</span> DDR5 detection (windows)</td>
</tr>
<tr>
<th scope="row">5.20.0</th>
<td>2023-08-25</td>
<td><span class="code">mem()</span> new properties writeback and dirty (linux)</td>
</tr>

View File

@ -170,7 +170,7 @@
<img class="logo" src="assets/logo.png" alt="logo">
<div class="title">systeminformation</div>
<div class="subtitle"><span id="typed"></span>&nbsp;</div>
<div class="version">New Version: <span id="version">5.20.0</span></div>
<div class="version">New Version: <span id="version">5.20.1</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">

View File

@ -525,7 +525,8 @@ function memLayout(callback) {
resolve(result);
}
if (_windows) {
const memoryTypes = 'Unknown|Other|DRAM|Synchronous DRAM|Cache DRAM|EDO|EDRAM|VRAM|SRAM|RAM|ROM|FLASH|EEPROM|FEPROM|EPROM|CDRAM|3DRAM|SDRAM|SGRAM|RDRAM|DDR|DDR2|DDR2 FB-DIMM|Reserved|DDR3|FBD2|DDR4|LPDDR|LPDDR2|LPDDR3|LPDDR4'.split('|');
// https://www.dmtf.org/sites/default/files/standards/documents/DSP0134_3.4.0a.pdf
const memoryTypes = 'Unknown|Other|DRAM|Synchronous DRAM|Cache DRAM|EDO|EDRAM|VRAM|SRAM|RAM|ROM|FLASH|EEPROM|FEPROM|EPROM|CDRAM|3DRAM|SDRAM|SGRAM|RDRAM|DDR|DDR2|DDR2 FB-DIMM|Reserved|DDR3|FBD2|DDR4|LPDDR|LPDDR2|LPDDR3|LPDDR4|Logical non-volatile device|HBM|HBM2|DDR5|LPDDR5'.split('|');
const FormFactors = 'Unknown|Other|SIP|DIP|ZIP|SOJ|Proprietary|SIMM|DIMM|TSOP|PGA|RIMM|SODIMM|SRIMM|SMD|SSMP|QFP|TQFP|SOIC|LCC|PLCC|BGA|FPBGA|LGA'.split('|');
try {