@types/node 13.13.4 → 13.13.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 → node v13.13}/LICENSE +0 -0
- node/README.md → node v13.13/README.md +2 -2
- {node → node v13.13}/assert.d.ts +0 -0
- {node → node v13.13}/async_hooks.d.ts +0 -0
- {node → node v13.13}/base.d.ts +0 -0
- {node → node v13.13}/buffer.d.ts +0 -0
- node/child_process.d.ts → node v13.13/child_process.d.ts +4 -0
- {node → node v13.13}/cluster.d.ts +0 -0
- {node → node v13.13}/console.d.ts +0 -0
- {node → node v13.13}/constants.d.ts +0 -0
- {node → node v13.13}/crypto.d.ts +0 -0
- {node → node v13.13}/dgram.d.ts +0 -0
- {node → node v13.13}/dns.d.ts +0 -0
- {node → node v13.13}/domain.d.ts +0 -0
- {node → node v13.13}/events.d.ts +0 -0
- {node → node v13.13}/fs.d.ts +0 -0
- {node → node v13.13}/globals.d.ts +0 -0
- {node → node v13.13}/http.d.ts +0 -0
- {node → node v13.13}/http2.d.ts +0 -0
- {node → node v13.13}/https.d.ts +0 -0
- {node → node v13.13}/index.d.ts +0 -0
- {node → node v13.13}/inspector.d.ts +0 -0
- {node → node v13.13}/module.d.ts +0 -0
- {node → node v13.13}/net.d.ts +0 -0
- {node → node v13.13}/os.d.ts +0 -0
- node/package.json → node v13.13/package.json +7 -7
- {node → node v13.13}/path.d.ts +0 -0
- {node → node v13.13}/perf_hooks.d.ts +0 -0
- {node → node v13.13}/process.d.ts +0 -0
- {node → node v13.13}/punycode.d.ts +0 -0
- {node → node v13.13}/querystring.d.ts +0 -0
- {node → node v13.13}/readline.d.ts +0 -0
- {node → node v13.13}/repl.d.ts +0 -0
- {node → node v13.13}/stream.d.ts +0 -0
- {node → node v13.13}/string_decoder.d.ts +0 -0
- {node → node v13.13}/timers.d.ts +0 -0
- {node → node v13.13}/tls.d.ts +0 -0
- {node → node v13.13}/trace_events.d.ts +0 -0
- {node → node v13.13}/ts3.2/base.d.ts +0 -0
- {node → node v13.13}/ts3.2/fs.d.ts +0 -0
- {node → node v13.13}/ts3.2/globals.d.ts +0 -0
- {node → node v13.13}/ts3.2/index.d.ts +0 -0
- {node → node v13.13}/ts3.2/util.d.ts +0 -0
- {node → node v13.13}/ts3.5/base.d.ts +0 -0
- {node → node v13.13}/ts3.5/index.d.ts +0 -0
- {node → node v13.13}/ts3.5/wasi.d.ts +0 -0
- {node → node v13.13}/ts3.7/assert.d.ts +0 -0
- {node → node v13.13}/ts3.7/base.d.ts +0 -0
- {node → node v13.13}/ts3.7/index.d.ts +0 -0
- {node → node v13.13}/tty.d.ts +0 -0
- {node → node v13.13}/url.d.ts +0 -0
- node/util.d.ts → node v13.13/util.d.ts +1 -0
- {node → node v13.13}/v8.d.ts +0 -0
- {node → node v13.13}/vm.d.ts +0 -0
- node/worker_threads.d.ts → node v13.13/worker_threads.d.ts +24 -23
- {node → node v13.13}/zlib.d.ts +0 -0
{node → node v13.13}/LICENSE
RENAMED
|
File without changes
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
This package contains type definitions for Node.js (http://nodejs.org/).
|
|
6
6
|
|
|
7
7
|
# Details
|
|
8
|
-
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
|
8
|
+
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v13.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Tue, 19 May 2020 23:09:25 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Buffer`, `Symbol`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
|
|
14
14
|
|
{node → node v13.13}/assert.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
{node → node v13.13}/base.d.ts
RENAMED
|
File without changes
|
{node → node v13.13}/buffer.d.ts
RENAMED
|
File without changes
|
|
@@ -21,6 +21,10 @@ declare module "child_process" {
|
|
|
21
21
|
readonly killed: boolean;
|
|
22
22
|
readonly pid: number;
|
|
23
23
|
readonly connected: boolean;
|
|
24
|
+
readonly exitCode: number | null;
|
|
25
|
+
readonly signalCode: number | null;
|
|
26
|
+
readonly spawnargs: string[];
|
|
27
|
+
readonly spawnfile: string;
|
|
24
28
|
kill(signal?: NodeJS.Signals | number): boolean;
|
|
25
29
|
send(message: Serializable, callback?: (error: Error | null) => void): boolean;
|
|
26
30
|
send(message: Serializable, sendHandle?: SendHandle, callback?: (error: Error | null) => void): boolean;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{node → node v13.13}/crypto.d.ts
RENAMED
|
File without changes
|
{node → node v13.13}/dgram.d.ts
RENAMED
|
File without changes
|
{node → node v13.13}/dns.d.ts
RENAMED
|
File without changes
|
{node → node v13.13}/domain.d.ts
RENAMED
|
File without changes
|
{node → node v13.13}/events.d.ts
RENAMED
|
File without changes
|
{node → node v13.13}/fs.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
{node → node v13.13}/http.d.ts
RENAMED
|
File without changes
|
{node → node v13.13}/http2.d.ts
RENAMED
|
File without changes
|
{node → node v13.13}/https.d.ts
RENAMED
|
File without changes
|
{node → node v13.13}/index.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
{node → node v13.13}/module.d.ts
RENAMED
|
File without changes
|
{node → node v13.13}/net.d.ts
RENAMED
|
File without changes
|
{node → node v13.13}/os.d.ts
RENAMED
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "13.13.
|
|
3
|
+
"version": "13.13.8",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -223,9 +223,9 @@
|
|
|
223
223
|
"main": "",
|
|
224
224
|
"types": "index.d.ts",
|
|
225
225
|
"typesVersions": {
|
|
226
|
-
">=3.
|
|
226
|
+
">=3.7.0-0": {
|
|
227
227
|
"*": [
|
|
228
|
-
"ts3.
|
|
228
|
+
"ts3.7/*"
|
|
229
229
|
]
|
|
230
230
|
},
|
|
231
231
|
">=3.5.0-0": {
|
|
@@ -233,9 +233,9 @@
|
|
|
233
233
|
"ts3.5/*"
|
|
234
234
|
]
|
|
235
235
|
},
|
|
236
|
-
">=3.
|
|
236
|
+
">=3.2.0-0": {
|
|
237
237
|
"*": [
|
|
238
|
-
"ts3.
|
|
238
|
+
"ts3.2/*"
|
|
239
239
|
]
|
|
240
240
|
}
|
|
241
241
|
},
|
|
@@ -246,6 +246,6 @@
|
|
|
246
246
|
},
|
|
247
247
|
"scripts": {},
|
|
248
248
|
"dependencies": {},
|
|
249
|
-
"typesPublisherContentHash": "
|
|
250
|
-
"typeScriptVersion": "
|
|
249
|
+
"typesPublisherContentHash": "2a3c717a90de5f5d2e67f7472bdf458b09ca743b8a9f93d1cbd5df78f07446cf",
|
|
250
|
+
"typeScriptVersion": "3.0"
|
|
251
251
|
}
|
{node → node v13.13}/path.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{node → node v13.13}/repl.d.ts
RENAMED
|
File without changes
|
{node → node v13.13}/stream.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
{node → node v13.13}/timers.d.ts
RENAMED
|
File without changes
|
{node → node v13.13}/tls.d.ts
RENAMED
|
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
|
{node → node v13.13}/tty.d.ts
RENAMED
|
File without changes
|
{node → node v13.13}/url.d.ts
RENAMED
|
File without changes
|
|
@@ -123,6 +123,7 @@ declare module "util" {
|
|
|
123
123
|
function isAnyArrayBuffer(object: any): boolean;
|
|
124
124
|
function isArgumentsObject(object: any): object is IArguments;
|
|
125
125
|
function isArrayBuffer(object: any): object is ArrayBuffer;
|
|
126
|
+
function isArrayBufferView(object: any): object is ArrayBufferView;
|
|
126
127
|
function isAsyncFunction(object: any): boolean;
|
|
127
128
|
function isBooleanObject(object: any): object is Boolean;
|
|
128
129
|
function isBoxedPrimitive(object: any): object is (Number | Boolean | String | Symbol /* | Object(BigInt) | Object(Symbol) */);
|
{node → node v13.13}/v8.d.ts
RENAMED
|
File without changes
|
{node → node v13.13}/vm.d.ts
RENAMED
|
File without changes
|
|
@@ -105,29 +105,6 @@ declare module "worker_threads" {
|
|
|
105
105
|
* Returns a Promise for the exit code that is fulfilled when the `exit` event is emitted.
|
|
106
106
|
*/
|
|
107
107
|
terminate(): Promise<number>;
|
|
108
|
-
/**
|
|
109
|
-
* Transfer a `MessagePort` to a different `vm` Context. The original `port`
|
|
110
|
-
* object will be rendered unusable, and the returned `MessagePort` instance will
|
|
111
|
-
* take its place.
|
|
112
|
-
*
|
|
113
|
-
* The returned `MessagePort` will be an object in the target context, and will
|
|
114
|
-
* inherit from its global `Object` class. Objects passed to the
|
|
115
|
-
* `port.onmessage()` listener will also be created in the target context
|
|
116
|
-
* and inherit from its global `Object` class.
|
|
117
|
-
*
|
|
118
|
-
* However, the created `MessagePort` will no longer inherit from
|
|
119
|
-
* `EventEmitter`, and only `port.onmessage()` can be used to receive
|
|
120
|
-
* events using it.
|
|
121
|
-
*/
|
|
122
|
-
moveMessagePortToContext(port: MessagePort, context: Context): MessagePort;
|
|
123
|
-
|
|
124
|
-
/**
|
|
125
|
-
* Receive a single message from a given `MessagePort`. If no message is available,
|
|
126
|
-
* `undefined` is returned, otherwise an object with a single `message` property
|
|
127
|
-
* that contains the message payload, corresponding to the oldest message in the
|
|
128
|
-
* `MessagePort`’s queue.
|
|
129
|
-
*/
|
|
130
|
-
receiveMessageOnPort(port: MessagePort): {} | undefined;
|
|
131
108
|
|
|
132
109
|
/**
|
|
133
110
|
* Returns a readable stream for a V8 snapshot of the current state of the Worker.
|
|
@@ -187,4 +164,28 @@ declare module "worker_threads" {
|
|
|
187
164
|
off(event: "online", listener: () => void): this;
|
|
188
165
|
off(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
189
166
|
}
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Transfer a `MessagePort` to a different `vm` Context. The original `port`
|
|
170
|
+
* object will be rendered unusable, and the returned `MessagePort` instance will
|
|
171
|
+
* take its place.
|
|
172
|
+
*
|
|
173
|
+
* The returned `MessagePort` will be an object in the target context, and will
|
|
174
|
+
* inherit from its global `Object` class. Objects passed to the
|
|
175
|
+
* `port.onmessage()` listener will also be created in the target context
|
|
176
|
+
* and inherit from its global `Object` class.
|
|
177
|
+
*
|
|
178
|
+
* However, the created `MessagePort` will no longer inherit from
|
|
179
|
+
* `EventEmitter`, and only `port.onmessage()` can be used to receive
|
|
180
|
+
* events using it.
|
|
181
|
+
*/
|
|
182
|
+
function moveMessagePortToContext(port: MessagePort, context: Context): MessagePort;
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Receive a single message from a given `MessagePort`. If no message is available,
|
|
186
|
+
* `undefined` is returned, otherwise an object with a single `message` property
|
|
187
|
+
* that contains the message payload, corresponding to the oldest message in the
|
|
188
|
+
* `MessagePort`’s queue.
|
|
189
|
+
*/
|
|
190
|
+
function receiveMessageOnPort(port: MessagePort): { message: any } | undefined;
|
|
190
191
|
}
|
{node → node v13.13}/zlib.d.ts
RENAMED
|
File without changes
|