@types/node 12.20.4 → 12.20.5

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.20/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: Fri, 19 Feb 2021 17:58:50 GMT
11
+ * Last updated: Tue, 09 Mar 2021 16:20:20 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.20.4",
3
+ "version": "12.20.5",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -198,11 +198,6 @@
198
198
  "main": "",
199
199
  "types": "index.d.ts",
200
200
  "typesVersions": {
201
- "<=3.4": {
202
- "*": [
203
- "ts3.4/*"
204
- ]
205
- },
206
201
  "<=3.6": {
207
202
  "*": [
208
203
  "ts3.6/*"
@@ -216,6 +211,6 @@
216
211
  },
217
212
  "scripts": {},
218
213
  "dependencies": {},
219
- "typesPublisherContentHash": "39d6d8c79433fe14d83dc2baf9b24221487434dcdd28c926f45eb2107954f84d",
220
- "typeScriptVersion": "3.4"
214
+ "typesPublisherContentHash": "b7df0621286c18115d703c0660be8e3e8802934f829eda792595924c5ead8382",
215
+ "typeScriptVersion": "3.5"
221
216
  }
File without changes
@@ -1,10 +1,10 @@
1
- // NOTE: These definitions support NodeJS and TypeScript 3.4.
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 2.1
6
- // - ~/ts3.4/base.d.ts - Definitions specific to TypeScript 3.4
7
- // - ~/ts3.4/index.d.ts - Definitions specific to TypeScript 3.4 with assert pulled in
5
+ // - ~/index.d.ts - Definitions specific to TypeScript 3.7+
6
+ // - ~/ts3.6/base.d.ts - Definitions specific to TypeScript 3.6 and earlier
7
+ // - ~/ts3.6/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,45 @@
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="../ts3.4/base.d.ts" />
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" />
17
55
 
18
56
  // TypeScript 3.5-specific augmentations:
19
57
  /// <reference path="../globals.global.d.ts" />
@@ -4,4 +4,4 @@
4
4
 
5
5
  /// <reference path="base.d.ts" />
6
6
 
7
- /// <reference path="../ts3.4/assert.d.ts" />
7
+ /// <reference path="assert.d.ts" />
@@ -1,54 +0,0 @@
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" />
@@ -1 +0,0 @@
1
- declare var global: NodeJS.Global;
@@ -1,8 +0,0 @@
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" />