@types/node 10.14.14 → 10.14.18
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 v10/README.md +1 -1
- node v10/crypto.d.ts +4 -4
- node v10/globals.d.ts +1 -1
- node v10/http2.d.ts +1 -1
- node v10/package.json +2 -2
- node v10/tty.d.ts +2 -0
node v10/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://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v10
|
|
9
9
|
|
|
10
10
|
Additional Details
|
|
11
|
-
* Last updated: Wed,
|
|
11
|
+
* Last updated: Wed, 11 Sep 2019 05:46:29 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: Buffer, NodeJS, Symbol, __dirname, __filename, clearImmediate, clearInterval, clearTimeout, console, exports, global, module, process, require, setImmediate, setInterval, setTimeout
|
|
14
14
|
|
node v10/crypto.d.ts
CHANGED
|
@@ -34,13 +34,13 @@ declare module "crypto" {
|
|
|
34
34
|
type HexBase64BinaryEncoding = "binary" | "base64" | "hex";
|
|
35
35
|
type ECDHKeyFormat = "compressed" | "uncompressed" | "hybrid";
|
|
36
36
|
|
|
37
|
-
interface Hash extends
|
|
37
|
+
interface Hash extends stream.Transform {
|
|
38
38
|
update(data: string | Buffer | NodeJS.TypedArray | DataView): Hash;
|
|
39
39
|
update(data: string, input_encoding: Utf8AsciiLatin1Encoding): Hash;
|
|
40
40
|
digest(): Buffer;
|
|
41
41
|
digest(encoding: HexBase64Latin1Encoding): string;
|
|
42
42
|
}
|
|
43
|
-
interface Hmac extends
|
|
43
|
+
interface Hmac extends stream.Transform {
|
|
44
44
|
update(data: string | Buffer | NodeJS.TypedArray | DataView): Hmac;
|
|
45
45
|
update(data: string, input_encoding: Utf8AsciiLatin1Encoding): Hmac;
|
|
46
46
|
digest(): Buffer;
|
|
@@ -65,7 +65,7 @@ declare module "crypto" {
|
|
|
65
65
|
function createCipheriv(algorithm: CipherGCMTypes, key: string | Buffer | NodeJS.TypedArray | DataView, iv: string | Buffer | NodeJS.TypedArray | DataView, options?: CipherGCMOptions): CipherGCM;
|
|
66
66
|
function createCipheriv(algorithm: string, key: string | Buffer | NodeJS.TypedArray | DataView, iv: string | Buffer | NodeJS.TypedArray | DataView, options?: stream.TransformOptions): Cipher;
|
|
67
67
|
|
|
68
|
-
interface Cipher extends
|
|
68
|
+
interface Cipher extends stream.Transform {
|
|
69
69
|
update(data: string | Buffer | NodeJS.TypedArray | DataView): Buffer;
|
|
70
70
|
update(data: string, input_encoding: Utf8AsciiBinaryEncoding): Buffer;
|
|
71
71
|
update(data: Buffer | NodeJS.TypedArray | DataView, output_encoding: HexBase64BinaryEncoding): string;
|
|
@@ -107,7 +107,7 @@ declare module "crypto" {
|
|
|
107
107
|
): DecipherGCM;
|
|
108
108
|
function createDecipheriv(algorithm: string, key: string | Buffer | NodeJS.TypedArray | DataView, iv: string | Buffer | NodeJS.TypedArray | DataView, options?: stream.TransformOptions): Decipher;
|
|
109
109
|
|
|
110
|
-
interface Decipher extends
|
|
110
|
+
interface Decipher extends stream.Transform {
|
|
111
111
|
update(data: Buffer | NodeJS.TypedArray | DataView): Buffer;
|
|
112
112
|
update(data: string, input_encoding: HexBase64BinaryEncoding): Buffer;
|
|
113
113
|
update(data: Buffer | NodeJS.TypedArray | DataView, input_encoding: any, output_encoding: Utf8AsciiBinaryEncoding): string;
|
node v10/globals.d.ts
CHANGED
|
@@ -656,7 +656,7 @@ declare namespace NodeJS {
|
|
|
656
656
|
type ExitListener = (code: number) => void;
|
|
657
657
|
type RejectionHandledListener = (promise: Promise<any>) => void;
|
|
658
658
|
type UncaughtExceptionListener = (error: Error) => void;
|
|
659
|
-
type UnhandledRejectionListener = (reason:
|
|
659
|
+
type UnhandledRejectionListener = (reason: {} | null | undefined, promise: Promise<any>) => void;
|
|
660
660
|
type WarningListener = (warning: Error) => void;
|
|
661
661
|
type MessageListener = (message: any, sendHandle: any) => void;
|
|
662
662
|
type SignalsListener = (signal: Signals) => void;
|
node v10/http2.d.ts
CHANGED
|
@@ -556,7 +556,7 @@ declare module "http2" {
|
|
|
556
556
|
prependOnceListener(event: "aborted", listener: (hadError: boolean, code: number) => void): this;
|
|
557
557
|
}
|
|
558
558
|
|
|
559
|
-
export class Http2ServerResponse extends
|
|
559
|
+
export class Http2ServerResponse extends stream.Stream {
|
|
560
560
|
private constructor();
|
|
561
561
|
addTrailers(trailers: OutgoingHttpHeaders): void;
|
|
562
562
|
connection: net.Socket | tls.TLSSocket;
|
node v10/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "10.14.
|
|
3
|
+
"version": "10.14.18",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -196,6 +196,6 @@
|
|
|
196
196
|
},
|
|
197
197
|
"scripts": {},
|
|
198
198
|
"dependencies": {},
|
|
199
|
-
"typesPublisherContentHash": "
|
|
199
|
+
"typesPublisherContentHash": "9f8bf89fddc88a6b007264be21e25dfdba32a0b8c8f07fea402cc9eb1e0b887d",
|
|
200
200
|
"typeScriptVersion": "2.0"
|
|
201
201
|
}
|
node v10/tty.d.ts
CHANGED
|
@@ -3,11 +3,13 @@ declare module "tty" {
|
|
|
3
3
|
|
|
4
4
|
function isatty(fd: number): boolean;
|
|
5
5
|
class ReadStream extends net.Socket {
|
|
6
|
+
constructor(fd: number, options?: net.SocketConstructorOpts);
|
|
6
7
|
isRaw: boolean;
|
|
7
8
|
setRawMode(mode: boolean): void;
|
|
8
9
|
isTTY: boolean;
|
|
9
10
|
}
|
|
10
11
|
class WriteStream extends net.Socket {
|
|
12
|
+
constructor(fd: number);
|
|
11
13
|
columns: number;
|
|
12
14
|
rows: number;
|
|
13
15
|
isTTY: boolean;
|