@types/node 12.12.46 → 12.12.50

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.12/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: Tue, 09 Jun 2020 16:25:43 GMT
11
+ * Last updated: Fri, 10 Jul 2020 16:11:12 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Buffer`, `NodeJS`, `Symbol`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
14
14
 
node v12.12/base.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // base definnitions for all NodeJS modules that are not specific to any version of TypeScript
1
+ // base definitions for all NodeJS modules that are not specific to any version of TypeScript
2
2
  /// <reference path="globals.d.ts" />
3
3
  /// <reference path="async_hooks.d.ts" />
4
4
  /// <reference path="buffer.d.ts" />
@@ -228,6 +228,12 @@ interface NodeModule {
228
228
  loaded: boolean;
229
229
  parent: NodeModule | null;
230
230
  children: NodeModule[];
231
+ /**
232
+ * @since 11.14.0
233
+ *
234
+ * The directory name of the module. This is usually the same as the path.dirname() of the module.id.
235
+ */
236
+ path: string;
231
237
  paths: string[];
232
238
  }
233
239
 
@@ -1156,6 +1162,12 @@ declare namespace NodeJS {
1156
1162
  loaded: boolean;
1157
1163
  parent: Module | null;
1158
1164
  children: Module[];
1165
+ /**
1166
+ * @since 11.14.0
1167
+ *
1168
+ * The directory name of the module. This is usually the same as the path.dirname() of the module.id.
1169
+ */
1170
+ path: string;
1159
1171
  paths: string[];
1160
1172
 
1161
1173
  constructor(id: string, parent?: Module);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "12.12.46",
3
+ "version": "12.12.50",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -241,6 +241,6 @@
241
241
  },
242
242
  "scripts": {},
243
243
  "dependencies": {},
244
- "typesPublisherContentHash": "e846f2c7be92ee030880689a21d35d8bcb7438f0af707e5842dc800963a7a3a8",
244
+ "typesPublisherContentHash": "9c2204b77cf612d057b6971cfbf8892b61d137dc013a2f0db5ed88acd2e0d75d",
245
245
  "typeScriptVersion": "3.0"
246
246
  }
node v12.12/stream.d.ts CHANGED
@@ -26,6 +26,7 @@ declare module "stream" {
26
26
  readable: boolean;
27
27
  readonly readableEncoding: BufferEncoding | null;
28
28
  readonly readableEnded: boolean;
29
+ readonly readableFlowing: boolean | null;
29
30
  readonly readableHighWaterMark: number;
30
31
  readonly readableLength: number;
31
32
  readonly readableObjectMode: boolean;