diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e4d472..f59f382 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -90,6 +90,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page. | Version | Date | Comment | | ------- | ---------- | --------------------------------------------------------------------------------------------------- | +| 5.27.4 | 2025-06-19 | `uuid()` fixed os, hardware uuids (freebsd) | | 5.27.3 | 2025-06-17 | `osInfo()` added macOS Tahoe detection | | 5.27.2 | 2025-06-16 | `services()` extended matching service names | | 5.27.1 | 2025-05-24 | `wifiConnections()`, `wifiNetworks()` fix security mode parsing (macOS) | diff --git a/docs/history.html b/docs/history.html index 000a9b7..b6764c7 100644 --- a/docs/history.html +++ b/docs/history.html @@ -57,6 +57,11 @@ + + 5.27.4 + 2025-06-19 + uuid() fixed hardware, os (freebsd) + 5.27.3 2025-06-17 diff --git a/docs/index.html b/docs/index.html index 113d0de..5a13bea 100644 --- a/docs/index.html +++ b/docs/index.html @@ -170,7 +170,7 @@
systeminformation
 
- 3
New Version: 5.27.3
+ 3
New Version: 5.27.4
@@ -212,7 +212,7 @@
Downloads last month
-
862
+
863
Dependents
diff --git a/lib/osinfo.js b/lib/osinfo.js index 849cb50..5e84edf 100644 --- a/lib/osinfo.js +++ b/lib/osinfo.js @@ -1240,8 +1240,8 @@ echo -n "hardware: "; cat /sys/class/dmi/id/product_uuid 2> /dev/null; echo;`; if (_freebsd || _openbsd || _netbsd) { exec('sysctl -i kern.hostid kern.hostuuid', function (error, stdout) { const lines = stdout.toString().split('\n'); - result.os = util.getValue(lines, 'kern.hostid', ':').toLowerCase(); - result.hardware = util.getValue(lines, 'kern.hostuuid', ':').toLowerCase(); + result.hardware = util.getValue(lines, 'kern.hostid', ':').toLowerCase(); + result.os = util.getValue(lines, 'kern.hostuuid', ':').toLowerCase(); if (result.os.indexOf('unknown') >= 0) { result.os = ''; } if (result.hardware.indexOf('unknown') >= 0) { result.hardware = ''; } if (callback) {