cdk-common 2.0.1351 → 2.0.1352

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.
Files changed (168) hide show
  1. package/.jsii +38 -2
  2. package/API.md +36 -0
  3. package/lib/main.js +1 -1
  4. package/lib/managed-policies.d.ts +7 -1
  5. package/lib/managed-policies.js +7 -1
  6. package/node_modules/@types/concat-stream/node_modules/@types/node/README.md +1 -1
  7. package/node_modules/@types/concat-stream/node_modules/@types/node/assert/strict.d.ts +5 -11
  8. package/node_modules/@types/concat-stream/node_modules/@types/node/assert.d.ts +9 -169
  9. package/node_modules/@types/concat-stream/node_modules/@types/node/async_hooks.d.ts +8 -8
  10. package/node_modules/@types/concat-stream/node_modules/@types/node/buffer.buffer.d.ts +1 -7
  11. package/node_modules/@types/concat-stream/node_modules/@types/node/buffer.d.ts +44 -168
  12. package/node_modules/@types/concat-stream/node_modules/@types/node/child_process.d.ts +16 -64
  13. package/node_modules/@types/concat-stream/node_modules/@types/node/cluster.d.ts +240 -332
  14. package/node_modules/@types/concat-stream/node_modules/@types/node/console.d.ts +49 -351
  15. package/node_modules/@types/concat-stream/node_modules/@types/node/constants.d.ts +3 -4
  16. package/node_modules/@types/concat-stream/node_modules/@types/node/crypto.d.ts +279 -1631
  17. package/node_modules/@types/concat-stream/node_modules/@types/node/dgram.d.ts +15 -51
  18. package/node_modules/@types/concat-stream/node_modules/@types/node/diagnostics_channel.d.ts +4 -4
  19. package/node_modules/@types/concat-stream/node_modules/@types/node/dns/promises.d.ts +3 -3
  20. package/node_modules/@types/concat-stream/node_modules/@types/node/dns.d.ts +131 -132
  21. package/node_modules/@types/concat-stream/node_modules/@types/node/domain.d.ts +13 -17
  22. package/node_modules/@types/concat-stream/node_modules/@types/node/events.d.ts +869 -791
  23. package/node_modules/@types/concat-stream/node_modules/@types/node/fs/promises.d.ts +7 -8
  24. package/node_modules/@types/concat-stream/node_modules/@types/node/fs.d.ts +417 -455
  25. package/node_modules/@types/concat-stream/node_modules/@types/node/globals.d.ts +6 -26
  26. package/node_modules/@types/concat-stream/node_modules/@types/node/globals.typedarray.d.ts +60 -0
  27. package/node_modules/@types/concat-stream/node_modules/@types/node/http.d.ts +263 -254
  28. package/node_modules/@types/concat-stream/node_modules/@types/node/http2.d.ts +528 -804
  29. package/node_modules/@types/concat-stream/node_modules/@types/node/https.d.ts +59 -239
  30. package/node_modules/@types/concat-stream/node_modules/@types/node/index.d.ts +15 -1
  31. package/node_modules/@types/concat-stream/node_modules/@types/node/inspector/promises.d.ts +41 -0
  32. package/node_modules/@types/concat-stream/node_modules/@types/node/inspector.d.ts +6 -59
  33. package/node_modules/@types/concat-stream/node_modules/@types/node/inspector.generated.d.ts +3 -10
  34. package/node_modules/@types/concat-stream/node_modules/@types/node/module.d.ts +47 -122
  35. package/node_modules/@types/concat-stream/node_modules/@types/node/net.d.ts +63 -184
  36. package/node_modules/@types/concat-stream/node_modules/@types/node/os.d.ts +6 -6
  37. package/node_modules/@types/concat-stream/node_modules/@types/node/package.json +2 -2
  38. package/node_modules/@types/concat-stream/node_modules/@types/node/path/posix.d.ts +8 -0
  39. package/node_modules/@types/concat-stream/node_modules/@types/node/path/win32.d.ts +8 -0
  40. package/node_modules/@types/concat-stream/node_modules/@types/node/path.d.ts +120 -133
  41. package/node_modules/@types/concat-stream/node_modules/@types/node/perf_hooks.d.ts +282 -643
  42. package/node_modules/@types/concat-stream/node_modules/@types/node/process.d.ts +156 -128
  43. package/node_modules/@types/concat-stream/node_modules/@types/node/punycode.d.ts +5 -5
  44. package/node_modules/@types/concat-stream/node_modules/@types/node/querystring.d.ts +4 -4
  45. package/node_modules/@types/concat-stream/node_modules/@types/node/quic.d.ts +910 -0
  46. package/node_modules/@types/concat-stream/node_modules/@types/node/readline/promises.d.ts +3 -3
  47. package/node_modules/@types/concat-stream/node_modules/@types/node/readline.d.ts +67 -120
  48. package/node_modules/@types/concat-stream/node_modules/@types/node/repl.d.ts +75 -98
  49. package/node_modules/@types/concat-stream/node_modules/@types/node/sea.d.ts +1 -1
  50. package/node_modules/@types/concat-stream/node_modules/@types/node/sqlite.d.ts +2 -2
  51. package/node_modules/@types/concat-stream/node_modules/@types/node/stream/consumers.d.ts +10 -10
  52. package/node_modules/@types/concat-stream/node_modules/@types/node/stream/promises.d.ts +136 -15
  53. package/node_modules/@types/concat-stream/node_modules/@types/node/stream/web.d.ts +176 -453
  54. package/node_modules/@types/concat-stream/node_modules/@types/node/stream.d.ts +555 -478
  55. package/node_modules/@types/concat-stream/node_modules/@types/node/string_decoder.d.ts +4 -4
  56. package/node_modules/@types/concat-stream/node_modules/@types/node/test/reporters.d.ts +96 -0
  57. package/node_modules/@types/concat-stream/node_modules/@types/node/test.d.ts +80 -180
  58. package/node_modules/@types/concat-stream/node_modules/@types/node/timers/promises.d.ts +4 -4
  59. package/node_modules/@types/concat-stream/node_modules/@types/node/timers.d.ts +4 -130
  60. package/node_modules/@types/concat-stream/node_modules/@types/node/tls.d.ts +102 -177
  61. package/node_modules/@types/concat-stream/node_modules/@types/node/trace_events.d.ts +9 -9
  62. package/node_modules/@types/concat-stream/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +1 -7
  63. package/node_modules/@types/concat-stream/node_modules/@types/node/ts5.6/index.d.ts +15 -1
  64. package/node_modules/@types/concat-stream/node_modules/@types/node/ts5.7/index.d.ts +15 -1
  65. package/node_modules/@types/concat-stream/node_modules/@types/node/tty.d.ts +58 -16
  66. package/node_modules/@types/concat-stream/node_modules/@types/node/url.d.ts +54 -592
  67. package/node_modules/@types/concat-stream/node_modules/@types/node/util/types.d.ts +558 -0
  68. package/node_modules/@types/concat-stream/node_modules/@types/node/util.d.ts +120 -792
  69. package/node_modules/@types/concat-stream/node_modules/@types/node/v8.d.ts +32 -5
  70. package/node_modules/@types/concat-stream/node_modules/@types/node/vm.d.ts +13 -13
  71. package/node_modules/@types/concat-stream/node_modules/@types/node/wasi.d.ts +4 -4
  72. package/node_modules/@types/concat-stream/node_modules/@types/node/web-globals/abortcontroller.d.ts +27 -2
  73. package/node_modules/@types/concat-stream/node_modules/@types/node/web-globals/blob.d.ts +23 -0
  74. package/node_modules/@types/concat-stream/node_modules/@types/node/web-globals/console.d.ts +9 -0
  75. package/node_modules/@types/concat-stream/node_modules/@types/node/web-globals/crypto.d.ts +7 -0
  76. package/node_modules/@types/concat-stream/node_modules/@types/node/web-globals/encoding.d.ts +11 -0
  77. package/node_modules/@types/concat-stream/node_modules/@types/node/web-globals/events.d.ts +9 -0
  78. package/node_modules/@types/concat-stream/node_modules/@types/node/web-globals/fetch.d.ts +4 -0
  79. package/node_modules/@types/concat-stream/node_modules/@types/node/web-globals/importmeta.d.ts +13 -0
  80. package/node_modules/@types/concat-stream/node_modules/@types/node/web-globals/messaging.d.ts +23 -0
  81. package/node_modules/@types/concat-stream/node_modules/@types/node/web-globals/performance.d.ts +45 -0
  82. package/node_modules/@types/concat-stream/node_modules/@types/node/web-globals/streams.d.ts +93 -0
  83. package/node_modules/@types/concat-stream/node_modules/@types/node/web-globals/timers.d.ts +44 -0
  84. package/node_modules/@types/concat-stream/node_modules/@types/node/web-globals/url.d.ts +24 -0
  85. package/node_modules/@types/concat-stream/node_modules/@types/node/worker_threads.d.ts +176 -358
  86. package/node_modules/@types/concat-stream/node_modules/@types/node/zlib.d.ts +8 -71
  87. package/node_modules/@types/form-data/node_modules/@types/node/README.md +1 -1
  88. package/node_modules/@types/form-data/node_modules/@types/node/assert/strict.d.ts +5 -11
  89. package/node_modules/@types/form-data/node_modules/@types/node/assert.d.ts +9 -169
  90. package/node_modules/@types/form-data/node_modules/@types/node/async_hooks.d.ts +8 -8
  91. package/node_modules/@types/form-data/node_modules/@types/node/buffer.buffer.d.ts +1 -7
  92. package/node_modules/@types/form-data/node_modules/@types/node/buffer.d.ts +44 -168
  93. package/node_modules/@types/form-data/node_modules/@types/node/child_process.d.ts +16 -64
  94. package/node_modules/@types/form-data/node_modules/@types/node/cluster.d.ts +240 -332
  95. package/node_modules/@types/form-data/node_modules/@types/node/console.d.ts +49 -351
  96. package/node_modules/@types/form-data/node_modules/@types/node/constants.d.ts +3 -4
  97. package/node_modules/@types/form-data/node_modules/@types/node/crypto.d.ts +279 -1631
  98. package/node_modules/@types/form-data/node_modules/@types/node/dgram.d.ts +15 -51
  99. package/node_modules/@types/form-data/node_modules/@types/node/diagnostics_channel.d.ts +4 -4
  100. package/node_modules/@types/form-data/node_modules/@types/node/dns/promises.d.ts +3 -3
  101. package/node_modules/@types/form-data/node_modules/@types/node/dns.d.ts +131 -132
  102. package/node_modules/@types/form-data/node_modules/@types/node/domain.d.ts +13 -17
  103. package/node_modules/@types/form-data/node_modules/@types/node/events.d.ts +869 -791
  104. package/node_modules/@types/form-data/node_modules/@types/node/fs/promises.d.ts +7 -8
  105. package/node_modules/@types/form-data/node_modules/@types/node/fs.d.ts +417 -455
  106. package/node_modules/@types/form-data/node_modules/@types/node/globals.d.ts +6 -26
  107. package/node_modules/@types/form-data/node_modules/@types/node/globals.typedarray.d.ts +60 -0
  108. package/node_modules/@types/form-data/node_modules/@types/node/http.d.ts +263 -254
  109. package/node_modules/@types/form-data/node_modules/@types/node/http2.d.ts +528 -804
  110. package/node_modules/@types/form-data/node_modules/@types/node/https.d.ts +59 -239
  111. package/node_modules/@types/form-data/node_modules/@types/node/index.d.ts +15 -1
  112. package/node_modules/@types/form-data/node_modules/@types/node/inspector/promises.d.ts +41 -0
  113. package/node_modules/@types/form-data/node_modules/@types/node/inspector.d.ts +6 -59
  114. package/node_modules/@types/form-data/node_modules/@types/node/inspector.generated.d.ts +3 -10
  115. package/node_modules/@types/form-data/node_modules/@types/node/module.d.ts +47 -122
  116. package/node_modules/@types/form-data/node_modules/@types/node/net.d.ts +63 -184
  117. package/node_modules/@types/form-data/node_modules/@types/node/os.d.ts +6 -6
  118. package/node_modules/@types/form-data/node_modules/@types/node/package.json +2 -2
  119. package/node_modules/@types/form-data/node_modules/@types/node/path/posix.d.ts +8 -0
  120. package/node_modules/@types/form-data/node_modules/@types/node/path/win32.d.ts +8 -0
  121. package/node_modules/@types/form-data/node_modules/@types/node/path.d.ts +120 -133
  122. package/node_modules/@types/form-data/node_modules/@types/node/perf_hooks.d.ts +282 -643
  123. package/node_modules/@types/form-data/node_modules/@types/node/process.d.ts +156 -128
  124. package/node_modules/@types/form-data/node_modules/@types/node/punycode.d.ts +5 -5
  125. package/node_modules/@types/form-data/node_modules/@types/node/querystring.d.ts +4 -4
  126. package/node_modules/@types/form-data/node_modules/@types/node/quic.d.ts +910 -0
  127. package/node_modules/@types/form-data/node_modules/@types/node/readline/promises.d.ts +3 -3
  128. package/node_modules/@types/form-data/node_modules/@types/node/readline.d.ts +67 -120
  129. package/node_modules/@types/form-data/node_modules/@types/node/repl.d.ts +75 -98
  130. package/node_modules/@types/form-data/node_modules/@types/node/sea.d.ts +1 -1
  131. package/node_modules/@types/form-data/node_modules/@types/node/sqlite.d.ts +2 -2
  132. package/node_modules/@types/form-data/node_modules/@types/node/stream/consumers.d.ts +10 -10
  133. package/node_modules/@types/form-data/node_modules/@types/node/stream/promises.d.ts +136 -15
  134. package/node_modules/@types/form-data/node_modules/@types/node/stream/web.d.ts +176 -453
  135. package/node_modules/@types/form-data/node_modules/@types/node/stream.d.ts +555 -478
  136. package/node_modules/@types/form-data/node_modules/@types/node/string_decoder.d.ts +4 -4
  137. package/node_modules/@types/form-data/node_modules/@types/node/test/reporters.d.ts +96 -0
  138. package/node_modules/@types/form-data/node_modules/@types/node/test.d.ts +80 -180
  139. package/node_modules/@types/form-data/node_modules/@types/node/timers/promises.d.ts +4 -4
  140. package/node_modules/@types/form-data/node_modules/@types/node/timers.d.ts +4 -130
  141. package/node_modules/@types/form-data/node_modules/@types/node/tls.d.ts +102 -177
  142. package/node_modules/@types/form-data/node_modules/@types/node/trace_events.d.ts +9 -9
  143. package/node_modules/@types/form-data/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +1 -7
  144. package/node_modules/@types/form-data/node_modules/@types/node/ts5.6/index.d.ts +15 -1
  145. package/node_modules/@types/form-data/node_modules/@types/node/ts5.7/index.d.ts +15 -1
  146. package/node_modules/@types/form-data/node_modules/@types/node/tty.d.ts +58 -16
  147. package/node_modules/@types/form-data/node_modules/@types/node/url.d.ts +54 -592
  148. package/node_modules/@types/form-data/node_modules/@types/node/util/types.d.ts +558 -0
  149. package/node_modules/@types/form-data/node_modules/@types/node/util.d.ts +120 -792
  150. package/node_modules/@types/form-data/node_modules/@types/node/v8.d.ts +32 -5
  151. package/node_modules/@types/form-data/node_modules/@types/node/vm.d.ts +13 -13
  152. package/node_modules/@types/form-data/node_modules/@types/node/wasi.d.ts +4 -4
  153. package/node_modules/@types/form-data/node_modules/@types/node/web-globals/abortcontroller.d.ts +27 -2
  154. package/node_modules/@types/form-data/node_modules/@types/node/web-globals/blob.d.ts +23 -0
  155. package/node_modules/@types/form-data/node_modules/@types/node/web-globals/console.d.ts +9 -0
  156. package/node_modules/@types/form-data/node_modules/@types/node/web-globals/crypto.d.ts +7 -0
  157. package/node_modules/@types/form-data/node_modules/@types/node/web-globals/encoding.d.ts +11 -0
  158. package/node_modules/@types/form-data/node_modules/@types/node/web-globals/events.d.ts +9 -0
  159. package/node_modules/@types/form-data/node_modules/@types/node/web-globals/fetch.d.ts +4 -0
  160. package/node_modules/@types/form-data/node_modules/@types/node/web-globals/importmeta.d.ts +13 -0
  161. package/node_modules/@types/form-data/node_modules/@types/node/web-globals/messaging.d.ts +23 -0
  162. package/node_modules/@types/form-data/node_modules/@types/node/web-globals/performance.d.ts +45 -0
  163. package/node_modules/@types/form-data/node_modules/@types/node/web-globals/streams.d.ts +93 -0
  164. package/node_modules/@types/form-data/node_modules/@types/node/web-globals/timers.d.ts +44 -0
  165. package/node_modules/@types/form-data/node_modules/@types/node/web-globals/url.d.ts +24 -0
  166. package/node_modules/@types/form-data/node_modules/@types/node/worker_threads.d.ts +176 -358
  167. package/node_modules/@types/form-data/node_modules/@types/node/zlib.d.ts +8 -71
  168. package/package.json +4 -4
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @since v17.0.0
3
3
  */
4
- declare module "readline/promises" {
4
+ declare module "node:readline/promises" {
5
5
  import { Abortable } from "node:events";
6
6
  import {
7
7
  CompleterResult,
@@ -156,6 +156,6 @@ declare module "readline/promises" {
156
156
  ): Interface;
157
157
  function createInterface(options: ReadLineOptions): Interface;
158
158
  }
159
- declare module "node:readline/promises" {
160
- export * from "readline/promises";
159
+ declare module "readline/promises" {
160
+ export * from "node:readline/promises";
161
161
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
- * The `node:readline` module provides an interface for reading data from a [Readable](https://nodejs.org/docs/latest-v24.x/api/stream.html#readable-streams) stream
3
- * (such as [`process.stdin`](https://nodejs.org/docs/latest-v24.x/api/process.html#processstdin)) one line at a time.
2
+ * The `node:readline` module provides an interface for reading data from a [Readable](https://nodejs.org/docs/latest-v25.x/api/stream.html#readable-streams) stream
3
+ * (such as [`process.stdin`](https://nodejs.org/docs/latest-v25.x/api/process.html#processstdin)) one line at a time.
4
4
  *
5
5
  * To use the promise-based APIs:
6
6
  *
@@ -31,27 +31,58 @@
31
31
  *
32
32
  * Once this code is invoked, the Node.js application will not terminate until the `readline.Interface` is closed because the interface waits for data to be
33
33
  * received on the `input` stream.
34
- * @see [source](https://github.com/nodejs/node/blob/v24.x/lib/readline.js)
34
+ * @see [source](https://github.com/nodejs/node/blob/v25.x/lib/readline.js)
35
35
  */
36
- declare module "readline" {
37
- import { Abortable, EventEmitter } from "node:events";
38
- import * as promises from "node:readline/promises";
39
- export { promises };
40
- export interface Key {
36
+ declare module "node:readline" {
37
+ import { Abortable, EventEmitter, InternalEventEmitter } from "node:events";
38
+ interface Key {
41
39
  sequence?: string | undefined;
42
40
  name?: string | undefined;
43
41
  ctrl?: boolean | undefined;
44
42
  meta?: boolean | undefined;
45
43
  shift?: boolean | undefined;
46
44
  }
45
+ interface InterfaceEventMap {
46
+ "close": [];
47
+ "history": [history: string[]];
48
+ "line": [input: string];
49
+ "pause": [];
50
+ "resume": [];
51
+ "SIGCONT": [];
52
+ "SIGINT": [];
53
+ "SIGTSTP": [];
54
+ }
47
55
  /**
48
56
  * Instances of the `readline.Interface` class are constructed using the `readline.createInterface()` method. Every instance is associated with a
49
- * single `input` [Readable](https://nodejs.org/docs/latest-v24.x/api/stream.html#readable-streams) stream and a single `output` [Writable](https://nodejs.org/docs/latest-v24.x/api/stream.html#writable-streams) stream.
57
+ * single `input` [Readable](https://nodejs.org/docs/latest-v25.x/api/stream.html#readable-streams) stream and a single `output` [Writable](https://nodejs.org/docs/latest-v25.x/api/stream.html#writable-streams) stream.
50
58
  * The `output` stream is used to print prompts for user input that arrives on,
51
59
  * and is read from, the `input` stream.
52
60
  * @since v0.1.104
53
61
  */
54
- export class Interface extends EventEmitter implements Disposable {
62
+ class Interface implements EventEmitter, Disposable {
63
+ /**
64
+ * NOTE: According to the documentation:
65
+ *
66
+ * > Instances of the `readline.Interface` class are constructed using the
67
+ * > `readline.createInterface()` method.
68
+ *
69
+ * @see https://nodejs.org/dist/latest-v25.x/docs/api/readline.html#class-interfaceconstructor
70
+ */
71
+ protected constructor(
72
+ input: NodeJS.ReadableStream,
73
+ output?: NodeJS.WritableStream,
74
+ completer?: Completer | AsyncCompleter,
75
+ terminal?: boolean,
76
+ );
77
+ /**
78
+ * NOTE: According to the documentation:
79
+ *
80
+ * > Instances of the `readline.Interface` class are constructed using the
81
+ * > `readline.createInterface()` method.
82
+ *
83
+ * @see https://nodejs.org/dist/latest-v25.x/docs/api/readline.html#class-interfaceconstructor
84
+ */
85
+ protected constructor(options: ReadLineOptions);
55
86
  readonly terminal: boolean;
56
87
  /**
57
88
  * The current input data being processed by node.
@@ -94,29 +125,6 @@ declare module "readline" {
94
125
  * @since v0.1.98
95
126
  */
96
127
  readonly cursor: number;
97
- /**
98
- * NOTE: According to the documentation:
99
- *
100
- * > Instances of the `readline.Interface` class are constructed using the
101
- * > `readline.createInterface()` method.
102
- *
103
- * @see https://nodejs.org/dist/latest-v24.x/docs/api/readline.html#class-interfaceconstructor
104
- */
105
- protected constructor(
106
- input: NodeJS.ReadableStream,
107
- output?: NodeJS.WritableStream,
108
- completer?: Completer | AsyncCompleter,
109
- terminal?: boolean,
110
- );
111
- /**
112
- * NOTE: According to the documentation:
113
- *
114
- * > Instances of the `readline.Interface` class are constructed using the
115
- * > `readline.createInterface()` method.
116
- *
117
- * @see https://nodejs.org/dist/latest-v24.x/docs/api/readline.html#class-interfaceconstructor
118
- */
119
- protected constructor(options: ReadLineOptions);
120
128
  /**
121
129
  * The `rl.getPrompt()` method returns the current prompt used by `rl.prompt()`.
122
130
  * @since v15.3.0, v14.17.0
@@ -244,87 +252,23 @@ declare module "readline" {
244
252
  * @since v13.5.0, v12.16.0
245
253
  */
246
254
  getCursorPos(): CursorPos;
247
- /**
248
- * events.EventEmitter
249
- * 1. close
250
- * 2. line
251
- * 3. pause
252
- * 4. resume
253
- * 5. SIGCONT
254
- * 6. SIGINT
255
- * 7. SIGTSTP
256
- * 8. history
257
- */
258
- addListener(event: string, listener: (...args: any[]) => void): this;
259
- addListener(event: "close", listener: () => void): this;
260
- addListener(event: "line", listener: (input: string) => void): this;
261
- addListener(event: "pause", listener: () => void): this;
262
- addListener(event: "resume", listener: () => void): this;
263
- addListener(event: "SIGCONT", listener: () => void): this;
264
- addListener(event: "SIGINT", listener: () => void): this;
265
- addListener(event: "SIGTSTP", listener: () => void): this;
266
- addListener(event: "history", listener: (history: string[]) => void): this;
267
- emit(event: string | symbol, ...args: any[]): boolean;
268
- emit(event: "close"): boolean;
269
- emit(event: "line", input: string): boolean;
270
- emit(event: "pause"): boolean;
271
- emit(event: "resume"): boolean;
272
- emit(event: "SIGCONT"): boolean;
273
- emit(event: "SIGINT"): boolean;
274
- emit(event: "SIGTSTP"): boolean;
275
- emit(event: "history", history: string[]): boolean;
276
- on(event: string, listener: (...args: any[]) => void): this;
277
- on(event: "close", listener: () => void): this;
278
- on(event: "line", listener: (input: string) => void): this;
279
- on(event: "pause", listener: () => void): this;
280
- on(event: "resume", listener: () => void): this;
281
- on(event: "SIGCONT", listener: () => void): this;
282
- on(event: "SIGINT", listener: () => void): this;
283
- on(event: "SIGTSTP", listener: () => void): this;
284
- on(event: "history", listener: (history: string[]) => void): this;
285
- once(event: string, listener: (...args: any[]) => void): this;
286
- once(event: "close", listener: () => void): this;
287
- once(event: "line", listener: (input: string) => void): this;
288
- once(event: "pause", listener: () => void): this;
289
- once(event: "resume", listener: () => void): this;
290
- once(event: "SIGCONT", listener: () => void): this;
291
- once(event: "SIGINT", listener: () => void): this;
292
- once(event: "SIGTSTP", listener: () => void): this;
293
- once(event: "history", listener: (history: string[]) => void): this;
294
- prependListener(event: string, listener: (...args: any[]) => void): this;
295
- prependListener(event: "close", listener: () => void): this;
296
- prependListener(event: "line", listener: (input: string) => void): this;
297
- prependListener(event: "pause", listener: () => void): this;
298
- prependListener(event: "resume", listener: () => void): this;
299
- prependListener(event: "SIGCONT", listener: () => void): this;
300
- prependListener(event: "SIGINT", listener: () => void): this;
301
- prependListener(event: "SIGTSTP", listener: () => void): this;
302
- prependListener(event: "history", listener: (history: string[]) => void): this;
303
- prependOnceListener(event: string, listener: (...args: any[]) => void): this;
304
- prependOnceListener(event: "close", listener: () => void): this;
305
- prependOnceListener(event: "line", listener: (input: string) => void): this;
306
- prependOnceListener(event: "pause", listener: () => void): this;
307
- prependOnceListener(event: "resume", listener: () => void): this;
308
- prependOnceListener(event: "SIGCONT", listener: () => void): this;
309
- prependOnceListener(event: "SIGINT", listener: () => void): this;
310
- prependOnceListener(event: "SIGTSTP", listener: () => void): this;
311
- prependOnceListener(event: "history", listener: (history: string[]) => void): this;
312
255
  [Symbol.asyncIterator](): NodeJS.AsyncIterator<string>;
313
256
  }
314
- export type ReadLine = Interface; // type forwarded for backwards compatibility
315
- export type Completer = (line: string) => CompleterResult;
316
- export type AsyncCompleter = (
257
+ interface Interface extends InternalEventEmitter<InterfaceEventMap> {}
258
+ type ReadLine = Interface; // type forwarded for backwards compatibility
259
+ type Completer = (line: string) => CompleterResult;
260
+ type AsyncCompleter = (
317
261
  line: string,
318
262
  callback: (err?: null | Error, result?: CompleterResult) => void,
319
263
  ) => void;
320
- export type CompleterResult = [string[], string];
321
- export interface ReadLineOptions {
264
+ type CompleterResult = [string[], string];
265
+ interface ReadLineOptions {
322
266
  /**
323
- * The [`Readable`](https://nodejs.org/docs/latest-v24.x/api/stream.html#readable-streams) stream to listen to
267
+ * The [`Readable`](https://nodejs.org/docs/latest-v25.x/api/stream.html#readable-streams) stream to listen to
324
268
  */
325
269
  input: NodeJS.ReadableStream;
326
270
  /**
327
- * The [`Writable`](https://nodejs.org/docs/latest-v24.x/api/stream.html#writable-streams) stream to write readline data to.
271
+ * The [`Writable`](https://nodejs.org/docs/latest-v25.x/api/stream.html#writable-streams) stream to write readline data to.
328
272
  */
329
273
  output?: NodeJS.WritableStream | undefined;
330
274
  /**
@@ -369,7 +313,7 @@ declare module "readline" {
369
313
  * `crlfDelay` will be coerced to a number no less than `100`.
370
314
  * It can be set to `Infinity`, in which case
371
315
  * `\r` followed by `\n` will always be considered a single newline
372
- * (which may be reasonable for [reading files](https://nodejs.org/docs/latest-v24.x/api/readline.html#example-read-file-stream-line-by-line) with `\r\n` line delimiter).
316
+ * (which may be reasonable for [reading files](https://nodejs.org/docs/latest-v25.x/api/readline.html#example-read-file-stream-line-by-line) with `\r\n` line delimiter).
373
317
  * @default 100
374
318
  */
375
319
  crlfDelay?: number | undefined;
@@ -422,13 +366,13 @@ declare module "readline" {
422
366
  * waiting for user input, call `process.stdin.unref()`.
423
367
  * @since v0.1.98
424
368
  */
425
- export function createInterface(
369
+ function createInterface(
426
370
  input: NodeJS.ReadableStream,
427
371
  output?: NodeJS.WritableStream,
428
372
  completer?: Completer | AsyncCompleter,
429
373
  terminal?: boolean,
430
374
  ): Interface;
431
- export function createInterface(options: ReadLineOptions): Interface;
375
+ function createInterface(options: ReadLineOptions): Interface;
432
376
  /**
433
377
  * The `readline.emitKeypressEvents()` method causes the given `Readable` stream to begin emitting `'keypress'` events corresponding to received input.
434
378
  *
@@ -550,45 +494,48 @@ declare module "readline" {
550
494
  * ```
551
495
  * @since v0.7.7
552
496
  */
553
- export function emitKeypressEvents(stream: NodeJS.ReadableStream, readlineInterface?: Interface): void;
554
- export type Direction = -1 | 0 | 1;
555
- export interface CursorPos {
497
+ function emitKeypressEvents(stream: NodeJS.ReadableStream, readlineInterface?: Interface): void;
498
+ type Direction = -1 | 0 | 1;
499
+ interface CursorPos {
556
500
  rows: number;
557
501
  cols: number;
558
502
  }
559
503
  /**
560
- * The `readline.clearLine()` method clears current line of given [TTY](https://nodejs.org/docs/latest-v24.x/api/tty.html) stream
504
+ * The `readline.clearLine()` method clears current line of given [TTY](https://nodejs.org/docs/latest-v25.x/api/tty.html) stream
561
505
  * in a specified direction identified by `dir`.
562
506
  * @since v0.7.7
563
507
  * @param callback Invoked once the operation completes.
564
508
  * @return `false` if `stream` wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`.
565
509
  */
566
- export function clearLine(stream: NodeJS.WritableStream, dir: Direction, callback?: () => void): boolean;
510
+ function clearLine(stream: NodeJS.WritableStream, dir: Direction, callback?: () => void): boolean;
567
511
  /**
568
- * The `readline.clearScreenDown()` method clears the given [TTY](https://nodejs.org/docs/latest-v24.x/api/tty.html) stream from
512
+ * The `readline.clearScreenDown()` method clears the given [TTY](https://nodejs.org/docs/latest-v25.x/api/tty.html) stream from
569
513
  * the current position of the cursor down.
570
514
  * @since v0.7.7
571
515
  * @param callback Invoked once the operation completes.
572
516
  * @return `false` if `stream` wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`.
573
517
  */
574
- export function clearScreenDown(stream: NodeJS.WritableStream, callback?: () => void): boolean;
518
+ function clearScreenDown(stream: NodeJS.WritableStream, callback?: () => void): boolean;
575
519
  /**
576
520
  * The `readline.cursorTo()` method moves cursor to the specified position in a
577
- * given [TTY](https://nodejs.org/docs/latest-v24.x/api/tty.html) `stream`.
521
+ * given [TTY](https://nodejs.org/docs/latest-v25.x/api/tty.html) `stream`.
578
522
  * @since v0.7.7
579
523
  * @param callback Invoked once the operation completes.
580
524
  * @return `false` if `stream` wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`.
581
525
  */
582
- export function cursorTo(stream: NodeJS.WritableStream, x: number, y?: number, callback?: () => void): boolean;
526
+ function cursorTo(stream: NodeJS.WritableStream, x: number, y?: number, callback?: () => void): boolean;
583
527
  /**
584
528
  * The `readline.moveCursor()` method moves the cursor _relative_ to its current
585
- * position in a given [TTY](https://nodejs.org/docs/latest-v24.x/api/tty.html) `stream`.
529
+ * position in a given [TTY](https://nodejs.org/docs/latest-v25.x/api/tty.html) `stream`.
586
530
  * @since v0.7.7
587
531
  * @param callback Invoked once the operation completes.
588
532
  * @return `false` if `stream` wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`.
589
533
  */
590
- export function moveCursor(stream: NodeJS.WritableStream, dx: number, dy: number, callback?: () => void): boolean;
534
+ function moveCursor(stream: NodeJS.WritableStream, dx: number, dy: number, callback?: () => void): boolean;
591
535
  }
592
536
  declare module "node:readline" {
593
- export * from "readline";
537
+ export * as promises from "node:readline/promises";
538
+ }
539
+ declare module "readline" {
540
+ export * from "node:readline";
594
541
  }
@@ -6,12 +6,12 @@
6
6
  * ```js
7
7
  * import repl from 'node:repl';
8
8
  * ```
9
- * @see [source](https://github.com/nodejs/node/blob/v24.x/lib/repl.js)
9
+ * @see [source](https://github.com/nodejs/node/blob/v25.x/lib/repl.js)
10
10
  */
11
- declare module "repl" {
12
- import { AsyncCompleter, Completer, Interface } from "node:readline";
13
- import { Context } from "node:vm";
11
+ declare module "node:repl" {
12
+ import { AsyncCompleter, Completer, Interface, InterfaceEventMap } from "node:readline";
14
13
  import { InspectOptions } from "node:util";
14
+ import { Context } from "node:vm";
15
15
  interface ReplOptions {
16
16
  /**
17
17
  * The input prompt to display.
@@ -39,7 +39,7 @@ declare module "repl" {
39
39
  * The function to be used when evaluating each given line of input.
40
40
  * **Default:** an async wrapper for the JavaScript `eval()` function. An `eval` function can
41
41
  * error with `repl.Recoverable` to indicate the input was incomplete and prompt for
42
- * additional lines. See the [custom evaluation functions](https://nodejs.org/dist/latest-v24.x/docs/api/repl.html#custom-evaluation-functions)
42
+ * additional lines. See the [custom evaluation functions](https://nodejs.org/dist/latest-v25.x/docs/api/repl.html#custom-evaluation-functions)
43
43
  * section for more details.
44
44
  */
45
45
  eval?: REPLEval | undefined;
@@ -72,13 +72,13 @@ declare module "repl" {
72
72
  * The function to invoke to format the output of each command before writing to `output`.
73
73
  * @default a wrapper for `util.inspect`
74
74
  *
75
- * @see https://nodejs.org/dist/latest-v24.x/docs/api/repl.html#repl_customizing_repl_output
75
+ * @see https://nodejs.org/dist/latest-v25.x/docs/api/repl.html#repl_customizing_repl_output
76
76
  */
77
77
  writer?: REPLWriter | undefined;
78
78
  /**
79
79
  * An optional function used for custom Tab auto completion.
80
80
  *
81
- * @see https://nodejs.org/dist/latest-v24.x/docs/api/readline.html#readline_use_of_the_completer_function
81
+ * @see https://nodejs.org/dist/latest-v25.x/docs/api/readline.html#readline_use_of_the_completer_function
82
82
  */
83
83
  completer?: Completer | AsyncCompleter | undefined;
84
84
  /**
@@ -129,6 +129,10 @@ declare module "repl" {
129
129
  removeHistoryDuplicates?: boolean | undefined;
130
130
  onHistoryFileLoaded?: ((err: Error | null, repl: REPLServer) => void) | undefined;
131
131
  }
132
+ interface REPLServerEventMap extends InterfaceEventMap {
133
+ "exit": [];
134
+ "reset": [context: Context];
135
+ }
132
136
  /**
133
137
  * Instances of `repl.REPLServer` are created using the {@link start} method
134
138
  * or directly using the JavaScript `new` keyword.
@@ -144,6 +148,17 @@ declare module "repl" {
144
148
  * @since v0.1.91
145
149
  */
146
150
  class REPLServer extends Interface {
151
+ /**
152
+ * NOTE: According to the documentation:
153
+ *
154
+ * > Instances of `repl.REPLServer` are created using the `repl.start()` method and
155
+ * > _should not_ be created directly using the JavaScript `new` keyword.
156
+ *
157
+ * `REPLServer` cannot be subclassed due to implementation specifics in NodeJS.
158
+ *
159
+ * @see https://nodejs.org/dist/latest-v25.x/docs/api/repl.html#repl_class_replserver
160
+ */
161
+ private constructor();
147
162
  /**
148
163
  * The `vm.Context` provided to the `eval` function to be used for JavaScript
149
164
  * evaluation.
@@ -172,33 +187,33 @@ declare module "repl" {
172
187
  /**
173
188
  * A value indicating whether the REPL is currently in "editor mode".
174
189
  *
175
- * @see https://nodejs.org/dist/latest-v24.x/docs/api/repl.html#repl_commands_and_special_keys
190
+ * @see https://nodejs.org/dist/latest-v25.x/docs/api/repl.html#repl_commands_and_special_keys
176
191
  */
177
192
  readonly editorMode: boolean;
178
193
  /**
179
194
  * A value indicating whether the `_` variable has been assigned.
180
195
  *
181
- * @see https://nodejs.org/dist/latest-v24.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable
196
+ * @see https://nodejs.org/dist/latest-v25.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable
182
197
  */
183
198
  readonly underscoreAssigned: boolean;
184
199
  /**
185
200
  * The last evaluation result from the REPL (assigned to the `_` variable inside of the REPL).
186
201
  *
187
- * @see https://nodejs.org/dist/latest-v24.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable
202
+ * @see https://nodejs.org/dist/latest-v25.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable
188
203
  */
189
204
  readonly last: any;
190
205
  /**
191
206
  * A value indicating whether the `_error` variable has been assigned.
192
207
  *
193
208
  * @since v9.8.0
194
- * @see https://nodejs.org/dist/latest-v24.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable
209
+ * @see https://nodejs.org/dist/latest-v25.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable
195
210
  */
196
211
  readonly underscoreErrAssigned: boolean;
197
212
  /**
198
213
  * The last error raised inside the REPL (assigned to the `_error` variable inside of the REPL).
199
214
  *
200
215
  * @since v9.8.0
201
- * @see https://nodejs.org/dist/latest-v24.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable
216
+ * @see https://nodejs.org/dist/latest-v25.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable
202
217
  */
203
218
  readonly lastError: any;
204
219
  /**
@@ -242,17 +257,6 @@ declare module "repl" {
242
257
  * prefacing every repl statement with `'use strict'`.
243
258
  */
244
259
  readonly replMode: typeof REPL_MODE_SLOPPY | typeof REPL_MODE_STRICT;
245
- /**
246
- * NOTE: According to the documentation:
247
- *
248
- * > Instances of `repl.REPLServer` are created using the `repl.start()` method and
249
- * > _should not_ be created directly using the JavaScript `new` keyword.
250
- *
251
- * `REPLServer` cannot be subclassed due to implementation specifics in NodeJS.
252
- *
253
- * @see https://nodejs.org/dist/latest-v24.x/docs/api/repl.html#repl_class_replserver
254
- */
255
- private constructor();
256
260
  /**
257
261
  * The `replServer.defineCommand()` method is used to add new `.`\-prefixed commands
258
262
  * to the REPL instance. Such commands are invoked by typing a `.` followed by the `keyword`. The `cmd` is either a `Function` or an `Object` with the following
@@ -327,78 +331,51 @@ declare module "repl" {
327
331
  historyConfig?: REPLServerSetupHistoryOptions,
328
332
  callback?: (err: Error | null, repl: this) => void,
329
333
  ): void;
330
- /**
331
- * events.EventEmitter
332
- * 1. close - inherited from `readline.Interface`
333
- * 2. line - inherited from `readline.Interface`
334
- * 3. pause - inherited from `readline.Interface`
335
- * 4. resume - inherited from `readline.Interface`
336
- * 5. SIGCONT - inherited from `readline.Interface`
337
- * 6. SIGINT - inherited from `readline.Interface`
338
- * 7. SIGTSTP - inherited from `readline.Interface`
339
- * 8. exit
340
- * 9. reset
341
- */
342
- addListener(event: string, listener: (...args: any[]) => void): this;
343
- addListener(event: "close", listener: () => void): this;
344
- addListener(event: "line", listener: (input: string) => void): this;
345
- addListener(event: "pause", listener: () => void): this;
346
- addListener(event: "resume", listener: () => void): this;
347
- addListener(event: "SIGCONT", listener: () => void): this;
348
- addListener(event: "SIGINT", listener: () => void): this;
349
- addListener(event: "SIGTSTP", listener: () => void): this;
350
- addListener(event: "exit", listener: () => void): this;
351
- addListener(event: "reset", listener: (context: Context) => void): this;
352
- emit(event: string | symbol, ...args: any[]): boolean;
353
- emit(event: "close"): boolean;
354
- emit(event: "line", input: string): boolean;
355
- emit(event: "pause"): boolean;
356
- emit(event: "resume"): boolean;
357
- emit(event: "SIGCONT"): boolean;
358
- emit(event: "SIGINT"): boolean;
359
- emit(event: "SIGTSTP"): boolean;
360
- emit(event: "exit"): boolean;
361
- emit(event: "reset", context: Context): boolean;
362
- on(event: string, listener: (...args: any[]) => void): this;
363
- on(event: "close", listener: () => void): this;
364
- on(event: "line", listener: (input: string) => void): this;
365
- on(event: "pause", listener: () => void): this;
366
- on(event: "resume", listener: () => void): this;
367
- on(event: "SIGCONT", listener: () => void): this;
368
- on(event: "SIGINT", listener: () => void): this;
369
- on(event: "SIGTSTP", listener: () => void): this;
370
- on(event: "exit", listener: () => void): this;
371
- on(event: "reset", listener: (context: Context) => void): this;
372
- once(event: string, listener: (...args: any[]) => void): this;
373
- once(event: "close", listener: () => void): this;
374
- once(event: "line", listener: (input: string) => void): this;
375
- once(event: "pause", listener: () => void): this;
376
- once(event: "resume", listener: () => void): this;
377
- once(event: "SIGCONT", listener: () => void): this;
378
- once(event: "SIGINT", listener: () => void): this;
379
- once(event: "SIGTSTP", listener: () => void): this;
380
- once(event: "exit", listener: () => void): this;
381
- once(event: "reset", listener: (context: Context) => void): this;
382
- prependListener(event: string, listener: (...args: any[]) => void): this;
383
- prependListener(event: "close", listener: () => void): this;
384
- prependListener(event: "line", listener: (input: string) => void): this;
385
- prependListener(event: "pause", listener: () => void): this;
386
- prependListener(event: "resume", listener: () => void): this;
387
- prependListener(event: "SIGCONT", listener: () => void): this;
388
- prependListener(event: "SIGINT", listener: () => void): this;
389
- prependListener(event: "SIGTSTP", listener: () => void): this;
390
- prependListener(event: "exit", listener: () => void): this;
391
- prependListener(event: "reset", listener: (context: Context) => void): this;
392
- prependOnceListener(event: string, listener: (...args: any[]) => void): this;
393
- prependOnceListener(event: "close", listener: () => void): this;
394
- prependOnceListener(event: "line", listener: (input: string) => void): this;
395
- prependOnceListener(event: "pause", listener: () => void): this;
396
- prependOnceListener(event: "resume", listener: () => void): this;
397
- prependOnceListener(event: "SIGCONT", listener: () => void): this;
398
- prependOnceListener(event: "SIGINT", listener: () => void): this;
399
- prependOnceListener(event: "SIGTSTP", listener: () => void): this;
400
- prependOnceListener(event: "exit", listener: () => void): this;
401
- prependOnceListener(event: "reset", listener: (context: Context) => void): this;
334
+ // #region InternalEventEmitter
335
+ addListener<E extends keyof REPLServerEventMap>(
336
+ eventName: E,
337
+ listener: (...args: REPLServerEventMap[E]) => void,
338
+ ): this;
339
+ addListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
340
+ emit<E extends keyof REPLServerEventMap>(eventName: E, ...args: REPLServerEventMap[E]): boolean;
341
+ emit(eventName: string | symbol, ...args: any[]): boolean;
342
+ listenerCount<E extends keyof REPLServerEventMap>(
343
+ eventName: E,
344
+ listener?: (...args: REPLServerEventMap[E]) => void,
345
+ ): number;
346
+ listenerCount(eventName: string | symbol, listener?: (...args: any[]) => void): number;
347
+ listeners<E extends keyof REPLServerEventMap>(eventName: E): ((...args: REPLServerEventMap[E]) => void)[];
348
+ listeners(eventName: string | symbol): ((...args: any[]) => void)[];
349
+ off<E extends keyof REPLServerEventMap>(eventName: E, listener: (...args: REPLServerEventMap[E]) => void): this;
350
+ off(eventName: string | symbol, listener: (...args: any[]) => void): this;
351
+ on<E extends keyof REPLServerEventMap>(eventName: E, listener: (...args: REPLServerEventMap[E]) => void): this;
352
+ on(eventName: string | symbol, listener: (...args: any[]) => void): this;
353
+ once<E extends keyof REPLServerEventMap>(
354
+ eventName: E,
355
+ listener: (...args: REPLServerEventMap[E]) => void,
356
+ ): this;
357
+ once(eventName: string | symbol, listener: (...args: any[]) => void): this;
358
+ prependListener<E extends keyof REPLServerEventMap>(
359
+ eventName: E,
360
+ listener: (...args: REPLServerEventMap[E]) => void,
361
+ ): this;
362
+ prependListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
363
+ prependOnceListener<E extends keyof REPLServerEventMap>(
364
+ eventName: E,
365
+ listener: (...args: REPLServerEventMap[E]) => void,
366
+ ): this;
367
+ prependOnceListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
368
+ rawListeners<E extends keyof REPLServerEventMap>(eventName: E): ((...args: REPLServerEventMap[E]) => void)[];
369
+ rawListeners(eventName: string | symbol): ((...args: any[]) => void)[];
370
+ // eslint-disable-next-line @definitelytyped/no-unnecessary-generics
371
+ removeAllListeners<E extends keyof REPLServerEventMap>(eventName?: E): this;
372
+ removeAllListeners(eventName?: string | symbol): this;
373
+ removeListener<E extends keyof REPLServerEventMap>(
374
+ eventName: E,
375
+ listener: (...args: REPLServerEventMap[E]) => void,
376
+ ): this;
377
+ removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
378
+ // #endregion
402
379
  }
403
380
  /**
404
381
  * A flag passed in the REPL options. Evaluates expressions in sloppy mode.
@@ -426,13 +403,13 @@ declare module "repl" {
426
403
  /**
427
404
  * Indicates a recoverable error that a `REPLServer` can use to support multi-line input.
428
405
  *
429
- * @see https://nodejs.org/dist/latest-v24.x/docs/api/repl.html#repl_recoverable_errors
406
+ * @see https://nodejs.org/dist/latest-v25.x/docs/api/repl.html#repl_recoverable_errors
430
407
  */
431
408
  class Recoverable extends SyntaxError {
432
409
  err: Error;
433
410
  constructor(err: Error);
434
411
  }
435
412
  }
436
- declare module "node:repl" {
437
- export * from "repl";
413
+ declare module "repl" {
414
+ export * from "node:repl";
438
415
  }
@@ -111,7 +111,7 @@
111
111
  * ```
112
112
  * @since v19.7.0, v18.16.0
113
113
  * @experimental
114
- * @see [source](https://github.com/nodejs/node/blob/v24.x/src/node_sea.cc)
114
+ * @see [source](https://github.com/nodejs/node/blob/v25.x/src/node_sea.cc)
115
115
  */
116
116
  declare module "node:sea" {
117
117
  type AssetKey = string;
@@ -40,7 +40,7 @@
40
40
  * ```
41
41
  * @since v22.5.0
42
42
  * @experimental
43
- * @see [source](https://github.com/nodejs/node/blob/v24.x/lib/sqlite.js)
43
+ * @see [source](https://github.com/nodejs/node/blob/v25.x/lib/sqlite.js)
44
44
  */
45
45
  declare module "node:sqlite" {
46
46
  import { PathLike } from "node:fs";
@@ -320,7 +320,7 @@ declare module "node:sqlite" {
320
320
  * @param func The JavaScript function to call when the SQLite
321
321
  * function is invoked. The return value of this function should be a valid
322
322
  * SQLite data type: see
323
- * [Type conversion between JavaScript and SQLite](https://nodejs.org/docs/latest-v24.x/api/sqlite.html#type-conversion-between-javascript-and-sqlite).
323
+ * [Type conversion between JavaScript and SQLite](https://nodejs.org/docs/latest-v25.x/api/sqlite.html#type-conversion-between-javascript-and-sqlite).
324
324
  * The result defaults to `NULL` if the return value is `undefined`.
325
325
  */
326
326
  function(