@types/node 22.4.2 → 22.5.1
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/http.d.ts +13 -0
- node/index.d.ts +1 -0
- node/inspector.d.ts +1060 -110
- node/package.json +2 -2
- node/path.d.ts +9 -0
- node/process.d.ts +37 -3
- node/sqlite.d.ts +213 -0
- node/worker_threads.d.ts +18 -0
node/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.
|
9
9
|
|
10
10
|
### Additional Details
|
11
|
-
* Last updated: Wed,
|
11
|
+
* Last updated: Wed, 28 Aug 2024 00:27:14 GMT
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
13
13
|
|
14
14
|
# Credits
|
node/http.d.ts
CHANGED
@@ -1902,6 +1902,19 @@ declare module "http" {
|
|
1902
1902
|
* Defaults to 16KB. Configurable using the `--max-http-header-size` CLI option.
|
1903
1903
|
*/
|
1904
1904
|
const maxHeaderSize: number;
|
1905
|
+
/**
|
1906
|
+
* A browser-compatible implementation of [WebSocket](https://nodejs.org/docs/latest/api/http.html#websocket).
|
1907
|
+
* @since v22.5.0
|
1908
|
+
*/
|
1909
|
+
const WebSocket: import("undici-types").WebSocket;
|
1910
|
+
/**
|
1911
|
+
* @since v22.5.0
|
1912
|
+
*/
|
1913
|
+
const CloseEvent: import("undici-types").CloseEvent;
|
1914
|
+
/**
|
1915
|
+
* @since v22.5.0
|
1916
|
+
*/
|
1917
|
+
const MessageEvent: import("undici-types").MessageEvent;
|
1905
1918
|
}
|
1906
1919
|
declare module "node:http" {
|
1907
1920
|
export * from "http";
|
node/index.d.ts
CHANGED
@@ -67,6 +67,7 @@
|
|
67
67
|
/// <reference path="readline/promises.d.ts" />
|
68
68
|
/// <reference path="repl.d.ts" />
|
69
69
|
/// <reference path="sea.d.ts" />
|
70
|
+
/// <reference path="sqlite.d.ts" />
|
70
71
|
/// <reference path="stream.d.ts" />
|
71
72
|
/// <reference path="stream/promises.d.ts" />
|
72
73
|
/// <reference path="stream/consumers.d.ts" />
|