@types/autocannon
Advanced tools
Comparing version 4.1.0 to 4.1.1
@@ -22,3 +22,3 @@ // Type definitions for autocannon 4.1 | ||
*/ | ||
socketPath?: string; | ||
socketPath?: string | undefined; | ||
@@ -29,3 +29,3 @@ /** | ||
*/ | ||
connections?: number; | ||
connections?: number | undefined; | ||
@@ -37,3 +37,3 @@ /** | ||
*/ | ||
duration?: number | string; | ||
duration?: number | string | undefined; | ||
@@ -45,3 +45,3 @@ /** | ||
*/ | ||
amount?: number; | ||
amount?: number | undefined; | ||
@@ -52,3 +52,3 @@ /** | ||
*/ | ||
timeout?: number; | ||
timeout?: number | undefined; | ||
@@ -60,3 +60,3 @@ /** | ||
*/ | ||
pipelining?: number; | ||
pipelining?: number | undefined; | ||
@@ -68,3 +68,3 @@ /** | ||
*/ | ||
bailout?: number; | ||
bailout?: number | undefined; | ||
@@ -75,3 +75,3 @@ /** | ||
*/ | ||
method?: Request['method']; | ||
method?: Request['method'] | undefined; | ||
@@ -81,3 +81,3 @@ /** | ||
*/ | ||
title?: string; | ||
title?: string | undefined; | ||
@@ -94,3 +94,3 @@ /** | ||
*/ | ||
body?: Request['body']; | ||
body?: Request['body'] | undefined; | ||
@@ -101,3 +101,3 @@ /** | ||
*/ | ||
headers?: Request['headers']; | ||
headers?: Request['headers'] | undefined; | ||
@@ -112,3 +112,3 @@ /** | ||
*/ | ||
setupClient?: (client: Client) => void; | ||
setupClient?: ((client: Client) => void) | undefined; | ||
@@ -119,3 +119,3 @@ /** | ||
*/ | ||
maxConnectionRequests?: number; | ||
maxConnectionRequests?: number | undefined; | ||
@@ -126,3 +126,3 @@ /** | ||
*/ | ||
maxOverallRequests?: number; | ||
maxOverallRequests?: number | undefined; | ||
@@ -133,3 +133,3 @@ /** | ||
*/ | ||
connectionRate?: number; | ||
connectionRate?: number | undefined; | ||
@@ -141,3 +141,3 @@ /** | ||
*/ | ||
overallRate?: number; | ||
overallRate?: number | undefined; | ||
@@ -148,3 +148,3 @@ /** | ||
*/ | ||
reconnectRate?: number; | ||
reconnectRate?: number | undefined; | ||
@@ -158,3 +158,3 @@ /** | ||
*/ | ||
requests?: Request[]; | ||
requests?: Request[] | undefined; | ||
@@ -166,3 +166,3 @@ /** | ||
*/ | ||
idReplacement?: boolean; | ||
idReplacement?: boolean | undefined; | ||
@@ -174,3 +174,3 @@ /** | ||
*/ | ||
forever?: boolean; | ||
forever?: boolean | undefined; | ||
@@ -180,3 +180,3 @@ /** | ||
*/ | ||
servername?: string; | ||
servername?: string | undefined; | ||
@@ -187,8 +187,8 @@ /** | ||
*/ | ||
excludeErrorStats?: boolean; | ||
excludeErrorStats?: boolean | undefined; | ||
} | ||
interface Request { | ||
body?: string | Buffer; | ||
headers?: IncomingHttpHeaders; | ||
body?: string | Buffer | undefined; | ||
headers?: IncomingHttpHeaders | undefined; | ||
method?: | ||
@@ -228,4 +228,4 @@ | 'ACL' | ||
| 'UNLOCK' | ||
| 'UNSUBSCRIBE'; | ||
path?: string; | ||
| 'UNSUBSCRIBE' | undefined; | ||
path?: string | undefined; | ||
} | ||
@@ -460,3 +460,3 @@ | ||
*/ | ||
outputStream?: NodeJS.WritableStream; | ||
outputStream?: NodeJS.WritableStream | undefined; | ||
@@ -467,3 +467,3 @@ /** | ||
*/ | ||
renderProgressBar?: boolean; | ||
renderProgressBar?: boolean | undefined; | ||
@@ -474,3 +474,3 @@ /** | ||
*/ | ||
renderResultsTable?: boolean; | ||
renderResultsTable?: boolean | undefined; | ||
@@ -481,3 +481,3 @@ /** | ||
*/ | ||
renderLatencyTable?: boolean; | ||
renderLatencyTable?: boolean | undefined; | ||
@@ -488,3 +488,3 @@ /** | ||
*/ | ||
progressBarString?: string; | ||
progressBarString?: string | undefined; | ||
} | ||
@@ -491,0 +491,0 @@ |
{ | ||
"name": "@types/autocannon", | ||
"version": "4.1.0", | ||
"version": "4.1.1", | ||
"description": "TypeScript definitions for autocannon", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/autocannon", | ||
"license": "MIT", | ||
@@ -14,3 +15,3 @@ "contributors": [ | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
@@ -25,4 +26,4 @@ "type": "git", | ||
}, | ||
"typesPublisherContentHash": "3e820981688269e353a55d3755175bddd242310ac5a9a86c96c6d44a7cdc5d12", | ||
"typeScriptVersion": "2.1" | ||
"typesPublisherContentHash": "4a9589d56f582aedf7629fe4361cd6b6b03ae14c960627c76beb94e4d9bcb71f", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -8,10 +8,10 @@ # Installation | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/autocannon | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/autocannon. | ||
Additional Details | ||
* Last updated: Wed, 09 Oct 2019 23:14:21 GMT | ||
* Dependencies: @types/node | ||
### Additional Details | ||
* Last updated: Wed, 07 Jul 2021 21:44:39 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Jeremy Bensimon <https://github.com/jeremyben>. | ||
These definitions were written by [Jeremy Bensimon](https://github.com/jeremyben). |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
19035
0