From 9a10cf4c1b36d469b8b063e86f6c7352ba8f3a38 Mon Sep 17 00:00:00 2001 From: Sebastian Hildebrandt Date: Wed, 31 Jul 2024 06:07:04 +0200 Subject: [PATCH] updated docs --- CHANGELOG.md | 1 + README.md | 4 ++-- docs/filesystem.html | 2 +- docs/history.html | 5 +++++ docs/index.html | 6 +++--- lib/usb.js | 5 +++-- 6 files changed, 15 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f263a48..4464aa8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -83,6 +83,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page. | Version | Date | Comment | | ------- | ---------- | --------------------------------------------------------------------------------------------------- | +| 5.23.1 | 2024-07-31 | `disklayout()` updated docs (macOS) | | 5.23.0 | 2024-07-31 | `usb()` added serialNumber (linux) | | 5.22.11 | 2024-06-10 | `osInfo()` added macOS Sequoia | | 5.22.10 | 2024-05-31 | `powerShellStart()` fixed kill issue | diff --git a/README.md b/README.md index 65cb1d4..54382d8 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ [![MIT license][license-img]][license-url] ## The Systeminformation Project -This is amazing. Started as a small project just for myself, it now has > 15,000 lines of code, > 600 versions published, up to 8 mio downloads per month, > 220 mio downloads overall. #1 NPM ranking for backend packages. Thank you to all who contributed to this project! +This is amazing. Started as a small project just for myself, it now has > 15,000 lines of code, > 600 versions published, up to 8 mio downloads per month, > 300 mio downloads overall. #1 NPM ranking for backend packages. Thank you to all who contributed to this project! ## Please support this project ... ☕️ @@ -475,7 +475,7 @@ Full function reference with examples can be found at [https://systeminformation | | [0].sectorsPerTrack | | | | X | | sectors per track | | | [0].firmwareRevision | X | | X | X | | firmware revision | | | [0].serialNum | X | | X | X | | serial number | -| | [0].interfaceType | X | | | X | | SATA, PCIe, ... | +| | [0].interfaceType | X | | X | X | | SATA, PCIe, ... | | | [0].smartStatus | X | | X | X | | S.M.A.R.T Status (see Known Issues) | | | [0].temperature | X | | | | | S.M.A.R.T temperature | | | [0].smartData | X | | | X | | full S.M.A.R.T data from smartctl
requires at least smartmontools 7.0 | diff --git a/docs/filesystem.html b/docs/filesystem.html index 51f07da..128b672 100644 --- a/docs/filesystem.html +++ b/docs/filesystem.html @@ -222,7 +222,7 @@ [0].interfaceType X - + X X SATA, PCIe, ... diff --git a/docs/history.html b/docs/history.html index 72e12bd..086a2ae 100644 --- a/docs/history.html +++ b/docs/history.html @@ -57,6 +57,11 @@ + + 5.23.1 + 2024-07-31 + disklayout() updated docs + 5.23.0 2024-07-31 diff --git a/docs/index.html b/docs/index.html index f384f02..50b0834 100644 --- a/docs/index.html +++ b/docs/index.html @@ -170,7 +170,7 @@
systeminformation
 
-
New Version: 5.23.0
+
New Version: 5.23.1
@@ -204,7 +204,7 @@
-
15,877
+
15,884
Lines of code
@@ -212,7 +212,7 @@
Downloads last month
-
703
+
722
Dependents
diff --git a/lib/usb.js b/lib/usb.js index b0ade9a..8e9d354 100644 --- a/lib/usb.js +++ b/lib/usb.js @@ -35,7 +35,7 @@ function getLinuxUsbType(type, name) { else if (str.indexOf('keyboard') >= 0) { result = 'Keyboard'; } else if (str.indexOf('mouse') >= 0) { result = 'Mouse'; } else if (str.indexOf('stora') >= 0) { result = 'Storage'; } - else if (str.indexOf('mic') >= 0) { result = 'Microphone'; } + else if (str.indexOf('microp') >= 0) { result = 'Microphone'; } else if (str.indexOf('headset') >= 0) { result = 'Audio'; } else if (str.indexOf('audio') >= 0) { result = 'Audio'; } @@ -109,7 +109,7 @@ function getDarwinUsbType(name) { else if (name.indexOf('usbhub') >= 0) { result = 'Hub'; } else if (name.indexOf(' hub') >= 0) { result = 'Hub'; } else if (name.indexOf('mouse') >= 0) { result = 'Mouse'; } - else if (name.indexOf('mic') >= 0) { result = 'Microphone'; } + else if (name.indexOf('microp') >= 0) { result = 'Microphone'; } else if (name.indexOf('removable') >= 0) { result = 'Storage'; } return result; } @@ -182,6 +182,7 @@ function getWindowsUsbTypeCreation(creationclass, name) { else if (creationclass.indexOf('usbcontroller') >= 0) { result = 'Controller'; } else if (creationclass.indexOf('keyboard') >= 0) { result = 'Keyboard'; } else if (creationclass.indexOf('pointing') >= 0) { result = 'Mouse'; } + else if (creationclass.indexOf('microp') >= 0) { result = 'Microphone'; } else if (creationclass.indexOf('disk') >= 0) { result = 'Storage'; } return result; }