@rio-cloud/cdk-v2-constructs 8.2.0 → 8.2.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.
Files changed (179) hide show
  1. package/.jsii +2 -2
  2. package/node_modules/@types/node/README.md +3 -3
  3. package/node_modules/@types/node/assert/strict.d.ts +105 -2
  4. package/node_modules/@types/node/assert.d.ts +211 -92
  5. package/node_modules/@types/node/async_hooks.d.ts +103 -19
  6. package/node_modules/@types/node/buffer.buffer.d.ts +472 -0
  7. package/node_modules/@types/node/buffer.d.ts +88 -516
  8. package/node_modules/@types/node/child_process.d.ts +167 -231
  9. package/node_modules/@types/node/cluster.d.ts +172 -26
  10. package/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
  11. package/node_modules/@types/node/console.d.ts +66 -28
  12. package/node_modules/@types/node/constants.d.ts +14 -12
  13. package/node_modules/@types/node/crypto.d.ts +1458 -497
  14. package/node_modules/@types/node/dgram.d.ts +44 -30
  15. package/node_modules/@types/node/diagnostics_channel.d.ts +389 -4
  16. package/node_modules/@types/node/dns/promises.d.ts +120 -42
  17. package/node_modules/@types/node/dns.d.ts +209 -95
  18. package/node_modules/@types/node/domain.d.ts +14 -18
  19. package/node_modules/@types/node/events.d.ts +245 -113
  20. package/node_modules/@types/node/fs/promises.d.ts +194 -96
  21. package/node_modules/@types/node/fs.d.ts +695 -270
  22. package/node_modules/@types/node/globals.d.ts +97 -308
  23. package/node_modules/@types/node/globals.typedarray.d.ts +41 -0
  24. package/node_modules/@types/node/http.d.ts +363 -97
  25. package/node_modules/@types/node/http2.d.ts +684 -231
  26. package/node_modules/@types/node/https.d.ts +122 -87
  27. package/node_modules/@types/node/index.d.ts +24 -11
  28. package/node_modules/@types/node/inspector.d.ts +220 -2690
  29. package/node_modules/@types/node/inspector.generated.d.ts +4239 -0
  30. package/node_modules/@types/node/module.d.ts +705 -149
  31. package/node_modules/@types/node/net.d.ts +178 -54
  32. package/node_modules/@types/node/os.d.ts +47 -17
  33. package/node_modules/@types/node/package.json +22 -97
  34. package/node_modules/@types/node/path.d.ts +12 -3
  35. package/node_modules/@types/node/perf_hooks.d.ts +500 -97
  36. package/node_modules/@types/node/process.d.ts +657 -87
  37. package/node_modules/@types/node/punycode.d.ts +5 -5
  38. package/node_modules/@types/node/querystring.d.ts +24 -13
  39. package/node_modules/@types/node/readline/promises.d.ts +25 -14
  40. package/node_modules/@types/node/readline.d.ts +102 -41
  41. package/node_modules/@types/node/repl.d.ts +38 -30
  42. package/node_modules/@types/node/sea.d.ts +162 -0
  43. package/node_modules/@types/node/sqlite.d.ts +1040 -0
  44. package/node_modules/@types/node/stream/consumers.d.ts +33 -7
  45. package/node_modules/@types/node/stream/promises.d.ts +8 -1
  46. package/node_modules/@types/node/stream/web.d.ts +251 -28
  47. package/node_modules/@types/node/stream.d.ts +1060 -1055
  48. package/node_modules/@types/node/string_decoder.d.ts +8 -8
  49. package/node_modules/@types/node/test.d.ts +2133 -1166
  50. package/node_modules/@types/node/timers/promises.d.ts +31 -16
  51. package/node_modules/@types/node/timers.d.ts +159 -114
  52. package/node_modules/@types/node/tls.d.ts +232 -163
  53. package/node_modules/@types/node/trace_events.d.ts +43 -28
  54. package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +468 -0
  55. package/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
  56. package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +36 -0
  57. package/node_modules/@types/node/ts5.6/index.d.ts +103 -0
  58. package/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
  59. package/node_modules/@types/node/ts5.7/index.d.ts +103 -0
  60. package/node_modules/@types/node/tty.d.ts +9 -9
  61. package/node_modules/@types/node/url.d.ts +236 -84
  62. package/node_modules/@types/node/util.d.ts +562 -412
  63. package/node_modules/@types/node/v8.d.ts +368 -21
  64. package/node_modules/@types/node/vm.d.ts +443 -149
  65. package/node_modules/@types/node/wasi.d.ts +62 -18
  66. package/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
  67. package/node_modules/@types/node/web-globals/crypto.d.ts +32 -0
  68. package/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
  69. package/node_modules/@types/node/web-globals/events.d.ts +97 -0
  70. package/node_modules/@types/node/web-globals/fetch.d.ts +62 -0
  71. package/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
  72. package/node_modules/@types/node/web-globals/storage.d.ts +24 -0
  73. package/node_modules/@types/node/web-globals/streams.d.ts +22 -0
  74. package/node_modules/@types/node/worker_threads.d.ts +310 -107
  75. package/node_modules/@types/node/zlib.d.ts +301 -73
  76. package/node_modules/undici-types/LICENSE +21 -0
  77. package/node_modules/undici-types/agent.d.ts +13 -12
  78. package/node_modules/undici-types/api.d.ts +26 -26
  79. package/node_modules/undici-types/balanced-pool.d.ts +19 -7
  80. package/node_modules/undici-types/cache-interceptor.d.ts +173 -0
  81. package/node_modules/undici-types/client-stats.d.ts +15 -0
  82. package/node_modules/undici-types/client.d.ts +26 -15
  83. package/node_modules/undici-types/connector.d.ts +2 -2
  84. package/node_modules/undici-types/cookies.d.ts +2 -0
  85. package/node_modules/undici-types/diagnostics-channel.d.ts +19 -12
  86. package/node_modules/undici-types/dispatcher.d.ts +148 -113
  87. package/node_modules/undici-types/env-http-proxy-agent.d.ts +22 -0
  88. package/node_modules/undici-types/errors.d.ts +79 -46
  89. package/node_modules/undici-types/eventsource.d.ts +66 -0
  90. package/node_modules/undici-types/fetch.d.ts +41 -39
  91. package/node_modules/undici-types/formdata.d.ts +8 -8
  92. package/node_modules/undici-types/global-dispatcher.d.ts +4 -4
  93. package/node_modules/undici-types/global-origin.d.ts +5 -5
  94. package/node_modules/undici-types/h2c-client.d.ts +73 -0
  95. package/node_modules/undici-types/handlers.d.ts +11 -5
  96. package/node_modules/undici-types/header.d.ts +157 -1
  97. package/node_modules/undici-types/index.d.ts +68 -43
  98. package/node_modules/undici-types/interceptors.d.ts +71 -3
  99. package/node_modules/undici-types/mock-agent.d.ts +36 -18
  100. package/node_modules/undici-types/mock-call-history.d.ts +111 -0
  101. package/node_modules/undici-types/mock-client.d.ts +6 -4
  102. package/node_modules/undici-types/mock-errors.d.ts +3 -3
  103. package/node_modules/undici-types/mock-interceptor.d.ts +24 -23
  104. package/node_modules/undici-types/mock-pool.d.ts +6 -4
  105. package/node_modules/undici-types/package.json +1 -1
  106. package/node_modules/undici-types/patch.d.ts +0 -42
  107. package/node_modules/undici-types/pool-stats.d.ts +8 -8
  108. package/node_modules/undici-types/pool.d.ts +21 -8
  109. package/node_modules/undici-types/proxy-agent.d.ts +5 -6
  110. package/node_modules/undici-types/readable.d.ts +24 -17
  111. package/node_modules/undici-types/retry-agent.d.ts +8 -0
  112. package/node_modules/undici-types/retry-handler.d.ts +125 -0
  113. package/node_modules/undici-types/round-robin-pool.d.ts +41 -0
  114. package/node_modules/undici-types/snapshot-agent.d.ts +109 -0
  115. package/node_modules/undici-types/util.d.ts +18 -0
  116. package/node_modules/undici-types/utility.d.ts +7 -0
  117. package/node_modules/undici-types/webidl.d.ts +157 -36
  118. package/node_modules/undici-types/websocket.d.ts +67 -12
  119. package/package.json +9 -60
  120. package/version.json +1 -1
  121. package/node_modules/@types/node/dom-events.d.ts +0 -122
  122. package/node_modules/@types/node/globals.global.d.ts +0 -1
  123. package/node_modules/@types/node/ts4.8/assert/strict.d.ts +0 -8
  124. package/node_modules/@types/node/ts4.8/assert.d.ts +0 -996
  125. package/node_modules/@types/node/ts4.8/async_hooks.d.ts +0 -539
  126. package/node_modules/@types/node/ts4.8/buffer.d.ts +0 -2362
  127. package/node_modules/@types/node/ts4.8/child_process.d.ts +0 -1540
  128. package/node_modules/@types/node/ts4.8/cluster.d.ts +0 -432
  129. package/node_modules/@types/node/ts4.8/console.d.ts +0 -415
  130. package/node_modules/@types/node/ts4.8/constants.d.ts +0 -19
  131. package/node_modules/@types/node/ts4.8/crypto.d.ts +0 -4455
  132. package/node_modules/@types/node/ts4.8/dgram.d.ts +0 -586
  133. package/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +0 -191
  134. package/node_modules/@types/node/ts4.8/dns/promises.d.ts +0 -425
  135. package/node_modules/@types/node/ts4.8/dns.d.ts +0 -809
  136. package/node_modules/@types/node/ts4.8/dom-events.d.ts +0 -122
  137. package/node_modules/@types/node/ts4.8/domain.d.ts +0 -170
  138. package/node_modules/@types/node/ts4.8/events.d.ts +0 -796
  139. package/node_modules/@types/node/ts4.8/fs/promises.d.ts +0 -1232
  140. package/node_modules/@types/node/ts4.8/fs.d.ts +0 -4289
  141. package/node_modules/@types/node/ts4.8/globals.d.ts +0 -381
  142. package/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -1
  143. package/node_modules/@types/node/ts4.8/http.d.ts +0 -1888
  144. package/node_modules/@types/node/ts4.8/http2.d.ts +0 -2382
  145. package/node_modules/@types/node/ts4.8/https.d.ts +0 -550
  146. package/node_modules/@types/node/ts4.8/index.d.ts +0 -88
  147. package/node_modules/@types/node/ts4.8/inspector.d.ts +0 -2747
  148. package/node_modules/@types/node/ts4.8/module.d.ts +0 -287
  149. package/node_modules/@types/node/ts4.8/net.d.ts +0 -949
  150. package/node_modules/@types/node/ts4.8/os.d.ts +0 -477
  151. package/node_modules/@types/node/ts4.8/path.d.ts +0 -191
  152. package/node_modules/@types/node/ts4.8/perf_hooks.d.ts +0 -639
  153. package/node_modules/@types/node/ts4.8/process.d.ts +0 -1532
  154. package/node_modules/@types/node/ts4.8/punycode.d.ts +0 -117
  155. package/node_modules/@types/node/ts4.8/querystring.d.ts +0 -141
  156. package/node_modules/@types/node/ts4.8/readline/promises.d.ts +0 -150
  157. package/node_modules/@types/node/ts4.8/readline.d.ts +0 -539
  158. package/node_modules/@types/node/ts4.8/repl.d.ts +0 -430
  159. package/node_modules/@types/node/ts4.8/stream/consumers.d.ts +0 -12
  160. package/node_modules/@types/node/ts4.8/stream/promises.d.ts +0 -83
  161. package/node_modules/@types/node/ts4.8/stream/web.d.ts +0 -350
  162. package/node_modules/@types/node/ts4.8/stream.d.ts +0 -1701
  163. package/node_modules/@types/node/ts4.8/string_decoder.d.ts +0 -67
  164. package/node_modules/@types/node/ts4.8/test.d.ts +0 -1382
  165. package/node_modules/@types/node/ts4.8/timers/promises.d.ts +0 -93
  166. package/node_modules/@types/node/ts4.8/timers.d.ts +0 -240
  167. package/node_modules/@types/node/ts4.8/tls.d.ts +0 -1210
  168. package/node_modules/@types/node/ts4.8/trace_events.d.ts +0 -182
  169. package/node_modules/@types/node/ts4.8/tty.d.ts +0 -208
  170. package/node_modules/@types/node/ts4.8/url.d.ts +0 -927
  171. package/node_modules/@types/node/ts4.8/util.d.ts +0 -2186
  172. package/node_modules/@types/node/ts4.8/v8.d.ts +0 -635
  173. package/node_modules/@types/node/ts4.8/vm.d.ts +0 -901
  174. package/node_modules/@types/node/ts4.8/wasi.d.ts +0 -158
  175. package/node_modules/@types/node/ts4.8/worker_threads.d.ts +0 -691
  176. package/node_modules/@types/node/ts4.8/zlib.d.ts +0 -517
  177. package/node_modules/argparse/CHANGELOG.md +0 -216
  178. package/node_modules/undici-types/file.d.ts +0 -39
  179. package/node_modules/undici-types/filereader.d.ts +0 -54
@@ -0,0 +1,71 @@
1
+ // Interface declaration for Float16Array, required in @types/node v24+.
2
+ // These definitions are specific to TS <=5.6.
3
+
4
+ // This needs all of the "common" properties/methods of the TypedArrays,
5
+ // otherwise the type unions `TypedArray` and `ArrayBufferView` will be
6
+ // empty objects.
7
+ interface Float16Array extends Pick<Float32Array, typeof Symbol.iterator | "entries" | "keys" | "values"> {
8
+ readonly BYTES_PER_ELEMENT: number;
9
+ readonly buffer: ArrayBufferLike;
10
+ readonly byteLength: number;
11
+ readonly byteOffset: number;
12
+ readonly length: number;
13
+ readonly [Symbol.toStringTag]: "Float16Array";
14
+ at(index: number): number | undefined;
15
+ copyWithin(target: number, start: number, end?: number): this;
16
+ every(predicate: (value: number, index: number, array: Float16Array) => unknown, thisArg?: any): boolean;
17
+ fill(value: number, start?: number, end?: number): this;
18
+ filter(predicate: (value: number, index: number, array: Float16Array) => any, thisArg?: any): Float16Array;
19
+ find(predicate: (value: number, index: number, obj: Float16Array) => boolean, thisArg?: any): number | undefined;
20
+ findIndex(predicate: (value: number, index: number, obj: Float16Array) => boolean, thisArg?: any): number;
21
+ findLast<S extends number>(
22
+ predicate: (value: number, index: number, array: Float16Array) => value is S,
23
+ thisArg?: any,
24
+ ): S | undefined;
25
+ findLast(
26
+ predicate: (value: number, index: number, array: Float16Array) => unknown,
27
+ thisArg?: any,
28
+ ): number | undefined;
29
+ findLastIndex(predicate: (value: number, index: number, array: Float16Array) => unknown, thisArg?: any): number;
30
+ forEach(callbackfn: (value: number, index: number, array: Float16Array) => void, thisArg?: any): void;
31
+ includes(searchElement: number, fromIndex?: number): boolean;
32
+ indexOf(searchElement: number, fromIndex?: number): number;
33
+ join(separator?: string): string;
34
+ lastIndexOf(searchElement: number, fromIndex?: number): number;
35
+ map(callbackfn: (value: number, index: number, array: Float16Array) => number, thisArg?: any): Float16Array;
36
+ reduce(
37
+ callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float16Array) => number,
38
+ ): number;
39
+ reduce(
40
+ callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float16Array) => number,
41
+ initialValue: number,
42
+ ): number;
43
+ reduce<U>(
44
+ callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float16Array) => U,
45
+ initialValue: U,
46
+ ): U;
47
+ reduceRight(
48
+ callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float16Array) => number,
49
+ ): number;
50
+ reduceRight(
51
+ callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float16Array) => number,
52
+ initialValue: number,
53
+ ): number;
54
+ reduceRight<U>(
55
+ callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float16Array) => U,
56
+ initialValue: U,
57
+ ): U;
58
+ reverse(): Float16Array;
59
+ set(array: ArrayLike<number>, offset?: number): void;
60
+ slice(start?: number, end?: number): Float16Array;
61
+ some(predicate: (value: number, index: number, array: Float16Array) => unknown, thisArg?: any): boolean;
62
+ sort(compareFn?: (a: number, b: number) => number): this;
63
+ subarray(begin?: number, end?: number): Float16Array;
64
+ toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;
65
+ toReversed(): Float16Array;
66
+ toSorted(compareFn?: (a: number, b: number) => number): Float16Array;
67
+ toString(): string;
68
+ valueOf(): Float16Array;
69
+ with(index: number, value: number): Float16Array;
70
+ [index: number]: number;
71
+ }
@@ -0,0 +1,36 @@
1
+ export {}; // Make this a module
2
+
3
+ declare global {
4
+ namespace NodeJS {
5
+ type TypedArray =
6
+ | Uint8Array
7
+ | Uint8ClampedArray
8
+ | Uint16Array
9
+ | Uint32Array
10
+ | Int8Array
11
+ | Int16Array
12
+ | Int32Array
13
+ | BigUint64Array
14
+ | BigInt64Array
15
+ | Float16Array
16
+ | Float32Array
17
+ | Float64Array;
18
+ type ArrayBufferView = TypedArray | DataView;
19
+
20
+ type NonSharedUint8Array = Uint8Array;
21
+ type NonSharedUint8ClampedArray = Uint8ClampedArray;
22
+ type NonSharedUint16Array = Uint16Array;
23
+ type NonSharedUint32Array = Uint32Array;
24
+ type NonSharedInt8Array = Int8Array;
25
+ type NonSharedInt16Array = Int16Array;
26
+ type NonSharedInt32Array = Int32Array;
27
+ type NonSharedBigUint64Array = BigUint64Array;
28
+ type NonSharedBigInt64Array = BigInt64Array;
29
+ type NonSharedFloat16Array = Float16Array;
30
+ type NonSharedFloat32Array = Float32Array;
31
+ type NonSharedFloat64Array = Float64Array;
32
+ type NonSharedDataView = DataView;
33
+ type NonSharedTypedArray = TypedArray;
34
+ type NonSharedArrayBufferView = ArrayBufferView;
35
+ }
36
+ }
@@ -0,0 +1,103 @@
1
+ /**
2
+ * License for programmatically and manually incorporated
3
+ * documentation aka. `JSDoc` from https://github.com/nodejs/node/tree/master/doc
4
+ *
5
+ * Copyright Node.js contributors. All rights reserved.
6
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ * of this software and associated documentation files (the "Software"), to
8
+ * deal in the Software without restriction, including without limitation the
9
+ * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10
+ * sell copies of the Software, and to permit persons to whom the Software is
11
+ * furnished to do so, subject to the following conditions:
12
+ *
13
+ * The above copyright notice and this permission notice shall be included in
14
+ * all copies or substantial portions of the Software.
15
+ *
16
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
22
+ * IN THE SOFTWARE.
23
+ */
24
+
25
+ // NOTE: These definitions support Node.js and TypeScript 5.2 through 5.6.
26
+
27
+ // Reference required TypeScript libraries:
28
+ /// <reference lib="es2020" />
29
+ /// <reference lib="esnext.disposable" />
30
+
31
+ // TypeScript library polyfills required for TypeScript <=5.6:
32
+ /// <reference path="./compatibility/float16array.d.ts" />
33
+
34
+ // Iterator definitions required for compatibility with TypeScript <5.6:
35
+ /// <reference path="../compatibility/iterators.d.ts" />
36
+
37
+ // Definitions for Node.js modules specific to TypeScript <=5.6:
38
+ /// <reference path="./globals.typedarray.d.ts" />
39
+ /// <reference path="./buffer.buffer.d.ts" />
40
+
41
+ // Definitions for Node.js modules that are not specific to any version of TypeScript:
42
+ /// <reference path="../globals.d.ts" />
43
+ /// <reference path="../web-globals/abortcontroller.d.ts" />
44
+ /// <reference path="../web-globals/crypto.d.ts" />
45
+ /// <reference path="../web-globals/domexception.d.ts" />
46
+ /// <reference path="../web-globals/events.d.ts" />
47
+ /// <reference path="../web-globals/fetch.d.ts" />
48
+ /// <reference path="../web-globals/navigator.d.ts" />
49
+ /// <reference path="../web-globals/storage.d.ts" />
50
+ /// <reference path="../web-globals/streams.d.ts" />
51
+ /// <reference path="../assert.d.ts" />
52
+ /// <reference path="../assert/strict.d.ts" />
53
+ /// <reference path="../async_hooks.d.ts" />
54
+ /// <reference path="../buffer.d.ts" />
55
+ /// <reference path="../child_process.d.ts" />
56
+ /// <reference path="../cluster.d.ts" />
57
+ /// <reference path="../console.d.ts" />
58
+ /// <reference path="../constants.d.ts" />
59
+ /// <reference path="../crypto.d.ts" />
60
+ /// <reference path="../dgram.d.ts" />
61
+ /// <reference path="../diagnostics_channel.d.ts" />
62
+ /// <reference path="../dns.d.ts" />
63
+ /// <reference path="../dns/promises.d.ts" />
64
+ /// <reference path="../domain.d.ts" />
65
+ /// <reference path="../events.d.ts" />
66
+ /// <reference path="../fs.d.ts" />
67
+ /// <reference path="../fs/promises.d.ts" />
68
+ /// <reference path="../http.d.ts" />
69
+ /// <reference path="../http2.d.ts" />
70
+ /// <reference path="../https.d.ts" />
71
+ /// <reference path="../inspector.d.ts" />
72
+ /// <reference path="../inspector.generated.d.ts" />
73
+ /// <reference path="../module.d.ts" />
74
+ /// <reference path="../net.d.ts" />
75
+ /// <reference path="../os.d.ts" />
76
+ /// <reference path="../path.d.ts" />
77
+ /// <reference path="../perf_hooks.d.ts" />
78
+ /// <reference path="../process.d.ts" />
79
+ /// <reference path="../punycode.d.ts" />
80
+ /// <reference path="../querystring.d.ts" />
81
+ /// <reference path="../readline.d.ts" />
82
+ /// <reference path="../readline/promises.d.ts" />
83
+ /// <reference path="../repl.d.ts" />
84
+ /// <reference path="../sea.d.ts" />
85
+ /// <reference path="../sqlite.d.ts" />
86
+ /// <reference path="../stream.d.ts" />
87
+ /// <reference path="../stream/promises.d.ts" />
88
+ /// <reference path="../stream/consumers.d.ts" />
89
+ /// <reference path="../stream/web.d.ts" />
90
+ /// <reference path="../string_decoder.d.ts" />
91
+ /// <reference path="../test.d.ts" />
92
+ /// <reference path="../timers.d.ts" />
93
+ /// <reference path="../timers/promises.d.ts" />
94
+ /// <reference path="../tls.d.ts" />
95
+ /// <reference path="../trace_events.d.ts" />
96
+ /// <reference path="../tty.d.ts" />
97
+ /// <reference path="../url.d.ts" />
98
+ /// <reference path="../util.d.ts" />
99
+ /// <reference path="../v8.d.ts" />
100
+ /// <reference path="../vm.d.ts" />
101
+ /// <reference path="../wasi.d.ts" />
102
+ /// <reference path="../worker_threads.d.ts" />
103
+ /// <reference path="../zlib.d.ts" />
@@ -0,0 +1,72 @@
1
+ // Interface declaration for Float16Array, required in @types/node v24+.
2
+ // These definitions are specific to TS 5.7.
3
+
4
+ // This needs all of the "common" properties/methods of the TypedArrays,
5
+ // otherwise the type unions `TypedArray` and `ArrayBufferView` will be
6
+ // empty objects.
7
+ interface Float16Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
8
+ readonly BYTES_PER_ELEMENT: number;
9
+ readonly buffer: TArrayBuffer;
10
+ readonly byteLength: number;
11
+ readonly byteOffset: number;
12
+ readonly length: number;
13
+ readonly [Symbol.toStringTag]: "Float16Array";
14
+ at(index: number): number | undefined;
15
+ copyWithin(target: number, start: number, end?: number): this;
16
+ entries(): ArrayIterator<[number, number]>;
17
+ every(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean;
18
+ fill(value: number, start?: number, end?: number): this;
19
+ filter(predicate: (value: number, index: number, array: this) => any, thisArg?: any): Float16Array<ArrayBuffer>;
20
+ find(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number | undefined;
21
+ findIndex(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number;
22
+ findLast<S extends number>(
23
+ predicate: (value: number, index: number, array: this) => value is S,
24
+ thisArg?: any,
25
+ ): S | undefined;
26
+ findLast(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): number | undefined;
27
+ findLastIndex(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): number;
28
+ forEach(callbackfn: (value: number, index: number, array: this) => void, thisArg?: any): void;
29
+ includes(searchElement: number, fromIndex?: number): boolean;
30
+ indexOf(searchElement: number, fromIndex?: number): number;
31
+ join(separator?: string): string;
32
+ keys(): ArrayIterator<number>;
33
+ lastIndexOf(searchElement: number, fromIndex?: number): number;
34
+ map(callbackfn: (value: number, index: number, array: this) => number, thisArg?: any): Float16Array<ArrayBuffer>;
35
+ reduce(
36
+ callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number,
37
+ ): number;
38
+ reduce(
39
+ callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number,
40
+ initialValue: number,
41
+ ): number;
42
+ reduce<U>(
43
+ callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U,
44
+ initialValue: U,
45
+ ): U;
46
+ reduceRight(
47
+ callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number,
48
+ ): number;
49
+ reduceRight(
50
+ callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number,
51
+ initialValue: number,
52
+ ): number;
53
+ reduceRight<U>(
54
+ callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U,
55
+ initialValue: U,
56
+ ): U;
57
+ reverse(): this;
58
+ set(array: ArrayLike<number>, offset?: number): void;
59
+ slice(start?: number, end?: number): Float16Array<ArrayBuffer>;
60
+ some(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean;
61
+ sort(compareFn?: (a: number, b: number) => number): this;
62
+ subarray(begin?: number, end?: number): Float16Array<TArrayBuffer>;
63
+ toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;
64
+ toReversed(): Float16Array<ArrayBuffer>;
65
+ toSorted(compareFn?: (a: number, b: number) => number): Float16Array<ArrayBuffer>;
66
+ toString(): string;
67
+ valueOf(): this;
68
+ values(): ArrayIterator<number>;
69
+ with(index: number, value: number): Float16Array<ArrayBuffer>;
70
+ [Symbol.iterator](): ArrayIterator<number>;
71
+ [index: number]: number;
72
+ }
@@ -0,0 +1,103 @@
1
+ /**
2
+ * License for programmatically and manually incorporated
3
+ * documentation aka. `JSDoc` from https://github.com/nodejs/node/tree/master/doc
4
+ *
5
+ * Copyright Node.js contributors. All rights reserved.
6
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ * of this software and associated documentation files (the "Software"), to
8
+ * deal in the Software without restriction, including without limitation the
9
+ * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10
+ * sell copies of the Software, and to permit persons to whom the Software is
11
+ * furnished to do so, subject to the following conditions:
12
+ *
13
+ * The above copyright notice and this permission notice shall be included in
14
+ * all copies or substantial portions of the Software.
15
+ *
16
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
22
+ * IN THE SOFTWARE.
23
+ */
24
+
25
+ // NOTE: These definitions support Node.js and TypeScript 5.7.
26
+
27
+ // Reference required TypeScript libraries:
28
+ /// <reference lib="es2020" />
29
+ /// <reference lib="esnext.disposable" />
30
+
31
+ // TypeScript library polyfills required for TypeScript 5.7:
32
+ /// <reference path="./compatibility/float16array.d.ts" />
33
+
34
+ // Iterator definitions required for compatibility with TypeScript <5.6:
35
+ /// <reference path="../compatibility/iterators.d.ts" />
36
+
37
+ // Definitions for Node.js modules specific to TypeScript 5.7+:
38
+ /// <reference path="../globals.typedarray.d.ts" />
39
+ /// <reference path="../buffer.buffer.d.ts" />
40
+
41
+ // Definitions for Node.js modules that are not specific to any version of TypeScript:
42
+ /// <reference path="../globals.d.ts" />
43
+ /// <reference path="../web-globals/abortcontroller.d.ts" />
44
+ /// <reference path="../web-globals/crypto.d.ts" />
45
+ /// <reference path="../web-globals/domexception.d.ts" />
46
+ /// <reference path="../web-globals/events.d.ts" />
47
+ /// <reference path="../web-globals/fetch.d.ts" />
48
+ /// <reference path="../web-globals/navigator.d.ts" />
49
+ /// <reference path="../web-globals/storage.d.ts" />
50
+ /// <reference path="../web-globals/streams.d.ts" />
51
+ /// <reference path="../assert.d.ts" />
52
+ /// <reference path="../assert/strict.d.ts" />
53
+ /// <reference path="../async_hooks.d.ts" />
54
+ /// <reference path="../buffer.d.ts" />
55
+ /// <reference path="../child_process.d.ts" />
56
+ /// <reference path="../cluster.d.ts" />
57
+ /// <reference path="../console.d.ts" />
58
+ /// <reference path="../constants.d.ts" />
59
+ /// <reference path="../crypto.d.ts" />
60
+ /// <reference path="../dgram.d.ts" />
61
+ /// <reference path="../diagnostics_channel.d.ts" />
62
+ /// <reference path="../dns.d.ts" />
63
+ /// <reference path="../dns/promises.d.ts" />
64
+ /// <reference path="../domain.d.ts" />
65
+ /// <reference path="../events.d.ts" />
66
+ /// <reference path="../fs.d.ts" />
67
+ /// <reference path="../fs/promises.d.ts" />
68
+ /// <reference path="../http.d.ts" />
69
+ /// <reference path="../http2.d.ts" />
70
+ /// <reference path="../https.d.ts" />
71
+ /// <reference path="../inspector.d.ts" />
72
+ /// <reference path="../inspector.generated.d.ts" />
73
+ /// <reference path="../module.d.ts" />
74
+ /// <reference path="../net.d.ts" />
75
+ /// <reference path="../os.d.ts" />
76
+ /// <reference path="../path.d.ts" />
77
+ /// <reference path="../perf_hooks.d.ts" />
78
+ /// <reference path="../process.d.ts" />
79
+ /// <reference path="../punycode.d.ts" />
80
+ /// <reference path="../querystring.d.ts" />
81
+ /// <reference path="../readline.d.ts" />
82
+ /// <reference path="../readline/promises.d.ts" />
83
+ /// <reference path="../repl.d.ts" />
84
+ /// <reference path="../sea.d.ts" />
85
+ /// <reference path="../sqlite.d.ts" />
86
+ /// <reference path="../stream.d.ts" />
87
+ /// <reference path="../stream/promises.d.ts" />
88
+ /// <reference path="../stream/consumers.d.ts" />
89
+ /// <reference path="../stream/web.d.ts" />
90
+ /// <reference path="../string_decoder.d.ts" />
91
+ /// <reference path="../test.d.ts" />
92
+ /// <reference path="../timers.d.ts" />
93
+ /// <reference path="../timers/promises.d.ts" />
94
+ /// <reference path="../tls.d.ts" />
95
+ /// <reference path="../trace_events.d.ts" />
96
+ /// <reference path="../tty.d.ts" />
97
+ /// <reference path="../url.d.ts" />
98
+ /// <reference path="../util.d.ts" />
99
+ /// <reference path="../v8.d.ts" />
100
+ /// <reference path="../vm.d.ts" />
101
+ /// <reference path="../wasi.d.ts" />
102
+ /// <reference path="../worker_threads.d.ts" />
103
+ /// <reference path="../zlib.d.ts" />
@@ -1,13 +1,13 @@
1
1
  /**
2
- * The `node:tty` module provides the `tty.ReadStream` and `tty.WriteStream`classes. In most cases, it will not be necessary or possible to use this module
2
+ * The `node:tty` module provides the `tty.ReadStream` and `tty.WriteStream` classes. In most cases, it will not be necessary or possible to use this module
3
3
  * directly. However, it can be accessed using:
4
4
  *
5
5
  * ```js
6
- * const tty = require('node:tty');
6
+ * import tty from 'node:tty';
7
7
  * ```
8
8
  *
9
9
  * When Node.js detects that it is being run with a text terminal ("TTY")
10
- * attached, `process.stdin` will, by default, be initialized as an instance of`tty.ReadStream` and both `process.stdout` and `process.stderr` will, by
10
+ * attached, `process.stdin` will, by default, be initialized as an instance of `tty.ReadStream` and both `process.stdout` and `process.stderr` will, by
11
11
  * default, be instances of `tty.WriteStream`. The preferred method of determining
12
12
  * whether Node.js is being run within a TTY context is to check that the value of
13
13
  * the `process.stdout.isTTY` property is `true`:
@@ -20,8 +20,8 @@
20
20
  * ```
21
21
  *
22
22
  * In most cases, there should be little to no reason for an application to
23
- * manually create instances of the `tty.ReadStream` and `tty.WriteStream`classes.
24
- * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/tty.js)
23
+ * manually create instances of the `tty.ReadStream` and `tty.WriteStream` classes.
24
+ * @see [source](https://github.com/nodejs/node/blob/v24.x/lib/tty.js)
25
25
  */
26
26
  declare module "tty" {
27
27
  import * as net from "node:net";
@@ -45,7 +45,7 @@ declare module "tty" {
45
45
  * raw device.
46
46
  *
47
47
  * This flag is always `false` when a process starts, even if the terminal is
48
- * operating in raw mode. Its value will change with subsequent calls to`setRawMode`.
48
+ * operating in raw mode. Its value will change with subsequent calls to `setRawMode`.
49
49
  * @since v0.7.7
50
50
  */
51
51
  isRaw: boolean;
@@ -76,7 +76,7 @@ declare module "tty" {
76
76
  */
77
77
  type Direction = -1 | 0 | 1;
78
78
  /**
79
- * Represents the writable side of a TTY. In normal circumstances,`process.stdout` and `process.stderr` will be the only`tty.WriteStream` instances created for a Node.js process and there
79
+ * Represents the writable side of a TTY. In normal circumstances, `process.stdout` and `process.stderr` will be the only`tty.WriteStream` instances created for a Node.js process and there
80
80
  * should be no reason to create additional instances.
81
81
  * @since v0.5.8
82
82
  */
@@ -149,7 +149,7 @@ declare module "tty" {
149
149
  * * 256 colors: `FORCE_COLOR = 2`
150
150
  * * 16,777,216 colors: `FORCE_COLOR = 3`
151
151
  *
152
- * Disabling color support is also possible by using the `NO_COLOR` and`NODE_DISABLE_COLORS` environment variables.
152
+ * Disabling color support is also possible by using the `NO_COLOR` and `NODE_DISABLE_COLORS` environment variables.
153
153
  * @since v9.9.0
154
154
  * @param [env=process.env] An object containing the environment variables to check. This enables simulating the usage of a specific terminal.
155
155
  */
@@ -179,7 +179,7 @@ declare module "tty" {
179
179
  hasColors(count: number, env?: object): boolean;
180
180
  /**
181
181
  * `writeStream.getWindowSize()` returns the size of the TTY
182
- * corresponding to this `WriteStream`. The array is of the type`[numColumns, numRows]` where `numColumns` and `numRows` represent the number
182
+ * corresponding to this `WriteStream`. The array is of the type `[numColumns, numRows]` where `numColumns` and `numRows` represent the number
183
183
  * of columns and rows in the corresponding TTY.
184
184
  * @since v0.7.7
185
185
  */