From b06b861bf172216428c660c5aadbf9af534e79df Mon Sep 17 00:00:00 2001 From: Sebastian Hildebrandt Date: Thu, 3 Nov 2022 13:17:18 +0100 Subject: [PATCH] fix typescript typings --- .github/workflows/test.yml | 2 +- CHANGELOG.md | 1 + docs/history.html | 7 ++++++- docs/index.html | 2 +- lib/index.d.ts | 4 ++-- 5 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e9e6c88b..a6f53061 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node-version: [10.x, 11.x, 12.x, 13.x, 14.x, 15.x, 16.x, 17.x, 18.x, 19.x] + node-version: [10.x, 12.x, 14.x, 16.x, 17.x, 18.x, 19.x] include: - os: macos-latest node-version: 14.x diff --git a/CHANGELOG.md b/CHANGELOG.md index 32549761..e50b4cb0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -80,6 +80,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page. | Version | Date | Comment | | ------- | ---------- | --------------------------------------------------------------------------------------------------- | +| 5.12.12 | 2022-11-03 | fix typescript typings | | 5.12.11 | 2022-10-27 | `wifiInterfaces()`, `wifiConnections` improved parsing (linux) | | 5.12.10 | 2022-10-25 | `bluetooth()` adapted parsing to accept also new profile (mac OS) | | 5.12.9 | 2022-10-24 | fix typescript typings, code cleanup, docs updated | diff --git a/docs/history.html b/docs/history.html index 3d8e2bd1..4390513b 100644 --- a/docs/history.html +++ b/docs/history.html @@ -57,6 +57,11 @@

Full version history

+ + 5.12.12 + 2022-11-03 + fix typescript typings + 5.12.11 2022-10-27 @@ -2784,4 +2789,4 @@

Full version history

- \ No newline at end of file + diff --git a/docs/index.html b/docs/index.html index c2515ee4..e538a91c 100644 --- a/docs/index.html +++ b/docs/index.html @@ -170,7 +170,7 @@
systeminformation
 
-
New Version: 5.12.11
+
New Version: 5.12.12
diff --git a/lib/index.d.ts b/lib/index.d.ts index b5193972..a35886a2 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -499,8 +499,8 @@ export namespace Systeminformation { operstate: string; type: string; duplex: string; - mtu: number; - speed: number; + mtu: number | null; + speed: number | null; dhcp: boolean; dnsSuffix: string; ieee8021xAuth: string;