@types/node 9.6.3 → 9.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- node/README.md +1 -1
- node/index.d.ts +7 -15
- node/package.json +2 -2
node/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (http://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node
|
|
9
9
|
|
|
10
10
|
Additional Details
|
|
11
|
-
* Last updated: Tue, 10 Apr 2018
|
|
11
|
+
* Last updated: Tue, 10 Apr 2018 20:48:36 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: Buffer, NodeJS, SlowBuffer, Symbol, __dirname, __filename, clearImmediate, clearInterval, clearTimeout, console, exports, global, module, process, require, setImmediate, setInterval, setTimeout
|
|
14
14
|
|
node/index.d.ts
CHANGED
|
@@ -955,6 +955,7 @@ declare module "http" {
|
|
|
955
955
|
'access-control-allow-headers'?: string;
|
|
956
956
|
'accept-patch'?: string;
|
|
957
957
|
'accept-ranges'?: string;
|
|
958
|
+
'authorization'?: string;
|
|
958
959
|
'age'?: string;
|
|
959
960
|
'allow'?: string;
|
|
960
961
|
'alt-svc'?: string;
|
|
@@ -1751,17 +1752,9 @@ declare module "https" {
|
|
|
1751
1752
|
|
|
1752
1753
|
export type ServerOptions = tls.SecureContextOptions & tls.TlsOptions;
|
|
1753
1754
|
|
|
1754
|
-
export type RequestOptions = http.RequestOptions & {
|
|
1755
|
+
export type RequestOptions = http.RequestOptions & tls.SecureContextOptions & {
|
|
1755
1756
|
rejectUnauthorized?: boolean; // Defaults to true
|
|
1756
1757
|
servername?: string; // SNI TLS Extension
|
|
1757
|
-
pfx?: string | Buffer | Array<string | Buffer | Object>;
|
|
1758
|
-
key?: string | Buffer | Array<Buffer | Object>;
|
|
1759
|
-
passphrase?: string;
|
|
1760
|
-
cert?: string | Buffer | Array<string | Buffer>;
|
|
1761
|
-
ca?: string | Buffer | Array<string | Buffer>;
|
|
1762
|
-
ciphers?: string;
|
|
1763
|
-
clientCertEngine?: string;
|
|
1764
|
-
secureProtocol?: string; // SSL Method, e.g. SSLv23_method
|
|
1765
1758
|
};
|
|
1766
1759
|
|
|
1767
1760
|
export interface AgentOptions extends http.AgentOptions, tls.ConnectionOptions {
|
|
@@ -4981,7 +4974,6 @@ declare module "tls" {
|
|
|
4981
4974
|
}
|
|
4982
4975
|
|
|
4983
4976
|
export interface TlsOptions extends SecureContextOptions {
|
|
4984
|
-
clientCertEngine?: string;
|
|
4985
4977
|
handshakeTimeout?: number;
|
|
4986
4978
|
requestCert?: boolean;
|
|
4987
4979
|
rejectUnauthorized?: boolean;
|
|
@@ -5182,9 +5174,9 @@ declare module "crypto" {
|
|
|
5182
5174
|
update(data: string, input_encoding: Utf8AsciiBinaryEncoding, output_encoding: HexBase64BinaryEncoding): string;
|
|
5183
5175
|
final(): Buffer;
|
|
5184
5176
|
final(output_encoding: string): string;
|
|
5185
|
-
setAutoPadding(auto_padding?: boolean):
|
|
5177
|
+
setAutoPadding(auto_padding?: boolean): this;
|
|
5186
5178
|
getAuthTag(): Buffer;
|
|
5187
|
-
setAAD(buffer: Buffer):
|
|
5179
|
+
setAAD(buffer: Buffer): this;
|
|
5188
5180
|
}
|
|
5189
5181
|
export function createDecipher(algorithm: string, password: any): Decipher;
|
|
5190
5182
|
export function createDecipheriv(algorithm: string, key: any, iv: any): Decipher;
|
|
@@ -5195,9 +5187,9 @@ declare module "crypto" {
|
|
|
5195
5187
|
update(data: string, input_encoding: HexBase64BinaryEncoding, output_encoding: Utf8AsciiBinaryEncoding): string;
|
|
5196
5188
|
final(): Buffer;
|
|
5197
5189
|
final(output_encoding: string): string;
|
|
5198
|
-
setAutoPadding(auto_padding?: boolean):
|
|
5199
|
-
setAuthTag(tag: Buffer):
|
|
5200
|
-
setAAD(buffer: Buffer):
|
|
5190
|
+
setAutoPadding(auto_padding?: boolean): this;
|
|
5191
|
+
setAuthTag(tag: Buffer): this;
|
|
5192
|
+
setAAD(buffer: Buffer): this;
|
|
5201
5193
|
}
|
|
5202
5194
|
export function createSign(algorithm: string): Signer;
|
|
5203
5195
|
export interface Signer extends NodeJS.WritableStream {
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "9.6.
|
|
3
|
+
"version": "9.6.4",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -120,6 +120,6 @@
|
|
|
120
120
|
},
|
|
121
121
|
"scripts": {},
|
|
122
122
|
"dependencies": {},
|
|
123
|
-
"typesPublisherContentHash": "
|
|
123
|
+
"typesPublisherContentHash": "0e3d12ef233ff686ee80e2ebfd3d11668b0d3ba18b1728185d75311c257be99b",
|
|
124
124
|
"typeScriptVersion": "2.0"
|
|
125
125
|
}
|