@types/node 12.19.14 → 12.19.15

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 v12.19/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/v12.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Thu, 14 Jan 2021 21:29:49 GMT
11
+ * Last updated: Wed, 20 Jan 2021 18:32:26 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Buffer`, `NodeJS`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
14
14
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "12.19.14",
3
+ "version": "12.19.15",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -213,6 +213,11 @@
213
213
  "main": "",
214
214
  "types": "index.d.ts",
215
215
  "typesVersions": {
216
+ "<=3.4": {
217
+ "*": [
218
+ "ts3.4/*"
219
+ ]
220
+ },
216
221
  "<=3.6": {
217
222
  "*": [
218
223
  "ts3.6/*"
@@ -226,6 +231,6 @@
226
231
  },
227
232
  "scripts": {},
228
233
  "dependencies": {},
229
- "typesPublisherContentHash": "284f8d9969ff88a17b5e9c0a7936399fe8db8ef90df2cb13b2a65a38ca240c22",
234
+ "typesPublisherContentHash": "77d1ea4692061c5725e63806bb145dd14e0f6b71e3078a89367a97c0b897464e",
230
235
  "typeScriptVersion": "3.4"
231
236
  }
File without changes
@@ -0,0 +1,54 @@
1
+ // NOTE: These definitions support NodeJS and TypeScript 3.2.
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
+ /// <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="../http.d.ts" />
30
+ /// <reference path="../http2.d.ts" />
31
+ /// <reference path="../https.d.ts" />
32
+ /// <reference path="../inspector.d.ts" />
33
+ /// <reference path="../module.d.ts" />
34
+ /// <reference path="../net.d.ts" />
35
+ /// <reference path="../os.d.ts" />
36
+ /// <reference path="../path.d.ts" />
37
+ /// <reference path="../perf_hooks.d.ts" />
38
+ /// <reference path="../process.d.ts" />
39
+ /// <reference path="../punycode.d.ts" />
40
+ /// <reference path="../querystring.d.ts" />
41
+ /// <reference path="../readline.d.ts" />
42
+ /// <reference path="../repl.d.ts" />
43
+ /// <reference path="../stream.d.ts" />
44
+ /// <reference path="../string_decoder.d.ts" />
45
+ /// <reference path="../timers.d.ts" />
46
+ /// <reference path="../tls.d.ts" />
47
+ /// <reference path="../trace_events.d.ts" />
48
+ /// <reference path="../tty.d.ts" />
49
+ /// <reference path="../url.d.ts" />
50
+ /// <reference path="../util.d.ts" />
51
+ /// <reference path="../v8.d.ts" />
52
+ /// <reference path="../vm.d.ts" />
53
+ /// <reference path="../worker_threads.d.ts" />
54
+ /// <reference path="../zlib.d.ts" />
@@ -0,0 +1 @@
1
+ declare var global: NodeJS.Global;
@@ -0,0 +1,8 @@
1
+ // NOTE: These definitions support NodeJS and TypeScript 3.2.
2
+ // This is requried to enable globalThis support for global in ts3.4 without causing errors
3
+ // This is requried 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" />
@@ -13,45 +13,7 @@
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="../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="../http.d.ts" />
30
- /// <reference path="../http2.d.ts" />
31
- /// <reference path="../https.d.ts" />
32
- /// <reference path="../inspector.d.ts" />
33
- /// <reference path="../module.d.ts" />
34
- /// <reference path="../net.d.ts" />
35
- /// <reference path="../os.d.ts" />
36
- /// <reference path="../path.d.ts" />
37
- /// <reference path="../perf_hooks.d.ts" />
38
- /// <reference path="../process.d.ts" />
39
- /// <reference path="../punycode.d.ts" />
40
- /// <reference path="../querystring.d.ts" />
41
- /// <reference path="../readline.d.ts" />
42
- /// <reference path="../repl.d.ts" />
43
- /// <reference path="../stream.d.ts" />
44
- /// <reference path="../string_decoder.d.ts" />
45
- /// <reference path="../timers.d.ts" />
46
- /// <reference path="../tls.d.ts" />
47
- /// <reference path="../trace_events.d.ts" />
48
- /// <reference path="../tty.d.ts" />
49
- /// <reference path="../url.d.ts" />
50
- /// <reference path="../util.d.ts" />
51
- /// <reference path="../v8.d.ts" />
52
- /// <reference path="../vm.d.ts" />
53
- /// <reference path="../worker_threads.d.ts" />
54
- /// <reference path="../zlib.d.ts" />
16
+ /// <reference path="../ts3.4/base.d.ts" />
55
17
 
56
18
  // TypeScript 3.5-specific augmentations:
57
19
  /// <reference path="../globals.global.d.ts" />
@@ -3,4 +3,5 @@
3
3
  // Typically type modifications should be made in base.d.ts instead of here
4
4
 
5
5
  /// <reference path="base.d.ts" />
6
- /// <reference path="assert.d.ts" />
6
+
7
+ /// <reference path="../ts3.4/assert.d.ts" />