@types/node 14.17.31 → 14.18.0
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 v14.17 → node v14.18}/LICENSE +0 -0
- {node v14.17 → node v14.18}/README.md +2 -2
- {node v14.17 → node v14.18}/assert.d.ts +4 -0
- {node v14.17 → node v14.18}/async_hooks.d.ts +3 -0
- {node v14.17 → node v14.18}/buffer.d.ts +3 -0
- {node v14.17 → node v14.18}/child_process.d.ts +3 -0
- {node v14.17 → node v14.18}/cluster.d.ts +3 -0
- {node v14.17 → node v14.18}/console.d.ts +4 -0
- {node v14.17 → node v14.18}/constants.d.ts +5 -0
- {node v14.17 → node v14.18}/crypto.d.ts +3 -0
- {node v14.17 → node v14.18}/dgram.d.ts +3 -0
- {node v14.17 → node v14.18}/dns.d.ts +7 -0
- {node v14.17 → node v14.18}/domain.d.ts +3 -0
- {node v14.17 → node v14.18}/events.d.ts +4 -0
- {node v14.17 → node v14.18}/fs/promises.d.ts +3 -0
- {node v14.17 → node v14.18}/fs.d.ts +5 -2
- {node v14.17 → node v14.18}/globals.d.ts +0 -0
- {node v14.17 → node v14.18}/globals.global.d.ts +0 -0
- {node v14.17 → node v14.18}/http.d.ts +3 -0
- {node v14.17 → node v14.18}/http2.d.ts +3 -0
- {node v14.17 → node v14.18}/https.d.ts +3 -0
- {node v14.17 → node v14.18}/index.d.ts +3 -1
- {node v14.17 → node v14.18}/inspector.d.ts +4 -0
- {node v14.17 → node v14.18}/module.d.ts +4 -0
- {node v14.17 → node v14.18}/net.d.ts +3 -0
- {node v14.17 → node v14.18}/os.d.ts +3 -0
- {node v14.17 → node v14.18}/package.json +13 -3
- {node v14.17 → node v14.18}/path.d.ts +4 -0
- {node v14.17 → node v14.18}/perf_hooks.d.ts +3 -0
- {node v14.17 → node v14.18}/process.d.ts +4 -0
- {node v14.17 → node v14.18}/punycode.d.ts +3 -0
- {node v14.17 → node v14.18}/querystring.d.ts +3 -0
- {node v14.17 → node v14.18}/readline.d.ts +4 -0
- {node v14.17 → node v14.18}/repl.d.ts +3 -0
- {node v14.17 → node v14.18}/stream.d.ts +4 -0
- {node v14.17 → node v14.18}/string_decoder.d.ts +3 -0
- {node v14.17 → node v14.18}/timers.d.ts +3 -0
- {node v14.17 → node v14.18}/tls.d.ts +3 -0
- {node v14.17 → node v14.18}/trace_events.d.ts +3 -0
- {node v14.17 → node v14.18}/tty.d.ts +3 -0
- {node v14.17 → node v14.18}/url.d.ts +3 -0
- {node v14.17 → node v14.18}/util.d.ts +3 -0
- {node v14.17 → node v14.18}/v8.d.ts +3 -0
- {node v14.17 → node v14.18}/vm.d.ts +3 -0
- {node v14.17 → node v14.18}/wasi.d.ts +3 -0
- {node v14.17 → node v14.18}/worker_threads.d.ts +3 -0
- {node v14.17 → node v14.18}/zlib.d.ts +3 -0
|
File without changes
|
|
@@ -8,9 +8,9 @@ This package contains type definitions for Node.js (https://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v14.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Fri, 03 Dec 2021 12:31:02 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Buffer`, `__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), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [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), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [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), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Surasak Chaisurin](https://github.com/Ryan-Willpower), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys),
|
|
16
|
+
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [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), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Seth Westphal](https://github.com/westy92), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Surasak Chaisurin](https://github.com/Ryan-Willpower), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [Bond](https://github.com/bondz), and [Linus Unnebäck](https://github.com/LinusU).
|
|
@@ -509,3 +509,6 @@ declare module 'child_process' {
|
|
|
509
509
|
function execFileSync(command: string, args: ReadonlyArray<string>, options: ExecFileSyncOptionsWithBufferEncoding): Buffer;
|
|
510
510
|
function execFileSync(command: string, args?: ReadonlyArray<string>, options?: ExecFileSyncOptions): string | Buffer;
|
|
511
511
|
}
|
|
512
|
+
declare module 'node:child_process' {
|
|
513
|
+
export * from 'child_process';
|
|
514
|
+
}
|
|
@@ -250,6 +250,8 @@ declare module 'dns' {
|
|
|
250
250
|
function setServers(servers: ReadonlyArray<string>): void;
|
|
251
251
|
function getServers(): string[];
|
|
252
252
|
|
|
253
|
+
function setDefaultResultOrder(order: 'ipv4first' | 'verbatim'): void;
|
|
254
|
+
|
|
253
255
|
// Error codes
|
|
254
256
|
const NODATA: string;
|
|
255
257
|
const FORMERR: string;
|
|
@@ -356,6 +358,8 @@ declare module 'dns' {
|
|
|
356
358
|
|
|
357
359
|
function setServers(servers: ReadonlyArray<string>): void;
|
|
358
360
|
|
|
361
|
+
function setDefaultResultOrder(order: 'ipv4first' | 'verbatim'): void;
|
|
362
|
+
|
|
359
363
|
class Resolver {
|
|
360
364
|
constructor(options?: ResolverOptions);
|
|
361
365
|
cancel(): void;
|
|
@@ -378,3 +382,6 @@ declare module 'dns' {
|
|
|
378
382
|
}
|
|
379
383
|
}
|
|
380
384
|
}
|
|
385
|
+
declare module 'node:dns' {
|
|
386
|
+
export * from 'dns';
|
|
387
|
+
}
|
|
@@ -143,7 +143,7 @@ declare module 'fs' {
|
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
export class ReadStream extends stream.Readable {
|
|
146
|
-
close(): void;
|
|
146
|
+
close(callback?: (err?: NodeJS.ErrnoException | null) => void): void;
|
|
147
147
|
bytesRead: number;
|
|
148
148
|
path: string | Buffer;
|
|
149
149
|
pending: boolean;
|
|
@@ -211,7 +211,7 @@ declare module 'fs' {
|
|
|
211
211
|
}
|
|
212
212
|
|
|
213
213
|
export class WriteStream extends stream.Writable {
|
|
214
|
-
close(): void;
|
|
214
|
+
close(callback?: (err?: NodeJS.ErrnoException | null) => void): void;
|
|
215
215
|
bytesWritten: number;
|
|
216
216
|
path: string | Buffer;
|
|
217
217
|
pending: boolean;
|
|
@@ -2268,3 +2268,6 @@ declare module 'fs' {
|
|
|
2268
2268
|
bigint?: boolean | undefined;
|
|
2269
2269
|
}
|
|
2270
2270
|
}
|
|
2271
|
+
declare module 'node:fs' {
|
|
2272
|
+
export * from 'fs';
|
|
2273
|
+
}
|
|
File without changes
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for non-npm package Node.js 14.
|
|
1
|
+
// Type definitions for non-npm package Node.js 14.18
|
|
2
2
|
// Project: https://nodejs.org/
|
|
3
3
|
// Definitions by: Microsoft TypeScript <https://github.com/Microsoft>
|
|
4
4
|
// DefinitelyTyped <https://github.com/DefinitelyTyped>
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
// Nikita Galkin <https://github.com/galkin>
|
|
23
23
|
// Parambir Singh <https://github.com/parambirs>
|
|
24
24
|
// Sebastian Silbermann <https://github.com/eps1lon>
|
|
25
|
+
// Seth Westphal <https://github.com/westy92>
|
|
25
26
|
// Simon Schick <https://github.com/SimonSchick>
|
|
26
27
|
// Thomas den Hollander <https://github.com/ThomasdenH>
|
|
27
28
|
// Wilco Bakker <https://github.com/WilcoBakker>
|
|
@@ -40,6 +41,7 @@
|
|
|
40
41
|
// Victor Perin <https://github.com/victorperin>
|
|
41
42
|
// Yongsheng Zhang <https://github.com/ZYSzys>
|
|
42
43
|
// Bond <https://github.com/bondz>
|
|
44
|
+
// Linus Unnebäck <https://github.com/LinusU>
|
|
43
45
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
44
46
|
|
|
45
47
|
// NOTE: These definitions support NodeJS and TypeScript 3.7+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.18.0",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -115,6 +115,11 @@
|
|
|
115
115
|
"url": "https://github.com/eps1lon",
|
|
116
116
|
"githubUsername": "eps1lon"
|
|
117
117
|
},
|
|
118
|
+
{
|
|
119
|
+
"name": "Seth Westphal",
|
|
120
|
+
"url": "https://github.com/westy92",
|
|
121
|
+
"githubUsername": "westy92"
|
|
122
|
+
},
|
|
118
123
|
{
|
|
119
124
|
"name": "Simon Schick",
|
|
120
125
|
"url": "https://github.com/SimonSchick",
|
|
@@ -204,6 +209,11 @@
|
|
|
204
209
|
"name": "Bond",
|
|
205
210
|
"url": "https://github.com/bondz",
|
|
206
211
|
"githubUsername": "bondz"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "Linus Unnebäck",
|
|
215
|
+
"url": "https://github.com/LinusU",
|
|
216
|
+
"githubUsername": "LinusU"
|
|
207
217
|
}
|
|
208
218
|
],
|
|
209
219
|
"main": "",
|
|
@@ -215,6 +225,6 @@
|
|
|
215
225
|
},
|
|
216
226
|
"scripts": {},
|
|
217
227
|
"dependencies": {},
|
|
218
|
-
"typesPublisherContentHash": "
|
|
219
|
-
"typeScriptVersion": "3.
|
|
228
|
+
"typesPublisherContentHash": "eae258c4cd666e101533e7968dec84fffca2b8844f142c4961eaed8caf8abe04",
|
|
229
|
+
"typeScriptVersion": "3.8"
|
|
220
230
|
}
|
|
@@ -45,6 +45,7 @@ declare module 'readline' {
|
|
|
45
45
|
resume(): this;
|
|
46
46
|
close(): void;
|
|
47
47
|
write(data: string | Buffer, key?: Key): void;
|
|
48
|
+
write(data: undefined | null | string | Buffer, key: Key): void;
|
|
48
49
|
|
|
49
50
|
/**
|
|
50
51
|
* Returns the real position of the cursor in relation to the input
|
|
@@ -168,3 +169,6 @@ declare module 'readline' {
|
|
|
168
169
|
*/
|
|
169
170
|
function moveCursor(stream: NodeJS.WritableStream, dx: number, dy: number, callback?: () => void): boolean;
|
|
170
171
|
}
|
|
172
|
+
declare module 'node:readline' {
|
|
173
|
+
export * from 'readline';
|
|
174
|
+
}
|