@types/node 7.10.11 → 8.0.0
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 v7.10/LICENSE → node/LICENSE +21 -21
- node/README.md +16 -0
- node v7.10/base.d.ts → node/index.d.ts +4436 -4520
- node/package.json +42 -0
- node v7.10/README.md +0 -16
- node v7.10/index.d.ts +0 -47
- node v7.10/package.json +0 -66
- node v7.10/ts3.2/index.d.ts +0 -15
node/package.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@types/node",
|
|
3
|
+
"version": "8.0.0",
|
|
4
|
+
"description": "TypeScript definitions for Node.js",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"contributors": [
|
|
7
|
+
{
|
|
8
|
+
"name": "Microsoft TypeScript",
|
|
9
|
+
"url": "http://typescriptlang.org"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"name": "DefinitelyTyped",
|
|
13
|
+
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "Parambir Singh",
|
|
17
|
+
"url": "https://github.com/parambirs"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "Roberto Desideri",
|
|
21
|
+
"url": "https://github.com/RobDesideri"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "Christian Vaagland Tellnes",
|
|
25
|
+
"url": "https://github.com/tellnes"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "Wilco Bakker",
|
|
29
|
+
"url": "https://github.com/WilcoBakker"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"main": "",
|
|
33
|
+
"repository": {
|
|
34
|
+
"type": "git",
|
|
35
|
+
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
|
|
36
|
+
},
|
|
37
|
+
"scripts": {},
|
|
38
|
+
"dependencies": {},
|
|
39
|
+
"peerDependencies": {},
|
|
40
|
+
"typesPublisherContentHash": "4490d23cf6254518d10fe604ca15d4e91ef327bf4698d5597288473432e904e6",
|
|
41
|
+
"typeScriptVersion": "2.2"
|
|
42
|
+
}
|
node v7.10/README.md
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# Installation
|
|
2
|
-
> `npm install --save @types/node`
|
|
3
|
-
|
|
4
|
-
# Summary
|
|
5
|
-
This package contains type definitions for Node.js (http://nodejs.org/).
|
|
6
|
-
|
|
7
|
-
# Details
|
|
8
|
-
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v7.
|
|
9
|
-
|
|
10
|
-
### Additional Details
|
|
11
|
-
* Last updated: Tue, 19 May 2020 18:08:59 GMT
|
|
12
|
-
* Dependencies: none
|
|
13
|
-
* Global values: `Buffer`, `NodeJS`, `SlowBuffer`, `Symbol`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `require`, `setImmediate`, `setInterval`, `setTimeout`
|
|
14
|
-
|
|
15
|
-
# Credits
|
|
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), [Sebastian Silbermann](https://github.com/eps1lon), [Hoàng Văn Khải](https://github.com/KSXGitHub), [Sander Koenders](https://github.com/Archcry), and [Jordi Oliveras Rovira](https://github.com/j-oliveras).
|
node v7.10/index.d.ts
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
// Type definitions for Node.js 7.10
|
|
2
|
-
// Project: http://nodejs.org/
|
|
3
|
-
// Definitions by: Microsoft TypeScript <https://github.com/Microsoft>
|
|
4
|
-
// DefinitelyTyped <https://github.com/DefinitelyTyped>
|
|
5
|
-
// Parambir Singh <https://github.com/parambirs>
|
|
6
|
-
// Wilco Bakker <https://github.com/WilcoBakker>
|
|
7
|
-
// Sebastian Silbermann <https://github.com/eps1lon>
|
|
8
|
-
// Hoàng Văn Khải <https://github.com/KSXGitHub>
|
|
9
|
-
// Sander Koenders <https://github.com/Archcry>
|
|
10
|
-
// Jordi Oliveras Rovira <https://github.com/j-oliveras>
|
|
11
|
-
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
12
|
-
/************************************************
|
|
13
|
-
* *
|
|
14
|
-
* Node.js v7.x API *
|
|
15
|
-
* *
|
|
16
|
-
************************************************/
|
|
17
|
-
// NOTE: These definitions support NodeJS and TypeScript 3.1.
|
|
18
|
-
|
|
19
|
-
// NOTE: TypeScript version-specific augmentations can be found in the following paths:
|
|
20
|
-
// - ~/base.d.ts - Shared definitions common to all TypeScript versions
|
|
21
|
-
// - ~/index.d.ts - Definitions specific to TypeScript 2.1
|
|
22
|
-
// - ~/ts3.1/index.d.ts - Definitions specific to TypeScript 3.1
|
|
23
|
-
|
|
24
|
-
// NOTE: Augmentations for TypeScript 3.1 and later should use individual files for overrides
|
|
25
|
-
// within the respective ~/ts3.1 (or later) folder. However, this is disallowed for versions
|
|
26
|
-
// prior to TypeScript 3.1, so the older definitions will be found here.
|
|
27
|
-
|
|
28
|
-
// Base definitions for all NodeJS modules that are not specific to any version of TypeScript:
|
|
29
|
-
/// <reference path="base.d.ts" />
|
|
30
|
-
|
|
31
|
-
// TypeScript 2.1-specific augmentations:
|
|
32
|
-
|
|
33
|
-
// Forward-declarations for needed types from es2015 and later (in case users are using `--lib es5`)
|
|
34
|
-
interface MapConstructor { }
|
|
35
|
-
interface WeakMapConstructor { }
|
|
36
|
-
interface SetConstructor { }
|
|
37
|
-
interface WeakSetConstructor { }
|
|
38
|
-
interface IteratorResult<T> {}
|
|
39
|
-
interface Iterable<T> {}
|
|
40
|
-
interface Iterator<T> {
|
|
41
|
-
next(value?: any): IteratorResult<T>;
|
|
42
|
-
}
|
|
43
|
-
interface IterableIterator<T> { }
|
|
44
|
-
interface SymbolConstructor {
|
|
45
|
-
readonly iterator: symbol;
|
|
46
|
-
}
|
|
47
|
-
declare var Symbol: SymbolConstructor;
|
node v7.10/package.json
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@types/node",
|
|
3
|
-
"version": "7.10.11",
|
|
4
|
-
"description": "TypeScript definitions for Node.js",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"contributors": [
|
|
7
|
-
{
|
|
8
|
-
"name": "Microsoft TypeScript",
|
|
9
|
-
"url": "https://github.com/Microsoft",
|
|
10
|
-
"githubUsername": "Microsoft"
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
"name": "DefinitelyTyped",
|
|
14
|
-
"url": "https://github.com/DefinitelyTyped",
|
|
15
|
-
"githubUsername": "DefinitelyTyped"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"name": "Parambir Singh",
|
|
19
|
-
"url": "https://github.com/parambirs",
|
|
20
|
-
"githubUsername": "parambirs"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"name": "Wilco Bakker",
|
|
24
|
-
"url": "https://github.com/WilcoBakker",
|
|
25
|
-
"githubUsername": "WilcoBakker"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"name": "Sebastian Silbermann",
|
|
29
|
-
"url": "https://github.com/eps1lon",
|
|
30
|
-
"githubUsername": "eps1lon"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"name": "Hoàng Văn Khải",
|
|
34
|
-
"url": "https://github.com/KSXGitHub",
|
|
35
|
-
"githubUsername": "KSXGitHub"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"name": "Sander Koenders",
|
|
39
|
-
"url": "https://github.com/Archcry",
|
|
40
|
-
"githubUsername": "Archcry"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"name": "Jordi Oliveras Rovira",
|
|
44
|
-
"url": "https://github.com/j-oliveras",
|
|
45
|
-
"githubUsername": "j-oliveras"
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
"main": "",
|
|
49
|
-
"types": "index.d.ts",
|
|
50
|
-
"typesVersions": {
|
|
51
|
-
">=3.2.0-0": {
|
|
52
|
-
"*": [
|
|
53
|
-
"ts3.2/*"
|
|
54
|
-
]
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
"repository": {
|
|
58
|
-
"type": "git",
|
|
59
|
-
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
|
60
|
-
"directory": "types/node"
|
|
61
|
-
},
|
|
62
|
-
"scripts": {},
|
|
63
|
-
"dependencies": {},
|
|
64
|
-
"typesPublisherContentHash": "bb10d0f6ac82ba137b7b1a3d74fe0fd0e25379923f04ab574315eea85a699f77",
|
|
65
|
-
"typeScriptVersion": "3.0"
|
|
66
|
-
}
|
node v7.10/ts3.2/index.d.ts
DELETED
|
@@ -1,15 +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="es2016" />
|
|
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:
|