@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 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, 21 Aug 2024 01:34:14 GMT
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" />