Skip to content

Commit 1e3591a

Browse files
uuid() fixed os, hardware uuids (freebsd)
1 parent a1fade8 commit 1e3591a

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
9090

9191
| Version | Date | Comment |
9292
| ------- | ---------- | --------------------------------------------------------------------------------------------------- |
93+
| 5.27.4 | 2025-06-19 | `uuid()` fixed os, hardware uuids (freebsd) |
9394
| 5.27.3 | 2025-06-17 | `osInfo()` added macOS Tahoe detection |
9495
| 5.27.2 | 2025-06-16 | `services()` extended matching service names |
9596
| 5.27.1 | 2025-05-24 | `wifiConnections()`, `wifiNetworks()` fix security mode parsing (macOS) |

docs/history.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ <h3>Full version history</h3>
5757
</tr>
5858
</thead>
5959
<tbody>
60+
<tr>
61+
<th scope="row">5.27.4</th>
62+
<td>2025-06-19</td>
63+
<td><span class="code">uuid()</span> fixed hardware, os (freebsd)</td>
64+
</tr>
6065
<tr>
6166
<th scope="row">5.27.3</th>
6267
<td>2025-06-17</td>

docs/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@
170170
<img class="logo" src="assets/logo.png" alt="logo">
171171
<div class="title">systeminformation</div>
172172
<div class="subtitle"><span id="typed"></span>&nbsp;</div>
173-
3<div class="version">New Version: <span id="version">5.27.3</span></div>
173+
3<div class="version">New Version: <span id="version">5.27.4</span></div>
174174
<button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button>
175175
</div>
176176
<div class="down">
@@ -212,7 +212,7 @@
212212
<div class="title">Downloads last month</div>
213213
</div>
214214
<div class="col-xl-4 col-lg-4 col-md-4 col-12">
215-
<div class="numbers">862</div>
215+
<div class="numbers">863</div>
216216
<div class="title">Dependents</div>
217217
</div>
218218
</div>

lib/osinfo.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1240,8 +1240,8 @@ echo -n "hardware: "; cat /sys/class/dmi/id/product_uuid 2> /dev/null; echo;`;
12401240
if (_freebsd || _openbsd || _netbsd) {
12411241
exec('sysctl -i kern.hostid kern.hostuuid', function (error, stdout) {
12421242
const lines = stdout.toString().split('\n');
1243-
result.os = util.getValue(lines, 'kern.hostid', ':').toLowerCase();
1244-
result.hardware = util.getValue(lines, 'kern.hostuuid', ':').toLowerCase();
1243+
result.hardware = util.getValue(lines, 'kern.hostid', ':').toLowerCase();
1244+
result.os = util.getValue(lines, 'kern.hostuuid', ':').toLowerCase();
12451245
if (result.os.indexOf('unknown') >= 0) { result.os = ''; }
12461246
if (result.hardware.indexOf('unknown') >= 0) { result.hardware = ''; }
12471247
if (callback) {

0 commit comments

Comments
 (0)