@types/node 18.11.4 → 18.11.6

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 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: Sun, 23 Oct 2022 19:32:39 GMT
11
+ * Last updated: Wed, 26 Oct 2022 12:32:48 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
14
14
 
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.4",
3
+ "version": "18.11.6",
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": "510d7c55520137d9fd93e59476c958bf0749bee7c3f256c58974e635d2dcbfc4",
230
+ "typesPublisherContentHash": "035c3c4890b2583a3f145e7d9936955ada77d0cbf2aff9b3693f9a520a55ab5b",
231
231
  "typeScriptVersion": "4.1"
232
232
  }
node/stream.d.ts CHANGED
@@ -124,12 +124,12 @@ declare module 'stream' {
124
124
  readonly readableObjectMode: boolean;
125
125
  /**
126
126
  * Is `true` after `readable.destroy()` has been called.
127
- * @since v18.0.0
127
+ * @since v8.0.0
128
128
  */
129
129
  destroyed: boolean;
130
130
  /**
131
131
  * Is true after 'close' has been emitted.
132
- * @since v8.0.0
132
+ * @since v18.0.0
133
133
  */
134
134
  readonly closed: boolean;
135
135
  /**
@@ -579,7 +579,7 @@ declare module 'stream' {
579
579
  destroyed: boolean;
580
580
  /**
581
581
  * Is true after 'close' has been emitted.
582
- * @since v8.0.0
582
+ * @since v18.0.0
583
583
  */
584
584
  readonly closed: boolean;
585
585
  /**
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.