@types/node 12.19.2 → 12.19.3

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: Mon, 26 Oct 2020 22:58:17 GMT
11
+ * Last updated: Wed, 28 Oct 2020 18:55:42 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
 
node v12.19/base.d.ts CHANGED
@@ -13,7 +13,6 @@
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
- // tslint:disable-next-line:no-bad-reference
17
16
  /// <reference path="ts3.6/base.d.ts" />
18
17
 
19
18
  // TypeScript 3.7-specific augmentations:
@@ -193,7 +193,6 @@ declare function queueMicrotask(callback: () => void): void;
193
193
 
194
194
  // TODO: change to `type NodeRequireFunction = (id: string) => any;` in next mayor version.
195
195
  interface NodeRequireFunction {
196
- /* tslint:disable-next-line:callable-types */
197
196
  (id: string): any;
198
197
  }
199
198
 
@@ -231,7 +230,8 @@ interface NodeModule {
231
230
  id: string;
232
231
  filename: string;
233
232
  loaded: boolean;
234
- parent: NodeModule | null;
233
+ /** @deprecated since 12.19.0 Please use `require.main` and `module.children` instead. */
234
+ parent: NodeModule | null | undefined;
235
235
  children: NodeModule[];
236
236
  /**
237
237
  * @since 11.14.0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "12.19.2",
3
+ "version": "12.19.3",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -231,6 +231,6 @@
231
231
  },
232
232
  "scripts": {},
233
233
  "dependencies": {},
234
- "typesPublisherContentHash": "1b26fba776dabe6181a3dbeafb1ab140da716d7a38c58f85a8915c13e0d805a6",
234
+ "typesPublisherContentHash": "2c54a3dc12b0737e45c6349001eb83bc25002db2614ed5ccf9e9c4facdf40d36",
235
235
  "typeScriptVersion": "3.2"
236
236
  }
@@ -13,7 +13,6 @@
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
- // tslint:disable-next-line:no-bad-reference
17
16
  /// <reference path="../ts3.3/base.d.ts" />
18
17
 
19
18
  // TypeScript 3.5-specific augmentations:
@@ -4,5 +4,4 @@
4
4
 
5
5
  /// <reference path="base.d.ts" />
6
6
 
7
- // tslint:disable-next-line:no-bad-reference
8
7
  /// <reference path="../ts3.3/assert.d.ts" />