@types/hapi__shot
Advanced tools
Comparing version 4.1.1 to 4.1.2
@@ -57,24 +57,24 @@ // Type definitions for @hapi/shot 4.1 | ||
/** a string specifying the HTTP request method, defaulting to 'GET'. */ | ||
method?: string; | ||
method?: string | undefined; | ||
/** a string specifying the HTTP HOST header value to be used if no header is provided, and the url does not include an authority component. Defaults to 'localhost'. */ | ||
authority?: string; | ||
authority?: string | undefined; | ||
/** an optional object containing request headers. */ | ||
headers?: Headers; | ||
headers?: Headers | undefined; | ||
/** an optional string specifying the client remote address. Defaults to '127.0.0.1'. */ | ||
remoteAddress?: string; | ||
remoteAddress?: string | undefined; | ||
/** an optional request payload. Can be a string, Buffer, Stream or object. */ | ||
payload?: string | Buffer | Stream | object; | ||
payload?: string | Buffer | Stream | object | undefined; | ||
/** an object containing flags to simulate various conditions: */ | ||
simulate?: { | ||
/** indicates whether the request will fire an end event. Defaults to undefined, meaning an end event will fire. */ | ||
end?: boolean; | ||
end?: boolean | undefined; | ||
/** indicates whether the request payload will be split into chunks. Defaults to `undefined`, meaning payload will not be chunked. */ | ||
split?: boolean; | ||
split?: boolean | undefined; | ||
/** whether the request will emit an error event. Defaults to undefined, meaning no error event will be emitted. If set to true, the emitted error will have a message of 'Simulated'. */ | ||
error?: boolean; | ||
error?: boolean | undefined; | ||
/** whether the request will emit a close event. Defaults to undefined, meaning no close event will be emitted. */ | ||
close?: boolean; | ||
}; | ||
close?: boolean | undefined; | ||
} | undefined; | ||
/** Optional flag to validate this options object. Defaults to true. */ | ||
validate?: boolean; | ||
validate?: boolean | undefined; | ||
} | ||
@@ -81,0 +81,0 @@ |
{ | ||
"name": "@types/hapi__shot", | ||
"version": "4.1.1", | ||
"version": "4.1.2", | ||
"description": "TypeScript definitions for @hapi/shot", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hapi__shot", | ||
"license": "MIT", | ||
@@ -34,4 +35,4 @@ "contributors": [ | ||
}, | ||
"typesPublisherContentHash": "00f81f1e7bef8265b433e71ac6e09088216b9209e3adff8c7a3ddc7cbbd65e08", | ||
"typeScriptVersion": "3.2" | ||
"typesPublisherContentHash": "b644581a586e6defcd7cbdad4be4ad80b1e348aedbdc6d53b7756e8ecac41d8f", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Fri, 25 Sep 2020 23:55:57 GMT | ||
* Last updated: Tue, 06 Jul 2021 20:33:13 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -14,0 +14,0 @@ * Global values: none |
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
7906
0