@types/node 14.18.36 → 14.18.38

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 v14.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/v14.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 26 Dec 2022 17:32:40 GMT
11
+ * Last updated: Tue, 14 Mar 2023 06:02:40 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `Buffer`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
14
14
 
@@ -91,7 +91,7 @@ interface AbortController {
91
91
  * Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted.
92
92
  * @since v14.7.0
93
93
  */
94
- abort(): void;
94
+ abort(reason?: any): void;
95
95
  }
96
96
 
97
97
  /**
node v14.18/net.d.ts CHANGED
@@ -88,6 +88,7 @@ declare module 'net' {
88
88
  readonly destroyed: boolean;
89
89
  readonly localAddress: string;
90
90
  readonly localPort: number;
91
+ readonly pending: boolean;
91
92
  /**
92
93
  * This property represents the state of the connection as a string.
93
94
  * @see {https://nodejs.org/api/net.html#socketreadystate}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "14.18.36",
3
+ "version": "14.18.38",
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": "ce18b8d68acf5af0e944bf4603a1859f9df9758f8fb0de6562a7bedd208ec298",
230
+ "typesPublisherContentHash": "a9d30583fed4d66c149bd450d5db93b0548e32e04248a03a8fe263020ff4c407",
231
231
  "typeScriptVersion": "4.2"
232
232
  }
@@ -91,7 +91,7 @@ interface AbortController {
91
91
  * Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted.
92
92
  * @since v14.7.0
93
93
  */
94
- abort(): void;
94
+ abort(reason?: any): void;
95
95
  }
96
96
 
97
97
  /**
@@ -88,6 +88,7 @@ declare module 'net' {
88
88
  readonly destroyed: boolean;
89
89
  readonly localAddress: string;
90
90
  readonly localPort: number;
91
+ readonly pending: boolean;
91
92
  /**
92
93
  * This property represents the state of the connection as a string.
93
94
  * @see {https://nodejs.org/api/net.html#socketreadystate}