@types/node 10.14.18 → 10.14.22
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 v10/README.md +2 -2
- node v10/http.d.ts +1 -1
- node v10/index.d.ts +1 -1
- node v10/package.json +7 -7
- node v10/util.d.ts +1 -1
- node v10/vm.d.ts +15 -0
node v10/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/v10
|
|
9
9
|
|
|
10
10
|
Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Tue, 15 Oct 2019 23:57:19 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: Buffer, NodeJS, Symbol, __dirname, __filename, clearImmediate, clearInterval, clearTimeout, console, exports, global, module, process, require, setImmediate, setInterval, setTimeout
|
|
14
14
|
|
|
15
15
|
# Credits
|
|
16
|
-
These definitions were written by Microsoft TypeScript <https://github.com/Microsoft>, DefinitelyTyped <https://github.com/DefinitelyTyped>, Alberto Schiabel <https://github.com/jkomyno>, Alexander T. <https://github.com/a-tarasyuk>, Alvis HT Tang <https://github.com/alvis>, Andrew Makarov <https://github.com/r3nya>, Bruno Scheufler <https://github.com/brunoscheufler>, Chigozirim C. <https://github.com/smac89>, Christian Vaagland Tellnes <https://github.com/tellnes>, Deividas Bakanas <https://github.com/DeividasBakanas>, Eugene Y. Q. Shen <https://github.com/eyqs>, Flarna <https://github.com/Flarna>, Hannes Magnusson <https://github.com/Hannes-Magnusson-CK>, Hoàng Văn Khải <https://github.com/KSXGitHub>, Huw <https://github.com/hoo29>, Kelvin Jin <https://github.com/kjin>, Klaus Meinhardt <https://github.com/ajafff>, Lishude <https://github.com/islishude>, Mariusz Wiktorczyk <https://github.com/mwiktorczyk>,
|
|
16
|
+
These definitions were written by Microsoft TypeScript <https://github.com/Microsoft>, DefinitelyTyped <https://github.com/DefinitelyTyped>, Alberto Schiabel <https://github.com/jkomyno>, Alexander T. <https://github.com/a-tarasyuk>, Alvis HT Tang <https://github.com/alvis>, Andrew Makarov <https://github.com/r3nya>, Bruno Scheufler <https://github.com/brunoscheufler>, Chigozirim C. <https://github.com/smac89>, Christian Vaagland Tellnes <https://github.com/tellnes>, Deividas Bakanas <https://github.com/DeividasBakanas>, Eugene Y. Q. Shen <https://github.com/eyqs>, Flarna <https://github.com/Flarna>, Hannes Magnusson <https://github.com/Hannes-Magnusson-CK>, Hoàng Văn Khải <https://github.com/KSXGitHub>, Huw <https://github.com/hoo29>, Kelvin Jin <https://github.com/kjin>, Klaus Meinhardt <https://github.com/ajafff>, Lishude <https://github.com/islishude>, Mariusz Wiktorczyk <https://github.com/mwiktorczyk>, Mohsen Azimi <https://github.com/mohsen1>, Nicolas Even <https://github.com/n-e>, Nicolas Voigt <https://github.com/octo-sniffle>, Parambir Singh <https://github.com/parambirs>, Sebastian Silbermann <https://github.com/eps1lon>, Simon Schick <https://github.com/SimonSchick>, Thomas den Hollander <https://github.com/ThomasdenH>, Wilco Bakker <https://github.com/WilcoBakker>, wwwy3y3 <https://github.com/wwwy3y3>, Zane Hannan AU <https://github.com/ZaneHannanAU>, Jeremie Rodriguez <https://github.com/jeremiergz>, Samuel Ainsworth <https://github.com/samuela>, Kyle Uehlein <https://github.com/kuehlein>, Jordi Oliveras Rovira <https://github.com/j-oliveras>, Thanik Bhongbhibhat <https://github.com/bhongy>, and Minh Son Nguyen <https://github.com/nguymin4>.
|
node v10/http.d.ts
CHANGED
|
@@ -184,7 +184,7 @@ declare module "http" {
|
|
|
184
184
|
rawHeaders: string[];
|
|
185
185
|
trailers: { [key: string]: string | undefined };
|
|
186
186
|
rawTrailers: string[];
|
|
187
|
-
setTimeout(msecs: number, callback
|
|
187
|
+
setTimeout(msecs: number, callback?: () => void): this;
|
|
188
188
|
/**
|
|
189
189
|
* Only valid for request obtained from http.Server.
|
|
190
190
|
*/
|
node v10/index.d.ts
CHANGED
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
// Klaus Meinhardt <https://github.com/ajafff>
|
|
20
20
|
// Lishude <https://github.com/islishude>
|
|
21
21
|
// Mariusz Wiktorczyk <https://github.com/mwiktorczyk>
|
|
22
|
-
// Matthieu Sieben <https://github.com/matthieusieben>
|
|
23
22
|
// Mohsen Azimi <https://github.com/mohsen1>
|
|
24
23
|
// Nicolas Even <https://github.com/n-e>
|
|
25
24
|
// Nicolas Voigt <https://github.com/octo-sniffle>
|
|
@@ -35,6 +34,7 @@
|
|
|
35
34
|
// Kyle Uehlein <https://github.com/kuehlein>
|
|
36
35
|
// Jordi Oliveras Rovira <https://github.com/j-oliveras>
|
|
37
36
|
// Thanik Bhongbhibhat <https://github.com/bhongy>
|
|
37
|
+
// Minh Son Nguyen <https://github.com/nguymin4>
|
|
38
38
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
39
39
|
|
|
40
40
|
// NOTE: These definitions support NodeJS and TypeScript 3.1.
|
node v10/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "10.14.
|
|
3
|
+
"version": "10.14.22",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -99,11 +99,6 @@
|
|
|
99
99
|
"url": "https://github.com/mwiktorczyk",
|
|
100
100
|
"githubUsername": "mwiktorczyk"
|
|
101
101
|
},
|
|
102
|
-
{
|
|
103
|
-
"name": "Matthieu Sieben",
|
|
104
|
-
"url": "https://github.com/matthieusieben",
|
|
105
|
-
"githubUsername": "matthieusieben"
|
|
106
|
-
},
|
|
107
102
|
{
|
|
108
103
|
"name": "Mohsen Azimi",
|
|
109
104
|
"url": "https://github.com/mohsen1",
|
|
@@ -178,6 +173,11 @@
|
|
|
178
173
|
"name": "Thanik Bhongbhibhat",
|
|
179
174
|
"url": "https://github.com/bhongy",
|
|
180
175
|
"githubUsername": "bhongy"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"name": "Minh Son Nguyen",
|
|
179
|
+
"url": "https://github.com/nguymin4",
|
|
180
|
+
"githubUsername": "nguymin4"
|
|
181
181
|
}
|
|
182
182
|
],
|
|
183
183
|
"main": "",
|
|
@@ -196,6 +196,6 @@
|
|
|
196
196
|
},
|
|
197
197
|
"scripts": {},
|
|
198
198
|
"dependencies": {},
|
|
199
|
-
"typesPublisherContentHash": "
|
|
199
|
+
"typesPublisherContentHash": "3f864f86f77bc96fb3745fc268fbb6281fed8b0418147685f07d8a5abd582e95",
|
|
200
200
|
"typeScriptVersion": "2.0"
|
|
201
201
|
}
|
node v10/util.d.ts
CHANGED
|
@@ -55,7 +55,7 @@ declare module "util" {
|
|
|
55
55
|
function isSymbol(object: any): object is symbol;
|
|
56
56
|
/** @deprecated since v4.0.0 - use `value === undefined` instead. */
|
|
57
57
|
function isUndefined(object: any): object is undefined;
|
|
58
|
-
function deprecate<T extends Function>(fn: T, message: string): T;
|
|
58
|
+
function deprecate<T extends Function>(fn: T, message: string, code?: string): T;
|
|
59
59
|
function isDeepStrictEqual(val1: any, val2: any): boolean;
|
|
60
60
|
|
|
61
61
|
interface CustomPromisify<TCustom extends Function> extends Function {
|
node v10/vm.d.ts
CHANGED
|
@@ -26,8 +26,23 @@ declare module "vm" {
|
|
|
26
26
|
produceCachedData?: boolean;
|
|
27
27
|
}
|
|
28
28
|
interface RunningScriptOptions extends BaseOptions {
|
|
29
|
+
/**
|
|
30
|
+
* When `true`, if an `Error` occurs while compiling the `code`, the line of code causing the error is attached to the stack trace.
|
|
31
|
+
* Default: `true`.
|
|
32
|
+
*/
|
|
29
33
|
displayErrors?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Specifies the number of milliseconds to execute code before terminating execution.
|
|
36
|
+
* If execution is terminated, an `Error` will be thrown. This value must be a strictly positive integer.
|
|
37
|
+
*/
|
|
30
38
|
timeout?: number;
|
|
39
|
+
/**
|
|
40
|
+
* If `true`, the execution will be terminated when `SIGINT` (Ctrl+C) is received.
|
|
41
|
+
* Existing handlers for the event that have been attached via `process.on('SIGINT')` will be disabled during script execution, but will continue to work after that.
|
|
42
|
+
* If execution is terminated, an `Error` will be thrown.
|
|
43
|
+
* Default: `false`.
|
|
44
|
+
*/
|
|
45
|
+
breakOnSigint?: boolean;
|
|
31
46
|
}
|
|
32
47
|
interface CompileFunctionOptions extends BaseOptions {
|
|
33
48
|
/**
|