From eeed977f19b02b7daa6fa141818056a910345e39 Mon Sep 17 00:00:00 2001 From: Sebastian Hildebrandt Date: Tue, 1 Oct 2019 17:36:13 +0200 Subject: [PATCH] type definition fix dockerInfo --- CHANGELOG.md | 1 + docs/history.html | 5 +++++ docs/index.html | 2 +- lib/index.d.ts | 2 +- 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e983ce..45b0980 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,7 @@ For major (breaking) changes - version 3 and 2 see end of page. | Version | Date | Comment | | -------------- | -------------- | -------- | +| 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 | diff --git a/docs/history.html b/docs/history.html index a28aaa6..fc5914f 100644 --- a/docs/history.html +++ b/docs/history.html @@ -83,6 +83,11 @@ + + 4.14.11 + 2019-10-01 + type definitions bug dockerInfo + 4.14.10 2019-10-01 diff --git a/docs/index.html b/docs/index.html index 995fe4e..dc1f279 100644 --- a/docs/index.html +++ b/docs/index.html @@ -168,7 +168,7 @@
systeminformation
-
Current Version: 4.14.10
+
Current Version: 4.14.11
diff --git a/lib/index.d.ts b/lib/index.d.ts index dd821ee..996fd71 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -654,7 +654,7 @@ export function processes(cb?: (data: Systeminformation.ProcessesData) => any): export function processLoad(processName: string, cb?: (data: Systeminformation.ProcessesProcessLoadData) => any): Promise; export function services(serviceName: string, cb?: (data: Systeminformation.ServicesData[]) => any): Promise; -export function dockerInfo(cb?: (data: Systeminformation.DockerInfoData[]) => any): Promise; +export function dockerInfo(cb?: (data: Systeminformation.DockerInfoData) => any): Promise; export function dockerContainers(all?: boolean, cb?: (data: Systeminformation.DockerContainerData[]) => any): Promise; export function dockerContainerStats(id?: string, cb?: (data: Systeminformation.DockerContainerStatsData[]) => any): Promise; export function dockerContainerProcesses(id?: string, cb?: (data: any) => any): Promise;