From cf85b2f1b69f4471c0bf0eb665fea69262021378 Mon Sep 17 00:00:00 2001 From: Sebastian Hildebrandt Date: Sun, 12 Jan 2020 10:33:04 +0100 Subject: [PATCH] osInfo() added uefi (OS uses UEFI during startup) --- CHANGELOG.md | 1 + README.md | 3 ++- docs/history.html | 11 ++++++--- docs/index.html | 2 +- docs/os.html | 10 ++++++++ lib/index.d.ts | 1 + lib/osinfo.js | 63 +++++++++++++++++++++++++++++++++++++---------- 7 files changed, 73 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c8eafd..f297747 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,7 @@ For major (breaking) changes - version 3 and 2 see end of page. | Version | Date | Comment | | -------------- | -------------- | -------- | +| 4.19.0 | 2020-01-12 | `osInfo()` added uefi | | 4.18.3 | 2020-01-10 | `fsSize()` fix excluding loop/snap devices | | 4.18.2 | 2020-01-10 | `memLayout()` fix memsize linux (modules >= 32 GB) | | 4.18.1 | 2020-01-07 | updated docs | diff --git a/README.md b/README.md index fa31145..94b7987 100644 --- a/README.md +++ b/README.md @@ -98,13 +98,13 @@ si.cpu() (last 7 major and minor version releases) +- Version 4.19.0: `osInfo()` added uefi (OS uses UEFI during startup) - Version 4.18.0: `networkInterfaces()` added dhcp for mac os, added dhcp linux fallback - Version 4.17.0: `networkInterfaces()` added dhcp, dnsSuffix, ieee8021xAuth, ieee8021xState - Version 4.16.0: `networkGatewayDefault()` added - Version 4.15.0: `cpu()` added governor (linux) - Version 4.14.0: `processes()` added process path and params - Version 4.13.0: `networkConnections()` added PID, process -- Version 4.12.0: `networkInterfaces()` added property virtual - ... You can find all changes here: [detailed changelog][changelog-url] @@ -303,6 +303,7 @@ I also created a nice little command line tool called [mmon][mmon-github-url] ( | | serial | X | X | X | X | | OS/Host serial number | | | build | X | | X | X | | OS build version | | | servicepack | | | | X | | service pack version | +| | uefi | X | X | X | X | | OS started via UEFI | | si.uuid(cb) | {...} | X | X | X | X | X | object of several UUIDs | | | os | X | X | X | X | | os specific UUID | | si.versions(cb) | {...} | X | X | X | X | X | version information (kernel, ssl, node, ...) | diff --git a/docs/history.html b/docs/history.html index d2f12a7..93306e3 100644 --- a/docs/history.html +++ b/docs/history.html @@ -51,9 +51,9 @@

Breaking Changes

Other Changes

-

Be aware**, that the new version 4.x is **NOT fully backward compatible** to version 3.x ...

+

Be aware, that the new version 4.x is NOT fully backward compatible to version 3.x ...

Major (breaking) Changes - Version 3