@types/node 18.19.2 → 18.19.3
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/package.json +2 -2
- node v18.19/stream.d.ts +4 -4
- node v18.19/ts4.8/stream.d.ts +4 -4
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: Thu, 07 Dec 2023 07:07:09 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
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.3",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -229,7 +229,7 @@
|
|
|
229
229
|
"dependencies": {
|
|
230
230
|
"undici-types": "~5.26.4"
|
|
231
231
|
},
|
|
232
|
-
"typesPublisherContentHash": "
|
|
232
|
+
"typesPublisherContentHash": "0652f962a8567f9463ea7ccdc9536ee4e99f89d7ee1e72596883ff065aec0a01",
|
|
233
233
|
"typeScriptVersion": "4.6",
|
|
234
234
|
"nonNpm": true
|
|
235
235
|
}
|
node v18.19/stream.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ declare module "stream" {
|
|
|
46
46
|
highWaterMark?: number | undefined;
|
|
47
47
|
objectMode?: boolean | undefined;
|
|
48
48
|
construct?(this: T, callback: (error?: Error | null) => void): void;
|
|
49
|
-
destroy?(this: T, error: Error | null, callback: (error
|
|
49
|
+
destroy?(this: T, error: Error | null, callback: (error?: Error | null) => void): void;
|
|
50
50
|
autoDestroy?: boolean | undefined;
|
|
51
51
|
}
|
|
52
52
|
interface ReadableOptions extends StreamOptions<Readable> {
|
|
@@ -1025,7 +1025,7 @@ declare module "stream" {
|
|
|
1025
1025
|
callback: (error?: Error | null) => void,
|
|
1026
1026
|
): void;
|
|
1027
1027
|
final?(this: Duplex, callback: (error?: Error | null) => void): void;
|
|
1028
|
-
destroy?(this: Duplex, error: Error | null, callback: (error
|
|
1028
|
+
destroy?(this: Duplex, error: Error | null, callback: (error?: Error | null) => void): void;
|
|
1029
1029
|
}
|
|
1030
1030
|
/**
|
|
1031
1031
|
* Duplex streams are streams that implement both the `Readable` and `Writable` interfaces.
|
|
@@ -1100,7 +1100,7 @@ declare module "stream" {
|
|
|
1100
1100
|
}>,
|
|
1101
1101
|
callback: (error?: Error | null) => void,
|
|
1102
1102
|
): void;
|
|
1103
|
-
_destroy(error: Error | null, callback: (error
|
|
1103
|
+
_destroy(error: Error | null, callback: (error?: Error | null) => void): void;
|
|
1104
1104
|
_final(callback: (error?: Error | null) => void): void;
|
|
1105
1105
|
write(chunk: any, encoding?: BufferEncoding, cb?: (error: Error | null | undefined) => void): boolean;
|
|
1106
1106
|
write(chunk: any, cb?: (error: Error | null | undefined) => void): boolean;
|
|
@@ -1229,7 +1229,7 @@ declare module "stream" {
|
|
|
1229
1229
|
callback: (error?: Error | null) => void,
|
|
1230
1230
|
): void;
|
|
1231
1231
|
final?(this: Transform, callback: (error?: Error | null) => void): void;
|
|
1232
|
-
destroy?(this: Transform, error: Error | null, callback: (error
|
|
1232
|
+
destroy?(this: Transform, error: Error | null, callback: (error?: Error | null) => void): void;
|
|
1233
1233
|
transform?(this: Transform, chunk: any, encoding: BufferEncoding, callback: TransformCallback): void;
|
|
1234
1234
|
flush?(this: Transform, callback: TransformCallback): void;
|
|
1235
1235
|
}
|
node v18.19/ts4.8/stream.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ declare module "stream" {
|
|
|
46
46
|
highWaterMark?: number | undefined;
|
|
47
47
|
objectMode?: boolean | undefined;
|
|
48
48
|
construct?(this: T, callback: (error?: Error | null) => void): void;
|
|
49
|
-
destroy?(this: T, error: Error | null, callback: (error
|
|
49
|
+
destroy?(this: T, error: Error | null, callback: (error?: Error | null) => void): void;
|
|
50
50
|
autoDestroy?: boolean | undefined;
|
|
51
51
|
}
|
|
52
52
|
interface ReadableOptions extends StreamOptions<Readable> {
|
|
@@ -1025,7 +1025,7 @@ declare module "stream" {
|
|
|
1025
1025
|
callback: (error?: Error | null) => void,
|
|
1026
1026
|
): void;
|
|
1027
1027
|
final?(this: Duplex, callback: (error?: Error | null) => void): void;
|
|
1028
|
-
destroy?(this: Duplex, error: Error | null, callback: (error
|
|
1028
|
+
destroy?(this: Duplex, error: Error | null, callback: (error?: Error | null) => void): void;
|
|
1029
1029
|
}
|
|
1030
1030
|
/**
|
|
1031
1031
|
* Duplex streams are streams that implement both the `Readable` and `Writable` interfaces.
|
|
@@ -1100,7 +1100,7 @@ declare module "stream" {
|
|
|
1100
1100
|
}>,
|
|
1101
1101
|
callback: (error?: Error | null) => void,
|
|
1102
1102
|
): void;
|
|
1103
|
-
_destroy(error: Error | null, callback: (error
|
|
1103
|
+
_destroy(error: Error | null, callback: (error?: Error | null) => void): void;
|
|
1104
1104
|
_final(callback: (error?: Error | null) => void): void;
|
|
1105
1105
|
write(chunk: any, encoding?: BufferEncoding, cb?: (error: Error | null | undefined) => void): boolean;
|
|
1106
1106
|
write(chunk: any, cb?: (error: Error | null | undefined) => void): boolean;
|
|
@@ -1229,7 +1229,7 @@ declare module "stream" {
|
|
|
1229
1229
|
callback: (error?: Error | null) => void,
|
|
1230
1230
|
): void;
|
|
1231
1231
|
final?(this: Transform, callback: (error?: Error | null) => void): void;
|
|
1232
|
-
destroy?(this: Transform, error: Error | null, callback: (error
|
|
1232
|
+
destroy?(this: Transform, error: Error | null, callback: (error?: Error | null) => void): void;
|
|
1233
1233
|
transform?(this: Transform, chunk: any, encoding: BufferEncoding, callback: TransformCallback): void;
|
|
1234
1234
|
flush?(this: Transform, callback: TransformCallback): void;
|
|
1235
1235
|
}
|