From 05bcb8887b825dc6621fbe2ad4f79389e3ab4532 Mon Sep 17 00:00:00 2001 From: Sebastian Hildebrandt Date: Tue, 17 Jun 2025 06:04:56 +0200 Subject: [PATCH] osInfo() added macOS Tahoe detection --- CHANGELOG.md | 1 + docs/history.html | 5 +++++ docs/index.html | 4 ++-- lib/osinfo.js | 2 ++ 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 96fa21c..6e4d472 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.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) | | 5.27.0 | 2025-05-24 | `mem()` added reclaimable (Linux, macOS) | diff --git a/docs/history.html b/docs/history.html index 749c171..000a9b7 100644 --- a/docs/history.html +++ b/docs/history.html @@ -57,6 +57,11 @@ + + 5.27.3 + 2025-06-17 + osInfo() added macOS Tahoe + 5.27.2 2024-06-16 diff --git a/docs/index.html b/docs/index.html index 4ec6ce1..113d0de 100644 --- a/docs/index.html +++ b/docs/index.html @@ -170,7 +170,7 @@
systeminformation
 
- 3
New Version: 5.27.2
+ 3
New Version: 5.27.3
@@ -212,7 +212,7 @@
Downloads last month
-
847
+
862
Dependents
diff --git a/lib/osinfo.js b/lib/osinfo.js index e73ece8..849cb50 100644 --- a/lib/osinfo.js +++ b/lib/osinfo.js @@ -345,6 +345,8 @@ function osInfo(callback) { result.codename = (result.release.startsWith('13.') ? 'Ventura' : result.codename); result.codename = (result.release.startsWith('14.') ? 'Sonoma' : result.codename); result.codename = (result.release.startsWith('15.') ? 'Sequoia' : result.codename); + result.codename = (result.release.startsWith('16.') ? 'Tahoe' : result.codename); + result.codename = (result.release.startsWith('26.') ? 'Tahoe' : result.codename); result.uefi = true; result.codepage = util.getCodepage(); if (callback) {