@types/node 14.11.1 → 14.11.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.
Files changed (3) hide show
  1. node/README.md +1 -1
  2. node/http.d.ts +8 -0
  3. node/package.json +2 -2
node/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (http://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: Thu, 17 Sep 2020 18:22:23 GMT
11
+ * Last updated: Tue, 22 Sep 2020 00:22:04 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Buffer`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
14
14
 
node/http.d.ts CHANGED
@@ -351,6 +351,10 @@ declare module "http" {
351
351
  * Maximum number of sockets to allow per host. Default for Node 0.10 is 5, default for Node 0.12 is Infinity
352
352
  */
353
353
  maxSockets?: number;
354
+ /**
355
+ * Maximum number of sockets allowed for all hosts in total. Each request will use a new socket until the maximum is reached. Default: Infinity.
356
+ */
357
+ maxTotalSockets?: number;
354
358
  /**
355
359
  * Maximum number of sockets to leave open in a free state. Only relevant if keepAlive is set to true. Default = 256.
356
360
  */
@@ -359,6 +363,10 @@ declare module "http" {
359
363
  * Socket timeout in milliseconds. This will set the timeout after the socket is connected.
360
364
  */
361
365
  timeout?: number;
366
+ /**
367
+ * Scheduling strategy to apply when picking the next free socket to use. Default: 'fifo'.
368
+ */
369
+ scheduling?: 'fifo' | 'lifo';
362
370
  }
363
371
 
364
372
  class Agent {
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "14.11.1",
3
+ "version": "14.11.2",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -246,6 +246,6 @@
246
246
  },
247
247
  "scripts": {},
248
248
  "dependencies": {},
249
- "typesPublisherContentHash": "9c70727f96ff4b42df35727bea7b55df2239ce097878ea3e75322ca3d8403616",
249
+ "typesPublisherContentHash": "95c31ecd7dac923f86a6c9be84dca043a8e12b784d38a9fd13883ee95fac1971",
250
250
  "typeScriptVersion": "3.2"
251
251
  }