@types/node 18.11.5 → 18.11.7
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/README.md +1 -1
- node/globals.d.ts +1 -1
- node/http.d.ts +7 -0
- node/package.json +2 -2
- node/ts4.8/http.d.ts +7 -0
node/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.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Wed, 26 Oct 2022 20:32:58 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
|
|
14
14
|
|
node/globals.d.ts
CHANGED
|
@@ -76,7 +76,7 @@ declare var AbortSignal: typeof globalThis extends {onmessage: any; AbortSignal:
|
|
|
76
76
|
: {
|
|
77
77
|
prototype: AbortSignal;
|
|
78
78
|
new(): AbortSignal;
|
|
79
|
-
|
|
79
|
+
abort(reason?: any): AbortSignal;
|
|
80
80
|
timeout(milliseconds: number): AbortSignal;
|
|
81
81
|
};
|
|
82
82
|
//#endregion borrowed
|
node/http.d.ts
CHANGED
|
@@ -1595,6 +1595,13 @@ declare module 'http' {
|
|
|
1595
1595
|
*/
|
|
1596
1596
|
function validateHeaderValue(name: string, value: string): void;
|
|
1597
1597
|
|
|
1598
|
+
/**
|
|
1599
|
+
* Set the maximum number of idle HTTP parsers. Default: 1000.
|
|
1600
|
+
* @param count
|
|
1601
|
+
* @since v18.8.0, v16.18.0
|
|
1602
|
+
*/
|
|
1603
|
+
function setMaxIdleHTTPParsers(count: number): void;
|
|
1604
|
+
|
|
1598
1605
|
let globalAgent: Agent;
|
|
1599
1606
|
/**
|
|
1600
1607
|
* Read-only property specifying the maximum allowed size of HTTP headers in bytes.
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "18.11.
|
|
3
|
+
"version": "18.11.7",
|
|
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": "e64a34cfa8ad95a9b0e877bc576e260483e6152920c5641be7813e087342864a",
|
|
231
231
|
"typeScriptVersion": "4.1"
|
|
232
232
|
}
|
node/ts4.8/http.d.ts
CHANGED
|
@@ -1595,6 +1595,13 @@ declare module 'http' {
|
|
|
1595
1595
|
*/
|
|
1596
1596
|
function validateHeaderValue(name: string, value: string): void;
|
|
1597
1597
|
|
|
1598
|
+
/**
|
|
1599
|
+
* Set the maximum number of idle HTTP parsers. Default: 1000.
|
|
1600
|
+
* @param count
|
|
1601
|
+
* @since v18.8.0, v16.18.0
|
|
1602
|
+
*/
|
|
1603
|
+
function setMaxIdleHTTPParsers(count: number): void;
|
|
1604
|
+
|
|
1598
1605
|
let globalAgent: Agent;
|
|
1599
1606
|
/**
|
|
1600
1607
|
* Read-only property specifying the maximum allowed size of HTTP headers in bytes.
|