@types/node 14.14.44 → 14.17.2
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.14 → node v14.17}/LICENSE +0 -0
- {node v14.14 → node v14.17}/README.md +2 -2
- {node v14.14 → node v14.17}/assert.d.ts +0 -0
- {node v14.14 → node v14.17}/async_hooks.d.ts +2 -2
- {node v14.14 → node v14.17}/base.d.ts +0 -0
- {node v14.14 → node v14.17}/buffer.d.ts +0 -0
- {node v14.14 → node v14.17}/child_process.d.ts +0 -0
- {node v14.14 → node v14.17}/cluster.d.ts +0 -0
- {node v14.14 → node v14.17}/console.d.ts +0 -0
- {node v14.14 → node v14.17}/constants.d.ts +0 -0
- {node v14.14 → node v14.17}/crypto.d.ts +14 -0
- {node v14.14 → node v14.17}/dgram.d.ts +0 -0
- {node v14.14 → node v14.17}/dns.d.ts +0 -0
- {node v14.14 → node v14.17}/domain.d.ts +0 -0
- {node v14.14 → node v14.17}/events.d.ts +0 -0
- {node v14.14 → node v14.17}/fs/promises.d.ts +0 -0
- {node v14.14 → node v14.17}/fs.d.ts +0 -0
- {node v14.14 → node v14.17}/globals.d.ts +0 -0
- {node v14.14 → node v14.17}/globals.global.d.ts +0 -0
- {node v14.14 → node v14.17}/http.d.ts +1 -1
- {node v14.14 → node v14.17}/http2.d.ts +0 -0
- {node v14.14 → node v14.17}/https.d.ts +0 -0
- {node v14.14 → node v14.17}/index.d.ts +2 -1
- {node v14.14 → node v14.17}/inspector.d.ts +0 -0
- {node v14.14 → node v14.17}/module.d.ts +0 -0
- {node v14.14 → node v14.17}/net.d.ts +4 -2
- {node v14.14 → node v14.17}/os.d.ts +0 -0
- {node v14.14 → node v14.17}/package.json +9 -3
- {node v14.14 → node v14.17}/path.d.ts +0 -0
- {node v14.14 → node v14.17}/perf_hooks.d.ts +1 -1
- {node v14.14 → node v14.17}/process.d.ts +0 -0
- {node v14.14 → node v14.17}/punycode.d.ts +0 -0
- {node v14.14 → node v14.17}/querystring.d.ts +0 -0
- {node v14.14 → node v14.17}/readline.d.ts +0 -0
- {node v14.14 → node v14.17}/repl.d.ts +3 -3
- {node v14.14 → node v14.17}/stream.d.ts +0 -0
- {node v14.14 → node v14.17}/string_decoder.d.ts +0 -0
- {node v14.14 → node v14.17}/timers.d.ts +0 -0
- {node v14.14 → node v14.17}/tls.d.ts +0 -0
- {node v14.14 → node v14.17}/trace_events.d.ts +0 -0
- {node v14.14 → node v14.17}/ts3.6/assert.d.ts +0 -0
- {node v14.14 → node v14.17}/ts3.6/base.d.ts +0 -0
- {node v14.14 → node v14.17}/ts3.6/index.d.ts +0 -0
- {node v14.14 → node v14.17}/tty.d.ts +0 -0
- {node v14.14 → node v14.17}/url.d.ts +0 -0
- {node v14.14 → node v14.17}/util.d.ts +0 -0
- {node v14.14 → node v14.17}/v8.d.ts +0 -0
- {node v14.14 → node v14.17}/vm.d.ts +1 -1
- {node v14.14 → node v14.17}/wasi.d.ts +0 -0
- {node v14.14 → node v14.17}/worker_threads.d.ts +0 -0
- {node v14.14 → node v14.17}/zlib.d.ts +0 -0
|
File without changes
|
|
@@ -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/v14.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Wed, 02 Jun 2021 07:31:35 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), [Minh Son Nguyen](https://github.com/nguymin4), [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), [Jason Kwok](https://github.com/JasonHK), [Victor Perin](https://github.com/victorperin),
|
|
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), [Minh Son Nguyen](https://github.com/nguymin4), [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), [Jason Kwok](https://github.com/JasonHK), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), and [Bond](https://github.com/bondz).
|
|
File without changes
|
|
@@ -85,7 +85,7 @@ declare module 'async_hooks' {
|
|
|
85
85
|
interface AsyncResourceOptions {
|
|
86
86
|
/**
|
|
87
87
|
* The ID of the execution context that created this async event.
|
|
88
|
-
*
|
|
88
|
+
* @default executionAsyncId()
|
|
89
89
|
*/
|
|
90
90
|
triggerAsyncId?: number;
|
|
91
91
|
|
|
@@ -94,7 +94,7 @@ declare module 'async_hooks' {
|
|
|
94
94
|
* This usually does not need to be set (even if `emitDestroy` is called
|
|
95
95
|
* manually), unless the resource's `asyncId` is retrieved and the
|
|
96
96
|
* sensitive API's `emitDestroy` is called with it.
|
|
97
|
-
*
|
|
97
|
+
* @default false
|
|
98
98
|
*/
|
|
99
99
|
requireManualDestroy?: boolean;
|
|
100
100
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -448,6 +448,20 @@ declare module 'crypto' {
|
|
|
448
448
|
callback: (err: Error | null, buf: T) => void,
|
|
449
449
|
): void;
|
|
450
450
|
|
|
451
|
+
interface RandomUUIDOptions {
|
|
452
|
+
/**
|
|
453
|
+
* By default, to improve performance,
|
|
454
|
+
* Node.js will pre-emptively generate and persistently cache enough
|
|
455
|
+
* random data to generate up to 128 random UUIDs. To generate a UUID
|
|
456
|
+
* without using the cache, set `disableEntropyCache` to `true`.
|
|
457
|
+
*
|
|
458
|
+
* @default `false`
|
|
459
|
+
*/
|
|
460
|
+
disableEntropyCache?: boolean;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
function randomUUID(options?: RandomUUIDOptions): string;
|
|
464
|
+
|
|
451
465
|
interface ScryptOptions {
|
|
452
466
|
cost?: number;
|
|
453
467
|
blockSize?: number;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
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.17
|
|
2
2
|
// Project: http://nodejs.org/
|
|
3
3
|
// Definitions by: Microsoft TypeScript <https://github.com/Microsoft>
|
|
4
4
|
// DefinitelyTyped <https://github.com/DefinitelyTyped>
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
// Jason Kwok <https://github.com/JasonHK>
|
|
42
42
|
// Victor Perin <https://github.com/victorperin>
|
|
43
43
|
// Yongsheng Zhang <https://github.com/ZYSzys>
|
|
44
|
+
// Bond <https://github.com/bondz>
|
|
44
45
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
45
46
|
|
|
46
47
|
// NOTE: These definitions support NodeJS and TypeScript 3.7.
|
|
File without changes
|
|
File without changes
|
|
@@ -184,12 +184,14 @@ declare module 'net' {
|
|
|
184
184
|
|
|
185
185
|
interface ServerOpts {
|
|
186
186
|
/**
|
|
187
|
-
* Indicates whether half-opened TCP connections are allowed.
|
|
187
|
+
* Indicates whether half-opened TCP connections are allowed.
|
|
188
|
+
* @default false
|
|
188
189
|
*/
|
|
189
190
|
allowHalfOpen?: boolean;
|
|
190
191
|
|
|
191
192
|
/**
|
|
192
|
-
* Indicates whether the socket should be paused on incoming connections.
|
|
193
|
+
* Indicates whether the socket should be paused on incoming connections.
|
|
194
|
+
* @default false
|
|
193
195
|
*/
|
|
194
196
|
pauseOnConnect?: boolean;
|
|
195
197
|
}
|
|
File without changes
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.17.2",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
|
+
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
5
6
|
"license": "MIT",
|
|
6
7
|
"contributors": [
|
|
7
8
|
{
|
|
@@ -208,6 +209,11 @@
|
|
|
208
209
|
"name": "Yongsheng Zhang",
|
|
209
210
|
"url": "https://github.com/ZYSzys",
|
|
210
211
|
"githubUsername": "ZYSzys"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "Bond",
|
|
215
|
+
"url": "https://github.com/bondz",
|
|
216
|
+
"githubUsername": "bondz"
|
|
211
217
|
}
|
|
212
218
|
],
|
|
213
219
|
"main": "",
|
|
@@ -226,6 +232,6 @@
|
|
|
226
232
|
},
|
|
227
233
|
"scripts": {},
|
|
228
234
|
"dependencies": {},
|
|
229
|
-
"typesPublisherContentHash": "
|
|
230
|
-
"typeScriptVersion": "3.
|
|
235
|
+
"typesPublisherContentHash": "6acb20f1278795713247535f7e3c3a517859214f635c3e5d26863a6d5fe79c21",
|
|
236
|
+
"typeScriptVersion": "3.6"
|
|
231
237
|
}
|
|
File without changes
|
|
@@ -116,7 +116,7 @@ declare module 'perf_hooks' {
|
|
|
116
116
|
* @param startMark
|
|
117
117
|
* @param endMark
|
|
118
118
|
*/
|
|
119
|
-
measure(name: string, startMark
|
|
119
|
+
measure(name: string, startMark?: string, endMark?: string): void;
|
|
120
120
|
|
|
121
121
|
/**
|
|
122
122
|
* An instance of the PerformanceNodeTiming class that provides performance metrics for specific Node.js operational milestones.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -6,17 +6,17 @@ declare module 'repl' {
|
|
|
6
6
|
interface ReplOptions {
|
|
7
7
|
/**
|
|
8
8
|
* The input prompt to display.
|
|
9
|
-
*
|
|
9
|
+
* @default "> "
|
|
10
10
|
*/
|
|
11
11
|
prompt?: string;
|
|
12
12
|
/**
|
|
13
13
|
* The `Readable` stream from which REPL input will be read.
|
|
14
|
-
*
|
|
14
|
+
* @default process.stdin
|
|
15
15
|
*/
|
|
16
16
|
input?: NodeJS.ReadableStream;
|
|
17
17
|
/**
|
|
18
18
|
* The `Writable` stream to which REPL output will be written.
|
|
19
|
-
*
|
|
19
|
+
* @default process.stdout
|
|
20
20
|
*/
|
|
21
21
|
output?: NodeJS.WritableStream;
|
|
22
22
|
/**
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|