@types/node 16.18.0 → 16.18.2
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 v16.18/README.md +1 -1
- node v16.18/globals.d.ts +1 -1
- node v16.18/http.d.ts +7 -0
- node v16.18/net.d.ts +5 -0
- node v16.18/package.json +2 -2
- node v16.18/ts4.8/http.d.ts +7 -0
- node v16.18/ts4.8/net.d.ts +5 -0
node v16.18/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (https://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v16.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Wed, 26 Oct 2022 20:33:00 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
|
|
14
14
|
|
node v16.18/globals.d.ts
CHANGED
node v16.18/http.d.ts
CHANGED
|
@@ -1484,6 +1484,13 @@ declare module 'http' {
|
|
|
1484
1484
|
*/
|
|
1485
1485
|
function validateHeaderValue(name: string, value: string): void;
|
|
1486
1486
|
|
|
1487
|
+
/**
|
|
1488
|
+
* Set the maximum number of idle HTTP parsers. Default: 1000.
|
|
1489
|
+
* @param count
|
|
1490
|
+
* @since v18.8.0, v16.18.0
|
|
1491
|
+
*/
|
|
1492
|
+
function setMaxIdleHTTPParsers(count: number): void;
|
|
1493
|
+
|
|
1487
1494
|
let globalAgent: Agent;
|
|
1488
1495
|
/**
|
|
1489
1496
|
* Read-only property specifying the maximum allowed size of HTTP headers in bytes.
|
node v16.18/net.d.ts
CHANGED
|
@@ -266,6 +266,11 @@ declare module 'net' {
|
|
|
266
266
|
* @since v0.9.6
|
|
267
267
|
*/
|
|
268
268
|
readonly localPort?: number;
|
|
269
|
+
/**
|
|
270
|
+
* The string representation of the local IP family. `'IPv4'` or `'IPv6'`.
|
|
271
|
+
* @since v18.8.0, v16.18.0
|
|
272
|
+
*/
|
|
273
|
+
readonly localFamily?: string;
|
|
269
274
|
/**
|
|
270
275
|
* This property represents the state of the connection as a string.
|
|
271
276
|
* @see {https://nodejs.org/api/net.html#socketreadystate}
|
node v16.18/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "16.18.
|
|
3
|
+
"version": "16.18.2",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -227,6 +227,6 @@
|
|
|
227
227
|
},
|
|
228
228
|
"scripts": {},
|
|
229
229
|
"dependencies": {},
|
|
230
|
-
"typesPublisherContentHash": "
|
|
230
|
+
"typesPublisherContentHash": "740a4a91bf04398bb328215daeb7952aa1691cfe329a2d9c03a157445fe86c16",
|
|
231
231
|
"typeScriptVersion": "4.1"
|
|
232
232
|
}
|
node v16.18/ts4.8/http.d.ts
CHANGED
|
@@ -1484,6 +1484,13 @@ declare module 'http' {
|
|
|
1484
1484
|
*/
|
|
1485
1485
|
function validateHeaderValue(name: string, value: string): void;
|
|
1486
1486
|
|
|
1487
|
+
/**
|
|
1488
|
+
* Set the maximum number of idle HTTP parsers. Default: 1000.
|
|
1489
|
+
* @param count
|
|
1490
|
+
* @since v18.8.0, v16.18.0
|
|
1491
|
+
*/
|
|
1492
|
+
function setMaxIdleHTTPParsers(count: number): void;
|
|
1493
|
+
|
|
1487
1494
|
let globalAgent: Agent;
|
|
1488
1495
|
/**
|
|
1489
1496
|
* Read-only property specifying the maximum allowed size of HTTP headers in bytes.
|
node v16.18/ts4.8/net.d.ts
CHANGED
|
@@ -266,6 +266,11 @@ declare module 'net' {
|
|
|
266
266
|
* @since v0.9.6
|
|
267
267
|
*/
|
|
268
268
|
readonly localPort?: number;
|
|
269
|
+
/**
|
|
270
|
+
* The string representation of the local IP family. `'IPv4'` or `'IPv6'`.
|
|
271
|
+
* @since v18.8.0, v16.18.0
|
|
272
|
+
*/
|
|
273
|
+
readonly localFamily?: string;
|
|
269
274
|
/**
|
|
270
275
|
* This property represents the state of the connection as a string.
|
|
271
276
|
* @see {https://nodejs.org/api/net.html#socketreadystate}
|