@types/node 16.11.16 → 16.11.20

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.11/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: Thu, 23 Dec 2021 04:01:24 GMT
11
+ * Last updated: Mon, 17 Jan 2022 09:01:28 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
14
14
 
node v16.11/http.d.ts CHANGED
@@ -620,6 +620,16 @@ declare module 'http' {
620
620
  * @since v14.5.0, v12.19.0
621
621
  */
622
622
  protocol: string;
623
+ /**
624
+ * Whether the request is send through a reused socket.
625
+ * @since v13.0.0, v12.16.0
626
+ */
627
+ reusedSocket: boolean;
628
+ /**
629
+ * Limits maximum response headers count. If set to 0, no limit will be applied.
630
+ * @default 2000
631
+ */
632
+ maxHeadersCount: number;
623
633
  constructor(url: string | URL | ClientRequestArgs, cb?: (res: IncomingMessage) => void);
624
634
  /**
625
635
  * The request method.
node v16.11/net.d.ts CHANGED
@@ -27,6 +27,7 @@ declare module 'net' {
27
27
  allowHalfOpen?: boolean | undefined;
28
28
  readable?: boolean | undefined;
29
29
  writable?: boolean | undefined;
30
+ signal?: AbortSignal;
30
31
  }
31
32
  interface OnReadOpts {
32
33
  buffer: Uint8Array | (() => Uint8Array);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "16.11.16",
3
+ "version": "16.11.20",
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": "e86b2a7107de88b91bff946703a28f4d2fd9dc56f59546517643d20973fd4496",
228
+ "typesPublisherContentHash": "f0cf5494053bbd33ab4c7158523ff1dc364c1fccc00f77ca4fbf1abe50280825",
229
229
  "typeScriptVersion": "3.8"
230
230
  }
@@ -397,9 +397,11 @@ declare module 'perf_hooks' {
397
397
  options:
398
398
  | {
399
399
  entryTypes: ReadonlyArray<EntryType>;
400
+ buffered?: boolean | undefined;
400
401
  }
401
402
  | {
402
403
  type: EntryType;
404
+ buffered?: boolean | undefined;
403
405
  }
404
406
  ): void;
405
407
  }
@@ -146,7 +146,7 @@ declare module 'process' {
146
146
  /**
147
147
  * If true, a diagnostic report is generated when the process
148
148
  * receives the signal specified by process.report.signal.
149
- * @defaul false
149
+ * @default false
150
150
  */
151
151
  reportOnSignal: boolean;
152
152
  /**