From f4ff1d9faaef945c849e9533942dfb2c893096b4 Mon Sep 17 00:00:00 2001 From: Sebastian Hildebrandt Date: Sat, 31 Jan 2026 16:20:05 +0100 Subject: [PATCH] networkInterfaces() fixed getWindowsIEEE8021x issue (windows) --- CHANGELOG.md | 1 + docs/history.html | 6 ++++++ docs/index.html | 4 ++-- lib/network.js | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 81eeb41..90f6eb6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -90,6 +90,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page. | Version | Date | Comment | | ------- | ---------- | --------------------------------------------------------------------------------------------------- | +| 5.30.7 | 2026-01-31 | `networkInterfaces()` fixed getWindowsIEEE8021x issue (windows) | | 5.30.6 | 2026-01-22 | `graphics()` improved nvidia-smi detection (windows) | | 5.30.5 | 2026-01-16 | `networkInterfaces()` fix uppercase iface names (linux) | | 5.30.4 | 2026-01-15 | `powerShell()` fix UTF8 output (windows) | diff --git a/docs/history.html b/docs/history.html index 721ccda..b09689e 100644 --- a/docs/history.html +++ b/docs/history.html @@ -57,6 +57,12 @@ + + 5.30.7 + + 2026-01-31 + networkInterfaces() fixed getWindowsIEEE8021x issue (windows) + 5.30.6 diff --git a/docs/index.html b/docs/index.html index 3fc5fa0..0546942 100644 --- a/docs/index.html +++ b/docs/index.html @@ -170,7 +170,7 @@
systeminformation
 
-
New Version: 5.30.6
+
New Version: 5.30.7
@@ -212,7 +212,7 @@
Downloads last month
-
941
+
957
Dependents
diff --git a/lib/network.js b/lib/network.js index 2442f00..3fb3a3c 100644 --- a/lib/network.js +++ b/lib/network.js @@ -434,7 +434,7 @@ function getWindowsIEEE8021x(connectionType, iface, ifaces) { i8021x.state = i8021xState.split(':').pop(); i8021x.protocol = i8021xProtocol.split(':').pop(); } - } catch { + } catch (error) { if (error.status === 1 && error.stdout.includes('AutoConfig')) { i8021x.state = 'Disabled'; i8021x.protocol = 'Not defined';