@types/node 15.0.2 → 15.0.3
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/async_hooks.d.ts +2 -2
- node/net.d.ts +4 -2
- node/package.json +2 -2
- node/repl.d.ts +3 -3
- node/vm.d.ts +1 -1
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://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Wed, 12 May 2021 19:31:25 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `Buffer`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
|
|
14
14
|
|
node/async_hooks.d.ts
CHANGED
|
@@ -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
|
}
|
node/net.d.ts
CHANGED
|
@@ -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
|
}
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "15.0.
|
|
3
|
+
"version": "15.0.3",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -226,6 +226,6 @@
|
|
|
226
226
|
},
|
|
227
227
|
"scripts": {},
|
|
228
228
|
"dependencies": {},
|
|
229
|
-
"typesPublisherContentHash": "
|
|
229
|
+
"typesPublisherContentHash": "7eb5009dd18ced46416312bd99ea35153ef26b85864ab15d6e7d84966531879b",
|
|
230
230
|
"typeScriptVersion": "3.5"
|
|
231
231
|
}
|
node/repl.d.ts
CHANGED
|
@@ -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
|
/**
|