@types/node 16.18.13 → 16.18.14

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.18/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: Sun, 26 Feb 2023 19:32:43 GMT
11
+ * Last updated: Thu, 02 Mar 2023 04:32:39 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
14
14
 
node v16.18/net.d.ts CHANGED
@@ -271,6 +271,12 @@ declare module 'net' {
271
271
  * @since v18.8.0, v16.18.0
272
272
  */
273
273
  readonly localFamily?: string;
274
+ /**
275
+ * This is `true` if the socket is not connected yet, either because `.connect()`
276
+ * has not yet been called or because it is still in the process of connecting (see `socket.connecting`).
277
+ * @since v10.16.0
278
+ */
279
+ readonly pending: boolean;
274
280
  /**
275
281
  * This property represents the state of the connection as a string.
276
282
  * @see {https://nodejs.org/api/net.html#socketreadystate}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "16.18.13",
3
+ "version": "16.18.14",
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": "2f1779a9ca5b482d7852b4d81afb31c3d486e9bda007b412a0fce48ec448ab83",
230
+ "typesPublisherContentHash": "aa8afced2fdba94cd7a0904bf5f002fd067d74f92b3c3b28e16e1cda60b246f0",
231
231
  "typeScriptVersion": "4.2"
232
232
  }
@@ -271,6 +271,12 @@ declare module 'net' {
271
271
  * @since v18.8.0, v16.18.0
272
272
  */
273
273
  readonly localFamily?: string;
274
+ /**
275
+ * This is `true` if the socket is not connected yet, either because `.connect()`
276
+ * has not yet been called or because it is still in the process of connecting (see `socket.connecting`).
277
+ * @since v10.16.0
278
+ */
279
+ readonly pending: boolean;
274
280
  /**
275
281
  * This property represents the state of the connection as a string.
276
282
  * @see {https://nodejs.org/api/net.html#socketreadystate}