@types/node 20.16.13 → 20.16.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 v20.16/README.md +1 -1
- node v20.16/package.json +3 -2
- node v20.16/stream/promises.d.ts +8 -1
node v20.16/README.md
CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for node (https://nodejs.org/).
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v20.
|
9
9
|
|
10
10
|
### Additional Details
|
11
|
-
* Last updated:
|
11
|
+
* Last updated: Tue, 22 Oct 2024 02:30:55 GMT
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
13
13
|
|
14
14
|
# Credits
|
node v20.16/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/node",
|
3
|
-
"version": "20.16.
|
3
|
+
"version": "20.16.14",
|
4
4
|
"description": "TypeScript definitions for node",
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
6
6
|
"license": "MIT",
|
@@ -219,6 +219,7 @@
|
|
219
219
|
"dependencies": {
|
220
220
|
"undici-types": "~6.19.2"
|
221
221
|
},
|
222
|
-
"
|
222
|
+
"peerDependencies": {},
|
223
|
+
"typesPublisherContentHash": "905fbb4c41cf3eabe9e57625684ee441eb5bf655cacd2caf024e9c8e790bc1bf",
|
223
224
|
"typeScriptVersion": "4.8"
|
224
225
|
}
|
node v20.16/stream/promises.d.ts
CHANGED
@@ -1,12 +1,19 @@
|
|
1
1
|
declare module "stream/promises" {
|
2
2
|
import {
|
3
|
-
FinishedOptions,
|
3
|
+
FinishedOptions as _FinishedOptions,
|
4
4
|
PipelineDestination,
|
5
5
|
PipelineOptions,
|
6
6
|
PipelinePromise,
|
7
7
|
PipelineSource,
|
8
8
|
PipelineTransform,
|
9
9
|
} from "node:stream";
|
10
|
+
interface FinishedOptions extends _FinishedOptions {
|
11
|
+
/**
|
12
|
+
* If true, removes the listeners registered by this function before the promise is fulfilled.
|
13
|
+
* @default false
|
14
|
+
*/
|
15
|
+
cleanup?: boolean | undefined;
|
16
|
+
}
|
10
17
|
function finished(
|
11
18
|
stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream,
|
12
19
|
options?: FinishedOptions,
|