fix typescript typings

This commit is contained in:
Sebastian Hildebrandt 2022-11-03 13:17:18 +01:00
parent 7a525d006c
commit b06b861bf1
5 changed files with 11 additions and 5 deletions

View File

@ -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

View File

@ -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 |

View File

@ -57,6 +57,11 @@
</tr>
</thead>
<tbody>
<tr>
<th scope="row">5.12.12</th>
<td>2022-11-03</td>
<td>fix typescript typings</td>
</tr>
<tr>
<th scope="row">5.12.11</th>
<td>2022-10-27</td>
@ -2784,4 +2789,4 @@
</body>
</html>
</html>

View File

@ -170,7 +170,7 @@
<img class="logo" src="assets/logo.png" alt="logo">
<div class="title">systeminformation</div>
<div class="subtitle"><span id="typed"></span>&nbsp;</div>
<div class="version">New Version: <span id="version">5.12.11</span></div>
<div class="version">New Version: <span id="version">5.12.12</span></div>
<button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button>
</div>
<div class="down">

4
lib/index.d.ts vendored
View File

@ -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;