@types/node 17.0.32 → 17.0.33

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/net.d.ts +5 -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, 10 May 2022 21:31:42 GMT
11
+ * Last updated: Thu, 12 May 2022 21:31:45 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
14
14
 
node/net.d.ts CHANGED
@@ -285,6 +285,11 @@ declare module 'net' {
285
285
  * @since v0.5.10
286
286
  */
287
287
  readonly remotePort?: number | undefined;
288
+ /**
289
+ * The socket timeout in milliseconds as set by socket.setTimeout(). It is undefined if a timeout has not been set.
290
+ * @since v10.7.0
291
+ */
292
+ readonly timeout?: number | undefined;
288
293
  /**
289
294
  * Half-closes the socket. i.e., it sends a FIN packet. It is possible the
290
295
  * server will still send some data.
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "17.0.32",
3
+ "version": "17.0.33",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -215,6 +215,6 @@
215
215
  },
216
216
  "scripts": {},
217
217
  "dependencies": {},
218
- "typesPublisherContentHash": "2dd579d0ba3c1020dfef69325afa6d46fba439ba51eed066862df6bb33a7c2c5",
218
+ "typesPublisherContentHash": "4778882a370648e38e15a0b0d8f0ea68f9f725cd6e3d968321a04ce552542d0f",
219
219
  "typeScriptVersion": "3.9"
220
220
  }