Skip to content

Commit

Permalink
wifiConnections() fixed formatting bssid (macOS)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebhildebrandt committed Mar 19, 2024
1 parent 720c6f2 commit 17b9d6c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -83,6 +83,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.

| 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.3 | 2024-03-15 | `chassis()` improved parsing memory bank (windows) |
| 5.22.2 | 2024-03-14 | `chassis()` type, assetTag, sku improved parsing (macOS) |
Expand Down
5 changes: 5 additions & 0 deletions docs/history.html
Expand Up @@ -57,6 +57,11 @@ <h3>Full version history</h3>
</tr>
</thead>
<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>
<th scope="row">5.22.4</th>
<td>2024-03-16</td>
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Expand Up @@ -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.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>
</div>
<div class="down">
Expand Down
2 changes: 1 addition & 1 deletion lib/wifi.js
Expand Up @@ -541,7 +541,7 @@ function getVendor(model) {
}

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(':');
}

Expand Down

0 comments on commit 17b9d6c

Please sign in to comment.