@types/node 18.15.9 → 18.15.11
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/README.md +1 -1
- node/globals.d.ts +1 -0
- node/http2.d.ts +0 -1
- node/package.json +2 -2
- node/ts4.8/http2.d.ts +0 -1
node/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.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Tue, 28 Mar 2023 21:33:10 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
|
|
14
14
|
|
node/globals.d.ts
CHANGED
|
@@ -62,6 +62,7 @@ interface AbortSignal extends EventTarget {
|
|
|
62
62
|
* Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise.
|
|
63
63
|
*/
|
|
64
64
|
readonly aborted: boolean;
|
|
65
|
+
readonly reason: any;
|
|
65
66
|
}
|
|
66
67
|
|
|
67
68
|
declare var AbortController: typeof globalThis extends {onmessage: any; AbortController: infer T}
|
node/http2.d.ts
CHANGED
|
@@ -1053,7 +1053,6 @@ declare module 'http2' {
|
|
|
1053
1053
|
*/
|
|
1054
1054
|
unknownProtocolTimeout?: number | undefined;
|
|
1055
1055
|
selectPadding?(frameLen: number, maxFrameLen: number): number;
|
|
1056
|
-
createConnection?(authority: url.URL, option: SessionOptions): stream.Duplex;
|
|
1057
1056
|
}
|
|
1058
1057
|
export interface ClientSessionOptions extends SessionOptions {
|
|
1059
1058
|
maxReservedRemoteStreams?: number | undefined;
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "18.15.
|
|
3
|
+
"version": "18.15.11",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -232,6 +232,6 @@
|
|
|
232
232
|
},
|
|
233
233
|
"scripts": {},
|
|
234
234
|
"dependencies": {},
|
|
235
|
-
"typesPublisherContentHash": "
|
|
235
|
+
"typesPublisherContentHash": "0b569b41848800d78adc39868da768013835b59322022dd1bb40be639e885045",
|
|
236
236
|
"typeScriptVersion": "4.3"
|
|
237
237
|
}
|
node/ts4.8/http2.d.ts
CHANGED
|
@@ -1053,7 +1053,6 @@ declare module 'http2' {
|
|
|
1053
1053
|
*/
|
|
1054
1054
|
unknownProtocolTimeout?: number | undefined;
|
|
1055
1055
|
selectPadding?(frameLen: number, maxFrameLen: number): number;
|
|
1056
|
-
createConnection?(authority: url.URL, option: SessionOptions): stream.Duplex;
|
|
1057
1056
|
}
|
|
1058
1057
|
export interface ClientSessionOptions extends SessionOptions {
|
|
1059
1058
|
maxReservedRemoteStreams?: number | undefined;
|