@types/node 14.14.32 → 14.14.33
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/package.json +2 -7
- node/{ts3.4 → ts3.6}/assert.d.ts +0 -0
- node/ts3.6/base.d.ts +44 -5
- node/ts3.6/index.d.ts +1 -1
- node/ts3.4/base.d.ts +0 -56
- node/ts3.4/globals.global.d.ts +0 -1
- node/ts3.4/index.d.ts +0 -8
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: Tue, 09 Mar 2021 16:20:13 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
|
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "14.14.
|
|
3
|
+
"version": "14.14.33",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -218,11 +218,6 @@
|
|
|
218
218
|
"main": "",
|
|
219
219
|
"types": "index.d.ts",
|
|
220
220
|
"typesVersions": {
|
|
221
|
-
"<=3.4": {
|
|
222
|
-
"*": [
|
|
223
|
-
"ts3.4/*"
|
|
224
|
-
]
|
|
225
|
-
},
|
|
226
221
|
"<=3.6": {
|
|
227
222
|
"*": [
|
|
228
223
|
"ts3.6/*"
|
|
@@ -236,6 +231,6 @@
|
|
|
236
231
|
},
|
|
237
232
|
"scripts": {},
|
|
238
233
|
"dependencies": {},
|
|
239
|
-
"typesPublisherContentHash": "
|
|
234
|
+
"typesPublisherContentHash": "3ffcc162a75cb25ad9ac270aab4c2a70fa25432a78bb156bb96e0fc7f87b789d",
|
|
240
235
|
"typeScriptVersion": "3.5"
|
|
241
236
|
}
|
node/{ts3.4 → ts3.6}/assert.d.ts
RENAMED
|
File without changes
|
node/ts3.6/base.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
// NOTE: These definitions support NodeJS and TypeScript 3.
|
|
1
|
+
// NOTE: These definitions support NodeJS and TypeScript 3.6 and earlier.
|
|
2
2
|
|
|
3
3
|
// NOTE: TypeScript version-specific augmentations can be found in the following paths:
|
|
4
4
|
// - ~/base.d.ts - Shared definitions common to all TypeScript versions
|
|
5
|
-
// - ~/index.d.ts - Definitions specific to TypeScript
|
|
6
|
-
// - ~/ts3.5/base.d.ts - Definitions specific to TypeScript 3.
|
|
7
|
-
// - ~/ts3.5/index.d.ts - Definitions specific to TypeScript 3.
|
|
5
|
+
// - ~/index.d.ts - Definitions specific to TypeScript 3.7 and above
|
|
6
|
+
// - ~/ts3.5/base.d.ts - Definitions specific to TypeScript 3.6 and earlier
|
|
7
|
+
// - ~/ts3.5/index.d.ts - Definitions specific to TypeScript 3.6 and earlier with assert pulled in
|
|
8
8
|
|
|
9
9
|
// Reference required types from the default lib:
|
|
10
10
|
/// <reference lib="es2018" />
|
|
@@ -13,7 +13,46 @@
|
|
|
13
13
|
/// <reference lib="esnext.bigint" />
|
|
14
14
|
|
|
15
15
|
// Base definitions for all NodeJS modules that are not specific to any version of TypeScript:
|
|
16
|
-
/// <reference path="../
|
|
16
|
+
/// <reference path="../globals.d.ts" />
|
|
17
|
+
/// <reference path="../async_hooks.d.ts" />
|
|
18
|
+
/// <reference path="../buffer.d.ts" />
|
|
19
|
+
/// <reference path="../child_process.d.ts" />
|
|
20
|
+
/// <reference path="../cluster.d.ts" />
|
|
21
|
+
/// <reference path="../console.d.ts" />
|
|
22
|
+
/// <reference path="../constants.d.ts" />
|
|
23
|
+
/// <reference path="../crypto.d.ts" />
|
|
24
|
+
/// <reference path="../dgram.d.ts" />
|
|
25
|
+
/// <reference path="../dns.d.ts" />
|
|
26
|
+
/// <reference path="../domain.d.ts" />
|
|
27
|
+
/// <reference path="../events.d.ts" />
|
|
28
|
+
/// <reference path="../fs.d.ts" />
|
|
29
|
+
/// <reference path="../fs/promises.d.ts" />
|
|
30
|
+
/// <reference path="../http.d.ts" />
|
|
31
|
+
/// <reference path="../http2.d.ts" />
|
|
32
|
+
/// <reference path="../https.d.ts" />
|
|
33
|
+
/// <reference path="../inspector.d.ts" />
|
|
34
|
+
/// <reference path="../module.d.ts" />
|
|
35
|
+
/// <reference path="../net.d.ts" />
|
|
36
|
+
/// <reference path="../os.d.ts" />
|
|
37
|
+
/// <reference path="../path.d.ts" />
|
|
38
|
+
/// <reference path="../perf_hooks.d.ts" />
|
|
39
|
+
/// <reference path="../process.d.ts" />
|
|
40
|
+
/// <reference path="../punycode.d.ts" />
|
|
41
|
+
/// <reference path="../querystring.d.ts" />
|
|
42
|
+
/// <reference path="../readline.d.ts" />
|
|
43
|
+
/// <reference path="../repl.d.ts" />
|
|
44
|
+
/// <reference path="../stream.d.ts" />
|
|
45
|
+
/// <reference path="../string_decoder.d.ts" />
|
|
46
|
+
/// <reference path="../timers.d.ts" />
|
|
47
|
+
/// <reference path="../tls.d.ts" />
|
|
48
|
+
/// <reference path="../trace_events.d.ts" />
|
|
49
|
+
/// <reference path="../tty.d.ts" />
|
|
50
|
+
/// <reference path="../url.d.ts" />
|
|
51
|
+
/// <reference path="../util.d.ts" />
|
|
52
|
+
/// <reference path="../v8.d.ts" />
|
|
53
|
+
/// <reference path="../vm.d.ts" />
|
|
54
|
+
/// <reference path="../worker_threads.d.ts" />
|
|
55
|
+
/// <reference path="../zlib.d.ts" />
|
|
17
56
|
|
|
18
57
|
// TypeScript 3.5-specific augmentations:
|
|
19
58
|
/// <reference path="../globals.global.d.ts" />
|
node/ts3.6/index.d.ts
CHANGED
node/ts3.4/base.d.ts
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
// NOTE: These definitions support NodeJS and TypeScript 3.2 - 3.4.
|
|
2
|
-
|
|
3
|
-
// NOTE: TypeScript version-specific augmentations can be found in the following paths:
|
|
4
|
-
// - ~/base.d.ts - Shared definitions common to all TypeScript versions
|
|
5
|
-
// - ~/index.d.ts - Definitions specific to TypeScript 2.1
|
|
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 global and assert pulled in
|
|
8
|
-
|
|
9
|
-
// Reference required types from the default lib:
|
|
10
|
-
/// <reference lib="es2018" />
|
|
11
|
-
/// <reference lib="esnext.asynciterable" />
|
|
12
|
-
/// <reference lib="esnext.intl" />
|
|
13
|
-
/// <reference lib="esnext.bigint" />
|
|
14
|
-
|
|
15
|
-
// Base definitions for all NodeJS modules that are not specific to any version of TypeScript:
|
|
16
|
-
|
|
17
|
-
/// <reference path="../globals.d.ts" />
|
|
18
|
-
/// <reference path="../async_hooks.d.ts" />
|
|
19
|
-
/// <reference path="../buffer.d.ts" />
|
|
20
|
-
/// <reference path="../child_process.d.ts" />
|
|
21
|
-
/// <reference path="../cluster.d.ts" />
|
|
22
|
-
/// <reference path="../console.d.ts" />
|
|
23
|
-
/// <reference path="../constants.d.ts" />
|
|
24
|
-
/// <reference path="../crypto.d.ts" />
|
|
25
|
-
/// <reference path="../dgram.d.ts" />
|
|
26
|
-
/// <reference path="../dns.d.ts" />
|
|
27
|
-
/// <reference path="../domain.d.ts" />
|
|
28
|
-
/// <reference path="../events.d.ts" />
|
|
29
|
-
/// <reference path="../fs.d.ts" />
|
|
30
|
-
/// <reference path="../fs/promises.d.ts" />
|
|
31
|
-
/// <reference path="../http.d.ts" />
|
|
32
|
-
/// <reference path="../http2.d.ts" />
|
|
33
|
-
/// <reference path="../https.d.ts" />
|
|
34
|
-
/// <reference path="../inspector.d.ts" />
|
|
35
|
-
/// <reference path="../module.d.ts" />
|
|
36
|
-
/// <reference path="../net.d.ts" />
|
|
37
|
-
/// <reference path="../os.d.ts" />
|
|
38
|
-
/// <reference path="../path.d.ts" />
|
|
39
|
-
/// <reference path="../perf_hooks.d.ts" />
|
|
40
|
-
/// <reference path="../process.d.ts" />
|
|
41
|
-
/// <reference path="../punycode.d.ts" />
|
|
42
|
-
/// <reference path="../querystring.d.ts" />
|
|
43
|
-
/// <reference path="../readline.d.ts" />
|
|
44
|
-
/// <reference path="../repl.d.ts" />
|
|
45
|
-
/// <reference path="../stream.d.ts" />
|
|
46
|
-
/// <reference path="../string_decoder.d.ts" />
|
|
47
|
-
/// <reference path="../timers.d.ts" />
|
|
48
|
-
/// <reference path="../tls.d.ts" />
|
|
49
|
-
/// <reference path="../trace_events.d.ts" />
|
|
50
|
-
/// <reference path="../tty.d.ts" />
|
|
51
|
-
/// <reference path="../url.d.ts" />
|
|
52
|
-
/// <reference path="../util.d.ts" />
|
|
53
|
-
/// <reference path="../v8.d.ts" />
|
|
54
|
-
/// <reference path="../vm.d.ts" />
|
|
55
|
-
/// <reference path="../worker_threads.d.ts" />
|
|
56
|
-
/// <reference path="../zlib.d.ts" />
|
node/ts3.4/globals.global.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
declare var global: NodeJS.Global;
|
node/ts3.4/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// NOTE: These definitions support NodeJS and TypeScript 3.2 - 3.4.
|
|
2
|
-
// This is required to enable globalThis support for global in ts3.5 without causing errors
|
|
3
|
-
// This is required to enable typing assert in ts3.7 without causing errors
|
|
4
|
-
// Typically type modifiations should be made in base.d.ts instead of here
|
|
5
|
-
|
|
6
|
-
/// <reference path="base.d.ts" />
|
|
7
|
-
/// <reference path="assert.d.ts" />
|
|
8
|
-
/// <reference path="globals.global.d.ts" />
|