@types/node 17.0.8 → 17.0.9

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 +1 -1
  2. node/http.d.ts +10 -0
  3. node/package.json +2 -2
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: Tue, 04 Jan 2022 18:31:31 GMT
11
+ * Last updated: Mon, 17 Jan 2022 09:01:27 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
14
14
 
node/http.d.ts CHANGED
@@ -621,6 +621,16 @@ declare module 'http' {
621
621
  * @since v14.5.0, v12.19.0
622
622
  */
623
623
  protocol: string;
624
+ /**
625
+ * Whether the request is send through a reused socket.
626
+ * @since v13.0.0, v12.16.0
627
+ */
628
+ reusedSocket: boolean;
629
+ /**
630
+ * Limits maximum response headers count. If set to 0, no limit will be applied.
631
+ * @default 2000
632
+ */
633
+ maxHeadersCount: number;
624
634
  constructor(url: string | URL | ClientRequestArgs, cb?: (res: IncomingMessage) => void);
625
635
  /**
626
636
  * The request method.
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "17.0.8",
3
+ "version": "17.0.9",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -225,6 +225,6 @@
225
225
  },
226
226
  "scripts": {},
227
227
  "dependencies": {},
228
- "typesPublisherContentHash": "133a958e0122898f222d66bf1e776d90a38ee878a694bbe229cf5e02db71deef",
228
+ "typesPublisherContentHash": "5cb436d01fb10eee34657c48c4cdfa4544d4fe09454836c3a08d045ead2ac643",
229
229
  "typeScriptVersion": "3.8"
230
230
  }