@types/node 10.10.3 → 10.11.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.
Files changed (3) hide show
  1. node/README.md +2 -2
  2. node/index.d.ts +42 -35
  3. node/package.json +76 -71
node/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
9
9
 
10
10
  Additional Details
11
- * Last updated: Sat, 22 Sep 2018 05:50:01 GMT
11
+ * Last updated: Mon, 24 Sep 2018 20:19:02 GMT
12
12
  * Dependencies: none
13
13
  * Global values: Buffer, NodeJS, SlowBuffer, 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 <http://typescriptlang.org>, DefinitelyTyped <https://github.com/DefinitelyTyped/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>, Klaus Meinhardt <https://github.com/ajafff>, Huw <https://github.com/hoo29>, Nicolas Even <https://github.com/n-e>, Bruno Scheufler <https://github.com/brunoscheufler>, Mohsen Azimi <https://github.com/mohsen1>, Hoàng Văn Khải <https://github.com/KSXGitHub>, Alexander T. <https://github.com/a-tarasyuk>, Lishude <https://github.com/islishude>, Andrew Makarov <https://github.com/r3nya>, Zane Hannan AU <https://github.com/ZaneHannanAU>, Thomas den Hollander <https://github.com/ThomasdenH>, Eugene Y. Q. Shen <https://github.com/eyqs>, Matthieu Sieben <https://github.com/matthieusieben>.
16
+ These definitions were written by Microsoft TypeScript <http://typescriptlang.org>, DefinitelyTyped <https://github.com/DefinitelyTyped/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>, Matthieu Sieben <https://github.com/matthieusieben>, 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>.
node/index.d.ts CHANGED
@@ -1,34 +1,35 @@
1
- // Type definitions for Node.js 10.10.x
1
+ // Type definitions for Node.js 10.11.x
2
2
  // Project: http://nodejs.org/
3
3
  // Definitions by: Microsoft TypeScript <http://typescriptlang.org>
4
4
  // DefinitelyTyped <https://github.com/DefinitelyTyped/DefinitelyTyped>
5
- // Parambir Singh <https://github.com/parambirs>
6
- // Christian Vaagland Tellnes <https://github.com/tellnes>
7
- // Wilco Bakker <https://github.com/WilcoBakker>
8
- // Nicolas Voigt <https://github.com/octo-sniffle>
5
+ // Alberto Schiabel <https://github.com/jkomyno>
6
+ // Alexander T. <https://github.com/a-tarasyuk>
7
+ // Alvis HT Tang <https://github.com/alvis>
8
+ // Andrew Makarov <https://github.com/r3nya>
9
+ // Bruno Scheufler <https://github.com/brunoscheufler>
9
10
  // Chigozirim C. <https://github.com/smac89>
10
- // Flarna <https://github.com/Flarna>
11
- // Mariusz Wiktorczyk <https://github.com/mwiktorczyk>
12
- // wwwy3y3 <https://github.com/wwwy3y3>
11
+ // Christian Vaagland Tellnes <https://github.com/tellnes>
13
12
  // Deividas Bakanas <https://github.com/DeividasBakanas>
14
- // Kelvin Jin <https://github.com/kjin>
15
- // Alvis HT Tang <https://github.com/alvis>
16
- // Sebastian Silbermann <https://github.com/eps1lon>
13
+ // Eugene Y. Q. Shen <https://github.com/eyqs>
14
+ // Flarna <https://github.com/Flarna>
17
15
  // Hannes Magnusson <https://github.com/Hannes-Magnusson-CK>
18
- // Alberto Schiabel <https://github.com/jkomyno>
19
- // Klaus Meinhardt <https://github.com/ajafff>
20
- // Huw <https://github.com/hoo29>
21
- // Nicolas Even <https://github.com/n-e>
22
- // Bruno Scheufler <https://github.com/brunoscheufler>
23
- // Mohsen Azimi <https://github.com/mohsen1>
24
16
  // Hoàng Văn Khải <https://github.com/KSXGitHub>
25
- // Alexander T. <https://github.com/a-tarasyuk>
17
+ // Huw <https://github.com/hoo29>
18
+ // Kelvin Jin <https://github.com/kjin>
19
+ // Klaus Meinhardt <https://github.com/ajafff>
26
20
  // Lishude <https://github.com/islishude>
27
- // Andrew Makarov <https://github.com/r3nya>
28
- // Zane Hannan AU <https://github.com/ZaneHannanAU>
29
- // Thomas den Hollander <https://github.com/ThomasdenH>
30
- // Eugene Y. Q. Shen <https://github.com/eyqs>
21
+ // Mariusz Wiktorczyk <https://github.com/mwiktorczyk>
31
22
  // Matthieu Sieben <https://github.com/matthieusieben>
23
+ // Mohsen Azimi <https://github.com/mohsen1>
24
+ // Nicolas Even <https://github.com/n-e>
25
+ // Nicolas Voigt <https://github.com/octo-sniffle>
26
+ // Parambir Singh <https://github.com/parambirs>
27
+ // Sebastian Silbermann <https://github.com/eps1lon>
28
+ // Simon Schick <https://github.com/SimonSchick>
29
+ // Thomas den Hollander <https://github.com/ThomasdenH>
30
+ // Wilco Bakker <https://github.com/WilcoBakker>
31
+ // wwwy3y3 <https://github.com/wwwy3y3>
32
+ // Zane Hannan AU <https://github.com/ZaneHannanAU>
32
33
  // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
33
34
 
34
35
  /** inspector module types */
@@ -2955,7 +2956,6 @@ declare module "net" {
2955
2956
  connect(port: number, connectionListener?: Function): this;
2956
2957
  connect(path: string, connectionListener?: Function): this;
2957
2958
 
2958
- bufferSize: number;
2959
2959
  setEncoding(encoding?: string): this;
2960
2960
  pause(): this;
2961
2961
  resume(): this;
@@ -2966,15 +2966,16 @@ declare module "net" {
2966
2966
  unref(): void;
2967
2967
  ref(): void;
2968
2968
 
2969
- remoteAddress?: string;
2970
- remoteFamily?: string;
2971
- remotePort?: number;
2972
- localAddress: string;
2973
- localPort: number;
2974
- bytesRead: number;
2975
- bytesWritten: number;
2976
- connecting: boolean;
2977
- destroyed: boolean;
2969
+ readonly bufferSize: number;
2970
+ readonly bytesRead: number;
2971
+ readonly bytesWritten: number;
2972
+ readonly connecting: boolean;
2973
+ readonly destroyed: boolean;
2974
+ readonly localAddress: string;
2975
+ readonly localPort: number;
2976
+ readonly remoteAddress?: string;
2977
+ readonly remoteFamily?: string;
2978
+ readonly remotePort?: number;
2978
2979
 
2979
2980
  // Extended base methods
2980
2981
  end(): void;
@@ -6553,6 +6554,7 @@ declare module "util" {
6553
6554
  export function isArrayBuffer(object: any): object is ArrayBuffer;
6554
6555
  export function isAsyncFunction(object: any): boolean;
6555
6556
  export function isBooleanObject(object: any): object is Boolean;
6557
+ export function isBoxedPrimitive(object: any): object is (Number | Boolean | String | Symbol /* BigInt */);
6556
6558
  export function isDataView(object: any): object is DataView;
6557
6559
  export function isDate(object: any): object is Date;
6558
6560
  export function isExternal(object: any): boolean;
@@ -7238,15 +7240,20 @@ declare module "http2" {
7238
7240
 
7239
7241
  export interface Http2Stream extends stream.Duplex {
7240
7242
  readonly aborted: boolean;
7241
- close(code?: number, callback?: () => void): void;
7242
7243
  readonly closed: boolean;
7243
7244
  readonly destroyed: boolean;
7244
7245
  readonly pending: boolean;
7245
- priority(options: StreamPriorityOptions): void;
7246
7246
  readonly rstCode: number;
7247
7247
  readonly session: Http2Session;
7248
- setTimeout(msecs: number, callback?: () => void): void;
7249
7248
  readonly state: StreamState;
7249
+ /**
7250
+ * Set the true if the END_STREAM flag was set in the request or response HEADERS frame received,
7251
+ * indicating that no additional data should be received and the readable side of the Http2Stream will be closed.
7252
+ */
7253
+ readonly endAfterHeaders: boolean;
7254
+ close(code?: number, callback?: () => void): void;
7255
+ priority(options: StreamPriorityOptions): void;
7256
+ setTimeout(msecs: number, callback?: () => void): void;
7250
7257
 
7251
7258
  addListener(event: string, listener: (...args: any[]) => void): this;
7252
7259
  addListener(event: "aborted", listener: () => void): this;
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "10.10.3",
3
+ "version": "10.11.0",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -13,24 +13,29 @@
13
13
  "url": "https://github.com/DefinitelyTyped/DefinitelyTyped"
14
14
  },
15
15
  {
16
- "name": "Parambir Singh",
17
- "url": "https://github.com/parambirs",
18
- "githubUsername": "parambirs"
16
+ "name": "Alberto Schiabel",
17
+ "url": "https://github.com/jkomyno",
18
+ "githubUsername": "jkomyno"
19
19
  },
20
20
  {
21
- "name": "Christian Vaagland Tellnes",
22
- "url": "https://github.com/tellnes",
23
- "githubUsername": "tellnes"
21
+ "name": "Alexander T.",
22
+ "url": "https://github.com/a-tarasyuk",
23
+ "githubUsername": "a-tarasyuk"
24
24
  },
25
25
  {
26
- "name": "Wilco Bakker",
27
- "url": "https://github.com/WilcoBakker",
28
- "githubUsername": "WilcoBakker"
26
+ "name": "Alvis HT Tang",
27
+ "url": "https://github.com/alvis",
28
+ "githubUsername": "alvis"
29
29
  },
30
30
  {
31
- "name": "Nicolas Voigt",
32
- "url": "https://github.com/octo-sniffle",
33
- "githubUsername": "octo-sniffle"
31
+ "name": "Andrew Makarov",
32
+ "url": "https://github.com/r3nya",
33
+ "githubUsername": "r3nya"
34
+ },
35
+ {
36
+ "name": "Bruno Scheufler",
37
+ "url": "https://github.com/brunoscheufler",
38
+ "githubUsername": "brunoscheufler"
34
39
  },
35
40
  {
36
41
  "name": "Chigozirim C.",
@@ -38,19 +43,9 @@
38
43
  "githubUsername": "smac89"
39
44
  },
40
45
  {
41
- "name": "Flarna",
42
- "url": "https://github.com/Flarna",
43
- "githubUsername": "Flarna"
44
- },
45
- {
46
- "name": "Mariusz Wiktorczyk",
47
- "url": "https://github.com/mwiktorczyk",
48
- "githubUsername": "mwiktorczyk"
49
- },
50
- {
51
- "name": "wwwy3y3",
52
- "url": "https://github.com/wwwy3y3",
53
- "githubUsername": "wwwy3y3"
46
+ "name": "Christian Vaagland Tellnes",
47
+ "url": "https://github.com/tellnes",
48
+ "githubUsername": "tellnes"
54
49
  },
55
50
  {
56
51
  "name": "Deividas Bakanas",
@@ -58,19 +53,14 @@
58
53
  "githubUsername": "DeividasBakanas"
59
54
  },
60
55
  {
61
- "name": "Kelvin Jin",
62
- "url": "https://github.com/kjin",
63
- "githubUsername": "kjin"
64
- },
65
- {
66
- "name": "Alvis HT Tang",
67
- "url": "https://github.com/alvis",
68
- "githubUsername": "alvis"
56
+ "name": "Eugene Y. Q. Shen",
57
+ "url": "https://github.com/eyqs",
58
+ "githubUsername": "eyqs"
69
59
  },
70
60
  {
71
- "name": "Sebastian Silbermann",
72
- "url": "https://github.com/eps1lon",
73
- "githubUsername": "eps1lon"
61
+ "name": "Flarna",
62
+ "url": "https://github.com/Flarna",
63
+ "githubUsername": "Flarna"
74
64
  },
75
65
  {
76
66
  "name": "Hannes Magnusson",
@@ -78,9 +68,19 @@
78
68
  "githubUsername": "Hannes-Magnusson-CK"
79
69
  },
80
70
  {
81
- "name": "Alberto Schiabel",
82
- "url": "https://github.com/jkomyno",
83
- "githubUsername": "jkomyno"
71
+ "name": "Hoàng Văn Khải",
72
+ "url": "https://github.com/KSXGitHub",
73
+ "githubUsername": "KSXGitHub"
74
+ },
75
+ {
76
+ "name": "Huw",
77
+ "url": "https://github.com/hoo29",
78
+ "githubUsername": "hoo29"
79
+ },
80
+ {
81
+ "name": "Kelvin Jin",
82
+ "url": "https://github.com/kjin",
83
+ "githubUsername": "kjin"
84
84
  },
85
85
  {
86
86
  "name": "Klaus Meinhardt",
@@ -88,19 +88,19 @@
88
88
  "githubUsername": "ajafff"
89
89
  },
90
90
  {
91
- "name": "Huw",
92
- "url": "https://github.com/hoo29",
93
- "githubUsername": "hoo29"
91
+ "name": "Lishude",
92
+ "url": "https://github.com/islishude",
93
+ "githubUsername": "islishude"
94
94
  },
95
95
  {
96
- "name": "Nicolas Even",
97
- "url": "https://github.com/n-e",
98
- "githubUsername": "n-e"
96
+ "name": "Mariusz Wiktorczyk",
97
+ "url": "https://github.com/mwiktorczyk",
98
+ "githubUsername": "mwiktorczyk"
99
99
  },
100
100
  {
101
- "name": "Bruno Scheufler",
102
- "url": "https://github.com/brunoscheufler",
103
- "githubUsername": "brunoscheufler"
101
+ "name": "Matthieu Sieben",
102
+ "url": "https://github.com/matthieusieben",
103
+ "githubUsername": "matthieusieben"
104
104
  },
105
105
  {
106
106
  "name": "Mohsen Azimi",
@@ -108,29 +108,29 @@
108
108
  "githubUsername": "mohsen1"
109
109
  },
110
110
  {
111
- "name": "Hoàng Văn Khải",
112
- "url": "https://github.com/KSXGitHub",
113
- "githubUsername": "KSXGitHub"
111
+ "name": "Nicolas Even",
112
+ "url": "https://github.com/n-e",
113
+ "githubUsername": "n-e"
114
114
  },
115
115
  {
116
- "name": "Alexander T.",
117
- "url": "https://github.com/a-tarasyuk",
118
- "githubUsername": "a-tarasyuk"
116
+ "name": "Nicolas Voigt",
117
+ "url": "https://github.com/octo-sniffle",
118
+ "githubUsername": "octo-sniffle"
119
119
  },
120
120
  {
121
- "name": "Lishude",
122
- "url": "https://github.com/islishude",
123
- "githubUsername": "islishude"
121
+ "name": "Parambir Singh",
122
+ "url": "https://github.com/parambirs",
123
+ "githubUsername": "parambirs"
124
124
  },
125
125
  {
126
- "name": "Andrew Makarov",
127
- "url": "https://github.com/r3nya",
128
- "githubUsername": "r3nya"
126
+ "name": "Sebastian Silbermann",
127
+ "url": "https://github.com/eps1lon",
128
+ "githubUsername": "eps1lon"
129
129
  },
130
130
  {
131
- "name": "Zane Hannan AU",
132
- "url": "https://github.com/ZaneHannanAU",
133
- "githubUsername": "ZaneHannanAU"
131
+ "name": "Simon Schick",
132
+ "url": "https://github.com/SimonSchick",
133
+ "githubUsername": "SimonSchick"
134
134
  },
135
135
  {
136
136
  "name": "Thomas den Hollander",
@@ -138,14 +138,19 @@
138
138
  "githubUsername": "ThomasdenH"
139
139
  },
140
140
  {
141
- "name": "Eugene Y. Q. Shen",
142
- "url": "https://github.com/eyqs",
143
- "githubUsername": "eyqs"
141
+ "name": "Wilco Bakker",
142
+ "url": "https://github.com/WilcoBakker",
143
+ "githubUsername": "WilcoBakker"
144
144
  },
145
145
  {
146
- "name": "Matthieu Sieben",
147
- "url": "https://github.com/matthieusieben",
148
- "githubUsername": "matthieusieben"
146
+ "name": "wwwy3y3",
147
+ "url": "https://github.com/wwwy3y3",
148
+ "githubUsername": "wwwy3y3"
149
+ },
150
+ {
151
+ "name": "Zane Hannan AU",
152
+ "url": "https://github.com/ZaneHannanAU",
153
+ "githubUsername": "ZaneHannanAU"
149
154
  }
150
155
  ],
151
156
  "main": "",
@@ -155,6 +160,6 @@
155
160
  },
156
161
  "scripts": {},
157
162
  "dependencies": {},
158
- "typesPublisherContentHash": "759d1e9e42b3e10e68884ab5ae0412fc6226f5b1b52a426b866823592a3b64e9",
163
+ "typesPublisherContentHash": "9b76eaacf8ee9a3d2a403d873c5b3feebd7a3bd4747efa2121e9331ae8ff9118",
159
164
  "typeScriptVersion": "2.0"
160
165
  }