wifiConnections() fixed formatting bssid (macOS)

This commit is contained in:
Sebastian Hildebrandt 2024-03-19 06:01:33 +01:00
parent 720c6f2cd4
commit 17b9d6c5ec
4 changed files with 8 additions and 2 deletions

View File

@ -83,6 +83,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
| Version | Date | Comment | | Version | Date | Comment |
| ------- | ---------- | --------------------------------------------------------------------------------------------------- | | ------- | ---------- | --------------------------------------------------------------------------------------------------- |
| 5.22.5 | 2024-03-19 | `wifiCOnnections()` fixed formatting bssid (macOS) |
| 5.22.4 | 2024-03-16 | `uuid()` improved parsing machine id (linux) | | 5.22.4 | 2024-03-16 | `uuid()` improved parsing machine id (linux) |
| 5.22.3 | 2024-03-15 | `chassis()` improved parsing memory bank (windows) | | 5.22.3 | 2024-03-15 | `chassis()` improved parsing memory bank (windows) |
| 5.22.2 | 2024-03-14 | `chassis()` type, assetTag, sku improved parsing (macOS) | | 5.22.2 | 2024-03-14 | `chassis()` type, assetTag, sku improved parsing (macOS) |

View File

@ -57,6 +57,11 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr>
<th scope="row">5.22.5</th>
<td>2024-03-19</td>
<td><span class="code">wifiConnections()</span> fixed formatting bssid (macOS)</td>
</tr>
<tr> <tr>
<th scope="row">5.22.4</th> <th scope="row">5.22.4</th>
<td>2024-03-16</td> <td>2024-03-16</td>

View File

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

View File

@ -541,7 +541,7 @@ function getVendor(model) {
} }
function formatBssid(s) { function formatBssid(s) {
s = s.replace(/</g, '').replace(/>/g, '').match(/.{1,2}/g); s = s.replace(/</g, '').replace(/>/g, '').match(/.{1,2}/g) || [];
return s.join(':'); return s.join(':');
} }