From 69b3571d9885b5cca58e36ade51dc0dc09db2ca0 Mon Sep 17 00:00:00 2001 From: Sebastian Hildebrandt Date: Sat, 15 Oct 2022 00:39:22 +0200 Subject: [PATCH] versions() fix postgres, code cleanup --- CHANGELOG.md | 1101 +++++++++++++++++++++++---------------------- README.md | 2 +- docs/history.html | 5 + docs/index.html | 4 +- lib/audio.js | 3 - lib/battery.js | 3 +- lib/cpu.js | 25 +- lib/osinfo.js | 30 +- 8 files changed, 574 insertions(+), 599 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d7f7f49..9d23e60 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,24 +19,24 @@ We had to make **several interface changes** to keep systeminformation as consistent as possible. We highly [recommend to go through the complete list](https://systeminformation.io/changes.html) and adapt your own code to be again compatible to the new version 5. -| Function | Old | New (V5) | Comments | -| --------------- | ------------------ | ------------------ | ------------------ | -| unsupported values | -1 | null | values which are unknown or
unsupported on platform | -| `battery()` | hasbattery
cyclecount
ischarging
designedcapacity
maxcapacity
acconnected
timeremaining | hasBattery
cycleCount
isCharging
designedCapacity
maxCapacity
acConnected
timeRemaining | pascalCase conformity | -| `blockDevices()` | fstype | fsType | pascalCase conformity | -| `cpu()` | speedmin
speedmax | speedMin
speedMax | pascalCase conformity | -| `cpu().speed`
`cpu().speedMin`
`cpu().speedMax` | string values | now returning
numerical values | better value handling | -| `cpuCurrentspeed()` | | cpuCurrentSpeed() | function name changed
pascalCase conformity | -| `currentLoad()` | avgload
currentload
currentload_user
currentload_system
currentload_nice
currentload_idle
currentload_irq
raw_currentload | avgLoad
currentLoad
currentLoadUser
currentLoadSystem
currentLoadNice
currentLoadIdle
currentLoadIrq
rawCurrentLoad | pascalCase conformity | -| `dockerContainerStats()` | mem_usage
mem_limit
mem_percent
cpu_percent
cpu_stats
precpu_stats
memory_stats | memUsage
memLimit
memPercent
cpuPercent
cpuStats
precpuStats
memoryStats | pascalCase conformity | -| `dockerContainerProcesses()` | pid_host | pidHost | pascalCase conformity | -| `graphics().display` | pixeldepth
resolutionx
resolutiony
sizex
sizey | pixelDepth
resolutionX
resolutionY
sizeX
sizeY | pascalCase conformity | -| `networkConnections()` | localaddress
localport
peeraddress
peerport | localAddress
localPort
peerAddress
peerPort | pascalCase conformity | -| `networkInterfaces()` | carrier_changes | carrierChanges | pascalCase conformity | -| `processes()` | mem_vsz
mem_rss
pcpu
pcpuu
pcpus
pmem | memVsz
memRss
cpu
cpuu
cpus
mem | pascalCase conformity
renamed attributes | -| `processLoad()` | result as object | result as array of objects | function now allows to provide more than
one process (as a comma separated list) | -| `services()` | pcpu
pmem | cpu
mem | renamed attributes | -| `vbox()` | HPET
PAE
APIC
X2APIC
ACPI
IOAPIC
biosAPICmode
TRC | hpet
pae
apic
x2Apic
acpi
ioApic
biosApicMode
rtc | pascalCase conformity | +| Function | Old | New (V5) | Comments | +| ----------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | +| unsupported values | -1 | null | values which are unknown or
unsupported on platform | +| `battery()` | hasbattery
cyclecount
ischarging
designedcapacity
maxcapacity
acconnected
timeremaining | hasBattery
cycleCount
isCharging
designedCapacity
maxCapacity
acConnected
timeRemaining | pascalCase conformity | +| `blockDevices()` | fstype | fsType | pascalCase conformity | +| `cpu()` | speedmin
speedmax | speedMin
speedMax | pascalCase conformity | +| `cpu().speed`
`cpu().speedMin`
`cpu().speedMax` | string values | now returning
numerical values | better value handling | +| `cpuCurrentspeed()` | | cpuCurrentSpeed() | function name changed
pascalCase conformity | +| `currentLoad()` | avgload
currentload
currentload_user
currentload_system
currentload_nice
currentload_idle
currentload_irq
raw_currentload | avgLoad
currentLoad
currentLoadUser
currentLoadSystem
currentLoadNice
currentLoadIdle
currentLoadIrq
rawCurrentLoad | pascalCase conformity | +| `dockerContainerStats()` | mem_usage
mem_limit
mem_percent
cpu_percent
cpu_stats
precpu_stats
memory_stats | memUsage
memLimit
memPercent
cpuPercent
cpuStats
precpuStats
memoryStats | pascalCase conformity | +| `dockerContainerProcesses()` | pid_host | pidHost | pascalCase conformity | +| `graphics().display` | pixeldepth
resolutionx
resolutiony
sizex
sizey | pixelDepth
resolutionX
resolutionY
sizeX
sizeY | pascalCase conformity | +| `networkConnections()` | localaddress
localport
peeraddress
peerport | localAddress
localPort
peerAddress
peerPort | pascalCase conformity | +| `networkInterfaces()` | carrier_changes | carrierChanges | pascalCase conformity | +| `processes()` | mem_vsz
mem_rss
pcpu
pcpuu
pcpus
pmem | memVsz
memRss
cpu
cpuu
cpus
mem | pascalCase conformity
renamed attributes | +| `processLoad()` | result as object | result as array of objects | function now allows to provide more than
one process (as a comma separated list) | +| `services()` | pcpu
pmem | cpu
mem | renamed attributes | +| `vbox()` | HPET
PAE
APIC
X2APIC
ACPI
IOAPIC
biosAPICmode
TRC | hpet
pae
apic
x2Apic
acpi
ioApic
biosApicMode
rtc | pascalCase conformity | #### Other Improvements and Changes @@ -78,538 +78,539 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page. ## Version History -| Version | Date | Comment | -| -------------- | -------------- | -------- | -| 5.12.6 | 2022-08-18 | `networkConnections()` fix UDP (windows) | -| 5.12.5 | 2022-08-11 | `cpu()` virtualization fix (mac OS) | -| 5.12.4 | 2022-08-09 | `cpuTemperature()` fix main (linux) | -| 5.12.3 | 2022-08-04 | `networkInterfaces()` operstate fix (mac OS) | -| 5.12.2 | 2022-08-01 | `services()` Ubuntu 22.04 fix | -| 5.12.1 | 2022-07-14 | `cpuTemperature()` Apple Silicon support (see docs) | -| 5.12.0 | 2022-07-12 | `cpu()` added performance and efficiency cores (linux) | -| 5.11.26 | 2022-07-12 | `cpu()` fix iussue parsing physical cores (linux) | -| 5.11.25 | 2022-07-11 | `fsSize()` fix issue filtering (linux) | -| 5.11.24 | 2022-07-10 | `fsSize()` fix parsing linux (df) | -| 5.11.23 | 2022-07-09 | `fsSize()` fixes (linux), `baseboard()` fix (windows), `cpuTemperatur()` fix linux | -| 5.11.22 | 2022-06-24 | `processes()` improved parsing (linux, mac OS) | -| 5.11.21 | 2022-06-17 | `fsSize()` fix parsing linux (df) | -| 5.11.20 | 2022-06-13 | `diskLayout()` fix parsing linux (JSON) | -| 5.11.19 | 2022-06-13 | `diskLayout()` optimized parsing linux (JSON) | -| 5.11.18 | 2022-06-13 | `diskLayout()` fix parsing linux (JSON) | -| 5.11.17 | 2022-06-13 | `diskLayout()` fix parsing linux (JSON) | -| 5.11.16 | 2022-05-30 | `docs` updated, `tests` added node 18 | -| 5.11.15 | 2022-05-11 | `audio()` fix typescript typings | -| 5.11.14 | 2022-04-22 | `netforkInterfaces()` node 18 compatibility | -| 5.11.13 | 2022-04-21 | `networkStats()` improved scanning (mac OS) | -| 5.11.12 | 2022-04-19 | `battery()` improved M1 support (mac OS) | -| 5.11.11 | 2022-04-19 | `networkInterfaces()` improved parsing (windows) | -| 5.11.10 | 2022-04-18 | updated docs | -| 5.11.9 | 2022-03-20 | `diskLayout()` fixed issue smartStatus (linux) | -| 5.11.8 | 2022-03-11 | `cpu()` improved socket detection by name (windows) | -| 5.11.7 | 2022-03-10 | `cpuTemperature()` fix NaN issue (windows) | -| 5.11.6 | 2022-03-01 | typescript typings fix `diskLayout()` | -| 5.11.5 | 2022-02-26 | fixed parsing issues (windows) | -| 5.11.4 | 2022-02-20 | `powerShell` execution policy fix (windows) | -| 5.11.3 | 2022-02-14 | updated docs | -| 5.11.2 | 2022-02-05 | `powerShell` speed improvements (windows) | -| 5.11.1 | 2022-02-03 | `osInfo()` fixed issue fqdn (openBSD) | -| 5.11.0 | 2022-01-26 | `networkInterfaces()` added default property and parameter | -| 5.10.7 | 2022-01-21 | `processes()` reverted PR #560 (windows) | -| 5.10.6 | 2022-01-21 | `usb()` fix `users()` fix tty (windows) | -| 5.10.5 | 2022-01-19 | `processes()` fix calculation (windows) | -| 5.10.4 | 2022-01-18 | `battery()` fix detection (windows) | -| 5.10.3 | 2022-01-17 | `system()` improved virtual detection (windows) | -| 5.10.2 | 2022-01-17 | `uuid()` fix results (windows) | -| 5.10.1 | 2022-01-17 | `cpu()` fix manufacturer | -| 5.10.0 | 2022-01-09 | basic `Android` support | -| 5.9.18 | 2022-01-08 | `wifiConections()` fix empty issue (mac OS) | -| 5.9.17 | 2021-12-07 | `wifiNetworks()` fix empty issue (mac OS) | -| 5.9.16 | 2021-12-05 | `wifiNetworks()` adaption for Apple silicon (mac OS) | -| 5.9.15 | 2021-11-19 | `cpuCache()` fix (windows) | -| 5.9.14 | 2021-11-17 | `versions()` python 2 monterey (deprecated warning) fix (mac OS) | -| 5.9.13 | 2021-11-14 | `time()` timezone name, `l1 cache` improvements | -| 5.9.12 | 2021-11-13 | `users()` fix data check (windows) | -| 5.9.11 | 2021-11-12 | `fsStats()` fix null result (bsd) | -| 5.9.10 | 2021-11-11 | `powerShell` transition from `wmic` (windows) | -| 5.9.9 | 2021-10-27 | `graphics()` fixed screen resolution issue (windows) | -| 5.9.8 | 2021-10-22 | `wmic` fixed code page issues (windows) | -| 5.9.7 | 2021-10-09 | `battery()` fixed typo seperator (windows) | -| 5.9.6 | 2021-10-08 | `system()` fixed virtual on WSL2 | -| 5.9.5 | 2021-10-08 | `battery()` fixed isCharging (windows) | -| 5.9.4 | 2021-09-23 | `processes()` fixed memVsz, Memrss (macOS M1) | -| 5.9.3 | 2021-09-17 | `cpuTemperature()` improved tdie detection (linux) | -| 5.9.2 | 2021-09-16 | `graohics()` (macOS), `memLayout()` (win) improvements | -| 5.9.1 | 2021-09-15 | `diskLayout()` fix size (macOS) | -| 5.9.0 | 2021-09-15 | `graphics()` new XML parser, added properties (macOS) | -| 5.8.9 | 2021-09-13 | `battery()` fix linux | -| 5.8.8 | 2021-09-11 | `wifiConnections()`, `wifiInterfaces()`, `wifiNetworks()` fix windows | -| 5.8.7 | 2021-09-01 | `processes()` fix alpine linux | -| 5.8.6 | 2021-08-26 | `cpu()` improved detection (win) | -| 5.8.5 | 2021-08-26 | `osInfo()` hyper-v detection fix (win VM) | -| 5.8.4 | 2021-08-26 | `graphics()` added vendor (macOS) | -| 5.8.3 | 2021-08-26 | `graphics()` fix empty controller (macOS) | -| 5.8.2 | 2021-08-24 | `baseboard()`, `getDefaultNetworkInterface()` fix catch error | -| 5.8.1 | 2021-08-24 | `battery()` fix capacity | -| 5.8.0 | 2021-08-02 | `disksIO()` added waitTime, waitPercent (linux) | -| 5.7.14 | 2021-08-01 | `cpu()` cache calculation fix (linux) | -| 5.7.13 | 2021-07-28 | `osInfo()` fix uefi detection (win) | -| 5.7.12 | 2021-07-27 | `osInfo()` fix uefi detection (win) | -| 5.7.11 | 2021-07-27 | typescript typings fix `bluetoothDevices()` | -| 5.7.10 | 2021-07-26 | typescript typings fix `processLoad()` | -| 5.7.9 | 2021-07-25 | `uuid()` better regedit path detection (win) | -| 5.7.8 | 2021-07-16 | `battery()` fix designedCapacity (win, linux), fix catch error | -| 5.7.7 | 2021-06-15 | `graphics()` improved detection screen resolution (macOS) | -| 5.7.6 | 2021-06-09 | `battery()` improved detection (additional batteries windows) | -| 5.7.5 | 2021-06-08 | `memLayout()` improved clock speed detection (windows) | -| 5.7.4 | 2021-05-27 | `osInfo()`, `cpu()` improved hypervisor, virtualization detection (windows) | -| 5.7.3 | 2021-05-26 | `osInfo()` improved UEFI detection (windows) | -| 5.7.2 | 2021-05-24 | `system()` virtual detection improvement | -| 5.7.1 | 2021-05-20 | `graphics()` Check for qwMemorySize on Windows | -| 5.7.0 | 2021-05-20 | `diskLayout()` added smartdata for win (if istalled) | -| 5.6.22 | 2021-05-18 | `diskLayout()` fixed to small buffer smartdata (linux) | -| 5.6.21 | 2021-05-14 | `graphics()` fixed dual gpu issue (macOS) | -| 5.6.20 | 2021-05-07 | `system()` fixed vm detection (linux) | -| 5.6.19 | 2021-05-06 | `services()` modified service listing (linux) | -| 5.6.18 | 2021-05-06 | `processes()` fixed Windows mem bug (naming conform to all platforms) | -| 5.6.17 | 2021-05-05 | `networkInterfaces()` fixed Windows XP bug (WMIC NetEnabled) | -| 5.6.16 | 2021-05-05 | `graphics()` fixed compare bug | -| 5.6.15 | 2021-05-05 | restored Node 4.x compatibility | -| 5.6.14 | 2021-05-04 | `networkGatewayDefault()` macOS improvement for active VPN | -| 5.6.13 | 2021-05-04 | `dockerImagesInspect()`, `dockerContainerInspect()`, `dockerContainerProcesses()` security updates | -| 5.6.12 | 2021-04-09 | `networkinterfaces()` windows detection fix | -| 5.6.11 | 2021-04-08 | `versions()` parameter sanitation | -| 5.6.10 | 2021-03-29 | `vboxInfo()` fixed windows bug | -| 5.6.9 | 2021-03-28 | `graphics()` fixed nvidia-smi compare bug | -| 5.6.8 | 2021-03-22 | typescript definitions fix `wifiInterfces()`, `wifiConnections()` | -| 5.6.7 | 2021-03-16 | `inetLatency()` `ineChecksite()` schema validation | -| 5.6.6 | 2021-03-16 | code refactoring | -| 5.6.5 | 2021-03-15 | `cpuTemperature()` fix (linux) | -| 5.6.4 | 2021-03-15 | `sanitizeShellString()` and other security improvements | -| 5.6.3 | 2021-03-14 | `sanitizeShellString()` improvement | -| 5.6.2 | 2021-03-10 | `networkInterfaces()` `cpu()` improvement (win) | -| 5.6.1 | 2021-03-03 | `get()` fixed issue boolean parameters | -| 5.6.0 | 2021-03-03 | `cpuTemperature()` added socket and chipset temp (linux) | -| 5.5.0 | 2021-02-25 | `dockerVolumes()` added | -| 5.4.0 | 2021-02-24 | `dockerImages()` added | -| 5.3.5 | 2021-02-23 | `dockerContainerStats()` fixed parameter * | -| 5.3.4 | 2021-02-20 | `sanitizeShellString()` optimized strict sanitation | -| 5.3.3 | 2021-02-15 | `dockerContainerStats()` fixed ID splitting | -| 5.3.2 | 2021-02-15 | `inetLatency()` `ineChecksite()` fixed possible security issue (file://) | -| 5.3.1 | 2021-02-14 | `inetLatency()` `ineChecksite()` `servcices()` `processes()` fixed possible security issue (arrays) | -| 5.3.0 | 2021-02-12 | `osInfo()` added remoteSession (windows) | -| 5.2.7 | 2021-02-12 | `fsStats()`, `blockDevices()` improved linux | -| 5.2.6 | 2021-02-12 | `inetLatency()` fixed possible DOS intrusion | -| 5.2.5 | 2021-02-11 | `processes()` fixed truncated params (linux) | -| 5.2.4 | 2021-02-11 | `currentLoad()` fixed issue | -| 5.2.3 | 2021-02-11 | `diskLayout()` added USB drives (mac OS) | -| 5.2.2 | 2021-02-11 | code cleanup, updated docs | -| 5.2.1 | 2021-02-10 | `system()` fixed issue virtual detect (linux) | -| 5.2.0 | 2021-02-10 | `wifiInterfces()` and `wifiConnections()` added | -| 5.1.2 | 2021-02-08 | fixed node 4 compatibility issue | -| 5.1.1 | 2021-02-08 | `baseboard()` added memMax, memSlots, smaller improvements Raspberry | -| 5.1.0 | 2021-02-08 | `memLayout()` added ECC flag, `bios()` added language, features (linux) | -| 5.0.11 | 2021-02-07 | `fsSize()` fixed windows WSL issue | -| 5.0.10 | 2021-02-06 | `getDynamicData()` fixed windows WSL issue | -| 5.0.9 | 2021-02-02 | `fsSize()` fixed parsing edge case issue mac OS | -| 5.0.8 | 2021-01-30 | typescript typings fix cpuCurrentSpeed | -| 5.0.7 | 2021-01-29 | `fsSize()` available fixed windows and typescript typings | -| 5.0.6 | 2021-01-28 | `osinfo()` added hypervisor (win only) | -| 5.0.5 | 2021-01-27 | `networkInterfaces()` type detection improved (win) | -| 5.0.4 | 2021-01-27 | `cpu()` improved manufacturer decoding (linux) | -| 5.0.3 | 2021-01-27 | `cpu()` fix virtualization, `wifi()` fix raspberry | -| 5.0.2 | 2021-01-26 | updated typescript typings | -| 5.0.1 | 2021-01-26 | code cleanup | -| 5.0.0 | 2021-01-26 | new major version 5 release | -| 4.34.9 | 2021-01-25 | `graphics()` virtual controller vram value fix (win) | -| 4.34.8 | 2021-01-25 | `graphics()` controller subDeviceId fix (win) | -| 4.34.7 | 2021-01-13 | `services()` improved service discovery (linux) | -| 4.34.6 | 2021-01-12 | `networkInterfaces()` catch errors | -| 4.34.5 | 2021-01-07 | `networkInterfaceDefault()` fixed CMD popup (windows) | -| 4.34.4 | 2021-01-06 | `system()` fixed vitrual catch error | -| 4.34.3 | 2021-01-06 | `graphics()` fixed non nvidia-smi controllers (win) | -| 4.34.2 | 2021-01-05 | `system()` uuid lowercase as in uuid() | -| 4.34.1 | 2021-01-05 | `graphics()` nvidia-smi detection improved | -| 4.34.0 | 2021-01-05 | `system()` added flag virtual | -| 4.33.8 | 2021-01-04 | `virtualBox()` fix issue windows host | -| 4.33.7 | 2021-01-04 | `graphics()` nvidia-smi detection improved | -| 4.33.6 | 2021-01-02 | `dockerContainerStats()` fix `tx` changed to `wx` as documented | -| 4.33.5 | 2020-12-30 | `graphics()` vram (nvidia-smi) | -| 4.33.4 | 2020-12-28 | `typescript` typings fix | -| 4.33.3 | 2020-12-27 | `graphics()` updated docs | -| 4.33.2 | 2020-12-27 | `graphics()` fixed issue (nvidia-smi) | -| 4.33.1 | 2020-12-22 | `versions()` fixed issue (mac OS) | -| 4.33.0 | 2020-12-21 | `graphics()` nvidia-smi support (linux, windows) | -| 4.32.0 | 2020-12-14 | `graphics()` clinfo support (linux) | -| 4.31.2 | 2020-12-14 | `graphics()` Windows 7 Graphics Fixes (Multi Monitor) | -| 4.31.1 | 2020-12-11 | `inetLatency()` command injection vulnaribility fix | -| 4.31.0 | 2020-12-06 | `osInfo()` added FQDN | -| 4.30.11 | 2020-12-02 | `cpu()` bug fix speed parsing | -| 4.30.10 | 2020-12-01 | `cpu()` handled speed parsing error (Apple Silicon) | -| 4.30.9 | 2020-12-01 | `cpu()` corrected processor names (Raspberry Pi) | -| 4.30.8 | 2020-11-30 | `fsSize()` catch error (mac OS) | -| 4.30.7 | 2020-11-29 | `cpuTemperature()` rewrite hwmon parsing | -| 4.30.6 | 2020-11-27 | wmic added default windows path (windows) | -| 4.30.5 | 2020-11-26 | adapted security update (prototype pollution prevention) | -| 4.30.4 | 2020-11-25 | reverted Object.freeze because it broke some projects | -| 4.30.3 | 2020-11-25 | security update (prototype pollution prevention) Object.freeze | -| 4.30.2 | 2020-11-25 | security update (prototype pollution prevention) | -| 4.30.1 | 2020-11-12 | updated docs | -| 4.30.0 | 2020-11-12 | `get()` possibility to provide params | -| 4.29.3 | 2020-11-09 | `blockdevices()` catch errors adapted for just one line | -| 4.29.2 | 2020-11-09 | `blockdevices()` catch errors | -| 4.29.1 | 2020-11-08 | `cpu()`, `system()` better parsing Raspberry Pi revision codes | -| 4.29.0 | 2020-11-08 | `fsSize()` correct fs type detection macOS (HFS, APFS, NFS) | -| 4.28.1 | 2020-11-05 | code cleanup, removing debug console.log() | -| 4.28.0 | 2020-11-04 | `graphics()` added deviceName (windows) | -| 4.27.11 | 2020-10-26 | `inetChecksite()` fixed vulnerability: command injection | -| 4.27.10 | 2020-10-16 | `dockerContainers()` resolved hanging issue | -| 4.27.9 | 2020-10-13 | `networkInterfaces()` loopback internal detection (windows) | -| 4.27.8 | 2020-10-08 | windows codepages partial fix | -| 4.27.7 | 2020-10-05 | updated typescript typings, minor fixes | -| 4.27.6 | 2020-10-02 | `get()` fixed when results are in arrays | -| 4.27.5 | 2020-09-18 | `cpuTemperature()` fix try catch (linux) | -| 4.27.4 | 2020-09-16 | `networkInterfaceDefault()` optimization (macOS) | -| 4.27.3 | 2020-08-26 | updated typescript typings | -| 4.27.2 | 2020-08-26 | fixed issue breaking node v4 compatibility | -| 4.27.1 | 2020-08-25 | `networkStats()` fixed packages dropped (linux) | -| 4.27.0 | 2020-08-24 | `observe()` added function to observe/watch system parameters | -| 4.26.12 | 2020-08-21 | `versions()` fixed issue windows | -| 4.26.11 | 2020-08-20 | `cpuTemperature()` fixed issue windows | -| 4.26.10 | 2020-07-16 | `networkStats()` fixed issue blocking windows | -| 4.26.9 | 2020-06-06 | `networkStats()` fixed comparison issue windows | -| 4.26.8 | 2020-06-06 | `networkInterfaces()` fixed caching issue | -| 4.26.7 | 2020-06-06 | `cpuTemperature()` fixed raspberry pi sensors issue | -| 4.26.6 | 2020-06-03 | `diskLayout()` fixed issue linux | -| 4.26.5 | 2020-05-27 | `cpuTemperature()` optimizes scanning AMD linux sensors | -| 4.26.4 | 2020-05-21 | `cpuTemperature()` fix (BSD), code cleanup | -| 4.26.3 | 2020-05-20 | updated documentation (macOS temperature) | -| 4.26.2 | 2020-05-19 | `processes()` memory leak fix | -| 4.26.1 | 2020-05-13 | code cleanup | -| 4.26.0 | 2020-05-12 | `diskLayout()` added full smart data where supported | -| 4.25.2 | 2020-05-12 | `getDynamicData()` added wifiNetworks() | -| 4.25.1 | 2020-05-07 | `get()` minor bounds test fix, updated docs | -| 4.25.0 | 2020-05-07 | `get()` added function to get partial system info | -| 4.24.2 | 2020-05-06 | `cpu()` fix (BSD), `networkStats()` fix BSD | -| 4.24.1 | 2020-05-03 | `processes()` fix parsing command and params | -| 4.24.0 | 2020-05-01 | `networkInterfaces()` added subnet mask ip4 and ip6 | -| 4.23.10 | 2020-05-01 | `cpuTemperature()` optimized parsing linux | -| 4.23.9 | 2020-04-29 | `currentLoad()` workaround for no os.cpus info | -| 4.23.8 | 2020-04-26 | `getMacAddresses()` fix added try catch | -| 4.23.7 | 2020-04-26 | `getCpuCurrentSpeedSync()` workaround fix | -| 4.23.6 | 2020-04-25 | `networkGatewayDefault()` bug fix no interfaces | -| 4.23.5 | 2020-04-20 | updated docs | -| 4.23.4 | 2020-04-20 | `users()` optimized parseDateTime function | -| 4.23.3 | 2020-04-09 | refactored to avoid `cat` | -| 4.23.2 | 2020-04-08 | `cpu()` fixed getting base frequency for AMD Ryzen | -| 4.23.1 | 2020-03-11 | `diskLayout()` optimized detection linux | -| 4.23.0 | 2020-03-08 | `versions()` added param to specify which program/lib versions to detect | -| 4.22.7 | 2020-03-08 | `diskLayout()` fixed linux | -| 4.22.6 | 2020-03-08 | `network()` fixed DHCP linux| -| 4.22.5 | 2020-03-04 | `graphics()` fixed vram macOS | -| 4.22.4 | 2020-03-01 | `versions()` added dotnet, typings fix | -| 4.22.3 | 2020-02-20 | `memLayout()` code cleanup | -| 4.22.2 | 2020-02-19 | `memLayout()` raspberry PI mem voltage fix | -| 4.22.1 | 2020-02-17 | `memLayout()` raspberry PI support | -| 4.22.0 | 2020-02-17 | `services()` added pids (windows) | -| 4.21.3 | 2020-02-16 | `versions()` fixed mysql version (macOS) | -| 4.21.2 | 2020-02-11 | `networkConnections()` fixed linux (debian) issue | -| 4.21.1 | 2020-01-31 | `networkGatewayDefault()` fixed windows 7 issue | -| 4.21.0 | 2020-01-27 | `npx` compatibility | -| 4.20.1 | 2020-01-26 | `battery()` code refactoring, cleanup, updated docs | -| 4.20.1 | 2020-01-26 | `battery()` code refactoring, cleanup, updated docs | -| 4.20.0 | 2020-01-25 | `battery()` added designCapacity, voltage, unit | -| 4.19.4 | 2020-01-24 | `mem()` prevent log messages, `memgetDefaultNetworkInterface()` catch errors | -| 4.19.3 | 2020-01-24 | `memLayout()` bank info fix macOS | -| 4.19.2 | 2020-01-19 | `cpu()` muli-processor fix windows | -| 4.19.1 | 2020-01-14 | `osInfo()` uefi fix windows | -| 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 | -| 4.18.0 | 2020-01-07 | `networkInterfaces()` added dhcp for mac os, added dhcp linux fallback | -| 4.17.3 | 2020-01-05 | code cleanup | -| 4.17.2 | 2020-01-05 | `cpu().speed` AMD base frequency and fix (0.00) | -| 4.17.1 | 2020-01-04 | `fsSize()` alpine linux support | -| 4.17.0 | 2020-01-04 | `networkInterfaces()` added dhcp, dnsSuffix, ieee8021xAuth, ieee8021xState | -| 4.16.1 | 2020-01-02 | `networkInterfaces()` bug fix (osx) | -| 4.16.0 | 2019-11-27 | `networkGatewayDefault()` added | -| 4.15.3 | 2019-11-10 | type definitions and docs update | -| 4.15.2 | 2019-11-10 | `mem()` improved calculation linux | -| 4.15.1 | 2019-11-10 | `diskLayout()` added support for older lsblk versions (linux) | -| 4.15.0 | 2019-11-10 | `cpu()` added governor (linux) | -| 4.14.17 | 2019-10-22 | `graphics()` improved display detection (windows) | -| 4.14.16 | 2019-10-19 | `graphics()` improved display detection (windows) | -| 4.14.15 | 2019-10-18 | `graphics()` fallback display detection (windows) | -| 4.14.14 | 2019-10-18 | `powerShell()` fixed error handling (windows) | -| 4.14.13 | 2019-10-15 | `networkConnections()` fixed parsing (linux) | -| 4.14.12 | 2019-10-14 | `getCpu()` fixed multi socket detection (linux) | -| 4.14.11 | 2019-10-01 | type definitions fix dockerInfo | -| 4.14.10 | 2019-10-01 | type definitions fix memLayout | -| 4.14.9 | 2019-10-01 | `processLoad()` fix windows | -| 4.14.8 | 2019-08-22 | `parseDateTime()` fix coding error | -| 4.14.7 | 2019-08-22 | `battery()` windows acconnected improvement | -| 4.14.6 | 2019-08-22 | `users()` improved date time parsing | -| 4.14.5 | 2019-08-22 | `fsSize()` fix windows result as number | -| 4.14.4 | 2019-07-20 | `verions()` fix pip, pip3 | -| 4.14.3 | 2019-07-09 | `system()` sku fix windows | -| 4.14.2 | 2019-07-07 | `networkConnections()` pid linux fix NAN | -| 4.14.1 | 2019-07-04 | `graphics()` added display position windows | -| 4.14.0 | 2019-07-03 | `processes()` added process path and params | -| 4.13.2 | 2019-07-02 | `versions()` fix getting all versions | -| 4.13.1 | 2019-07-01 | `versions()` gcc fix macos | -| 4.13.0 | 2019-07-01 | `networkConnections()` added PID and process | -| 4.12.2 | 2019-06-24 | `system()` added Raspberry PI 4 detection | -| 4.12.1 | 2019-06-24 | `networkInterface()` virtual interfaces macos, `networkInterfaceDefault()` | -| 4.12.0 | 2019-06-21 | `networkInterface()` added property virtual | -| 4.11.6 | 2019-06-19 | `util` bug fix | -| 4.11.5 | 2019-06-19 | `dockerAll()` bug fix | -| 4.11.4 | 2019-06-17 | type definitions bug fix | -| 4.11.3 | 2019-06-16 | `graphics()` optimization windows | -| 4.11.2 | 2019-06-16 | `wifiNetworks()` bug fixes | -| 4.11.1 | 2019-06-15 | updated docs | -| 4.11.0 | 2019-06-14 | `wifiNetworks()` added available wifi networks | -| 4.10.0 | 2019-06-14 | `graphics()` windows multiple display support | -| 4.9.2 | 2019-06-12 | type definitions bug fix | -| 4.9.1 | 2019-06-11 | `networkStats()` bug fix windows | -| 4.9.0 | 2019-06-03 | `graphics()` added vendor, refresh rate, current res | -| 4.8.4 | 2019-06-03 | `vboxInfo()` fixed call parameters | -| 4.8.3 | 2019-06-01 | `vboxInfo()` added stoppedSince, started, stopped | -| 4.8.2 | 2019-05-31 | `dockerInfo()` changed property naming style | -| 4.8.1 | 2019-05-31 | updated docs | -| 4.8.0 | 2019-05-31 | added `vboxInfo()` detailed virtual box info | -| 4.7.3 | 2019-05-30 | updated typescript typings | -| 4.7.2 | 2019-05-30 | `versions()` added virtualbox, java popup fix macos | -| 4.7.1 | 2019-05-29 | `memLayout()` fix macos mojave | -| 4.7.0 | 2019-05-29 | partial netBSD support | -| 4.6.1 | 2019-05-29 | get wmic path - fic windows | -| 4.6.0 | 2019-05-27 | added `dockerInfo()` | -| 4.5.1 | 2019-05-17 | updated docs | -| 4.5.0 | 2019-05-17 | `fsOpenFiles()` added open file descriptor count | -| 4.4.1 | 2019-05-11 | updated docs | -| 4.4.0 | 2019-05-11 | `dockerContainers()` added started, finished time | -| 4.3.0 | 2019-05-09 | `dockerContainers()` `dockerStats()` added restartCount | -| 4.2.1 | 2019-05-09 | `networkInterfaceDefault()` time delay fix (linux) | -| 4.2.0 | 2019-05-09 | `osInfo()` extended service pack version (windows) | -| 4.1.8 | 2019-05-09 | `graphics()` resolve on error (windows) | -| 4.1.7 | 2019-05-09 | `users()` parsing fix (windows) | -| 4.1.6 | 2019-04-24 | `memory()` swap used fix (linux) | -| 4.1.5 | 2019-04-19 | refactored `wmic` calls to work also on Windows XP | -| 4.1.4 | 2019-03-26 | `networkInterfaces()` speed bug (windows) | -| 4.1.3 | 2019-03-24 | wmic path detection (windows) | -| 4.1.2 | 2019-03-23 | updated docs | -| 4.1.1 | 2019-03-13 | updated typescript typings | -| 4.1.0 | 2019-03-13 | `versions()` added pip, pip3 | -| 4.0.16 | 2019-03-12 | Happy birthday - 5th aniversary | -| 4.0.15 | 2019-03-02 | `versions()` added java, python3, optimized gcc | -| 4.0.14 | 2019-03-01 | updated typescript typings | -| 4.0.13 | 2019-03-01 | `diskLayout()` added device (/dev/sda...) linux, mac | -| 4.0.12 | 2019-03-01 | `diskLayout()` linux rewritten - better detection | -| 4.0.11 | 2019-02-23 | `users()` fix windows (time), added @ts-check | -| 4.0.10 | 2019-02-10 | `networkInterfaceDefault()` fix windows | -| 4.0.9 | 2019-02-08 | `cpu()` fix, code cleanup | -| 4.0.8 | 2019-02-05 | `inetLatency()` Windows fix parse chinese output | -| 4.0.7 | 2019-02-05 | `inetLatency()` Windows fix | -| 4.0.6 | 2019-02-04 | powershell catch error | -| 4.0.5 | 2019-02-03 | updated docs | -| 4.0.4 | 2019-02-03 | code cleanup, updated docs | -| 4.0.3 | 2019-02-03 | `networkInterfaces(), chassis()` fixed two more issues | -| 4.0.2 | 2019-02-03 | `networkInterfaces(), chassis()` fixed smaller issues | -| 4.0.1 | 2019-02-02 | updated docs | -| 4.0.0 | 2019-02-02 | new major version | -| 3.54.0 | 2018-12-30 | added TypeScript type definitions | -| 3.53.1 | 2018-12-29 | `versions()` bug fix nginx version | -| 3.53.0 | 2018-12-29 | `versions()` added perl, python, gcc | -| 3.52.7 | 2018-12-29 | `versions()` bug fix macOS detection | -| 3.52.6 | 2018-12-28 | `versions()` bug fix macOS | -| 3.52.5 | 2018-12-28 | preparing automated tests, travis-ci integration, added dev-dependencies | -| 3.52.4 | 2018-12-27 | `graphics().controllers` bugfix linux | -| 3.52.3 | 2018-12-27 | `os().codepage` bugfix | -| 3.52.2 | 2018-12-17 | code cleanup | -| 3.52.1 | 2018-12-17 | `inetChecksite()` bugfix windows | -| 3.52.0 | 2018-12-15 | `cpu()` added physical cores, processors, socket type | -| 3.51.4 | 2018-12-05 | `versions()` bugfix, optimization postgres | -| 3.51.3 | 2018-11-27 | `mem()` refactoring parsing linux, code cleanup | -| 3.51.2 | 2018-11-26 | `mem()` bugfix parsing `free` output linux | -| 3.51.1 | 2018-11-26 | `processLoad()` bugfix windows | -| 3.51.0 | 2018-11-25 | `processLoad()` added for windows | -| 3.50.3 | 2018-11-25 | `processLoad()`, `services()` fixed cpu data (linux) | -| 3.50.2 | 2018-11-23 | network mac adresses: ip support fix | -| 3.50.1 | 2018-11-23 | `services()` added possibility to specify ALL services "*" for win | -| 3.50.0 | 2018-11-23 | `services()` added possibility to specify ALL services "*" for linux | -| 3.49.4 | 2018-11-21 | `battery()` timeremaining optimization (linux) thanks to Jorai Rijsdijk | -| 3.49.3 | 2018-11-20 | `memLayout()` optimized parsing (win) | -| 3.49.2 | 2018-11-19 | code cleanup | -| 3.49.1 | 2018-11-19 | `cpu().brand` removed extra spaces, tabs | -| 3.49.0 | 2018-11-19 | added system `uuid()` (os specific), `versions()` added postgresql | -| 3.48.4 | 2018-11-18 | windows: garbled output because of codepage | -| 3.48.3 | 2018-11-18 | `dockerContainerStats()` fixed issue `cpu_percent` win | -| 3.48.2 | 2018-11-18 | `dockerContainerStats()` fixed issue `cpu_percent`, win exec | -| 3.48.1 | 2018-11-17 | `docker...()` fixed issue parsing docker socket JSON | -| 3.48.0 | 2018-11-17 | `diskLayout()` better interface detection (WIN), `osInfo()` added build, serial | -| 3.47.0 | 2018-11-06 | `versions()` added docker, postfix | -| 3.46.0 | 2018-11-05 | fixed issue `versions()`, added system openssl version | -| 3.45.10 | 2018-11-03 | fixed issue `battery()`, modified `package.json` - files | -| 3.45.9 | 2018-10-22 | fixed node 4 incompatibility | -| 3.45.8 | 2018-10-22 | `system()` fix Raspberry Pi detection | -| 3.45.7 | 2018-10-05 | fixed typos | -| 3.45.6 | 2018-09-12 | `mem()` bug parsing linux in other languages | -| 3.45.5 | 2018-09-07 | `diskLayout()` tiny bug S.M.A.R.T status windows | -| 3.45.4 | 2018-09-06 | added icon to README.md | -| 3.45.3 | 2018-09-06 | `diskLayout()` optimized media type detection (HD, SSD) on Windows | -| 3.45.2 | 2018-09-05 | updated imags shields icons | -| 3.45.1 | 2018-09-05 | updated documentation | -| 3.45.0 | 2018-09-04 | `diskLayout()` added smartStatus | -| 3.44.2 | 2018-08-28 | added code quality badges | -| 3.44.1 | 2018-08-28 | code cleanup | -| 3.44.0 | 2018-08-25 | `battery()` bugfix & added type, model, manufacturer, serial | -| 3.43.0 | 2018-08-25 | `cpuCurrentspeed()` added cpu speed for all cores | -| 3.42.10 | 2018-08-25 | `processes()` optimized start time parsing | -| 3.42.9 | 2018-08-08 | `cpuTemperature()` optimized parsing | -| 3.42.8 | 2018-08-03 | updated docs | -| 3.42.7 | 2018-08-03 | `processes()` optimized parsing ps name | -| 3.42.6 | 2018-08-03 | `processes()` bugfix parsing ps linux | -| 3.42.5 | 2018-08-03 | `processes()` bugfix parsing ps linux | -| 3.42.4 | 2018-07-09 | `cpuTemperature()` bugfix parsing negative values | -| 3.42.3 | 2018-07-05 | `services()` bugfix not finding services with capital letters | -| 3.42.2 | 2018-07-03 | `users()` optimized results if lack of permissions | -| 3.42.1 | 2018-07-03 | `versions()` bugfix git version macOS | -| 3.42.0 | 2018-06-01 | `processes()` added parent process PID | -| 3.41.4 | 2018-05-28 | windows exec WMIC path detection (windows) in try catch | -| 3.41.3 | 2018-05-13 | improved SunOS support `getStaticData()`, `getDynamicData()` | -| 3.41.2 | 2018-05-13 | bugfix `system()` and `flags()` Raspberry Pi | -| 3.41.1 | 2018-05-11 | updated docs | -| 3.41.0 | 2018-05-11 | `system()` Raspberry Pi bugfix and extended detection, added partial `SunOS` support | -| 3.40.1 | 2018-05-10 | bugfix `system().sku` (windows) | -| 3.40.0 | 2018-04-29 | extended `versions()` (php, redis, mongodb) | -| 3.39.0 | 2018-04-29 | added `versions().mysql` and `versions().nginx`, starting `SunOS` support (untested) | -| 3.38.0 | 2018-04-06 | added `battery().acconnected` | -| 3.37.12 | 2018-04-05 | another optimization `battery().ischarging` for macOS | -| 3.37.11 | 2018-04-05 | another optimization `battery().ischarging` for macOS | -| 3.37.10 | 2018-04-05 | `battery().ischarging` optimized for macOS | -| 3.37.9 | 2018-04-03 | optimized `processes()`, bugfix `networkInterfaceDefault()` | -| 3.37.8 | 2018-03-25 | optimized `networkDefaultInterface()` detection, fixed network `operstate` MacOS | -| 3.37.7 | 2018-03-13 | celebrating 4th birthday | -| 3.37.6 | 2018-03-12 | updated docs: fixed `diskLayout`and `mamlayout` | -| 3.37.5 | 2018-03-12 | added support for `ip` instead of `ifconfig` | -| 3.37.4 | 2018-02-22 | bugfix windows `processes()`, `disklayout()` | -| 3.37.3 | 2018-02-19 | added windows exec `windowsHide` option | -| 3.37.2 | 2018-02-15 | fixed bug `battery().percent` for macOS | -| 3.37.1 | 2018-02-13 | fixed bug `battery().ischarging` for macOS | -| 3.37.0 | 2018-02-11 | extended FreeBSD support `networkStats()` | -| 3.36.0 | 2018-02-11 | extended FreeBSD support `networkConnections()` | -| 3.35.0 | 2018-02-11 | extended FreeBSD support `processLoad()` | -| 3.34.1 | 2018-02-11 | updated docs | -| 3.34.0 | 2018-02-10 | first partial FreeBSD support | -| 3.33.15 | 2018-01-21 | optimized OSX battery | -| 3.33.14 | 2018-01-17 | bugfix `diskLayout()` (Windows) | -| 3.33.13 | 2018-01-12 | bugfix `memLayout()` (Windows) | -| 3.33.12 | 2017-12-25 | fixed typos | -| 3.33.11 | 2017-12-17 | updated docs | -| 3.33.10 | 2017-12-14 | bugfix WMIC path detection (windows) blockDevice parse (Windows 7) | -| 3.33.9 | 2017-12-14 | bugfix WMIC path detection (windows) not found (Windows) | -| 3.33.8 | 2017-12-02 | bugfix diskLayout().size (OSX) | -| 3.33.7 | 2017-11-28 | bugfix diskLayout().size | -| 3.33.6 | 2017-11-16 | bugfix diskLayout().size | -| 3.33.5 | 2017-11-09 | code cleanup | -| 3.33.4 | 2017-11-09 | bugfix graphics controller win (bytes) | -| 3.33.3 | 2017-11-08 | bugfix cpu speed arm - type | -| 3.33.2 | 2017-11-08 | bugfix cpu speed arm | -| 3.33.1 | 2017-11-07 | improved bios and main board information | -| 3.33.0 | 2017-11-07 | added bios and main board information | -| 3.32.4 | 2017-11-02 | AMD cpu base frequencies table also for windows | -| 3.32.3 | 2017-11-02 | code cleanup, AMD cpu base frequencies table | -| 3.32.2 | 2017-11-01 | bugfix JSON.parse error `blockDevices()` | -| 3.32.1 | 2017-10-23 | updated docs | -| 3.32.0 | 2017-10-23 | extended `memLayout()` - added manufacturer | -| 3.31.4 | 2017-10-21 | updated `README.md` | -| 3.31.3 | 2017-10-21 | bugfix `graphics()`, fixed typo `README.md` | -| 3.31.2 | 2017-10-16 | bugfix `graphics()` vendor and model parsing linux VGA/3D | -| 3.31.1 | 2017-10-16 | bugfix `graphics()` vendor and model parsing linux | -| 3.31.0 | 2017-10-15 | extended windows support `cpuFlags()` (partially) | -| 3.30.6 | 2017-10-05 | updated community profile | -| 3.30.5 | 2017-10-05 | bugfix `users()` - parsing values on windows | -| 3.30.4 | 2017-10-03 | bugfix `cpuTemperature()` - parsing values on windows | -| 3.30.3 | 2017-10-03 | bugfix `cpuTemperature()` - max value on windows | -| 3.30.2 | 2017-09-26 | bugfix `networkInterfaces()` - optimized ip6 address selection | -| 3.30.1 | 2017-09-21 | bugfix/typo `inetChecksite()` | -| 3.30.0 | 2017-09-21 | extended `versions()` (added `yarn`, `gulp`, `grunt`, `tsc`, `git`) | -| 3.29.0 | 2017-09-15 | extended windows support `services()`, optimized `diskLayout()` (OSX), bugfixes | -| 3.28.0 | 2017-09-14 | extended windows support `processes()` | -| 3.27.1 | 2017-09-13 | updated Raspberry version detection `system()` (Pi 3, Zero) | -| 3.27.0 | 2017-09-12 | added raw data to `currentLoad()`, fixed `networkInterfaces()` MAC problem node 8.x | -| 3.26.2 | 2017-09-01 | removed redundant code | -| 3.26.1 | 2017-08-23 | fixed `cpu().speed` windows / AMD, updated docs | -| 3.26.0 | 2017-08-21 | extended `getDynamicData()` (windows), updated docs | -| 3.25.1 | 2017-08-07 | updated docs | -| 3.25.0 | 2017-08-07 | improved windows support `networkStats()`, `cpuCache()`, bug fix `getStaticData()` | -| 3.24.0 | 2017-08-05 | extended windows support `networkStats()`, `networkConnections()` | -| 3.23.7 | 2017-07-11 | bug fix `diskLayout()` | -| 3.23.6 | 2017-07-11 | added `cpuFlags()` to `getStaticData()`, bug fix `graphics()` (Win) | -| 3.23.5 | 2017-06-29 | bug fix `inetChecksite()` | -| 3.23.4 | 2017-06-24 | bug fix `getDynamicData(), getAllData() - mem` | -| 3.23.3 | 2017-06-23 | updated docs | -| 3.23.2 | 2017-06-23 | bug fix `battery` (windows) | -| 3.23.1 | 2017-06-22 | updated docs | -| 3.23.0 | 2017-06-22 | added `memLayout`, `diskLayout`, extended windows support (`inetChecksite`)| -| 3.22.0 | 2017-06-19 | extended windows support (`users`, `inetLatency`) | -| 3.21.0 | 2017-06-18 | extended time (timezone), extended windows support (battery, getAll...) | -| 3.20.1 | 2017-06-17 | updated docs | -| 3.20.0 | 2017-06-16 | extend WIN support (cpu, cpuCache, cpuCurrentspeed, mem, networkInterfaces, docker) | -| 3.19.0 | 2017-06-12 | OSX temperature now an optional dependency | -| 3.18.0 | 2017-05-27 | extended `cpu` info (vendor, family, model, stepping, revision, cache, speedmin/max) | -| 3.17.3 | 2017-04-29 | minor fix (blockDevices data array, Windows) | -| 3.17.2 | 2017-04-24 | minor fix (removed console.log) | -| 3.17.1 | 2017-04-23 | fixed bugs fsSize(win), si.processes (command), si.osinfo(win) | -| 3.17.0 | 2017-02-19 | windows support for some first functions, extended process list (linux)| -| 3.16.0 | 2017-01-19 | blockDevices: added removable attribute + fix | -| 3.15.1 | 2017-01-17 | minor cpuTemperature fix (OSX) | -| 3.15.0 | 2017-01-15 | added cpuTemperature also for OSX | -| 3.14.0 | 2017-01-14 | added currentLoad per cpu/core, cpu cache and cpu flags | -| 3.13.0 | 2016-11-23 | added shell (returns standard shell) | -| 3.12.0 | 2016-11-17 | refactoring and extended currentLoad | -| 3.11.2 | 2016-11-16 | blockDevices: improved for older lsblk versions | -| 3.11.1 | 2016-11-16 | fixed small bug in blockDevices | -| 3.11.0 | 2016-11-15 | blockDevices for OSX and extended blockDevices | -| 3.10.2 | 2016-11-14 | bug fix fsSize on OSX | -| 3.10.1 | 2016-11-14 | optimization fsStats, disksIO, networkStats | -| 3.10.0 | 2016-11-12 | added blockDevices, fixed fsSize, added file system type | -| 3.9.0 | 2016-11-11 | added MAC address to networkInterfaces, fixed currentLoad | -| 3.8.1 | 2016-11-04 | updated docs | -| 3.8.0 | 2016-11-04 | added dockerContainerProcesses | -| 3.7.1 | 2016-11-03 | code refactoring | -| 3.7.0 | 2016-11-02 | extended docker stats, and no longer relying on curl | -| 3.6.0 | 2016-09-14 | added versions (kernel, ssl, node, npm, pm2, ...) | -| 3.5.1 | 2016-09-14 | bugfix graphics info | -| 3.5.0 | 2016-09-14 | added graphics info (controller, display) | -| 3.4.4 | 2016-09-02 | tiny fixes system.model, getDefaultNetworkInterface | -| 3.4.3 | 2016-09-02 | tiny bug fix fsStats, disksIO OSX | -| 3.4.2 | 2016-09-01 | improved default network interface | -| 3.4.1 | 2016-08-30 | updated docs | -| 3.4.0 | 2016-08-30 | rewritten processes current cpu usage | -| 3.3.0 | 2016-08-24 | process list added to processes | -| 3.2.1 | 2016-08-19 | updated docs, improvement system | -| 3.2.0 | 2016-08-19 | added battery information | -| 3.1.1 | 2016-08-18 | improved system and os detection (vm, ...), bugfix disksIO | -| 3.1.0 | 2016-08-18 | added Docker stats | -| 3.0.1 | 2016-08-17 | Bug-Fix disksIO, users, updated docs | -| 3.0.0 | 2016-08-03 | new major version 3.0 | -| 2.0.5 | 2016-03-02 | changed .gitignore | -| 2.0.4 | 2016-02-22 | tiny correction - removed double quotes CPU brand, ... | -| 2.0.3 | 2016-02-22 | optimized cpuCurrentspeed | -| 2.0.2 | 2016-02-22 | added CoreOS identification | -| 2.0.1 | 2016-01-07 | minor patch | -| 2.0.0 | 2016-01-07 | new major version 2.0 | -| 1.0.7 | 2015-11-27 | fixed: si.network_speed() | -| 1.0.6 | 2015-09-17 | fixed: si.users() | -| 1.0.5 | 2015-09-14 | updated dependencies | -| 1.0.4 | 2015-07-18 | updated docs | -| 1.0.3 | 2015-07-18 | bugfix cpu cores | -| 1.0.2 | 2015-07-18 | bugfix cpu_currentspeed, cpu_temperature | -| 1.0.1 | 2015-07-18 | documentation update | -| 1.0.0 | 2015-07-18 | bug-fixes, version bump, published as npm component | -| 0.0.3 | 2014-04-14 | bug-fix (cpu_speed) | -| 0.0.2 | 2014-03-14 | Optimization FS-Speed & CPU current speed | -| 0.0.1 | 2014-03-13 | initial release | +| Version | Date | Comment | +| ------- | ---------- | --------------------------------------------------------------------------------------------------- | +| 5.12.7 | 2022-10-15 | `versions()` fix postgres | +| 5.12.6 | 2022-08-18 | `networkConnections()` fix UDP (windows) | +| 5.12.5 | 2022-08-11 | `cpu()` virtualization fix (mac OS) | +| 5.12.4 | 2022-08-09 | `cpuTemperature()` fix main (linux) | +| 5.12.3 | 2022-08-04 | `networkInterfaces()` operstate fix (mac OS) | +| 5.12.2 | 2022-08-01 | `services()` Ubuntu 22.04 fix | +| 5.12.1 | 2022-07-14 | `cpuTemperature()` Apple Silicon support (see docs) | +| 5.12.0 | 2022-07-12 | `cpu()` added performance and efficiency cores (linux) | +| 5.11.26 | 2022-07-12 | `cpu()` fix iussue parsing physical cores (linux) | +| 5.11.25 | 2022-07-11 | `fsSize()` fix issue filtering (linux) | +| 5.11.24 | 2022-07-10 | `fsSize()` fix parsing linux (df) | +| 5.11.23 | 2022-07-09 | `fsSize()` fixes (linux), `baseboard()` fix (windows), `cpuTemperatur()` fix linux | +| 5.11.22 | 2022-06-24 | `processes()` improved parsing (linux, mac OS) | +| 5.11.21 | 2022-06-17 | `fsSize()` fix parsing linux (df) | +| 5.11.20 | 2022-06-13 | `diskLayout()` fix parsing linux (JSON) | +| 5.11.19 | 2022-06-13 | `diskLayout()` optimized parsing linux (JSON) | +| 5.11.18 | 2022-06-13 | `diskLayout()` fix parsing linux (JSON) | +| 5.11.17 | 2022-06-13 | `diskLayout()` fix parsing linux (JSON) | +| 5.11.16 | 2022-05-30 | `docs` updated, `tests` added node 18 | +| 5.11.15 | 2022-05-11 | `audio()` fix typescript typings | +| 5.11.14 | 2022-04-22 | `netforkInterfaces()` node 18 compatibility | +| 5.11.13 | 2022-04-21 | `networkStats()` improved scanning (mac OS) | +| 5.11.12 | 2022-04-19 | `battery()` improved M1 support (mac OS) | +| 5.11.11 | 2022-04-19 | `networkInterfaces()` improved parsing (windows) | +| 5.11.10 | 2022-04-18 | updated docs | +| 5.11.9 | 2022-03-20 | `diskLayout()` fixed issue smartStatus (linux) | +| 5.11.8 | 2022-03-11 | `cpu()` improved socket detection by name (windows) | +| 5.11.7 | 2022-03-10 | `cpuTemperature()` fix NaN issue (windows) | +| 5.11.6 | 2022-03-01 | typescript typings fix `diskLayout()` | +| 5.11.5 | 2022-02-26 | fixed parsing issues (windows) | +| 5.11.4 | 2022-02-20 | `powerShell` execution policy fix (windows) | +| 5.11.3 | 2022-02-14 | updated docs | +| 5.11.2 | 2022-02-05 | `powerShell` speed improvements (windows) | +| 5.11.1 | 2022-02-03 | `osInfo()` fixed issue fqdn (openBSD) | +| 5.11.0 | 2022-01-26 | `networkInterfaces()` added default property and parameter | +| 5.10.7 | 2022-01-21 | `processes()` reverted PR #560 (windows) | +| 5.10.6 | 2022-01-21 | `usb()` fix `users()` fix tty (windows) | +| 5.10.5 | 2022-01-19 | `processes()` fix calculation (windows) | +| 5.10.4 | 2022-01-18 | `battery()` fix detection (windows) | +| 5.10.3 | 2022-01-17 | `system()` improved virtual detection (windows) | +| 5.10.2 | 2022-01-17 | `uuid()` fix results (windows) | +| 5.10.1 | 2022-01-17 | `cpu()` fix manufacturer | +| 5.10.0 | 2022-01-09 | basic `Android` support | +| 5.9.18 | 2022-01-08 | `wifiConections()` fix empty issue (mac OS) | +| 5.9.17 | 2021-12-07 | `wifiNetworks()` fix empty issue (mac OS) | +| 5.9.16 | 2021-12-05 | `wifiNetworks()` adaption for Apple silicon (mac OS) | +| 5.9.15 | 2021-11-19 | `cpuCache()` fix (windows) | +| 5.9.14 | 2021-11-17 | `versions()` python 2 monterey (deprecated warning) fix (mac OS) | +| 5.9.13 | 2021-11-14 | `time()` timezone name, `l1 cache` improvements | +| 5.9.12 | 2021-11-13 | `users()` fix data check (windows) | +| 5.9.11 | 2021-11-12 | `fsStats()` fix null result (bsd) | +| 5.9.10 | 2021-11-11 | `powerShell` transition from `wmic` (windows) | +| 5.9.9 | 2021-10-27 | `graphics()` fixed screen resolution issue (windows) | +| 5.9.8 | 2021-10-22 | `wmic` fixed code page issues (windows) | +| 5.9.7 | 2021-10-09 | `battery()` fixed typo seperator (windows) | +| 5.9.6 | 2021-10-08 | `system()` fixed virtual on WSL2 | +| 5.9.5 | 2021-10-08 | `battery()` fixed isCharging (windows) | +| 5.9.4 | 2021-09-23 | `processes()` fixed memVsz, Memrss (macOS M1) | +| 5.9.3 | 2021-09-17 | `cpuTemperature()` improved tdie detection (linux) | +| 5.9.2 | 2021-09-16 | `graohics()` (macOS), `memLayout()` (win) improvements | +| 5.9.1 | 2021-09-15 | `diskLayout()` fix size (macOS) | +| 5.9.0 | 2021-09-15 | `graphics()` new XML parser, added properties (macOS) | +| 5.8.9 | 2021-09-13 | `battery()` fix linux | +| 5.8.8 | 2021-09-11 | `wifiConnections()`, `wifiInterfaces()`, `wifiNetworks()` fix windows | +| 5.8.7 | 2021-09-01 | `processes()` fix alpine linux | +| 5.8.6 | 2021-08-26 | `cpu()` improved detection (win) | +| 5.8.5 | 2021-08-26 | `osInfo()` hyper-v detection fix (win VM) | +| 5.8.4 | 2021-08-26 | `graphics()` added vendor (macOS) | +| 5.8.3 | 2021-08-26 | `graphics()` fix empty controller (macOS) | +| 5.8.2 | 2021-08-24 | `baseboard()`, `getDefaultNetworkInterface()` fix catch error | +| 5.8.1 | 2021-08-24 | `battery()` fix capacity | +| 5.8.0 | 2021-08-02 | `disksIO()` added waitTime, waitPercent (linux) | +| 5.7.14 | 2021-08-01 | `cpu()` cache calculation fix (linux) | +| 5.7.13 | 2021-07-28 | `osInfo()` fix uefi detection (win) | +| 5.7.12 | 2021-07-27 | `osInfo()` fix uefi detection (win) | +| 5.7.11 | 2021-07-27 | typescript typings fix `bluetoothDevices()` | +| 5.7.10 | 2021-07-26 | typescript typings fix `processLoad()` | +| 5.7.9 | 2021-07-25 | `uuid()` better regedit path detection (win) | +| 5.7.8 | 2021-07-16 | `battery()` fix designedCapacity (win, linux), fix catch error | +| 5.7.7 | 2021-06-15 | `graphics()` improved detection screen resolution (macOS) | +| 5.7.6 | 2021-06-09 | `battery()` improved detection (additional batteries windows) | +| 5.7.5 | 2021-06-08 | `memLayout()` improved clock speed detection (windows) | +| 5.7.4 | 2021-05-27 | `osInfo()`, `cpu()` improved hypervisor, virtualization detection (windows) | +| 5.7.3 | 2021-05-26 | `osInfo()` improved UEFI detection (windows) | +| 5.7.2 | 2021-05-24 | `system()` virtual detection improvement | +| 5.7.1 | 2021-05-20 | `graphics()` Check for qwMemorySize on Windows | +| 5.7.0 | 2021-05-20 | `diskLayout()` added smartdata for win (if istalled) | +| 5.6.22 | 2021-05-18 | `diskLayout()` fixed to small buffer smartdata (linux) | +| 5.6.21 | 2021-05-14 | `graphics()` fixed dual gpu issue (macOS) | +| 5.6.20 | 2021-05-07 | `system()` fixed vm detection (linux) | +| 5.6.19 | 2021-05-06 | `services()` modified service listing (linux) | +| 5.6.18 | 2021-05-06 | `processes()` fixed Windows mem bug (naming conform to all platforms) | +| 5.6.17 | 2021-05-05 | `networkInterfaces()` fixed Windows XP bug (WMIC NetEnabled) | +| 5.6.16 | 2021-05-05 | `graphics()` fixed compare bug | +| 5.6.15 | 2021-05-05 | restored Node 4.x compatibility | +| 5.6.14 | 2021-05-04 | `networkGatewayDefault()` macOS improvement for active VPN | +| 5.6.13 | 2021-05-04 | `dockerImagesInspect()`, `dockerContainerInspect()`, `dockerContainerProcesses()` security updates | +| 5.6.12 | 2021-04-09 | `networkinterfaces()` windows detection fix | +| 5.6.11 | 2021-04-08 | `versions()` parameter sanitation | +| 5.6.10 | 2021-03-29 | `vboxInfo()` fixed windows bug | +| 5.6.9 | 2021-03-28 | `graphics()` fixed nvidia-smi compare bug | +| 5.6.8 | 2021-03-22 | typescript definitions fix `wifiInterfces()`, `wifiConnections()` | +| 5.6.7 | 2021-03-16 | `inetLatency()` `ineChecksite()` schema validation | +| 5.6.6 | 2021-03-16 | code refactoring | +| 5.6.5 | 2021-03-15 | `cpuTemperature()` fix (linux) | +| 5.6.4 | 2021-03-15 | `sanitizeShellString()` and other security improvements | +| 5.6.3 | 2021-03-14 | `sanitizeShellString()` improvement | +| 5.6.2 | 2021-03-10 | `networkInterfaces()` `cpu()` improvement (win) | +| 5.6.1 | 2021-03-03 | `get()` fixed issue boolean parameters | +| 5.6.0 | 2021-03-03 | `cpuTemperature()` added socket and chipset temp (linux) | +| 5.5.0 | 2021-02-25 | `dockerVolumes()` added | +| 5.4.0 | 2021-02-24 | `dockerImages()` added | +| 5.3.5 | 2021-02-23 | `dockerContainerStats()` fixed parameter * | +| 5.3.4 | 2021-02-20 | `sanitizeShellString()` optimized strict sanitation | +| 5.3.3 | 2021-02-15 | `dockerContainerStats()` fixed ID splitting | +| 5.3.2 | 2021-02-15 | `inetLatency()` `ineChecksite()` fixed possible security issue (file://) | +| 5.3.1 | 2021-02-14 | `inetLatency()` `ineChecksite()` `servcices()` `processes()` fixed possible security issue (arrays) | +| 5.3.0 | 2021-02-12 | `osInfo()` added remoteSession (windows) | +| 5.2.7 | 2021-02-12 | `fsStats()`, `blockDevices()` improved linux | +| 5.2.6 | 2021-02-12 | `inetLatency()` fixed possible DOS intrusion | +| 5.2.5 | 2021-02-11 | `processes()` fixed truncated params (linux) | +| 5.2.4 | 2021-02-11 | `currentLoad()` fixed issue | +| 5.2.3 | 2021-02-11 | `diskLayout()` added USB drives (mac OS) | +| 5.2.2 | 2021-02-11 | code cleanup, updated docs | +| 5.2.1 | 2021-02-10 | `system()` fixed issue virtual detect (linux) | +| 5.2.0 | 2021-02-10 | `wifiInterfces()` and `wifiConnections()` added | +| 5.1.2 | 2021-02-08 | fixed node 4 compatibility issue | +| 5.1.1 | 2021-02-08 | `baseboard()` added memMax, memSlots, smaller improvements Raspberry | +| 5.1.0 | 2021-02-08 | `memLayout()` added ECC flag, `bios()` added language, features (linux) | +| 5.0.11 | 2021-02-07 | `fsSize()` fixed windows WSL issue | +| 5.0.10 | 2021-02-06 | `getDynamicData()` fixed windows WSL issue | +| 5.0.9 | 2021-02-02 | `fsSize()` fixed parsing edge case issue mac OS | +| 5.0.8 | 2021-01-30 | typescript typings fix cpuCurrentSpeed | +| 5.0.7 | 2021-01-29 | `fsSize()` available fixed windows and typescript typings | +| 5.0.6 | 2021-01-28 | `osinfo()` added hypervisor (win only) | +| 5.0.5 | 2021-01-27 | `networkInterfaces()` type detection improved (win) | +| 5.0.4 | 2021-01-27 | `cpu()` improved manufacturer decoding (linux) | +| 5.0.3 | 2021-01-27 | `cpu()` fix virtualization, `wifi()` fix raspberry | +| 5.0.2 | 2021-01-26 | updated typescript typings | +| 5.0.1 | 2021-01-26 | code cleanup | +| 5.0.0 | 2021-01-26 | new major version 5 release | +| 4.34.9 | 2021-01-25 | `graphics()` virtual controller vram value fix (win) | +| 4.34.8 | 2021-01-25 | `graphics()` controller subDeviceId fix (win) | +| 4.34.7 | 2021-01-13 | `services()` improved service discovery (linux) | +| 4.34.6 | 2021-01-12 | `networkInterfaces()` catch errors | +| 4.34.5 | 2021-01-07 | `networkInterfaceDefault()` fixed CMD popup (windows) | +| 4.34.4 | 2021-01-06 | `system()` fixed vitrual catch error | +| 4.34.3 | 2021-01-06 | `graphics()` fixed non nvidia-smi controllers (win) | +| 4.34.2 | 2021-01-05 | `system()` uuid lowercase as in uuid() | +| 4.34.1 | 2021-01-05 | `graphics()` nvidia-smi detection improved | +| 4.34.0 | 2021-01-05 | `system()` added flag virtual | +| 4.33.8 | 2021-01-04 | `virtualBox()` fix issue windows host | +| 4.33.7 | 2021-01-04 | `graphics()` nvidia-smi detection improved | +| 4.33.6 | 2021-01-02 | `dockerContainerStats()` fix `tx` changed to `wx` as documented | +| 4.33.5 | 2020-12-30 | `graphics()` vram (nvidia-smi) | +| 4.33.4 | 2020-12-28 | `typescript` typings fix | +| 4.33.3 | 2020-12-27 | `graphics()` updated docs | +| 4.33.2 | 2020-12-27 | `graphics()` fixed issue (nvidia-smi) | +| 4.33.1 | 2020-12-22 | `versions()` fixed issue (mac OS) | +| 4.33.0 | 2020-12-21 | `graphics()` nvidia-smi support (linux, windows) | +| 4.32.0 | 2020-12-14 | `graphics()` clinfo support (linux) | +| 4.31.2 | 2020-12-14 | `graphics()` Windows 7 Graphics Fixes (Multi Monitor) | +| 4.31.1 | 2020-12-11 | `inetLatency()` command injection vulnaribility fix | +| 4.31.0 | 2020-12-06 | `osInfo()` added FQDN | +| 4.30.11 | 2020-12-02 | `cpu()` bug fix speed parsing | +| 4.30.10 | 2020-12-01 | `cpu()` handled speed parsing error (Apple Silicon) | +| 4.30.9 | 2020-12-01 | `cpu()` corrected processor names (Raspberry Pi) | +| 4.30.8 | 2020-11-30 | `fsSize()` catch error (mac OS) | +| 4.30.7 | 2020-11-29 | `cpuTemperature()` rewrite hwmon parsing | +| 4.30.6 | 2020-11-27 | wmic added default windows path (windows) | +| 4.30.5 | 2020-11-26 | adapted security update (prototype pollution prevention) | +| 4.30.4 | 2020-11-25 | reverted Object.freeze because it broke some projects | +| 4.30.3 | 2020-11-25 | security update (prototype pollution prevention) Object.freeze | +| 4.30.2 | 2020-11-25 | security update (prototype pollution prevention) | +| 4.30.1 | 2020-11-12 | updated docs | +| 4.30.0 | 2020-11-12 | `get()` possibility to provide params | +| 4.29.3 | 2020-11-09 | `blockdevices()` catch errors adapted for just one line | +| 4.29.2 | 2020-11-09 | `blockdevices()` catch errors | +| 4.29.1 | 2020-11-08 | `cpu()`, `system()` better parsing Raspberry Pi revision codes | +| 4.29.0 | 2020-11-08 | `fsSize()` correct fs type detection macOS (HFS, APFS, NFS) | +| 4.28.1 | 2020-11-05 | code cleanup, removing debug console.log() | +| 4.28.0 | 2020-11-04 | `graphics()` added deviceName (windows) | +| 4.27.11 | 2020-10-26 | `inetChecksite()` fixed vulnerability: command injection | +| 4.27.10 | 2020-10-16 | `dockerContainers()` resolved hanging issue | +| 4.27.9 | 2020-10-13 | `networkInterfaces()` loopback internal detection (windows) | +| 4.27.8 | 2020-10-08 | windows codepages partial fix | +| 4.27.7 | 2020-10-05 | updated typescript typings, minor fixes | +| 4.27.6 | 2020-10-02 | `get()` fixed when results are in arrays | +| 4.27.5 | 2020-09-18 | `cpuTemperature()` fix try catch (linux) | +| 4.27.4 | 2020-09-16 | `networkInterfaceDefault()` optimization (macOS) | +| 4.27.3 | 2020-08-26 | updated typescript typings | +| 4.27.2 | 2020-08-26 | fixed issue breaking node v4 compatibility | +| 4.27.1 | 2020-08-25 | `networkStats()` fixed packages dropped (linux) | +| 4.27.0 | 2020-08-24 | `observe()` added function to observe/watch system parameters | +| 4.26.12 | 2020-08-21 | `versions()` fixed issue windows | +| 4.26.11 | 2020-08-20 | `cpuTemperature()` fixed issue windows | +| 4.26.10 | 2020-07-16 | `networkStats()` fixed issue blocking windows | +| 4.26.9 | 2020-06-06 | `networkStats()` fixed comparison issue windows | +| 4.26.8 | 2020-06-06 | `networkInterfaces()` fixed caching issue | +| 4.26.7 | 2020-06-06 | `cpuTemperature()` fixed raspberry pi sensors issue | +| 4.26.6 | 2020-06-03 | `diskLayout()` fixed issue linux | +| 4.26.5 | 2020-05-27 | `cpuTemperature()` optimizes scanning AMD linux sensors | +| 4.26.4 | 2020-05-21 | `cpuTemperature()` fix (BSD), code cleanup | +| 4.26.3 | 2020-05-20 | updated documentation (macOS temperature) | +| 4.26.2 | 2020-05-19 | `processes()` memory leak fix | +| 4.26.1 | 2020-05-13 | code cleanup | +| 4.26.0 | 2020-05-12 | `diskLayout()` added full smart data where supported | +| 4.25.2 | 2020-05-12 | `getDynamicData()` added wifiNetworks() | +| 4.25.1 | 2020-05-07 | `get()` minor bounds test fix, updated docs | +| 4.25.0 | 2020-05-07 | `get()` added function to get partial system info | +| 4.24.2 | 2020-05-06 | `cpu()` fix (BSD), `networkStats()` fix BSD | +| 4.24.1 | 2020-05-03 | `processes()` fix parsing command and params | +| 4.24.0 | 2020-05-01 | `networkInterfaces()` added subnet mask ip4 and ip6 | +| 4.23.10 | 2020-05-01 | `cpuTemperature()` optimized parsing linux | +| 4.23.9 | 2020-04-29 | `currentLoad()` workaround for no os.cpus info | +| 4.23.8 | 2020-04-26 | `getMacAddresses()` fix added try catch | +| 4.23.7 | 2020-04-26 | `getCpuCurrentSpeedSync()` workaround fix | +| 4.23.6 | 2020-04-25 | `networkGatewayDefault()` bug fix no interfaces | +| 4.23.5 | 2020-04-20 | updated docs | +| 4.23.4 | 2020-04-20 | `users()` optimized parseDateTime function | +| 4.23.3 | 2020-04-09 | refactored to avoid `cat` | +| 4.23.2 | 2020-04-08 | `cpu()` fixed getting base frequency for AMD Ryzen | +| 4.23.1 | 2020-03-11 | `diskLayout()` optimized detection linux | +| 4.23.0 | 2020-03-08 | `versions()` added param to specify which program/lib versions to detect | +| 4.22.7 | 2020-03-08 | `diskLayout()` fixed linux | +| 4.22.6 | 2020-03-08 | `network()` fixed DHCP linux | +| 4.22.5 | 2020-03-04 | `graphics()` fixed vram macOS | +| 4.22.4 | 2020-03-01 | `versions()` added dotnet, typings fix | +| 4.22.3 | 2020-02-20 | `memLayout()` code cleanup | +| 4.22.2 | 2020-02-19 | `memLayout()` raspberry PI mem voltage fix | +| 4.22.1 | 2020-02-17 | `memLayout()` raspberry PI support | +| 4.22.0 | 2020-02-17 | `services()` added pids (windows) | +| 4.21.3 | 2020-02-16 | `versions()` fixed mysql version (macOS) | +| 4.21.2 | 2020-02-11 | `networkConnections()` fixed linux (debian) issue | +| 4.21.1 | 2020-01-31 | `networkGatewayDefault()` fixed windows 7 issue | +| 4.21.0 | 2020-01-27 | `npx` compatibility | +| 4.20.1 | 2020-01-26 | `battery()` code refactoring, cleanup, updated docs | +| 4.20.1 | 2020-01-26 | `battery()` code refactoring, cleanup, updated docs | +| 4.20.0 | 2020-01-25 | `battery()` added designCapacity, voltage, unit | +| 4.19.4 | 2020-01-24 | `mem()` prevent log messages, `memgetDefaultNetworkInterface()` catch errors | +| 4.19.3 | 2020-01-24 | `memLayout()` bank info fix macOS | +| 4.19.2 | 2020-01-19 | `cpu()` muli-processor fix windows | +| 4.19.1 | 2020-01-14 | `osInfo()` uefi fix windows | +| 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 | +| 4.18.0 | 2020-01-07 | `networkInterfaces()` added dhcp for mac os, added dhcp linux fallback | +| 4.17.3 | 2020-01-05 | code cleanup | +| 4.17.2 | 2020-01-05 | `cpu().speed` AMD base frequency and fix (0.00) | +| 4.17.1 | 2020-01-04 | `fsSize()` alpine linux support | +| 4.17.0 | 2020-01-04 | `networkInterfaces()` added dhcp, dnsSuffix, ieee8021xAuth, ieee8021xState | +| 4.16.1 | 2020-01-02 | `networkInterfaces()` bug fix (osx) | +| 4.16.0 | 2019-11-27 | `networkGatewayDefault()` added | +| 4.15.3 | 2019-11-10 | type definitions and docs update | +| 4.15.2 | 2019-11-10 | `mem()` improved calculation linux | +| 4.15.1 | 2019-11-10 | `diskLayout()` added support for older lsblk versions (linux) | +| 4.15.0 | 2019-11-10 | `cpu()` added governor (linux) | +| 4.14.17 | 2019-10-22 | `graphics()` improved display detection (windows) | +| 4.14.16 | 2019-10-19 | `graphics()` improved display detection (windows) | +| 4.14.15 | 2019-10-18 | `graphics()` fallback display detection (windows) | +| 4.14.14 | 2019-10-18 | `powerShell()` fixed error handling (windows) | +| 4.14.13 | 2019-10-15 | `networkConnections()` fixed parsing (linux) | +| 4.14.12 | 2019-10-14 | `getCpu()` fixed multi socket detection (linux) | +| 4.14.11 | 2019-10-01 | type definitions fix dockerInfo | +| 4.14.10 | 2019-10-01 | type definitions fix memLayout | +| 4.14.9 | 2019-10-01 | `processLoad()` fix windows | +| 4.14.8 | 2019-08-22 | `parseDateTime()` fix coding error | +| 4.14.7 | 2019-08-22 | `battery()` windows acconnected improvement | +| 4.14.6 | 2019-08-22 | `users()` improved date time parsing | +| 4.14.5 | 2019-08-22 | `fsSize()` fix windows result as number | +| 4.14.4 | 2019-07-20 | `verions()` fix pip, pip3 | +| 4.14.3 | 2019-07-09 | `system()` sku fix windows | +| 4.14.2 | 2019-07-07 | `networkConnections()` pid linux fix NAN | +| 4.14.1 | 2019-07-04 | `graphics()` added display position windows | +| 4.14.0 | 2019-07-03 | `processes()` added process path and params | +| 4.13.2 | 2019-07-02 | `versions()` fix getting all versions | +| 4.13.1 | 2019-07-01 | `versions()` gcc fix macos | +| 4.13.0 | 2019-07-01 | `networkConnections()` added PID and process | +| 4.12.2 | 2019-06-24 | `system()` added Raspberry PI 4 detection | +| 4.12.1 | 2019-06-24 | `networkInterface()` virtual interfaces macos, `networkInterfaceDefault()` | +| 4.12.0 | 2019-06-21 | `networkInterface()` added property virtual | +| 4.11.6 | 2019-06-19 | `util` bug fix | +| 4.11.5 | 2019-06-19 | `dockerAll()` bug fix | +| 4.11.4 | 2019-06-17 | type definitions bug fix | +| 4.11.3 | 2019-06-16 | `graphics()` optimization windows | +| 4.11.2 | 2019-06-16 | `wifiNetworks()` bug fixes | +| 4.11.1 | 2019-06-15 | updated docs | +| 4.11.0 | 2019-06-14 | `wifiNetworks()` added available wifi networks | +| 4.10.0 | 2019-06-14 | `graphics()` windows multiple display support | +| 4.9.2 | 2019-06-12 | type definitions bug fix | +| 4.9.1 | 2019-06-11 | `networkStats()` bug fix windows | +| 4.9.0 | 2019-06-03 | `graphics()` added vendor, refresh rate, current res | +| 4.8.4 | 2019-06-03 | `vboxInfo()` fixed call parameters | +| 4.8.3 | 2019-06-01 | `vboxInfo()` added stoppedSince, started, stopped | +| 4.8.2 | 2019-05-31 | `dockerInfo()` changed property naming style | +| 4.8.1 | 2019-05-31 | updated docs | +| 4.8.0 | 2019-05-31 | added `vboxInfo()` detailed virtual box info | +| 4.7.3 | 2019-05-30 | updated typescript typings | +| 4.7.2 | 2019-05-30 | `versions()` added virtualbox, java popup fix macos | +| 4.7.1 | 2019-05-29 | `memLayout()` fix macos mojave | +| 4.7.0 | 2019-05-29 | partial netBSD support | +| 4.6.1 | 2019-05-29 | get wmic path - fic windows | +| 4.6.0 | 2019-05-27 | added `dockerInfo()` | +| 4.5.1 | 2019-05-17 | updated docs | +| 4.5.0 | 2019-05-17 | `fsOpenFiles()` added open file descriptor count | +| 4.4.1 | 2019-05-11 | updated docs | +| 4.4.0 | 2019-05-11 | `dockerContainers()` added started, finished time | +| 4.3.0 | 2019-05-09 | `dockerContainers()` `dockerStats()` added restartCount | +| 4.2.1 | 2019-05-09 | `networkInterfaceDefault()` time delay fix (linux) | +| 4.2.0 | 2019-05-09 | `osInfo()` extended service pack version (windows) | +| 4.1.8 | 2019-05-09 | `graphics()` resolve on error (windows) | +| 4.1.7 | 2019-05-09 | `users()` parsing fix (windows) | +| 4.1.6 | 2019-04-24 | `memory()` swap used fix (linux) | +| 4.1.5 | 2019-04-19 | refactored `wmic` calls to work also on Windows XP | +| 4.1.4 | 2019-03-26 | `networkInterfaces()` speed bug (windows) | +| 4.1.3 | 2019-03-24 | wmic path detection (windows) | +| 4.1.2 | 2019-03-23 | updated docs | +| 4.1.1 | 2019-03-13 | updated typescript typings | +| 4.1.0 | 2019-03-13 | `versions()` added pip, pip3 | +| 4.0.16 | 2019-03-12 | Happy birthday - 5th aniversary | +| 4.0.15 | 2019-03-02 | `versions()` added java, python3, optimized gcc | +| 4.0.14 | 2019-03-01 | updated typescript typings | +| 4.0.13 | 2019-03-01 | `diskLayout()` added device (/dev/sda...) linux, mac | +| 4.0.12 | 2019-03-01 | `diskLayout()` linux rewritten - better detection | +| 4.0.11 | 2019-02-23 | `users()` fix windows (time), added @ts-check | +| 4.0.10 | 2019-02-10 | `networkInterfaceDefault()` fix windows | +| 4.0.9 | 2019-02-08 | `cpu()` fix, code cleanup | +| 4.0.8 | 2019-02-05 | `inetLatency()` Windows fix parse chinese output | +| 4.0.7 | 2019-02-05 | `inetLatency()` Windows fix | +| 4.0.6 | 2019-02-04 | powershell catch error | +| 4.0.5 | 2019-02-03 | updated docs | +| 4.0.4 | 2019-02-03 | code cleanup, updated docs | +| 4.0.3 | 2019-02-03 | `networkInterfaces(), chassis()` fixed two more issues | +| 4.0.2 | 2019-02-03 | `networkInterfaces(), chassis()` fixed smaller issues | +| 4.0.1 | 2019-02-02 | updated docs | +| 4.0.0 | 2019-02-02 | new major version | +| 3.54.0 | 2018-12-30 | added TypeScript type definitions | +| 3.53.1 | 2018-12-29 | `versions()` bug fix nginx version | +| 3.53.0 | 2018-12-29 | `versions()` added perl, python, gcc | +| 3.52.7 | 2018-12-29 | `versions()` bug fix macOS detection | +| 3.52.6 | 2018-12-28 | `versions()` bug fix macOS | +| 3.52.5 | 2018-12-28 | preparing automated tests, travis-ci integration, added dev-dependencies | +| 3.52.4 | 2018-12-27 | `graphics().controllers` bugfix linux | +| 3.52.3 | 2018-12-27 | `os().codepage` bugfix | +| 3.52.2 | 2018-12-17 | code cleanup | +| 3.52.1 | 2018-12-17 | `inetChecksite()` bugfix windows | +| 3.52.0 | 2018-12-15 | `cpu()` added physical cores, processors, socket type | +| 3.51.4 | 2018-12-05 | `versions()` bugfix, optimization postgres | +| 3.51.3 | 2018-11-27 | `mem()` refactoring parsing linux, code cleanup | +| 3.51.2 | 2018-11-26 | `mem()` bugfix parsing `free` output linux | +| 3.51.1 | 2018-11-26 | `processLoad()` bugfix windows | +| 3.51.0 | 2018-11-25 | `processLoad()` added for windows | +| 3.50.3 | 2018-11-25 | `processLoad()`, `services()` fixed cpu data (linux) | +| 3.50.2 | 2018-11-23 | network mac adresses: ip support fix | +| 3.50.1 | 2018-11-23 | `services()` added possibility to specify ALL services "*" for win | +| 3.50.0 | 2018-11-23 | `services()` added possibility to specify ALL services "*" for linux | +| 3.49.4 | 2018-11-21 | `battery()` timeremaining optimization (linux) thanks to Jorai Rijsdijk | +| 3.49.3 | 2018-11-20 | `memLayout()` optimized parsing (win) | +| 3.49.2 | 2018-11-19 | code cleanup | +| 3.49.1 | 2018-11-19 | `cpu().brand` removed extra spaces, tabs | +| 3.49.0 | 2018-11-19 | added system `uuid()` (os specific), `versions()` added postgresql | +| 3.48.4 | 2018-11-18 | windows: garbled output because of codepage | +| 3.48.3 | 2018-11-18 | `dockerContainerStats()` fixed issue `cpu_percent` win | +| 3.48.2 | 2018-11-18 | `dockerContainerStats()` fixed issue `cpu_percent`, win exec | +| 3.48.1 | 2018-11-17 | `docker...()` fixed issue parsing docker socket JSON | +| 3.48.0 | 2018-11-17 | `diskLayout()` better interface detection (WIN), `osInfo()` added build, serial | +| 3.47.0 | 2018-11-06 | `versions()` added docker, postfix | +| 3.46.0 | 2018-11-05 | fixed issue `versions()`, added system openssl version | +| 3.45.10 | 2018-11-03 | fixed issue `battery()`, modified `package.json` - files | +| 3.45.9 | 2018-10-22 | fixed node 4 incompatibility | +| 3.45.8 | 2018-10-22 | `system()` fix Raspberry Pi detection | +| 3.45.7 | 2018-10-05 | fixed typos | +| 3.45.6 | 2018-09-12 | `mem()` bug parsing linux in other languages | +| 3.45.5 | 2018-09-07 | `diskLayout()` tiny bug S.M.A.R.T status windows | +| 3.45.4 | 2018-09-06 | added icon to README.md | +| 3.45.3 | 2018-09-06 | `diskLayout()` optimized media type detection (HD, SSD) on Windows | +| 3.45.2 | 2018-09-05 | updated imags shields icons | +| 3.45.1 | 2018-09-05 | updated documentation | +| 3.45.0 | 2018-09-04 | `diskLayout()` added smartStatus | +| 3.44.2 | 2018-08-28 | added code quality badges | +| 3.44.1 | 2018-08-28 | code cleanup | +| 3.44.0 | 2018-08-25 | `battery()` bugfix & added type, model, manufacturer, serial | +| 3.43.0 | 2018-08-25 | `cpuCurrentspeed()` added cpu speed for all cores | +| 3.42.10 | 2018-08-25 | `processes()` optimized start time parsing | +| 3.42.9 | 2018-08-08 | `cpuTemperature()` optimized parsing | +| 3.42.8 | 2018-08-03 | updated docs | +| 3.42.7 | 2018-08-03 | `processes()` optimized parsing ps name | +| 3.42.6 | 2018-08-03 | `processes()` bugfix parsing ps linux | +| 3.42.5 | 2018-08-03 | `processes()` bugfix parsing ps linux | +| 3.42.4 | 2018-07-09 | `cpuTemperature()` bugfix parsing negative values | +| 3.42.3 | 2018-07-05 | `services()` bugfix not finding services with capital letters | +| 3.42.2 | 2018-07-03 | `users()` optimized results if lack of permissions | +| 3.42.1 | 2018-07-03 | `versions()` bugfix git version macOS | +| 3.42.0 | 2018-06-01 | `processes()` added parent process PID | +| 3.41.4 | 2018-05-28 | windows exec WMIC path detection (windows) in try catch | +| 3.41.3 | 2018-05-13 | improved SunOS support `getStaticData()`, `getDynamicData()` | +| 3.41.2 | 2018-05-13 | bugfix `system()` and `flags()` Raspberry Pi | +| 3.41.1 | 2018-05-11 | updated docs | +| 3.41.0 | 2018-05-11 | `system()` Raspberry Pi bugfix and extended detection, added partial `SunOS` support | +| 3.40.1 | 2018-05-10 | bugfix `system().sku` (windows) | +| 3.40.0 | 2018-04-29 | extended `versions()` (php, redis, mongodb) | +| 3.39.0 | 2018-04-29 | added `versions().mysql` and `versions().nginx`, starting `SunOS` support (untested) | +| 3.38.0 | 2018-04-06 | added `battery().acconnected` | +| 3.37.12 | 2018-04-05 | another optimization `battery().ischarging` for macOS | +| 3.37.11 | 2018-04-05 | another optimization `battery().ischarging` for macOS | +| 3.37.10 | 2018-04-05 | `battery().ischarging` optimized for macOS | +| 3.37.9 | 2018-04-03 | optimized `processes()`, bugfix `networkInterfaceDefault()` | +| 3.37.8 | 2018-03-25 | optimized `networkDefaultInterface()` detection, fixed network `operstate` MacOS | +| 3.37.7 | 2018-03-13 | celebrating 4th birthday | +| 3.37.6 | 2018-03-12 | updated docs: fixed `diskLayout`and `mamlayout` | +| 3.37.5 | 2018-03-12 | added support for `ip` instead of `ifconfig` | +| 3.37.4 | 2018-02-22 | bugfix windows `processes()`, `disklayout()` | +| 3.37.3 | 2018-02-19 | added windows exec `windowsHide` option | +| 3.37.2 | 2018-02-15 | fixed bug `battery().percent` for macOS | +| 3.37.1 | 2018-02-13 | fixed bug `battery().ischarging` for macOS | +| 3.37.0 | 2018-02-11 | extended FreeBSD support `networkStats()` | +| 3.36.0 | 2018-02-11 | extended FreeBSD support `networkConnections()` | +| 3.35.0 | 2018-02-11 | extended FreeBSD support `processLoad()` | +| 3.34.1 | 2018-02-11 | updated docs | +| 3.34.0 | 2018-02-10 | first partial FreeBSD support | +| 3.33.15 | 2018-01-21 | optimized OSX battery | +| 3.33.14 | 2018-01-17 | bugfix `diskLayout()` (Windows) | +| 3.33.13 | 2018-01-12 | bugfix `memLayout()` (Windows) | +| 3.33.12 | 2017-12-25 | fixed typos | +| 3.33.11 | 2017-12-17 | updated docs | +| 3.33.10 | 2017-12-14 | bugfix WMIC path detection (windows) blockDevice parse (Windows 7) | +| 3.33.9 | 2017-12-14 | bugfix WMIC path detection (windows) not found (Windows) | +| 3.33.8 | 2017-12-02 | bugfix diskLayout().size (OSX) | +| 3.33.7 | 2017-11-28 | bugfix diskLayout().size | +| 3.33.6 | 2017-11-16 | bugfix diskLayout().size | +| 3.33.5 | 2017-11-09 | code cleanup | +| 3.33.4 | 2017-11-09 | bugfix graphics controller win (bytes) | +| 3.33.3 | 2017-11-08 | bugfix cpu speed arm - type | +| 3.33.2 | 2017-11-08 | bugfix cpu speed arm | +| 3.33.1 | 2017-11-07 | improved bios and main board information | +| 3.33.0 | 2017-11-07 | added bios and main board information | +| 3.32.4 | 2017-11-02 | AMD cpu base frequencies table also for windows | +| 3.32.3 | 2017-11-02 | code cleanup, AMD cpu base frequencies table | +| 3.32.2 | 2017-11-01 | bugfix JSON.parse error `blockDevices()` | +| 3.32.1 | 2017-10-23 | updated docs | +| 3.32.0 | 2017-10-23 | extended `memLayout()` - added manufacturer | +| 3.31.4 | 2017-10-21 | updated `README.md` | +| 3.31.3 | 2017-10-21 | bugfix `graphics()`, fixed typo `README.md` | +| 3.31.2 | 2017-10-16 | bugfix `graphics()` vendor and model parsing linux VGA/3D | +| 3.31.1 | 2017-10-16 | bugfix `graphics()` vendor and model parsing linux | +| 3.31.0 | 2017-10-15 | extended windows support `cpuFlags()` (partially) | +| 3.30.6 | 2017-10-05 | updated community profile | +| 3.30.5 | 2017-10-05 | bugfix `users()` - parsing values on windows | +| 3.30.4 | 2017-10-03 | bugfix `cpuTemperature()` - parsing values on windows | +| 3.30.3 | 2017-10-03 | bugfix `cpuTemperature()` - max value on windows | +| 3.30.2 | 2017-09-26 | bugfix `networkInterfaces()` - optimized ip6 address selection | +| 3.30.1 | 2017-09-21 | bugfix/typo `inetChecksite()` | +| 3.30.0 | 2017-09-21 | extended `versions()` (added `yarn`, `gulp`, `grunt`, `tsc`, `git`) | +| 3.29.0 | 2017-09-15 | extended windows support `services()`, optimized `diskLayout()` (OSX), bugfixes | +| 3.28.0 | 2017-09-14 | extended windows support `processes()` | +| 3.27.1 | 2017-09-13 | updated Raspberry version detection `system()` (Pi 3, Zero) | +| 3.27.0 | 2017-09-12 | added raw data to `currentLoad()`, fixed `networkInterfaces()` MAC problem node 8.x | +| 3.26.2 | 2017-09-01 | removed redundant code | +| 3.26.1 | 2017-08-23 | fixed `cpu().speed` windows / AMD, updated docs | +| 3.26.0 | 2017-08-21 | extended `getDynamicData()` (windows), updated docs | +| 3.25.1 | 2017-08-07 | updated docs | +| 3.25.0 | 2017-08-07 | improved windows support `networkStats()`, `cpuCache()`, bug fix `getStaticData()` | +| 3.24.0 | 2017-08-05 | extended windows support `networkStats()`, `networkConnections()` | +| 3.23.7 | 2017-07-11 | bug fix `diskLayout()` | +| 3.23.6 | 2017-07-11 | added `cpuFlags()` to `getStaticData()`, bug fix `graphics()` (Win) | +| 3.23.5 | 2017-06-29 | bug fix `inetChecksite()` | +| 3.23.4 | 2017-06-24 | bug fix `getDynamicData(), getAllData() - mem` | +| 3.23.3 | 2017-06-23 | updated docs | +| 3.23.2 | 2017-06-23 | bug fix `battery` (windows) | +| 3.23.1 | 2017-06-22 | updated docs | +| 3.23.0 | 2017-06-22 | added `memLayout`, `diskLayout`, extended windows support (`inetChecksite`) | +| 3.22.0 | 2017-06-19 | extended windows support (`users`, `inetLatency`) | +| 3.21.0 | 2017-06-18 | extended time (timezone), extended windows support (battery, getAll...) | +| 3.20.1 | 2017-06-17 | updated docs | +| 3.20.0 | 2017-06-16 | extend WIN support (cpu, cpuCache, cpuCurrentspeed, mem, networkInterfaces, docker) | +| 3.19.0 | 2017-06-12 | OSX temperature now an optional dependency | +| 3.18.0 | 2017-05-27 | extended `cpu` info (vendor, family, model, stepping, revision, cache, speedmin/max) | +| 3.17.3 | 2017-04-29 | minor fix (blockDevices data array, Windows) | +| 3.17.2 | 2017-04-24 | minor fix (removed console.log) | +| 3.17.1 | 2017-04-23 | fixed bugs fsSize(win), si.processes (command), si.osinfo(win) | +| 3.17.0 | 2017-02-19 | windows support for some first functions, extended process list (linux) | +| 3.16.0 | 2017-01-19 | blockDevices: added removable attribute + fix | +| 3.15.1 | 2017-01-17 | minor cpuTemperature fix (OSX) | +| 3.15.0 | 2017-01-15 | added cpuTemperature also for OSX | +| 3.14.0 | 2017-01-14 | added currentLoad per cpu/core, cpu cache and cpu flags | +| 3.13.0 | 2016-11-23 | added shell (returns standard shell) | +| 3.12.0 | 2016-11-17 | refactoring and extended currentLoad | +| 3.11.2 | 2016-11-16 | blockDevices: improved for older lsblk versions | +| 3.11.1 | 2016-11-16 | fixed small bug in blockDevices | +| 3.11.0 | 2016-11-15 | blockDevices for OSX and extended blockDevices | +| 3.10.2 | 2016-11-14 | bug fix fsSize on OSX | +| 3.10.1 | 2016-11-14 | optimization fsStats, disksIO, networkStats | +| 3.10.0 | 2016-11-12 | added blockDevices, fixed fsSize, added file system type | +| 3.9.0 | 2016-11-11 | added MAC address to networkInterfaces, fixed currentLoad | +| 3.8.1 | 2016-11-04 | updated docs | +| 3.8.0 | 2016-11-04 | added dockerContainerProcesses | +| 3.7.1 | 2016-11-03 | code refactoring | +| 3.7.0 | 2016-11-02 | extended docker stats, and no longer relying on curl | +| 3.6.0 | 2016-09-14 | added versions (kernel, ssl, node, npm, pm2, ...) | +| 3.5.1 | 2016-09-14 | bugfix graphics info | +| 3.5.0 | 2016-09-14 | added graphics info (controller, display) | +| 3.4.4 | 2016-09-02 | tiny fixes system.model, getDefaultNetworkInterface | +| 3.4.3 | 2016-09-02 | tiny bug fix fsStats, disksIO OSX | +| 3.4.2 | 2016-09-01 | improved default network interface | +| 3.4.1 | 2016-08-30 | updated docs | +| 3.4.0 | 2016-08-30 | rewritten processes current cpu usage | +| 3.3.0 | 2016-08-24 | process list added to processes | +| 3.2.1 | 2016-08-19 | updated docs, improvement system | +| 3.2.0 | 2016-08-19 | added battery information | +| 3.1.1 | 2016-08-18 | improved system and os detection (vm, ...), bugfix disksIO | +| 3.1.0 | 2016-08-18 | added Docker stats | +| 3.0.1 | 2016-08-17 | Bug-Fix disksIO, users, updated docs | +| 3.0.0 | 2016-08-03 | new major version 3.0 | +| 2.0.5 | 2016-03-02 | changed .gitignore | +| 2.0.4 | 2016-02-22 | tiny correction - removed double quotes CPU brand, ... | +| 2.0.3 | 2016-02-22 | optimized cpuCurrentspeed | +| 2.0.2 | 2016-02-22 | added CoreOS identification | +| 2.0.1 | 2016-01-07 | minor patch | +| 2.0.0 | 2016-01-07 | new major version 2.0 | +| 1.0.7 | 2015-11-27 | fixed: si.network_speed() | +| 1.0.6 | 2015-09-17 | fixed: si.users() | +| 1.0.5 | 2015-09-14 | updated dependencies | +| 1.0.4 | 2015-07-18 | updated docs | +| 1.0.3 | 2015-07-18 | bugfix cpu cores | +| 1.0.2 | 2015-07-18 | bugfix cpu_currentspeed, cpu_temperature | +| 1.0.1 | 2015-07-18 | documentation update | +| 1.0.0 | 2015-07-18 | bug-fixes, version bump, published as npm component | +| 0.0.3 | 2014-04-14 | bug-fix (cpu_speed) | +| 0.0.2 | 2014-03-14 | Optimization FS-Speed & CPU current speed | +| 0.0.1 | 2014-03-13 | initial release | ### Major C`hanges - Version 4 diff --git a/README.md b/README.md index 2fdb740..b80bb88 100644 --- a/README.md +++ b/README.md @@ -208,7 +208,7 @@ Full function reference with examples can be found at [https://systeminformation | | governor | X | | | | | e.g. 'powersave' | | | cores | X | X | X | X | | # cores | | | physicalCores | X | X | X | X | | # physical cores | -| | efficiencyCores | X | | X | | | # efficiancy cores | +| | efficiencyCores | X | | X | | | # efficiency cores | | | performanceCores | X | | X | | | # performance cores | | | processors | X | X | X | X | | # processors | | | socket | X | X | | X | | socket type e.g. "LGA1356" | diff --git a/docs/history.html b/docs/history.html index 644483f..25690a3 100644 --- a/docs/history.html +++ b/docs/history.html @@ -57,6 +57,11 @@ + + 5.12.7 + 2022-10-15 + versions() fix postgres + 5.12.6 2022-08-18 diff --git a/docs/index.html b/docs/index.html index 36c95e7..35dc9fd 100644 --- a/docs/index.html +++ b/docs/index.html @@ -170,7 +170,7 @@
systeminformation
 
-
New Version: 5.12.6
+
New Version: 5.12.7
@@ -214,7 +214,7 @@
Downloads last month
-
583
+
585
Dependents
diff --git a/lib/audio.js b/lib/audio.js index babebad..ac57194 100644 --- a/lib/audio.js +++ b/lib/audio.js @@ -16,7 +16,6 @@ const exec = require('child_process').exec; const execSync = require('child_process').execSync; const util = require('./util'); -// const fs = require('fs'); let _platform = process.platform; @@ -79,7 +78,6 @@ function parseLinuxAudioPciMM(lines, audioPCI) { result.id = slotId; result.name = util.getValue(lines, 'SDevice'); - // result.type = util.getValue(lines, 'Class'); result.manufacturer = util.getValue(lines, 'SVendor'); result.revision = util.getValue(lines, 'Rev'); result.driver = pciMatch && pciMatch.length === 1 && pciMatch[0].driver ? pciMatch[0].driver : ''; @@ -128,7 +126,6 @@ function parseDarwinAudio(audioObject, id) { function parseWindowsAudio(lines) { const result = {}; const status = util.getValue(lines, 'StatusInfo', ':'); - // const description = util.getValue(lines, 'Description', ':'); result.id = util.getValue(lines, 'DeviceID', ':'); // PNPDeviceID?? result.name = util.getValue(lines, 'name', ':'); diff --git a/lib/battery.js b/lib/battery.js index 942cb3b..25406ef 100644 --- a/lib/battery.js +++ b/lib/battery.js @@ -51,7 +51,7 @@ function parseWinBatteryPart(lines, designedCapacity, fullChargeCapacity) { result.capacityUnit = 'mWh'; result.percent = parseInt(util.getValue(lines, 'EstimatedChargeRemaining', ':') || 0); result.currentCapacity = parseInt(result.maxCapacity * result.percent / 100); - result.isCharging = (statusValue >= 6 && statusValue <= 9) || statusValue === 11 || (!(statusValue === 3) && !(statusValue === 1) && result.percent < 100); + result.isCharging = (statusValue >= 6 && statusValue <= 9) || statusValue === 11 || ((statusValue !== 3) && (statusValue !== 1) && result.percent < 100); result.acConnected = result.isCharging || statusValue === 2; result.model = util.getValue(lines, 'DeviceID', ':'); } else { @@ -232,7 +232,6 @@ module.exports = function (callback) { workload ).then(data => { if (data) { - // let parts = data.results[0].split(/\n\s*\n/); let parts = data.results[0].split(/\n\s*\n/); let batteries = []; const hasValue = value => /\S/.test(value); diff --git a/lib/cpu.js b/lib/cpu.js index c351f97..1dd4b32 100644 --- a/lib/cpu.js +++ b/lib/cpu.js @@ -617,14 +617,6 @@ function getCpu() { cpuFlags().then(flags => { result.flags = flags; result.virtualization = flags.indexOf('vmx') > -1 || flags.indexOf('svm') > -1; - // if (_windows) { - // try { - // const systeminfo = execSync('systeminfo', util.execOptsWin).toString(); - // result.virtualization = result.virtualization || (systeminfo.indexOf('Virtualization Enabled In Firmware: Yes') !== -1) || (systeminfo.indexOf('Virtualisierung in Firmware aktiviert: Ja') !== -1) || (systeminfo.indexOf('Virtualisation activée dans le microprogramme : Qiu') !== -1); - // } catch (e) { - // util.noop(); - // } - // } if (_darwin) { exec('sysctl machdep.cpu hw.cpufrequency_max hw.cpufrequency_min hw.packages hw.physicalcpu_max hw.ncpu hw.tbfrequency hw.cpufamily hw.cpusubfamily', function (error, stdout) { let lines = stdout.toString().split('\n'); @@ -695,12 +687,9 @@ function getCpu() { result = cpuBrandManufacturer(result); result.vendor = cpuManufacturer(util.getValue(lines, 'vendor id')); - // if (!result.vendor) { result.vendor = util.getValue(lines, 'anbieterkennung'); } result.family = util.getValue(lines, 'cpu family'); - // if (!result.family) { result.family = util.getValue(lines, 'prozessorfamilie'); } result.model = util.getValue(lines, 'model:'); - // if (!result.model) { result.model = util.getValue(lines, 'modell:'); } result.stepping = util.getValue(lines, 'stepping'); result.revision = util.getValue(lines, 'cpu revision'); result.cache.l1d = util.getValue(lines, 'l1d cache'); @@ -713,11 +702,9 @@ function getCpu() { if (result.cache.l3) { result.cache.l3 = parseInt(result.cache.l3) * (result.cache.l3.indexOf('M') !== -1 ? 1024 * 1024 : (result.cache.l3.indexOf('K') !== -1 ? 1024 : 1)); } const threadsPerCore = util.getValue(lines, 'thread(s) per core') || '1'; - // const coresPerSocketInt = parseInt(util.getValue(lines, 'cores(s) per socket') || '1', 10); const processors = util.getValue(lines, 'socket(s)') || '1'; let threadsPerCoreInt = parseInt(threadsPerCore, 10); // threads per code (normally only for performance cores) let processorsInt = parseInt(processors, 10) || 1; // number of sockets / processor units in machine (normally 1) - // const cpus = (parseInt(util.getValue(lines, 'cpu(s)'), 10) || 1); // overall number of cores (e.g. 24 on i12900) const coresPerSocket = parseInt(util.getValue(lines, 'core(s) per socket'), 10); // number of cores (e.g. 16 on i12900) result.physicalCores = coresPerSocket ? coresPerSocket * processorsInt : result.cores / threadsPerCoreInt; result.performanceCores = threadsPerCoreInt > 1 ? result.cores - result.physicalCores : result.cores; @@ -779,7 +766,7 @@ function getCpu() { result.vendor = cpuManufacturer(util.getValue(lines, 'manufacturer')); let sig = util.getValue(lines, 'signature'); sig = sig.split(','); - for (var i = 0; i < sig.length; i++) { + for (let i = 0; i < sig.length; i++) { sig[i] = sig[i].trim(); } result.family = util.getValue(sig, 'Family', ' ', true); @@ -825,7 +812,6 @@ function getCpu() { const workload = []; workload.push(util.powerShell('Get-WmiObject Win32_processor | select Name, Revision, L2CacheSize, L3CacheSize, Manufacturer, MaxClockSpeed, Description, UpgradeMethod, Caption, NumberOfLogicalProcessors, NumberOfCores | fl')); workload.push(util.powerShell('Get-WmiObject Win32_CacheMemory | select CacheType,InstalledSize,Level | fl')); - // workload.push(util.powerShell('Get-ComputerInfo -property "HyperV*"')); workload.push(util.powerShell('(Get-CimInstance Win32_ComputerSystem).HypervisorPresent')); Promise.all( @@ -915,9 +901,6 @@ function getCpu() { result.cache.l1d = parseInt(installedSize, 10) / 2; } }); - // lines = data[2].split('\r\n'); - // result.virtualization = (util.getValue(lines, 'HyperVRequirementVirtualizationFirmwareEnabled').toLowerCase() === 'true'); - // result.virtualization = (util.getValue(lines, 'HyperVisorPresent').toLowerCase() === 'true'); const hyperv = data[2] ? data[2].toString().toLowerCase() : ''; result.virtualization = hyperv.indexOf('true') !== -1; @@ -1067,9 +1050,7 @@ function cpuTemperature(callback) { }); if (result.cores.length > 0) { - // if (result.main === null) { result.main = Math.round(result.cores.reduce((a, b) => a + b, 0) / result.cores.length); - // } let maxtmp = Math.max.apply(Math, result.cores); result.max = (maxtmp > result.main) ? maxtmp : result.main; } @@ -1123,9 +1104,7 @@ function cpuTemperature(callback) { } }); if (result.cores.length > 0) { - // if (result.main === null) { result.main = Math.round(result.cores.reduce((a, b) => a + b, 0) / result.cores.length); - // } let maxtmp = Math.max.apply(Math, result.cores); result.max = (maxtmp > result.main) ? maxtmp : result.main; } else { @@ -1702,8 +1681,6 @@ function getFullLoad() { let totalTicks = totalIdle + totalIrq + totalNice + totalSystem + totalUser; result = (totalTicks - totalIdle) / totalTicks * 100.0; - } else { - result = 0; } resolve(result); }); diff --git a/lib/osinfo.js b/lib/osinfo.js index 35cb704..25c81a3 100644 --- a/lib/osinfo.js +++ b/lib/osinfo.js @@ -331,8 +331,6 @@ function osInfo(callback) { try { const workload = []; workload.push(util.powerShell('Get-WmiObject Win32_OperatingSystem | select Caption,SerialNumber,BuildNumber,ServicePackMajorVersion,ServicePackMinorVersion | fl')); - // workload.push(execPromise('systeminfo', util.execOptsWin)); - // workload.push(util.powerShell('Get-ComputerInfo -property "HyperV*"')); workload.push(util.powerShell('(Get-CimInstance Win32_ComputerSystem).HypervisorPresent')); workload.push(util.powerShell('Add-Type -AssemblyName System.Windows.Forms; [System.Windows.Forms.SystemInformation]::TerminalServerSession')); util.promiseAll( @@ -344,10 +342,6 @@ function osInfo(callback) { result.build = util.getValue(lines, 'BuildNumber', ':').trim(); result.servicepack = util.getValue(lines, 'ServicePackMajorVersion', ':').trim() + '.' + util.getValue(lines, 'ServicePackMinorVersion', ':').trim(); result.codepage = util.getCodepage(); - // const systeminfo = data.results[1] ? data.results[1].toString() : ''; - // result.hypervisor = (systeminfo.indexOf('hypervisor has been detected') !== -1) || (systeminfo.indexOf('ein Hypervisor erkannt') !== -1) || (systeminfo.indexOf('Un hyperviseur a ') !== -1); - // const hyperv = data.results[1] ? data.results[1].toString().split('\r\n') : []; - // result.hypervisor = (util.getValue(hyperv, 'HyperVisorPresent').toLowerCase() === 'true'); const hyperv = data.results[1] ? data.results[1].toString().toLowerCase() : ''; result.hypervisor = hyperv.indexOf('true') !== -1; const term = data.results[2] ? data.results[2].toString() : ''; @@ -740,7 +734,6 @@ function versions(apps, callback) { } functionProcessed(); }); - functionProcessed(); } }); } else { @@ -1003,17 +996,21 @@ function versions(apps, callback) { } } if ({}.hasOwnProperty.call(appsObj.versions, 'dotnet')) { - util.powerShell('gci "HKLM:\\SOFTWARE\\Microsoft\\NET Framework Setup\\NDP" -recurse | gp -name Version,Release -EA 0 | where { $_.PSChildName -match "^(?!S)\\p{L}"} | select PSChildName, Version, Release').then(stdout => { - const lines = stdout.toString().split('\r\n'); - let dotnet = ''; - lines.forEach(line => { - line = line.replace(/ +/g, ' '); - const parts = line.split(' '); - dotnet = dotnet || ((parts[0].toLowerCase().startsWith('client') && parts.length > 2 ? parts[1].trim() : (parts[0].toLowerCase().startsWith('full') && parts.length > 2 ? parts[1].trim() : ''))); + if (_windows) { + util.powerShell('gci "HKLM:\\SOFTWARE\\Microsoft\\NET Framework Setup\\NDP" -recurse | gp -name Version,Release -EA 0 | where { $_.PSChildName -match "^(?!S)\\p{L}"} | select PSChildName, Version, Release').then(stdout => { + const lines = stdout.toString().split('\r\n'); + let dotnet = ''; + lines.forEach(line => { + line = line.replace(/ +/g, ' '); + const parts = line.split(' '); + dotnet = dotnet || (parts[0].toLowerCase().startsWith('client') && parts.length > 2 ? parts[1].trim() : (parts[0].toLowerCase().startsWith('full') && parts.length > 2 ? parts[1].trim() : '')); + }); + appsObj.versions.dotnet = dotnet.trim(); + functionProcessed(); }); - appsObj.versions.dotnet = dotnet.trim(); + } else { functionProcessed(); - }); + } } } catch (e) { if (callback) { callback(appsObj.versions); } @@ -1140,7 +1137,6 @@ echo -n "hardware: "; cat /sys/class/dmi/id/product_uuid 2> /dev/null; echo;`; sysdir = '%windir%\\sysnative\\cmd.exe /c %windir%\\System32'; } util.powerShell('Get-WmiObject Win32_ComputerSystemProduct | select UUID | fl').then((stdout) => { - // let lines = stdout.split('\r\n').filter(line => line.trim() !== '').filter((line, idx) => idx > 0)[0].trim().split(/\s\s+/); let lines = stdout.split('\r\n'); result.hardware = util.getValue(lines, 'uuid', ':').toLowerCase(); exec(`${sysdir}\\reg query "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Cryptography" /v MachineGuid`, util.execOptsWin, function (error, stdout) {