@types/node 8.10.62 → 8.10.63
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 v8.10/README.md +2 -2
- node v8.10/index.d.ts +7 -26
- node v8.10/package.json +5 -5
- node v8.10/ts3.1/index.d.ts +41 -0
- node v8.10/ts3.2/index.d.ts +0 -23
node v8.10/README.md
CHANGED
|
@@ -8,9 +8,9 @@ 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/v8.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Wed, 02 Sep 2020 15:37:53 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
|
-
* Global values: `Buffer`, `NodeJS`, `SlowBuffer`, `
|
|
13
|
+
* Global values: `Buffer`, `NodeJS`, `SlowBuffer`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `require`, `setImmediate`, `setInterval`, `setTimeout`, `Symbol`
|
|
14
14
|
|
|
15
15
|
# Credits
|
|
16
16
|
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Parambir Singh](https://github.com/parambirs), [Wilco Bakker](https://github.com/WilcoBakker), [Chigozirim C.](https://github.com/smac89), [Flarna](https://github.com/Flarna), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [wwwy3y3](https://github.com/wwwy3y3), [Deividas Bakanas](https://github.com/DeividasBakanas), [Kelvin Jin](https://github.com/kjin), [Alvis HT Tang](https://github.com/alvis), [Sebastian Silbermann](https://github.com/eps1lon), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Alberto Schiabel](https://github.com/jkomyno), [Huw](https://github.com/hoo29), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Bruno Scheufler](https://github.com/brunoscheufler), [Hoàng Văn Khải](https://github.com/KSXGitHub), [Lishude](https://github.com/islishude), [Andrew Makarov](https://github.com/r3nya), [Jordi Oliveras Rovira](https://github.com/j-oliveras), and [Thanik Bhongbhibhat](https://github.com/bhongy).
|
node v8.10/index.d.ts
CHANGED
|
@@ -24,44 +24,25 @@
|
|
|
24
24
|
// Jordi Oliveras Rovira <https://github.com/j-oliveras>
|
|
25
25
|
// Thanik Bhongbhibhat <https://github.com/bhongy>
|
|
26
26
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
27
|
-
// TypeScript
|
|
28
|
-
// NOTE: These definitions support NodeJS and TypeScript 3.1.
|
|
27
|
+
// NOTE: These definitions support NodeJS and TypeScript 3.2.
|
|
29
28
|
|
|
30
29
|
// NOTE: TypeScript version-specific augmentations can be found in the following paths:
|
|
31
30
|
// - ~/base.d.ts - Shared definitions common to all TypeScript versions
|
|
32
31
|
// - ~/index.d.ts - Definitions specific to TypeScript 2.1
|
|
33
|
-
// - ~/ts3.
|
|
32
|
+
// - ~/ts3.2/index.d.ts - Definitions specific to TypeScript 3.2
|
|
34
33
|
|
|
35
|
-
//
|
|
36
|
-
|
|
37
|
-
// prior to TypeScript 3.1, so the older definitions will be found here.
|
|
34
|
+
// Reference required types from the default lib:
|
|
35
|
+
/// <reference lib="es2017" />
|
|
38
36
|
|
|
39
37
|
// Base definitions for all NodeJS modules that are not specific to any version of TypeScript:
|
|
40
38
|
/// <reference path="base.d.ts" />
|
|
41
39
|
|
|
42
|
-
// TypeScript 2
|
|
43
|
-
|
|
44
|
-
// Forward-declarations for needed types from es2015 and later (in case users are using `--lib es5`)
|
|
45
|
-
interface MapConstructor { }
|
|
46
|
-
interface WeakMapConstructor { }
|
|
47
|
-
interface SetConstructor { }
|
|
48
|
-
interface WeakSetConstructor { }
|
|
49
|
-
interface IteratorResult<T> { }
|
|
50
|
-
interface Iterable<T> { }
|
|
51
|
-
interface Iterator<T> {
|
|
52
|
-
next(value?: any): IteratorResult<T>;
|
|
53
|
-
}
|
|
54
|
-
interface IterableIterator<T> { }
|
|
55
|
-
interface SymbolConstructor {
|
|
56
|
-
readonly iterator: symbol;
|
|
57
|
-
}
|
|
58
|
-
declare var Symbol: SymbolConstructor;
|
|
59
|
-
|
|
40
|
+
// TypeScript 3.2-specific augmentations:
|
|
60
41
|
declare module "util" {
|
|
61
42
|
namespace inspect {
|
|
62
|
-
const custom: symbol;
|
|
43
|
+
const custom: unique symbol;
|
|
63
44
|
}
|
|
64
45
|
namespace promisify {
|
|
65
|
-
const custom: symbol;
|
|
46
|
+
const custom: unique symbol;
|
|
66
47
|
}
|
|
67
48
|
}
|
node v8.10/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "8.10.
|
|
3
|
+
"version": "8.10.63",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -123,9 +123,9 @@
|
|
|
123
123
|
"main": "",
|
|
124
124
|
"types": "index.d.ts",
|
|
125
125
|
"typesVersions": {
|
|
126
|
-
"
|
|
126
|
+
"<=3.1": {
|
|
127
127
|
"*": [
|
|
128
|
-
"ts3.
|
|
128
|
+
"ts3.1/*"
|
|
129
129
|
]
|
|
130
130
|
}
|
|
131
131
|
},
|
|
@@ -136,6 +136,6 @@
|
|
|
136
136
|
},
|
|
137
137
|
"scripts": {},
|
|
138
138
|
"dependencies": {},
|
|
139
|
-
"typesPublisherContentHash": "
|
|
140
|
-
"typeScriptVersion": "3.
|
|
139
|
+
"typesPublisherContentHash": "3dffc850d68c23ad0111c26a097f7b57d002969a8e1db1937cff631a86ac4e47",
|
|
140
|
+
"typeScriptVersion": "3.1"
|
|
141
141
|
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// NOTE: These definitions support NodeJS and TypeScript 3.1.
|
|
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.1/index.d.ts - Definitions specific to TypeScript 3.1
|
|
7
|
+
|
|
8
|
+
// NOTE: Augmentations for TypeScript 3.1 and later should use individual files for overrides
|
|
9
|
+
// within the respective ~/ts3.1 (or later) folder. However, this is disallowed for versions
|
|
10
|
+
// prior to TypeScript 3.1, so the older definitions will be found here.
|
|
11
|
+
|
|
12
|
+
// Base definitions for all NodeJS modules that are not specific to any version of TypeScript:
|
|
13
|
+
// tslint:disable-next-line:no-bad-reference
|
|
14
|
+
/// <reference path="../base.d.ts" />
|
|
15
|
+
|
|
16
|
+
// TypeScript 2.1-specific augmentations:
|
|
17
|
+
|
|
18
|
+
// Forward-declarations for needed types from es2015 and later (in case users are using `--lib es5`)
|
|
19
|
+
interface MapConstructor { }
|
|
20
|
+
interface WeakMapConstructor { }
|
|
21
|
+
interface SetConstructor { }
|
|
22
|
+
interface WeakSetConstructor { }
|
|
23
|
+
interface IteratorResult<T> { }
|
|
24
|
+
interface Iterable<T> { }
|
|
25
|
+
interface Iterator<T> {
|
|
26
|
+
next(value?: any): IteratorResult<T>;
|
|
27
|
+
}
|
|
28
|
+
interface IterableIterator<T> { }
|
|
29
|
+
interface SymbolConstructor {
|
|
30
|
+
readonly iterator: symbol;
|
|
31
|
+
}
|
|
32
|
+
declare var Symbol: SymbolConstructor;
|
|
33
|
+
|
|
34
|
+
declare module "util" {
|
|
35
|
+
namespace inspect {
|
|
36
|
+
const custom: symbol;
|
|
37
|
+
}
|
|
38
|
+
namespace promisify {
|
|
39
|
+
const custom: symbol;
|
|
40
|
+
}
|
|
41
|
+
}
|
node v8.10/ts3.2/index.d.ts
DELETED
|
@@ -1,23 +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/index.d.ts - Definitions specific to TypeScript 3.2
|
|
7
|
-
|
|
8
|
-
// Reference required types from the default lib:
|
|
9
|
-
/// <reference lib="es2017" />
|
|
10
|
-
|
|
11
|
-
// Base definitions for all NodeJS modules that are not specific to any version of TypeScript:
|
|
12
|
-
// tslint:disable-next-line:no-bad-reference
|
|
13
|
-
/// <reference path="../base.d.ts" />
|
|
14
|
-
|
|
15
|
-
// TypeScript 3.2-specific augmentations:
|
|
16
|
-
declare module "util" {
|
|
17
|
-
namespace inspect {
|
|
18
|
-
const custom: unique symbol;
|
|
19
|
-
}
|
|
20
|
-
namespace promisify {
|
|
21
|
-
const custom: unique symbol;
|
|
22
|
-
}
|
|
23
|
-
}
|