@types/node 12.7.4 → 12.7.8
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 +2 -2
- node/http.d.ts +1 -1
- node/index.d.ts +2 -0
- node/package.json +12 -2
- node/readline.d.ts +1 -1
- node/stream.d.ts +2 -0
node/README.md
CHANGED
|
@@ -8,9 +8,9 @@ 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
|
|
9
9
|
|
|
10
10
|
Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Wed, 25 Sep 2019 23:07:57 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: Buffer, NodeJS, Symbol, __dirname, __filename, clearImmediate, clearInterval, clearTimeout, console, exports, global, module, process, queueMicrotask, require, setImmediate, setInterval, setTimeout
|
|
14
14
|
|
|
15
15
|
# Credits
|
|
16
|
-
These definitions were written by Microsoft TypeScript <https://github.com/Microsoft>, DefinitelyTyped <https://github.com/DefinitelyTyped>, Alberto Schiabel <https://github.com/jkomyno>, Alexander T. <https://github.com/a-tarasyuk>, Alvis HT Tang <https://github.com/alvis>, Andrew Makarov <https://github.com/r3nya>, Benjamin Toueg <https://github.com/btoueg>, Bruno Scheufler <https://github.com/brunoscheufler>, Chigozirim C. <https://github.com/smac89>, Christian Vaagland Tellnes <https://github.com/tellnes>, David Junger <https://github.com/touffy>, Deividas Bakanas <https://github.com/DeividasBakanas>, Eugene Y. Q. Shen <https://github.com/eyqs>, Flarna <https://github.com/Flarna>, Hannes Magnusson <https://github.com/Hannes-Magnusson-CK>, Hoàng Văn Khải <https://github.com/KSXGitHub>, Huw <https://github.com/hoo29>, Kelvin Jin <https://github.com/kjin>, Klaus Meinhardt <https://github.com/ajafff>, Lishude <https://github.com/islishude>, Mariusz Wiktorczyk <https://github.com/mwiktorczyk>, Matthieu Sieben <https://github.com/matthieusieben>, Mohsen Azimi <https://github.com/mohsen1>, Nicolas Even <https://github.com/n-e>, Nicolas Voigt <https://github.com/octo-sniffle>, Parambir Singh <https://github.com/parambirs>, Sebastian Silbermann <https://github.com/eps1lon>, Simon Schick <https://github.com/SimonSchick>, Thomas den Hollander <https://github.com/ThomasdenH>, Wilco Bakker <https://github.com/WilcoBakker>, wwwy3y3 <https://github.com/wwwy3y3>, Zane Hannan AU <https://github.com/ZaneHannanAU>, Samuel Ainsworth <https://github.com/samuela>, Kyle Uehlein <https://github.com/kuehlein>, Jordi Oliveras Rovira <https://github.com/j-oliveras>, Thanik Bhongbhibhat <https://github.com/bhongy>,
|
|
16
|
+
These definitions were written by Microsoft TypeScript <https://github.com/Microsoft>, DefinitelyTyped <https://github.com/DefinitelyTyped>, Alberto Schiabel <https://github.com/jkomyno>, Alexander T. <https://github.com/a-tarasyuk>, Alvis HT Tang <https://github.com/alvis>, Andrew Makarov <https://github.com/r3nya>, Benjamin Toueg <https://github.com/btoueg>, Bruno Scheufler <https://github.com/brunoscheufler>, Chigozirim C. <https://github.com/smac89>, Christian Vaagland Tellnes <https://github.com/tellnes>, David Junger <https://github.com/touffy>, Deividas Bakanas <https://github.com/DeividasBakanas>, Eugene Y. Q. Shen <https://github.com/eyqs>, Flarna <https://github.com/Flarna>, Hannes Magnusson <https://github.com/Hannes-Magnusson-CK>, Hoàng Văn Khải <https://github.com/KSXGitHub>, Huw <https://github.com/hoo29>, Kelvin Jin <https://github.com/kjin>, Klaus Meinhardt <https://github.com/ajafff>, Lishude <https://github.com/islishude>, Mariusz Wiktorczyk <https://github.com/mwiktorczyk>, Matthieu Sieben <https://github.com/matthieusieben>, Mohsen Azimi <https://github.com/mohsen1>, Nicolas Even <https://github.com/n-e>, Nicolas Voigt <https://github.com/octo-sniffle>, Parambir Singh <https://github.com/parambirs>, Sebastian Silbermann <https://github.com/eps1lon>, Simon Schick <https://github.com/SimonSchick>, Thomas den Hollander <https://github.com/ThomasdenH>, Wilco Bakker <https://github.com/WilcoBakker>, wwwy3y3 <https://github.com/wwwy3y3>, Zane Hannan AU <https://github.com/ZaneHannanAU>, Samuel Ainsworth <https://github.com/samuela>, Kyle Uehlein <https://github.com/kuehlein>, Jordi Oliveras Rovira <https://github.com/j-oliveras>, Thanik Bhongbhibhat <https://github.com/bhongy>, Marcin Kopacz <https://github.com/chyzwar>, Trivikram Kamat <https://github.com/trivikr>, and Minh Son Nguyen <https://github.com/nguymin4>.
|
node/http.d.ts
CHANGED
|
@@ -277,7 +277,7 @@ declare module "http" {
|
|
|
277
277
|
rawHeaders: string[];
|
|
278
278
|
trailers: { [key: string]: string | undefined };
|
|
279
279
|
rawTrailers: string[];
|
|
280
|
-
setTimeout(msecs: number, callback
|
|
280
|
+
setTimeout(msecs: number, callback?: () => void): this;
|
|
281
281
|
/**
|
|
282
282
|
* Only valid for request obtained from http.Server.
|
|
283
283
|
*/
|
node/index.d.ts
CHANGED
|
@@ -37,6 +37,8 @@
|
|
|
37
37
|
// Jordi Oliveras Rovira <https://github.com/j-oliveras>
|
|
38
38
|
// Thanik Bhongbhibhat <https://github.com/bhongy>
|
|
39
39
|
// Marcin Kopacz <https://github.com/chyzwar>
|
|
40
|
+
// Trivikram Kamat <https://github.com/trivikr>
|
|
41
|
+
// Minh Son Nguyen <https://github.com/nguymin4>
|
|
40
42
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
41
43
|
|
|
42
44
|
// NOTE: These definitions support NodeJS and TypeScript 3.2.
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "12.7.
|
|
3
|
+
"version": "12.7.8",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -188,6 +188,16 @@
|
|
|
188
188
|
"name": "Marcin Kopacz",
|
|
189
189
|
"url": "https://github.com/chyzwar",
|
|
190
190
|
"githubUsername": "chyzwar"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"name": "Trivikram Kamat",
|
|
194
|
+
"url": "https://github.com/trivikr",
|
|
195
|
+
"githubUsername": "trivikr"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"name": "Minh Son Nguyen",
|
|
199
|
+
"url": "https://github.com/nguymin4",
|
|
200
|
+
"githubUsername": "nguymin4"
|
|
191
201
|
}
|
|
192
202
|
],
|
|
193
203
|
"main": "",
|
|
@@ -206,6 +216,6 @@
|
|
|
206
216
|
},
|
|
207
217
|
"scripts": {},
|
|
208
218
|
"dependencies": {},
|
|
209
|
-
"typesPublisherContentHash": "
|
|
219
|
+
"typesPublisherContentHash": "d1dcbb8f3604365c40837d7427ee5397140ed47f6bff0e5bce6cceea010e9fa1",
|
|
210
220
|
"typeScriptVersion": "2.0"
|
|
211
221
|
}
|
node/readline.d.ts
CHANGED
|
@@ -127,7 +127,7 @@ declare module "readline" {
|
|
|
127
127
|
|
|
128
128
|
function createInterface(input: NodeJS.ReadableStream, output?: NodeJS.WritableStream, completer?: Completer | AsyncCompleter, terminal?: boolean): Interface;
|
|
129
129
|
function createInterface(options: ReadLineOptions): Interface;
|
|
130
|
-
function emitKeypressEvents(stream: NodeJS.ReadableStream,
|
|
130
|
+
function emitKeypressEvents(stream: NodeJS.ReadableStream, readlineInterface?: Interface): void;
|
|
131
131
|
|
|
132
132
|
type Direction = -1 | 0 | 1;
|
|
133
133
|
|
node/stream.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ declare module "stream" {
|
|
|
26
26
|
readable: boolean;
|
|
27
27
|
readonly readableHighWaterMark: number;
|
|
28
28
|
readonly readableLength: number;
|
|
29
|
+
destroyed: boolean;
|
|
29
30
|
constructor(opts?: ReadableOptions);
|
|
30
31
|
_read(size: number): void;
|
|
31
32
|
read(size?: number): any;
|
|
@@ -119,6 +120,7 @@ declare module "stream" {
|
|
|
119
120
|
readonly writableFinished: boolean;
|
|
120
121
|
readonly writableHighWaterMark: number;
|
|
121
122
|
readonly writableLength: number;
|
|
123
|
+
destroyed: boolean;
|
|
122
124
|
constructor(opts?: WritableOptions);
|
|
123
125
|
_write(chunk: any, encoding: string, callback: (error?: Error | null) => void): void;
|
|
124
126
|
_writev?(chunks: Array<{ chunk: any, encoding: string }>, callback: (error?: Error | null) => void): void;
|