@types/node 13.13.5 → 13.13.9
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 +3 -3
- {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/globals.d.ts → node v13.13/globals.d.ts +0 -1
- node v13.13/globals.global.d.ts +1 -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/index.d.ts → node v13.13/index.d.ts +5 -1
- {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 +8 -3
- {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/ts3.2/base.d.ts → node v13.13/ts3.2/base.d.ts +1 -1
- {node → node v13.13}/ts3.2/fs.d.ts +0 -0
- {node → node v13.13}/ts3.2/globals.d.ts +0 -0
- node/ts3.2/index.d.ts → node v13.13/ts3.2/index.d.ts +4 -0
- {node → node v13.13}/ts3.2/util.d.ts +0 -0
- node/ts3.5/base.d.ts → node v13.13/ts3.5/base.d.ts +3 -0
- node v13.13/ts3.5/globals.global.d.ts +1 -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 → node v13.13}/worker_threads.d.ts +0 -0
- {node → node v13.13}/zlib.d.ts +0 -0
{node → node v13.13}/LICENSE
RENAMED
|
File without changes
|
|
@@ -5,12 +5,12 @@
|
|
|
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: Thu, 21 May 2020 20:08:46 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
|
|
|
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), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nicolas Voigt](https://github.com/octo-sniffle), [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), [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), [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),
|
|
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), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nicolas Voigt](https://github.com/octo-sniffle), [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), [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), [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), and [Jason Kwok](https://github.com/JasonHK).
|
{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
|
|
@@ -141,7 +141,6 @@ interface RequireResolve extends NodeJS.RequireResolve {}
|
|
|
141
141
|
interface NodeModule extends NodeJS.Module {}
|
|
142
142
|
|
|
143
143
|
declare var process: NodeJS.Process;
|
|
144
|
-
declare var global: NodeJS.Global;
|
|
145
144
|
declare var console: Console;
|
|
146
145
|
|
|
147
146
|
declare var __filename: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare var global: NodeJS.Global;
|
{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
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
// ExE Boss <https://github.com/ExE-Boss>
|
|
44
44
|
// Surasak Chaisurin <https://github.com/Ryan-Willpower>
|
|
45
45
|
// Piotr Błażejewicz <https://github.com/peterblazejewicz>
|
|
46
|
+
// Jason Kwok <https://github.com/JasonHK>
|
|
46
47
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
47
48
|
|
|
48
49
|
// NOTE: These definitions support NodeJS and TypeScript 3.5.
|
|
@@ -59,7 +60,10 @@
|
|
|
59
60
|
// Base definitions for all NodeJS modules that are not specific to any version of TypeScript:
|
|
60
61
|
/// <reference path="base.d.ts" />
|
|
61
62
|
|
|
62
|
-
// We can't include
|
|
63
|
+
// We can't include globals.global.d.ts in globals.d.ts, as it'll cause duplication errors in TypeScript 3.5+
|
|
64
|
+
/// <reference path="globals.global.d.ts" />
|
|
65
|
+
|
|
66
|
+
// We can't include assert.d.ts in base.d.ts, as it'll cause duplication errors in TypeScript 3.7+
|
|
63
67
|
/// <reference path="assert.d.ts" />
|
|
64
68
|
|
|
65
69
|
// Forward-declarations for needed types from es2015 and later (in case users are using `--lib es5`)
|
|
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.9",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -218,6 +218,11 @@
|
|
|
218
218
|
"name": "Piotr Błażejewicz",
|
|
219
219
|
"url": "https://github.com/peterblazejewicz",
|
|
220
220
|
"githubUsername": "peterblazejewicz"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"name": "Jason Kwok",
|
|
224
|
+
"url": "https://github.com/JasonHK",
|
|
225
|
+
"githubUsername": "JasonHK"
|
|
221
226
|
}
|
|
222
227
|
],
|
|
223
228
|
"main": "",
|
|
@@ -246,6 +251,6 @@
|
|
|
246
251
|
},
|
|
247
252
|
"scripts": {},
|
|
248
253
|
"dependencies": {},
|
|
249
|
-
"typesPublisherContentHash": "
|
|
250
|
-
"typeScriptVersion": "
|
|
254
|
+
"typesPublisherContentHash": "3d889e6422d2f890c62b6e14d23ec897600e016721b19dc9a1460638a8253f1b",
|
|
255
|
+
"typeScriptVersion": "3.0"
|
|
251
256
|
}
|
{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
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// - ~/base.d.ts - Shared definitions common to all TypeScript versions
|
|
5
5
|
// - ~/index.d.ts - Definitions specific to TypeScript 2.1
|
|
6
6
|
// - ~/ts3.2/base.d.ts - Definitions specific to TypeScript 3.2
|
|
7
|
-
// - ~/ts3.2/index.d.ts - Definitions specific to TypeScript 3.2 with assert pulled in
|
|
7
|
+
// - ~/ts3.2/index.d.ts - Definitions specific to TypeScript 3.2 with global and assert pulled in
|
|
8
8
|
|
|
9
9
|
// Reference required types from the default lib:
|
|
10
10
|
/// <reference lib="es2018" />
|
|
File without changes
|
|
File without changes
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// NOTE: These definitions support NodeJS and TypeScript 3.2.
|
|
2
|
+
// This is requried to enable globalThis support for global in ts3.5 without causing errors
|
|
2
3
|
// This is requried to enable typing assert in ts3.7 without causing errors
|
|
3
4
|
// Typically type modifiations should be made in base.d.ts instead of here
|
|
4
5
|
|
|
@@ -6,3 +7,6 @@
|
|
|
6
7
|
|
|
7
8
|
// tslint:disable-next-line:no-bad-reference
|
|
8
9
|
/// <reference path="../assert.d.ts" />
|
|
10
|
+
|
|
11
|
+
// tslint:disable-next-line:no-bad-reference
|
|
12
|
+
/// <reference path="../globals.global.d.ts" />
|
|
File without changes
|
|
@@ -16,5 +16,8 @@
|
|
|
16
16
|
// tslint:disable-next-line:no-bad-reference
|
|
17
17
|
/// <reference path="../ts3.2/base.d.ts" />
|
|
18
18
|
|
|
19
|
+
// TypeScript 3.4-specific augmentations:
|
|
20
|
+
/// <reference path="globals.global.d.ts" />
|
|
21
|
+
|
|
19
22
|
// TypeScript 3.5-specific augmentations:
|
|
20
23
|
/// <reference path="wasi.d.ts" />
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare var global: NodeJS.Global & typeof globalThis;
|
|
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
|
|
File without changes
|
{node → node v13.13}/zlib.d.ts
RENAMED
|
File without changes
|