@openclaw/slack 2026.10.5-beta.1 → 2026.10.5-beta.2

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 (108) hide show
  1. package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/dist/package.json +4 -4
  2. package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/dist/src/SlackWebSocket.d.ts.map +1 -1
  3. package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/dist/src/SlackWebSocket.js +9 -17
  4. package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/dist/src/SlackWebSocket.js.map +1 -1
  5. package/node_modules/@slack/bolt/node_modules/@slack/socket-mode/package.json +4 -4
  6. package/node_modules/@slack/bolt/node_modules/@types/node/README.md +2 -2
  7. package/node_modules/@slack/bolt/node_modules/@types/node/crypto.d.ts +2 -2
  8. package/node_modules/@slack/bolt/node_modules/@types/node/dgram.d.ts +1 -1
  9. package/node_modules/@slack/bolt/node_modules/@types/node/package.json +2 -17
  10. package/node_modules/@slack/bolt/node_modules/@types/node/zlib.d.ts +6 -0
  11. package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
  12. package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +2 -2
  13. package/node_modules/@slack/web-api/node_modules/@types/node/dgram.d.ts +1 -1
  14. package/node_modules/@slack/web-api/node_modules/@types/node/package.json +2 -2
  15. package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +6 -0
  16. package/package.json +4 -4
  17. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/LICENSE +0 -21
  18. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/README.md +0 -15
  19. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/assert/strict.d.ts +0 -68
  20. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +0 -1077
  21. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/async_hooks.d.ts +0 -711
  22. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/buffer.buffer.d.ts +0 -471
  23. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/buffer.d.ts +0 -1800
  24. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +0 -1361
  25. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/cluster.d.ts +0 -432
  26. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/console.d.ts +0 -93
  27. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/constants.d.ts +0 -14
  28. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +0 -3964
  29. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/dgram.d.ts +0 -652
  30. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/diagnostics_channel.d.ts +0 -794
  31. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/dns/promises.d.ts +0 -497
  32. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/dns.d.ts +0 -876
  33. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/domain.d.ts +0 -150
  34. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/events.d.ts +0 -1008
  35. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/ffi.d.ts +0 -500
  36. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/fs/promises.d.ts +0 -1477
  37. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +0 -4803
  38. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/globals.d.ts +0 -150
  39. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/globals.typedarray.d.ts +0 -101
  40. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +0 -2218
  41. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/http2.d.ts +0 -2498
  42. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +0 -400
  43. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/index.d.ts +0 -116
  44. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/inspector/promises.d.ts +0 -35
  45. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/inspector.d.ts +0 -265
  46. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/inspector.generated.d.ts +0 -4406
  47. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/module.d.ts +0 -726
  48. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +0 -1074
  49. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/os.d.ts +0 -498
  50. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/package.json +0 -155
  51. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/path/posix.d.ts +0 -8
  52. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/path/win32.d.ts +0 -8
  53. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/path.d.ts +0 -178
  54. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +0 -617
  55. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +0 -2269
  56. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/punycode.d.ts +0 -89
  57. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/querystring.d.ts +0 -139
  58. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/quic.d.ts +0 -2191
  59. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/readline/promises.d.ts +0 -158
  60. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/readline.d.ts +0 -508
  61. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/repl.d.ts +0 -420
  62. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/sea.d.ts +0 -47
  63. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/sqlite.d.ts +0 -1140
  64. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/stream/consumers.d.ts +0 -114
  65. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/stream/iter.d.ts +0 -449
  66. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/stream/promises.d.ts +0 -211
  67. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/stream/web.d.ts +0 -320
  68. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +0 -1806
  69. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/string_decoder.d.ts +0 -27
  70. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/test/reporters.d.ts +0 -60
  71. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +0 -2558
  72. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/timers/promises.d.ts +0 -93
  73. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/timers.d.ts +0 -149
  74. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +0 -1232
  75. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/trace_events.d.ts +0 -103
  76. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -467
  77. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
  78. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -36
  79. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/ts5.6/index.d.ts +0 -118
  80. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
  81. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/ts5.7/index.d.ts +0 -118
  82. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/tty.d.ts +0 -226
  83. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +0 -556
  84. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/util/types.d.ts +0 -558
  85. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +0 -1677
  86. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +0 -1059
  87. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/vfs.d.ts +0 -211
  88. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +0 -1137
  89. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/wasi.d.ts +0 -131
  90. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -59
  91. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/blob.d.ts +0 -23
  92. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/console.d.ts +0 -9
  93. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/crypto.d.ts +0 -39
  94. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/domexception.d.ts +0 -83
  95. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/encoding.d.ts +0 -11
  96. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/events.d.ts +0 -106
  97. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/fetch.d.ts +0 -69
  98. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/importmeta.d.ts +0 -13
  99. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/messaging.d.ts +0 -23
  100. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/navigator.d.ts +0 -25
  101. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/performance.d.ts +0 -45
  102. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/storage.d.ts +0 -24
  103. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/streams.d.ts +0 -119
  104. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/timers.d.ts +0 -44
  105. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/web-globals/url.d.ts +0 -24
  106. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +0 -672
  107. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/zlib/iter.d.ts +0 -131
  108. package/node_modules/@slack/web-api/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +0 -606
@@ -1,118 +0,0 @@
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.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
- // Definitions for Node.js modules specific to TypeScript <=5.6:
35
- /// <reference path="./globals.typedarray.d.ts" />
36
- /// <reference path="./buffer.buffer.d.ts" />
37
-
38
- // Definitions for Node.js modules that are not specific to any version of TypeScript:
39
- /// <reference path="../globals.d.ts" />
40
- /// <reference path="../web-globals/abortcontroller.d.ts" />
41
- /// <reference path="../web-globals/blob.d.ts" />
42
- /// <reference path="../web-globals/console.d.ts" />
43
- /// <reference path="../web-globals/crypto.d.ts" />
44
- /// <reference path="../web-globals/domexception.d.ts" />
45
- /// <reference path="../web-globals/encoding.d.ts" />
46
- /// <reference path="../web-globals/events.d.ts" />
47
- /// <reference path="../web-globals/fetch.d.ts" />
48
- /// <reference path="../web-globals/importmeta.d.ts" />
49
- /// <reference path="../web-globals/messaging.d.ts" />
50
- /// <reference path="../web-globals/navigator.d.ts" />
51
- /// <reference path="../web-globals/performance.d.ts" />
52
- /// <reference path="../web-globals/storage.d.ts" />
53
- /// <reference path="../web-globals/streams.d.ts" />
54
- /// <reference path="../web-globals/timers.d.ts" />
55
- /// <reference path="../web-globals/url.d.ts" />
56
- /// <reference path="../assert.d.ts" />
57
- /// <reference path="../assert/strict.d.ts" />
58
- /// <reference path="../async_hooks.d.ts" />
59
- /// <reference path="../buffer.d.ts" />
60
- /// <reference path="../child_process.d.ts" />
61
- /// <reference path="../cluster.d.ts" />
62
- /// <reference path="../console.d.ts" />
63
- /// <reference path="../constants.d.ts" />
64
- /// <reference path="../crypto.d.ts" />
65
- /// <reference path="../dgram.d.ts" />
66
- /// <reference path="../diagnostics_channel.d.ts" />
67
- /// <reference path="../dns.d.ts" />
68
- /// <reference path="../dns/promises.d.ts" />
69
- /// <reference path="../domain.d.ts" />
70
- /// <reference path="../events.d.ts" />
71
- /// <reference path="../ffi.d.ts" />
72
- /// <reference path="../fs.d.ts" />
73
- /// <reference path="../fs/promises.d.ts" />
74
- /// <reference path="../http.d.ts" />
75
- /// <reference path="../http2.d.ts" />
76
- /// <reference path="../https.d.ts" />
77
- /// <reference path="../inspector.d.ts" />
78
- /// <reference path="../inspector.generated.d.ts" />
79
- /// <reference path="../inspector/promises.d.ts" />
80
- /// <reference path="../module.d.ts" />
81
- /// <reference path="../net.d.ts" />
82
- /// <reference path="../os.d.ts" />
83
- /// <reference path="../path.d.ts" />
84
- /// <reference path="../path/posix.d.ts" />
85
- /// <reference path="../path/win32.d.ts" />
86
- /// <reference path="../perf_hooks.d.ts" />
87
- /// <reference path="../process.d.ts" />
88
- /// <reference path="../punycode.d.ts" />
89
- /// <reference path="../querystring.d.ts" />
90
- /// <reference path="../quic.d.ts" />
91
- /// <reference path="../readline.d.ts" />
92
- /// <reference path="../readline/promises.d.ts" />
93
- /// <reference path="../repl.d.ts" />
94
- /// <reference path="../sea.d.ts" />
95
- /// <reference path="../sqlite.d.ts" />
96
- /// <reference path="../stream.d.ts" />
97
- /// <reference path="../stream/consumers.d.ts" />
98
- /// <reference path="../stream/iter.d.ts" />
99
- /// <reference path="../stream/promises.d.ts" />
100
- /// <reference path="../stream/web.d.ts" />
101
- /// <reference path="../string_decoder.d.ts" />
102
- /// <reference path="../test.d.ts" />
103
- /// <reference path="../test/reporters.d.ts" />
104
- /// <reference path="../timers.d.ts" />
105
- /// <reference path="../timers/promises.d.ts" />
106
- /// <reference path="../tls.d.ts" />
107
- /// <reference path="../trace_events.d.ts" />
108
- /// <reference path="../tty.d.ts" />
109
- /// <reference path="../url.d.ts" />
110
- /// <reference path="../util.d.ts" />
111
- /// <reference path="../util/types.d.ts" />
112
- /// <reference path="../v8.d.ts" />
113
- /// <reference path="../vfs.d.ts" />
114
- /// <reference path="../vm.d.ts" />
115
- /// <reference path="../wasi.d.ts" />
116
- /// <reference path="../worker_threads.d.ts" />
117
- /// <reference path="../zlib.d.ts" />
118
- /// <reference path="../zlib/iter.d.ts" />
@@ -1,72 +0,0 @@
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
- }
@@ -1,118 +0,0 @@
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
- // Definitions for Node.js modules specific to TypeScript 5.7+:
35
- /// <reference path="../globals.typedarray.d.ts" />
36
- /// <reference path="../buffer.buffer.d.ts" />
37
-
38
- // Definitions for Node.js modules that are not specific to any version of TypeScript:
39
- /// <reference path="../globals.d.ts" />
40
- /// <reference path="../web-globals/abortcontroller.d.ts" />
41
- /// <reference path="../web-globals/blob.d.ts" />
42
- /// <reference path="../web-globals/console.d.ts" />
43
- /// <reference path="../web-globals/crypto.d.ts" />
44
- /// <reference path="../web-globals/domexception.d.ts" />
45
- /// <reference path="../web-globals/encoding.d.ts" />
46
- /// <reference path="../web-globals/events.d.ts" />
47
- /// <reference path="../web-globals/fetch.d.ts" />
48
- /// <reference path="../web-globals/importmeta.d.ts" />
49
- /// <reference path="../web-globals/messaging.d.ts" />
50
- /// <reference path="../web-globals/navigator.d.ts" />
51
- /// <reference path="../web-globals/performance.d.ts" />
52
- /// <reference path="../web-globals/storage.d.ts" />
53
- /// <reference path="../web-globals/streams.d.ts" />
54
- /// <reference path="../web-globals/timers.d.ts" />
55
- /// <reference path="../web-globals/url.d.ts" />
56
- /// <reference path="../assert.d.ts" />
57
- /// <reference path="../assert/strict.d.ts" />
58
- /// <reference path="../async_hooks.d.ts" />
59
- /// <reference path="../buffer.d.ts" />
60
- /// <reference path="../child_process.d.ts" />
61
- /// <reference path="../cluster.d.ts" />
62
- /// <reference path="../console.d.ts" />
63
- /// <reference path="../constants.d.ts" />
64
- /// <reference path="../crypto.d.ts" />
65
- /// <reference path="../dgram.d.ts" />
66
- /// <reference path="../diagnostics_channel.d.ts" />
67
- /// <reference path="../dns.d.ts" />
68
- /// <reference path="../dns/promises.d.ts" />
69
- /// <reference path="../domain.d.ts" />
70
- /// <reference path="../events.d.ts" />
71
- /// <reference path="../ffi.d.ts" />
72
- /// <reference path="../fs.d.ts" />
73
- /// <reference path="../fs/promises.d.ts" />
74
- /// <reference path="../http.d.ts" />
75
- /// <reference path="../http2.d.ts" />
76
- /// <reference path="../https.d.ts" />
77
- /// <reference path="../inspector.d.ts" />
78
- /// <reference path="../inspector.generated.d.ts" />
79
- /// <reference path="../inspector/promises.d.ts" />
80
- /// <reference path="../module.d.ts" />
81
- /// <reference path="../net.d.ts" />
82
- /// <reference path="../os.d.ts" />
83
- /// <reference path="../path.d.ts" />
84
- /// <reference path="../path/posix.d.ts" />
85
- /// <reference path="../path/win32.d.ts" />
86
- /// <reference path="../perf_hooks.d.ts" />
87
- /// <reference path="../process.d.ts" />
88
- /// <reference path="../punycode.d.ts" />
89
- /// <reference path="../querystring.d.ts" />
90
- /// <reference path="../quic.d.ts" />
91
- /// <reference path="../readline.d.ts" />
92
- /// <reference path="../readline/promises.d.ts" />
93
- /// <reference path="../repl.d.ts" />
94
- /// <reference path="../sea.d.ts" />
95
- /// <reference path="../sqlite.d.ts" />
96
- /// <reference path="../stream.d.ts" />
97
- /// <reference path="../stream/consumers.d.ts" />
98
- /// <reference path="../stream/iter.d.ts" />
99
- /// <reference path="../stream/promises.d.ts" />
100
- /// <reference path="../stream/web.d.ts" />
101
- /// <reference path="../string_decoder.d.ts" />
102
- /// <reference path="../test.d.ts" />
103
- /// <reference path="../test/reporters.d.ts" />
104
- /// <reference path="../timers.d.ts" />
105
- /// <reference path="../timers/promises.d.ts" />
106
- /// <reference path="../tls.d.ts" />
107
- /// <reference path="../trace_events.d.ts" />
108
- /// <reference path="../tty.d.ts" />
109
- /// <reference path="../url.d.ts" />
110
- /// <reference path="../util.d.ts" />
111
- /// <reference path="../util/types.d.ts" />
112
- /// <reference path="../v8.d.ts" />
113
- /// <reference path="../vfs.d.ts" />
114
- /// <reference path="../vm.d.ts" />
115
- /// <reference path="../wasi.d.ts" />
116
- /// <reference path="../worker_threads.d.ts" />
117
- /// <reference path="../zlib.d.ts" />
118
- /// <reference path="../zlib/iter.d.ts" />
@@ -1,226 +0,0 @@
1
- declare module "node:tty" {
2
- import * as net from "node:net";
3
- /**
4
- * The `tty.isatty()` method returns `true` if the given `fd` is associated with
5
- * a TTY and `false` if it is not, including whenever `fd` is not a non-negative
6
- * integer.
7
- * @since v0.5.8
8
- * @param fd A numeric file descriptor
9
- */
10
- function isatty(fd: number): boolean;
11
- /**
12
- * Represents the readable side of a TTY. In normal circumstances `process.stdin` will be the only `tty.ReadStream` instance in a Node.js
13
- * process and there should be no reason to create additional instances.
14
- * @since v0.5.8
15
- */
16
- class ReadStream extends net.Socket {
17
- constructor(fd: number, options?: net.SocketConstructorOpts);
18
- /**
19
- * A `boolean` that is `true` if the TTY is currently configured to operate as a
20
- * raw device.
21
- *
22
- * This flag is always `false` when a process starts, even if the terminal is
23
- * operating in raw mode. Its value will change with subsequent calls to `setRawMode`.
24
- * @since v0.7.7
25
- */
26
- isRaw: boolean;
27
- /**
28
- * Allows configuration of `tty.ReadStream` so that it operates as a raw device.
29
- *
30
- * When in raw mode, input is always available character-by-character, not
31
- * including modifiers. Additionally, all special processing of input characters
32
- * by the terminal is disabled, including echoing input
33
- * characters. Ctrl+C will no longer cause a `SIGINT` when
34
- * in this mode. This mode does not affect terminal output processing, such as
35
- * newline translation on Unix terminals.
36
- * @since v0.7.7
37
- * @param mode If `true`, configures the `tty.ReadStream` to operate as a raw device. If `false`, configures the `tty.ReadStream` to operate in its default mode. The `readStream.isRaw`
38
- * property will be set to the resulting mode.
39
- * @return The read stream instance.
40
- */
41
- setRawMode(mode: boolean): this;
42
- /**
43
- * A `boolean` that is always `true` for `tty.ReadStream` instances.
44
- * @since v0.5.8
45
- */
46
- isTTY: boolean;
47
- }
48
- /**
49
- * -1 - to the left from cursor
50
- * 0 - the entire line
51
- * 1 - to the right from cursor
52
- */
53
- type Direction = -1 | 0 | 1;
54
- interface WriteStreamEventMap extends net.SocketEventMap {
55
- "resize": [];
56
- }
57
- /**
58
- * 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
59
- * should be no reason to create additional instances.
60
- * @since v0.5.8
61
- */
62
- class WriteStream extends net.Socket {
63
- constructor(fd: number);
64
- /**
65
- * `writeStream.clearLine()` clears the current line of this `WriteStream` in a
66
- * direction identified by `dir`.
67
- * @since v0.7.7
68
- * @param callback Invoked once the operation completes.
69
- * @return `false` if the stream wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`.
70
- */
71
- clearLine(dir: Direction, callback?: () => void): boolean;
72
- /**
73
- * `writeStream.clearScreenDown()` clears this `WriteStream` from the current
74
- * cursor down.
75
- * @since v0.7.7
76
- * @param callback Invoked once the operation completes.
77
- * @return `false` if the stream wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`.
78
- */
79
- clearScreenDown(callback?: () => void): boolean;
80
- /**
81
- * `writeStream.cursorTo()` moves this `WriteStream`'s cursor to the specified
82
- * position.
83
- * @since v0.7.7
84
- * @param callback Invoked once the operation completes.
85
- * @return `false` if the stream wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`.
86
- */
87
- cursorTo(x: number, y?: number, callback?: () => void): boolean;
88
- cursorTo(x: number, callback: () => void): boolean;
89
- /**
90
- * `writeStream.moveCursor()` moves this `WriteStream`'s cursor _relative_ to its
91
- * current position.
92
- * @since v0.7.7
93
- * @param callback Invoked once the operation completes.
94
- * @return `false` if the stream wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`.
95
- */
96
- moveCursor(dx: number, dy: number, callback?: () => void): boolean;
97
- /**
98
- * Returns:
99
- *
100
- * * `1` for 2,
101
- * * `4` for 16,
102
- * * `8` for 256,
103
- * * `24` for 16,777,216 colors supported.
104
- *
105
- * Use this to determine what colors the terminal supports. Due to the nature of
106
- * colors in terminals it is possible to either have false positives or false
107
- * negatives. It depends on process information and the environment variables that
108
- * may lie about what terminal is used.
109
- * It is possible to pass in an `env` object to simulate the usage of a specific
110
- * terminal. This can be useful to check how specific environment settings behave.
111
- *
112
- * To enforce a specific color support, use one of the below environment settings.
113
- *
114
- * * 2 colors: `FORCE_COLOR = 0` (Disables colors)
115
- * * 16 colors: `FORCE_COLOR = 1`
116
- * * 256 colors: `FORCE_COLOR = 2`
117
- * * 16,777,216 colors: `FORCE_COLOR = 3`
118
- *
119
- * Disabling color support is also possible by using the `NO_COLOR` and `NODE_DISABLE_COLORS` environment variables.
120
- * @since v9.9.0
121
- * @param [env=process.env] An object containing the environment variables to check. This enables simulating the usage of a specific terminal.
122
- */
123
- getColorDepth(env?: object): number;
124
- /**
125
- * Returns `true` if the `writeStream` supports at least as many colors as provided
126
- * in `count`. Minimum support is 2 (black and white).
127
- *
128
- * This has the same false positives and negatives as described in `writeStream.getColorDepth()`.
129
- *
130
- * ```js
131
- * process.stdout.hasColors();
132
- * // Returns true or false depending on if `stdout` supports at least 16 colors.
133
- * process.stdout.hasColors(256);
134
- * // Returns true or false depending on if `stdout` supports at least 256 colors.
135
- * process.stdout.hasColors({ TMUX: '1' });
136
- * // Returns true.
137
- * process.stdout.hasColors(2 ** 24, { TMUX: '1' });
138
- * // Returns false (the environment setting pretends to support 2 ** 8 colors).
139
- * ```
140
- * @since v11.13.0, v10.16.0
141
- * @param [count=16] The number of colors that are requested (minimum 2).
142
- * @param [env=process.env] An object containing the environment variables to check. This enables simulating the usage of a specific terminal.
143
- */
144
- hasColors(count?: number): boolean;
145
- hasColors(env?: object): boolean;
146
- hasColors(count: number, env?: object): boolean;
147
- /**
148
- * `writeStream.getWindowSize()` returns the size of the TTY
149
- * corresponding to this `WriteStream`. The array is of the type `[numColumns, numRows]` where `numColumns` and `numRows` represent the number
150
- * of columns and rows in the corresponding TTY.
151
- * @since v0.7.7
152
- */
153
- getWindowSize(): [number, number];
154
- /**
155
- * A `number` specifying the number of columns the TTY currently has. This property
156
- * is updated whenever the `'resize'` event is emitted.
157
- * @since v0.7.7
158
- */
159
- columns: number;
160
- /**
161
- * A `number` specifying the number of rows the TTY currently has. This property
162
- * is updated whenever the `'resize'` event is emitted.
163
- * @since v0.7.7
164
- */
165
- rows: number;
166
- /**
167
- * A `boolean` that is always `true`.
168
- * @since v0.5.8
169
- */
170
- isTTY: boolean;
171
- // #region InternalEventEmitter
172
- addListener<E extends keyof WriteStreamEventMap>(
173
- eventName: E,
174
- listener: (...args: WriteStreamEventMap[E]) => void,
175
- ): this;
176
- addListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
177
- emit<E extends keyof WriteStreamEventMap>(eventName: E, ...args: WriteStreamEventMap[E]): boolean;
178
- emit(eventName: string | symbol, ...args: any[]): boolean;
179
- listenerCount<E extends keyof WriteStreamEventMap>(
180
- eventName: E,
181
- listener?: (...args: WriteStreamEventMap[E]) => void,
182
- ): number;
183
- listenerCount(eventName: string | symbol, listener?: (...args: any[]) => void): number;
184
- listeners<E extends keyof WriteStreamEventMap>(eventName: E): ((...args: WriteStreamEventMap[E]) => void)[];
185
- listeners(eventName: string | symbol): ((...args: any[]) => void)[];
186
- off<E extends keyof WriteStreamEventMap>(
187
- eventName: E,
188
- listener: (...args: WriteStreamEventMap[E]) => void,
189
- ): this;
190
- off(eventName: string | symbol, listener: (...args: any[]) => void): this;
191
- on<E extends keyof WriteStreamEventMap>(
192
- eventName: E,
193
- listener: (...args: WriteStreamEventMap[E]) => void,
194
- ): this;
195
- on(eventName: string | symbol, listener: (...args: any[]) => void): this;
196
- once<E extends keyof WriteStreamEventMap>(
197
- eventName: E,
198
- listener: (...args: WriteStreamEventMap[E]) => void,
199
- ): this;
200
- once(eventName: string | symbol, listener: (...args: any[]) => void): this;
201
- prependListener<E extends keyof WriteStreamEventMap>(
202
- eventName: E,
203
- listener: (...args: WriteStreamEventMap[E]) => void,
204
- ): this;
205
- prependListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
206
- prependOnceListener<E extends keyof WriteStreamEventMap>(
207
- eventName: E,
208
- listener: (...args: WriteStreamEventMap[E]) => void,
209
- ): this;
210
- prependOnceListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
211
- rawListeners<E extends keyof WriteStreamEventMap>(eventName: E): ((...args: WriteStreamEventMap[E]) => void)[];
212
- rawListeners(eventName: string | symbol): ((...args: any[]) => void)[];
213
- // eslint-disable-next-line @definitelytyped/no-unnecessary-generics
214
- removeAllListeners<E extends keyof WriteStreamEventMap>(eventName?: E): this;
215
- removeAllListeners(eventName?: string | symbol): this;
216
- removeListener<E extends keyof WriteStreamEventMap>(
217
- eventName: E,
218
- listener: (...args: WriteStreamEventMap[E]) => void,
219
- ): this;
220
- removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
221
- // #endregion
222
- }
223
- }
224
- declare module "tty" {
225
- export * from "node:tty";
226
- }