Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/dockerode

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/dockerode - npm Package Compare versions

Comparing version 3.3.8 to 3.3.9

73

dockerode/index.d.ts

@@ -639,22 +639,29 @@ // Type definitions for dockerode 3.3

tx_packets: number;
endpoint_id?: string; // not used on linux
instance_id?: string; // not used on linux
};
}
interface CPUUsage {
percpu_usage: number[];
usage_in_usermode: number;
total_usage: number;
usage_in_kernelmode: number;
}
interface ThrottlingData {
periods: number;
throttled_periods: number;
throttled_time: number;
}
interface CPUStats {
cpu_usage: {
percpu_usage: number[];
usage_in_usermode: number;
total_usage: number;
usage_in_kernelmode: number;
};
cpu_usage: CPUUsage;
system_cpu_usage: number;
online_cpus: number;
throttling_data: {
periods: number;
throttled_periods: number;
throttled_time: number;
};
throttling_data: ThrottlingData;
}
interface MemoryStats {
// Linux Memory Stats
stats: {

@@ -695,12 +702,48 @@ total_pgmajfault: number;

limit: number;
// Windows Memory Stats
commitbytes?: number;
commitpeakbytes?: number;
privateworkingset?: number;
}
interface BlkioStatEntry {
major: number;
minor: number;
op: string;
value: number;
}
interface BlkioStats {
io_service_bytes_recursive: BlkioStatEntry[];
io_serviced_recursive: BlkioStatEntry[];
io_queue_recursive: BlkioStatEntry[];
io_service_time_recursive: BlkioStatEntry[];
io_wait_time_recursive: BlkioStatEntry[];
io_merged_recursive: BlkioStatEntry[];
io_time_recursive: BlkioStatEntry[];
sectors_recursive: BlkioStatEntry[];
}
interface StorageStats {
read_count_normalized?: number;
read_size_bytes?: number;
write_count_normalized?: number;
write_size_bytes?: number;
}
interface PidsStats {
current?: number;
limit?: number;
}
interface ContainerStats {
read: string;
pid_stats: {
current: number;
};
preread: string;
pid_stats?: PidsStats;
blkio_stats?: BlkioStats;
num_procs: number;
storage_stats?: StorageStats;
networks: NetworkStats;
memory_stats: MemoryStats;
blkio_stats: {};
cpu_stats: CPUStats;

@@ -707,0 +750,0 @@ precpu_stats: CPUStats;

{
"name": "@types/dockerode",
"version": "3.3.8",
"version": "3.3.9",
"description": "TypeScript definitions for dockerode",

@@ -71,4 +71,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/dockerode",

},
"typesPublisherContentHash": "4d6a5d2504d703d323b51f04f1ea4b3e54efee1064f83bc58eca1b596181f306",
"typesPublisherContentHash": "f87646b9845c0203d9cad995d39599d5e3a340c766b51bc1b21ed1957d0d6125",
"typeScriptVersion": "3.9"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Tue, 05 Apr 2022 14:01:43 GMT
* Last updated: Wed, 04 May 2022 17:01:39 GMT
* Dependencies: [@types/docker-modem](https://npmjs.com/package/@types/docker-modem), [@types/node](https://npmjs.com/package/@types/node)

@@ -14,0 +14,0 @@ * Global values: none

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc