Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

@types/shot

Package Overview
Dependencies
2
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.0 to 4.0.1

22

shot/index.d.ts

@@ -56,24 +56,24 @@ // Type definitions for shot 4.0

/** 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;
}

@@ -80,0 +80,0 @@

{
"name": "@types/shot",
"version": "4.0.0",
"version": "4.0.1",
"description": "TypeScript definitions for shot",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shot",
"license": "MIT",

@@ -19,5 +20,7 @@ "contributors": [

"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/shot"
},

@@ -28,4 +31,4 @@ "scripts": {},

},
"typesPublisherContentHash": "92386c1c8712775d8731a0cbbe7ca28b58899de651baf001e7cb312ed7e3dec7",
"typeScriptVersion": "2.2"
"typesPublisherContentHash": "eef0e26babede272f5e332b283ce6ddb53a2d3ba8763d9a78274c03c46f4230a",
"typeScriptVersion": "3.6"
}

@@ -8,10 +8,10 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shot
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shot.
Additional Details
* Last updated: Wed, 03 Oct 2018 17:56:18 GMT
* Dependencies: node
### Additional Details
* Last updated: Tue, 06 Jul 2021 16:34:44 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)
* Global values: none
# Credits
These definitions were written by AJP <https://github.com/AJamesPhillips>, Simon Schick <https://github.com/SimonSchick>.
These definitions were written by [AJP](https://github.com/AJamesPhillips), and [Simon Schick](https://github.com/SimonSchick).

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc