@types/node 13.1.0 → 13.1.4

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 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: Mon, 23 Dec 2019 16:40:55 GMT
11
+ * Last updated: Fri, 03 Jan 2020 23:33:08 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Buffer`, `Symbol`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
14
14
 
node/globals.d.ts CHANGED
@@ -164,8 +164,8 @@ declare function clearImmediate(immediateId: NodeJS.Immediate): void;
164
164
 
165
165
  declare function queueMicrotask(callback: () => void): void;
166
166
 
167
- declare var require: NodeJS.Require;
168
- declare var module: NodeJS.Module;
167
+ declare var require: NodeRequire;
168
+ declare var module: NodeModule;
169
169
 
170
170
  // Same as module.exports
171
171
  declare var exports: any;
node/index.d.ts CHANGED
@@ -59,7 +59,7 @@
59
59
 
60
60
  // Forward-declarations for needed types from es2015 and later (in case users are using `--lib es5`)
61
61
  // Empty interfaces are used here which merge fine with the real declarations in the lib XXX files
62
- // just to ensure the names are known and node typings can be sued without importing these libs.
62
+ // just to ensure the names are known and node typings can be used without importing these libs.
63
63
  // if someone really needs these types the libs need to be added via --lib or in tsconfig.json
64
64
  interface AsyncIterable<T> { }
65
65
  interface IterableIterator<T> { }
node/module.d.ts CHANGED
@@ -16,4 +16,5 @@ declare module "module" {
16
16
 
17
17
  constructor(id: string, parent?: Module);
18
18
  }
19
+ export = Module;
19
20
  }
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "13.1.0",
3
+ "version": "13.1.4",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -226,6 +226,6 @@
226
226
  },
227
227
  "scripts": {},
228
228
  "dependencies": {},
229
- "typesPublisherContentHash": "1ac55427ebe1397bdf3ed7bcd6c33688eb287fd6b9a9a98810a14f90eed9bde6",
229
+ "typesPublisherContentHash": "78801fd356199a34ee5e74159c9e3a319f11959a08bb1e68ead4ff02d938e58e",
230
230
  "typeScriptVersion": "2.8"
231
231
  }
node/url.d.ts CHANGED
@@ -8,7 +8,6 @@ declare module "url" {
8
8
  host?: string | null;
9
9
  hostname?: string | null;
10
10
  href?: string | null;
11
- path?: string | null;
12
11
  pathname?: string | null;
13
12
  protocol?: string | null;
14
13
  search?: string | null;