@types/node 8.10.59 → 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 → node v8.10}/LICENSE +21 -21
- node v8.10/README.md +16 -0
- {node v8 → node v8.10}/base.d.ts +4 -1
- {node v8 → node v8.10}/index.d.ts +7 -28
- {node v8 → node v8.10}/inspector.d.ts +0 -0
- {node v8 → node v8.10}/package.json +5 -15
- node v8.10/ts3.1/index.d.ts +41 -0
- node v8/README.md +0 -16
- node v8/ts3.2/index.d.ts +0 -23
{node v8 → node v8.10}/LICENSE
RENAMED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) Microsoft Corporation.
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Microsoft Corporation.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE
|
node v8.10/README.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
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/v8.
|
|
9
|
+
|
|
10
|
+
### Additional Details
|
|
11
|
+
* Last updated: Wed, 02 Sep 2020 15:37:53 GMT
|
|
12
|
+
* Dependencies: none
|
|
13
|
+
* Global values: `Buffer`, `NodeJS`, `SlowBuffer`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `require`, `setImmediate`, `setInterval`, `setTimeout`, `Symbol`
|
|
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), [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 → node v8.10}/base.d.ts
RENAMED
|
@@ -2010,6 +2010,8 @@ declare module "child_process" {
|
|
|
2010
2010
|
stdio: StdioStreams;
|
|
2011
2011
|
killed: boolean;
|
|
2012
2012
|
pid: number;
|
|
2013
|
+
readonly exitCode: number | null;
|
|
2014
|
+
readonly signalCode: number | null;
|
|
2013
2015
|
kill(signal?: string): void;
|
|
2014
2016
|
send(message: any, callback?: (error: Error) => void): boolean;
|
|
2015
2017
|
send(message: any, sendHandle?: net.Socket | net.Server, callback?: (error: Error) => void): boolean;
|
|
@@ -2223,6 +2225,7 @@ declare module "child_process" {
|
|
|
2223
2225
|
gid?: number;
|
|
2224
2226
|
windowsVerbatimArguments?: boolean;
|
|
2225
2227
|
}
|
|
2228
|
+
export function fork(modulePath: string, options?: ForkOptions): ChildProcess;
|
|
2226
2229
|
export function fork(modulePath: string, args?: string[], options?: ForkOptions): ChildProcess;
|
|
2227
2230
|
|
|
2228
2231
|
export interface SpawnSyncOptions {
|
|
@@ -5615,7 +5618,7 @@ declare module "stream" {
|
|
|
5615
5618
|
}
|
|
5616
5619
|
|
|
5617
5620
|
export interface TransformOptions extends DuplexOptions {
|
|
5618
|
-
transform?: (chunk:
|
|
5621
|
+
transform?: (chunk: any, encoding: string, callback: Function) => any;
|
|
5619
5622
|
flush?: (callback: Function) => any;
|
|
5620
5623
|
}
|
|
5621
5624
|
|
|
@@ -3,9 +3,7 @@
|
|
|
3
3
|
// Definitions by: Microsoft TypeScript <https://github.com/Microsoft>
|
|
4
4
|
// DefinitelyTyped <https://github.com/DefinitelyTyped>
|
|
5
5
|
// Parambir Singh <https://github.com/parambirs>
|
|
6
|
-
// Christian Vaagland Tellnes <https://github.com/tellnes>
|
|
7
6
|
// Wilco Bakker <https://github.com/WilcoBakker>
|
|
8
|
-
// Nicolas Voigt <https://github.com/octo-sniffle>
|
|
9
7
|
// Chigozirim C. <https://github.com/smac89>
|
|
10
8
|
// Flarna <https://github.com/Flarna>
|
|
11
9
|
// Mariusz Wiktorczyk <https://github.com/mwiktorczyk>
|
|
@@ -26,44 +24,25 @@
|
|
|
26
24
|
// Jordi Oliveras Rovira <https://github.com/j-oliveras>
|
|
27
25
|
// Thanik Bhongbhibhat <https://github.com/bhongy>
|
|
28
26
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
29
|
-
// TypeScript
|
|
30
|
-
// NOTE: These definitions support NodeJS and TypeScript 3.1.
|
|
27
|
+
// NOTE: These definitions support NodeJS and TypeScript 3.2.
|
|
31
28
|
|
|
32
29
|
// NOTE: TypeScript version-specific augmentations can be found in the following paths:
|
|
33
30
|
// - ~/base.d.ts - Shared definitions common to all TypeScript versions
|
|
34
31
|
// - ~/index.d.ts - Definitions specific to TypeScript 2.1
|
|
35
|
-
// - ~/ts3.
|
|
32
|
+
// - ~/ts3.2/index.d.ts - Definitions specific to TypeScript 3.2
|
|
36
33
|
|
|
37
|
-
//
|
|
38
|
-
|
|
39
|
-
// 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" />
|
|
40
36
|
|
|
41
37
|
// Base definitions for all NodeJS modules that are not specific to any version of TypeScript:
|
|
42
38
|
/// <reference path="base.d.ts" />
|
|
43
39
|
|
|
44
|
-
// TypeScript 2
|
|
45
|
-
|
|
46
|
-
// Forward-declarations for needed types from es2015 and later (in case users are using `--lib es5`)
|
|
47
|
-
interface MapConstructor { }
|
|
48
|
-
interface WeakMapConstructor { }
|
|
49
|
-
interface SetConstructor { }
|
|
50
|
-
interface WeakSetConstructor { }
|
|
51
|
-
interface IteratorResult<T> { }
|
|
52
|
-
interface Iterable<T> { }
|
|
53
|
-
interface Iterator<T> {
|
|
54
|
-
next(value?: any): IteratorResult<T>;
|
|
55
|
-
}
|
|
56
|
-
interface IterableIterator<T> { }
|
|
57
|
-
interface SymbolConstructor {
|
|
58
|
-
readonly iterator: symbol;
|
|
59
|
-
}
|
|
60
|
-
declare var Symbol: SymbolConstructor;
|
|
61
|
-
|
|
40
|
+
// TypeScript 3.2-specific augmentations:
|
|
62
41
|
declare module "util" {
|
|
63
42
|
namespace inspect {
|
|
64
|
-
const custom: symbol;
|
|
43
|
+
const custom: unique symbol;
|
|
65
44
|
}
|
|
66
45
|
namespace promisify {
|
|
67
|
-
const custom: symbol;
|
|
46
|
+
const custom: unique symbol;
|
|
68
47
|
}
|
|
69
48
|
}
|
|
File without changes
|
|
@@ -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": [
|
|
@@ -19,21 +19,11 @@
|
|
|
19
19
|
"url": "https://github.com/parambirs",
|
|
20
20
|
"githubUsername": "parambirs"
|
|
21
21
|
},
|
|
22
|
-
{
|
|
23
|
-
"name": "Christian Vaagland Tellnes",
|
|
24
|
-
"url": "https://github.com/tellnes",
|
|
25
|
-
"githubUsername": "tellnes"
|
|
26
|
-
},
|
|
27
22
|
{
|
|
28
23
|
"name": "Wilco Bakker",
|
|
29
24
|
"url": "https://github.com/WilcoBakker",
|
|
30
25
|
"githubUsername": "WilcoBakker"
|
|
31
26
|
},
|
|
32
|
-
{
|
|
33
|
-
"name": "Nicolas Voigt",
|
|
34
|
-
"url": "https://github.com/octo-sniffle",
|
|
35
|
-
"githubUsername": "octo-sniffle"
|
|
36
|
-
},
|
|
37
27
|
{
|
|
38
28
|
"name": "Chigozirim C.",
|
|
39
29
|
"url": "https://github.com/smac89",
|
|
@@ -133,9 +123,9 @@
|
|
|
133
123
|
"main": "",
|
|
134
124
|
"types": "index.d.ts",
|
|
135
125
|
"typesVersions": {
|
|
136
|
-
"
|
|
126
|
+
"<=3.1": {
|
|
137
127
|
"*": [
|
|
138
|
-
"ts3.
|
|
128
|
+
"ts3.1/*"
|
|
139
129
|
]
|
|
140
130
|
}
|
|
141
131
|
},
|
|
@@ -146,6 +136,6 @@
|
|
|
146
136
|
},
|
|
147
137
|
"scripts": {},
|
|
148
138
|
"dependencies": {},
|
|
149
|
-
"typesPublisherContentHash": "
|
|
150
|
-
"typeScriptVersion": "
|
|
139
|
+
"typesPublisherContentHash": "3dffc850d68c23ad0111c26a097f7b57d002969a8e1db1937cff631a86ac4e47",
|
|
140
|
+
"typeScriptVersion": "3.1"
|
|
151
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/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/v8
|
|
9
|
-
|
|
10
|
-
Additional Details
|
|
11
|
-
* Last updated: Fri, 08 Nov 2019 22:57:14 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>, Christian Vaagland Tellnes <https://github.com/tellnes>, Wilco Bakker <https://github.com/WilcoBakker>, Nicolas Voigt <https://github.com/octo-sniffle>, 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/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
|
-
}
|