@types/node 18.19.57 → 18.19.59
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 v18.19/README.md +1 -1
- node v18.19/assert.d.ts +2 -2
- node v18.19/package.json +3 -2
- node v18.19/stream/promises.d.ts +8 -1
node v18.19/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/v18.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Wed, 23 Oct 2024 03:36:41 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
node v18.19/assert.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ declare module "assert" {
|
|
|
31
31
|
/** The `operator` property on the error instance. */
|
|
32
32
|
operator?: string | undefined;
|
|
33
33
|
/** If provided, the generated stack trace omits frames before this function. */
|
|
34
|
-
// eslint-disable-next-line @typescript-eslint/
|
|
34
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
|
|
35
35
|
stackStartFn?: Function | undefined;
|
|
36
36
|
});
|
|
37
37
|
}
|
|
@@ -217,7 +217,7 @@ declare module "assert" {
|
|
|
217
217
|
expected: unknown,
|
|
218
218
|
message?: string | Error,
|
|
219
219
|
operator?: string,
|
|
220
|
-
// eslint-disable-next-line @typescript-eslint/
|
|
220
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
|
|
221
221
|
stackStartFn?: Function,
|
|
222
222
|
): never;
|
|
223
223
|
/**
|
node v18.19/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "18.19.
|
|
3
|
+
"version": "18.19.59",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -224,6 +224,7 @@
|
|
|
224
224
|
"dependencies": {
|
|
225
225
|
"undici-types": "~5.26.4"
|
|
226
226
|
},
|
|
227
|
-
"
|
|
227
|
+
"peerDependencies": {},
|
|
228
|
+
"typesPublisherContentHash": "dbee8228dcfc0a4ea974393c4aec4ac13d9e98bc3a63641eb12e52a615aa1cea",
|
|
228
229
|
"typeScriptVersion": "4.8"
|
|
229
230
|
}
|
node v18.19/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,
|