From ec7fa4a411f85b7b240f41f761114e9014c256c1 Mon Sep 17 00:00:00 2001 From: Sebastian Hildebrandt Date: Mon, 10 Jun 2024 20:44:08 +0200 Subject: [PATCH] osInfo() added macOS Sequoia --- CHANGELOG.md | 3 ++- docs/history.html | 5 +++++ docs/index.html | 4 ++-- lib/osinfo.js | 1 + 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c2c943..0515750 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -83,7 +83,8 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page. | Version | Date | Comment | | ------- | ---------- | --------------------------------------------------------------------------------------------------- | -| 5.22.9 | 2024-05-31 | `powerShellStart()` fixed kill issue | +| 5.22.11 | 2024-06-10 | `osInfo()` added macOS Sequoia | +| 5.22.10 | 2024-05-31 | `powerShellStart()` fixed kill issue | | 5.22.9 | 2024-05-13 | `memLayout()` fixed typo manufacturer | | 5.22.8 | 2024-05-05 | `utils()` replaces deprecated util._extend() | | 5.22.7 | 2024-04-02 | `battery()` fixed designed capacity issue (windows) | diff --git a/docs/history.html b/docs/history.html index 7f29023..b951be4 100644 --- a/docs/history.html +++ b/docs/history.html @@ -57,6 +57,11 @@ + + 5.22.11 + 2024-06-10 + osInfo() added macOS Sequoia + 5.22.10 2024-05-31 diff --git a/docs/index.html b/docs/index.html index f7097fa..69e8c25 100644 --- a/docs/index.html +++ b/docs/index.html @@ -170,7 +170,7 @@
systeminformation
 
-
New Version: 5.22.10
+
New Version: 5.22.11
@@ -212,7 +212,7 @@
Downloads last month
-
702
+
703
Dependents
diff --git a/lib/osinfo.js b/lib/osinfo.js index 58f740e..74085d3 100644 --- a/lib/osinfo.js +++ b/lib/osinfo.js @@ -320,6 +320,7 @@ function osInfo(callback) { result.codename = (result.release.startsWith('12.') ? 'macOS Monterey' : result.codename); result.codename = (result.release.startsWith('13.') ? 'macOS Ventura' : result.codename); result.codename = (result.release.startsWith('14.') ? 'macOS Sonoma' : result.codename); + result.codename = (result.release.startsWith('15.') ? 'macOS Sequoia' : result.codename); result.uefi = true; result.codepage = util.getCodepage(); if (callback) {