@idlebox/node 1.2.12 → 1.2.14
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.
- package/lib/index.generated.cjs.map +1 -1
- package/lib/index.generated.js.map +1 -1
- package/{dist → lib}/node-alpha.d.ts +0 -0
- package/{dist → lib}/node-beta.d.ts +0 -0
- package/{dist → lib}/node-public.d.ts +0 -0
- package/{dist → lib}/node.d.ts +0 -0
- package/lib/preload.cjs +3 -0
- package/lib/preload.cjs.map +1 -0
- package/lib/preload.js +2 -0
- package/lib/preload.js.map +1 -0
- package/{dist → lib}/tsdoc-metadata.json +1 -1
- package/package.json +18 -17
- package/src/asyncLoad.ts +32 -0
- package/src/child_process/error.ts +63 -0
- package/src/child_process/execa.ts +108 -0
- package/src/child_process/lateError.ts +53 -0
- package/src/child_process/respawn.ts +132 -0
- package/src/cli-io/output.ts +3 -0
- package/src/crypto/md5.ts +8 -0
- package/src/crypto/sha256.ts +8 -0
- package/src/environment/findBinary.ts +13 -0
- package/src/environment/getEnvironment.ts +56 -0
- package/src/environment/npmConfig.ts +15 -0
- package/src/environment/pathEnvironment.ts +45 -0
- package/src/error/code.ts +124 -0
- package/src/error/pretty.ts +240 -0
- package/src/events/dumpEventEmitter.ts +9 -0
- package/src/fs/commandExists.ts +48 -0
- package/src/fs/exists.ts +17 -0
- package/src/fs/tempFolder.ts +54 -0
- package/src/fs/weiteChanged.ts +46 -0
- package/src/index.generated.ts +133 -0
- package/src/log/terminal.ts +41 -0
- package/src/path-resolve/findPackageRoot.ts +20 -0
- package/src/path-resolve/findUp.ts +34 -0
- package/src/path-resolve/getAllUp.ts +15 -0
- package/src/path-resolve/lrelative.ts +20 -0
- package/src/path-resolve/nodeResolvePathArray.ts +10 -0
- package/src/path-resolve/resolvePath.ts +43 -0
- package/src/preload.ts +1 -0
- package/src/stream/blackHoleStream.ts +7 -0
- package/src/stream/collectingStream.ts +85 -0
- package/src/stream/disposableStream.ts +24 -0
- package/src/stream/drainStream.ts +19 -0
- package/src/stream/loggerStream.ts +61 -0
- package/src/stream/streamPromise.ts +23 -0
- package/src/tsconfig.json +14 -0
- package/docs/node.api.json +0 -7222
- package/docs/node.api.md +0 -666
- package/docs/package-public.d.ts +0 -380
- package/docs/tsdoc-metadata.json +0 -11
package/docs/node.api.md
DELETED
|
@@ -1,666 +0,0 @@
|
|
|
1
|
-
## API Report File for "@idlebox/node"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
/// <reference types="node" />
|
|
8
|
-
|
|
9
|
-
import { EventEmitter } from 'events';
|
|
10
|
-
import { ExecaReturnValue } from 'execa';
|
|
11
|
-
import { IDisposable } from '@idlebox/common';
|
|
12
|
-
import { Options } from 'execa';
|
|
13
|
-
import { PathArray } from '@idlebox/common';
|
|
14
|
-
import { Readable } from 'stream';
|
|
15
|
-
import { Transform } from 'stream';
|
|
16
|
-
import { WrappedConsole } from '@idlebox/common';
|
|
17
|
-
import { WrappedConsoleOptions } from '@idlebox/common';
|
|
18
|
-
import { Writable } from 'stream';
|
|
19
|
-
|
|
20
|
-
// Warning: (ae-missing-release-tag) "Async" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
21
|
-
//
|
|
22
|
-
// @public (undocumented)
|
|
23
|
-
export interface Async {
|
|
24
|
-
// (undocumented)
|
|
25
|
-
sync?: boolean;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
// Warning: (ae-missing-release-tag) "AsyncMainFunction" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
29
|
-
//
|
|
30
|
-
// @public (undocumented)
|
|
31
|
-
export type AsyncMainFunction = () => Promise<void | number>;
|
|
32
|
-
|
|
33
|
-
// Warning: (ae-missing-release-tag) "BlackHoleStream" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
34
|
-
//
|
|
35
|
-
// @public (undocumented)
|
|
36
|
-
export class BlackHoleStream extends Writable {
|
|
37
|
-
// (undocumented)
|
|
38
|
-
_write(_chunk: Buffer, _encoding: string, callback: (error?: Error | null) => void): void;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
// Warning: (ae-forgotten-export) The symbol "IChildProcessStatus" needs to be exported by the entry point _export_all_in_one_index.d.ts
|
|
42
|
-
// Warning: (ae-missing-release-tag) "checkChildProcessResult" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
43
|
-
//
|
|
44
|
-
// @public (undocumented)
|
|
45
|
-
export function checkChildProcessResult(result: IChildProcessStatus): void;
|
|
46
|
-
|
|
47
|
-
// Warning: (ae-missing-release-tag) "cleanupEnvironment" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
48
|
-
//
|
|
49
|
-
// @public (undocumented)
|
|
50
|
-
export function cleanupEnvironment(name: string, env?: NodeJS.ProcessEnv): void;
|
|
51
|
-
|
|
52
|
-
// Warning: (ae-missing-release-tag) "CollectingStream" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
53
|
-
//
|
|
54
|
-
// @public (undocumented)
|
|
55
|
-
export class CollectingStream extends Writable {
|
|
56
|
-
constructor(sourceStream?: NodeJS.ReadableStream);
|
|
57
|
-
// (undocumented)
|
|
58
|
-
getOutput(): string;
|
|
59
|
-
// (undocumented)
|
|
60
|
-
promise(): Promise<string>;
|
|
61
|
-
// (undocumented)
|
|
62
|
-
_write(chunk: Buffer, encoding: BufferEncoding, callback: (error?: Error | null) => void): void;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
// Warning: (ae-missing-release-tag) "commandInPath" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
66
|
-
//
|
|
67
|
-
// @public (undocumented)
|
|
68
|
-
export function commandInPath(cmd: string, alterExt?: string[]): Promise<string | undefined>;
|
|
69
|
-
|
|
70
|
-
// Warning: (ae-missing-release-tag) "commmandInPathSync" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
71
|
-
//
|
|
72
|
-
// @public (undocumented)
|
|
73
|
-
export function commmandInPathSync(cmd: string, alterExt?: string[]): string | undefined;
|
|
74
|
-
|
|
75
|
-
// Warning: (ae-missing-release-tag) "createTempFolder" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
76
|
-
//
|
|
77
|
-
// @public (undocumented)
|
|
78
|
-
export function createTempFolder(path: string): void;
|
|
79
|
-
|
|
80
|
-
// Warning: (ae-missing-release-tag) "deleteEnvironment" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
81
|
-
//
|
|
82
|
-
// @public (undocumented)
|
|
83
|
-
export function deleteEnvironment(name: string, env?: NodeJS.ProcessEnv): void;
|
|
84
|
-
|
|
85
|
-
// Warning: (ae-missing-release-tag) "disposableStream" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
86
|
-
//
|
|
87
|
-
// @public (undocumented)
|
|
88
|
-
export function disposableStream<T extends Writable | Readable>(stream: T): T & IDisposable;
|
|
89
|
-
|
|
90
|
-
// Warning: (ae-missing-release-tag) "drainStream" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
91
|
-
//
|
|
92
|
-
// @public (undocumented)
|
|
93
|
-
export function drainStream(stream: NodeJS.ReadableStream, size: number, start?: number, extra?: number): Promise<Buffer>;
|
|
94
|
-
|
|
95
|
-
// Warning: (ae-missing-release-tag) "dumpEventEmitterEmit" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
96
|
-
//
|
|
97
|
-
// @public (undocumented)
|
|
98
|
-
export function dumpEventEmitterEmit(ev: EventEmitter): void;
|
|
99
|
-
|
|
100
|
-
// Warning: (ae-missing-release-tag) "ERRNO_LINUX" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
101
|
-
//
|
|
102
|
-
// @public (undocumented)
|
|
103
|
-
export enum ERRNO_LINUX {
|
|
104
|
-
// (undocumented)
|
|
105
|
-
E2BIG = 7,
|
|
106
|
-
// (undocumented)
|
|
107
|
-
EACCES = 13,
|
|
108
|
-
// (undocumented)
|
|
109
|
-
EADDRINUSE = 112,
|
|
110
|
-
// (undocumented)
|
|
111
|
-
EADDRNOTAVAIL = 125,
|
|
112
|
-
// (undocumented)
|
|
113
|
-
EADV = 68,
|
|
114
|
-
// (undocumented)
|
|
115
|
-
EAFNOSUPPORT = 106,
|
|
116
|
-
// (undocumented)
|
|
117
|
-
EAGAIN = 11,
|
|
118
|
-
// (undocumented)
|
|
119
|
-
EALREADY = 120,
|
|
120
|
-
// (undocumented)
|
|
121
|
-
EBADE = 50,
|
|
122
|
-
// (undocumented)
|
|
123
|
-
EBADF = 9,
|
|
124
|
-
// (undocumented)
|
|
125
|
-
EBADFD = 81,
|
|
126
|
-
// (undocumented)
|
|
127
|
-
EBADMSG = 77,
|
|
128
|
-
// (undocumented)
|
|
129
|
-
EBADR = 51,
|
|
130
|
-
// (undocumented)
|
|
131
|
-
EBADRQC = 54,
|
|
132
|
-
// (undocumented)
|
|
133
|
-
EBADSLT = 55,
|
|
134
|
-
// (undocumented)
|
|
135
|
-
EBFONT = 57,
|
|
136
|
-
// (undocumented)
|
|
137
|
-
EBUSY = 16,
|
|
138
|
-
// (undocumented)
|
|
139
|
-
ECASECLASH = 137,
|
|
140
|
-
// (undocumented)
|
|
141
|
-
ECHILD = 10,
|
|
142
|
-
// (undocumented)
|
|
143
|
-
ECHRNG = 37,
|
|
144
|
-
// (undocumented)
|
|
145
|
-
ECOMM = 70,
|
|
146
|
-
// (undocumented)
|
|
147
|
-
ECONNABORTED = 113,
|
|
148
|
-
// (undocumented)
|
|
149
|
-
ECONNREFUSED = 111,
|
|
150
|
-
// (undocumented)
|
|
151
|
-
ECONNRESET = 104,
|
|
152
|
-
// (undocumented)
|
|
153
|
-
EDEADLK = 45,
|
|
154
|
-
// (undocumented)
|
|
155
|
-
EDEADLOCK = 56,
|
|
156
|
-
// (undocumented)
|
|
157
|
-
EDESTADDRREQ = 121,
|
|
158
|
-
// (undocumented)
|
|
159
|
-
EDOM = 33,
|
|
160
|
-
// (undocumented)
|
|
161
|
-
EDOTDOT = 76,
|
|
162
|
-
// (undocumented)
|
|
163
|
-
EDQUOT = 132,
|
|
164
|
-
// (undocumented)
|
|
165
|
-
EEXIST = 17,
|
|
166
|
-
// (undocumented)
|
|
167
|
-
EFAULT = 14,
|
|
168
|
-
// (undocumented)
|
|
169
|
-
EFBIG = 27,
|
|
170
|
-
// (undocumented)
|
|
171
|
-
EFTYPE = 79,
|
|
172
|
-
// (undocumented)
|
|
173
|
-
EHOSTDOWN = 117,
|
|
174
|
-
// (undocumented)
|
|
175
|
-
EHOSTUNREACH = 118,
|
|
176
|
-
// (undocumented)
|
|
177
|
-
EIDRM = 36,
|
|
178
|
-
// (undocumented)
|
|
179
|
-
EILSEQ = 138,
|
|
180
|
-
// (undocumented)
|
|
181
|
-
EINPROGRESS = 119,
|
|
182
|
-
// (undocumented)
|
|
183
|
-
EINTR = 4,
|
|
184
|
-
// (undocumented)
|
|
185
|
-
EINVAL = 22,
|
|
186
|
-
// (undocumented)
|
|
187
|
-
EIO = 5,
|
|
188
|
-
// (undocumented)
|
|
189
|
-
EISCONN = 127,
|
|
190
|
-
// (undocumented)
|
|
191
|
-
EISDIR = 21,
|
|
192
|
-
// (undocumented)
|
|
193
|
-
EL2HLT = 44,
|
|
194
|
-
// (undocumented)
|
|
195
|
-
EL2NSYNC = 38,
|
|
196
|
-
// (undocumented)
|
|
197
|
-
EL3HLT = 39,
|
|
198
|
-
// (undocumented)
|
|
199
|
-
EL3RST = 40,
|
|
200
|
-
// (undocumented)
|
|
201
|
-
ELBIN = 75,
|
|
202
|
-
// (undocumented)
|
|
203
|
-
ELIBACC = 83,
|
|
204
|
-
// (undocumented)
|
|
205
|
-
ELIBBAD = 84,
|
|
206
|
-
// (undocumented)
|
|
207
|
-
ELIBEXEC = 87,
|
|
208
|
-
// (undocumented)
|
|
209
|
-
ELIBMAX = 86,
|
|
210
|
-
// (undocumented)
|
|
211
|
-
ELIBSCN = 85,
|
|
212
|
-
// (undocumented)
|
|
213
|
-
ELNRNG = 41,
|
|
214
|
-
// (undocumented)
|
|
215
|
-
ELOOP = 92,
|
|
216
|
-
// (undocumented)
|
|
217
|
-
EMFILE = 24,
|
|
218
|
-
// (undocumented)
|
|
219
|
-
EMLINK = 31,
|
|
220
|
-
// (undocumented)
|
|
221
|
-
EMSGSIZE = 122,
|
|
222
|
-
// (undocumented)
|
|
223
|
-
EMULTIHOP = 74,
|
|
224
|
-
// (undocumented)
|
|
225
|
-
ENAMETOOLONG = 91,
|
|
226
|
-
// (undocumented)
|
|
227
|
-
ENETDOWN = 115,
|
|
228
|
-
// (undocumented)
|
|
229
|
-
ENETRESET = 126,
|
|
230
|
-
// (undocumented)
|
|
231
|
-
ENETUNREACH = 114,
|
|
232
|
-
// (undocumented)
|
|
233
|
-
ENFILE = 23,
|
|
234
|
-
// (undocumented)
|
|
235
|
-
ENMFILE = 89,
|
|
236
|
-
// (undocumented)
|
|
237
|
-
ENOANO = 53,
|
|
238
|
-
// (undocumented)
|
|
239
|
-
ENOBUFS = 105,
|
|
240
|
-
// (undocumented)
|
|
241
|
-
ENOCSI = 43,
|
|
242
|
-
// (undocumented)
|
|
243
|
-
ENODATA = 61,
|
|
244
|
-
// (undocumented)
|
|
245
|
-
ENODEV = 19,
|
|
246
|
-
// (undocumented)
|
|
247
|
-
ENOENT = 2,
|
|
248
|
-
// (undocumented)
|
|
249
|
-
ENOEXEC = 8,
|
|
250
|
-
// (undocumented)
|
|
251
|
-
ENOLCK = 46,
|
|
252
|
-
// (undocumented)
|
|
253
|
-
ENOLINK = 67,
|
|
254
|
-
// (undocumented)
|
|
255
|
-
ENOMEDIUM = 135,
|
|
256
|
-
// (undocumented)
|
|
257
|
-
ENOMEM = 12,
|
|
258
|
-
// (undocumented)
|
|
259
|
-
ENOMSG = 35,
|
|
260
|
-
// (undocumented)
|
|
261
|
-
ENONET = 64,
|
|
262
|
-
// (undocumented)
|
|
263
|
-
ENOPKG = 65,
|
|
264
|
-
// (undocumented)
|
|
265
|
-
ENOPROTOOPT = 109,
|
|
266
|
-
// (undocumented)
|
|
267
|
-
ENOSHARE = 136,
|
|
268
|
-
// (undocumented)
|
|
269
|
-
ENOSPC = 28,
|
|
270
|
-
// (undocumented)
|
|
271
|
-
ENOSR = 63,
|
|
272
|
-
// (undocumented)
|
|
273
|
-
ENOSTR = 60,
|
|
274
|
-
// (undocumented)
|
|
275
|
-
ENOSYS = 88,
|
|
276
|
-
// (undocumented)
|
|
277
|
-
ENOTBLK = 15,
|
|
278
|
-
// (undocumented)
|
|
279
|
-
ENOTCONN = 128,
|
|
280
|
-
// (undocumented)
|
|
281
|
-
ENOTDIR = 20,
|
|
282
|
-
// (undocumented)
|
|
283
|
-
ENOTEMPTY = 90,
|
|
284
|
-
// (undocumented)
|
|
285
|
-
ENOTSOCK = 108,
|
|
286
|
-
// (undocumented)
|
|
287
|
-
ENOTSUP = 134,
|
|
288
|
-
// (undocumented)
|
|
289
|
-
ENOTTY = 25,
|
|
290
|
-
// (undocumented)
|
|
291
|
-
ENOTUNIQ = 80,
|
|
292
|
-
// (undocumented)
|
|
293
|
-
ENXIO = 6,
|
|
294
|
-
// (undocumented)
|
|
295
|
-
EOPNOTSUPP = 95,
|
|
296
|
-
// (undocumented)
|
|
297
|
-
EOVERFLOW = 139,
|
|
298
|
-
// (undocumented)
|
|
299
|
-
EPERM = 1,
|
|
300
|
-
// (undocumented)
|
|
301
|
-
EPFNOSUPPORT = 96,
|
|
302
|
-
// (undocumented)
|
|
303
|
-
EPIPE = 32,
|
|
304
|
-
// (undocumented)
|
|
305
|
-
EPROCLIM = 130,
|
|
306
|
-
// (undocumented)
|
|
307
|
-
EPROTO = 71,
|
|
308
|
-
// (undocumented)
|
|
309
|
-
EPROTONOSUPPORT = 123,
|
|
310
|
-
// (undocumented)
|
|
311
|
-
EPROTOTYPE = 107,
|
|
312
|
-
// (undocumented)
|
|
313
|
-
ERANGE = 34,
|
|
314
|
-
// (undocumented)
|
|
315
|
-
EREMCHG = 82,
|
|
316
|
-
// (undocumented)
|
|
317
|
-
EREMOTE = 66,
|
|
318
|
-
// (undocumented)
|
|
319
|
-
EROFS = 30,
|
|
320
|
-
// (undocumented)
|
|
321
|
-
ESHUTDOWN = 110,
|
|
322
|
-
// (undocumented)
|
|
323
|
-
ESOCKTNOSUPPORT = 124,
|
|
324
|
-
// (undocumented)
|
|
325
|
-
ESPIPE = 29,
|
|
326
|
-
// (undocumented)
|
|
327
|
-
ESRCH = 3,
|
|
328
|
-
// (undocumented)
|
|
329
|
-
ESRMNT = 69,
|
|
330
|
-
// (undocumented)
|
|
331
|
-
ESTALE = 133,
|
|
332
|
-
// (undocumented)
|
|
333
|
-
ETIME = 62,
|
|
334
|
-
// (undocumented)
|
|
335
|
-
ETIMEDOUT = 116,
|
|
336
|
-
// (undocumented)
|
|
337
|
-
ETOOMANYREFS = 129,
|
|
338
|
-
// (undocumented)
|
|
339
|
-
ETXTBSY = 26,
|
|
340
|
-
// (undocumented)
|
|
341
|
-
EUNATCH = 42,
|
|
342
|
-
// (undocumented)
|
|
343
|
-
EUSERS = 131,
|
|
344
|
-
// (undocumented)
|
|
345
|
-
EXDEV = 18,
|
|
346
|
-
// (undocumented)
|
|
347
|
-
EXFULL = 52
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
// Warning: (ae-missing-release-tag) "execLazyError" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
351
|
-
//
|
|
352
|
-
// @public (undocumented)
|
|
353
|
-
export function execLazyError(cmd: string, args: string[], spawnOptions?: Omit<Options, 'reject' | 'stdio' | 'encoding' | 'all' | 'stderr'> & ISpawnAdditionOptions): Promise<ExecaReturnValue<string>>;
|
|
354
|
-
|
|
355
|
-
// Warning: (ae-missing-release-tag) "exists" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
356
|
-
//
|
|
357
|
-
// @public (undocumented)
|
|
358
|
-
export function exists(path: string): Promise<boolean>;
|
|
359
|
-
|
|
360
|
-
// Warning: (ae-missing-release-tag) "existsSync" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
361
|
-
//
|
|
362
|
-
// @public (undocumented)
|
|
363
|
-
export function existsSync(path: string): boolean;
|
|
364
|
-
|
|
365
|
-
// Warning: (ae-missing-release-tag) "ExitError" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
366
|
-
//
|
|
367
|
-
// @public (undocumented)
|
|
368
|
-
export class ExitError extends Error {
|
|
369
|
-
constructor(message: string, code?: number);
|
|
370
|
-
// (undocumented)
|
|
371
|
-
readonly code: number;
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
// Warning: (ae-missing-release-tag) "findBinary" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
375
|
-
//
|
|
376
|
-
// @public (undocumented)
|
|
377
|
-
export function findBinary(what: string, pathvar?: PathArray, cwd?: string): string;
|
|
378
|
-
|
|
379
|
-
// Warning: (ae-missing-release-tag) "findPackageRoot" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
380
|
-
//
|
|
381
|
-
// @public (undocumented)
|
|
382
|
-
export function findPackageRoot(packageName: string, require?: NodeRequire): string;
|
|
383
|
-
|
|
384
|
-
// Warning: (ae-missing-release-tag) "findUpUntil" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
385
|
-
//
|
|
386
|
-
// @public (undocumented)
|
|
387
|
-
export function findUpUntil(from: string, file: string): Promise<string | null>;
|
|
388
|
-
|
|
389
|
-
// Warning: (ae-missing-release-tag) "findUpUntilSync" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
390
|
-
//
|
|
391
|
-
// @public (undocumented)
|
|
392
|
-
export function findUpUntilSync(from: string, file: string): string | null;
|
|
393
|
-
|
|
394
|
-
// Warning: (ae-missing-release-tag) "getAllPathUpToRoot" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
395
|
-
//
|
|
396
|
-
// @public (undocumented)
|
|
397
|
-
export function getAllPathUpToRoot(from: string, append?: string): string[];
|
|
398
|
-
|
|
399
|
-
// Warning: (ae-missing-release-tag) "getEnvironment" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
400
|
-
//
|
|
401
|
-
// @public (undocumented)
|
|
402
|
-
export function getEnvironment(name: string, env?: NodeJS.ProcessEnv): IEnvironmentResult;
|
|
403
|
-
|
|
404
|
-
// Warning: (ae-missing-release-tag) "HexDumpLoggerStream" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
405
|
-
//
|
|
406
|
-
// @public (undocumented)
|
|
407
|
-
export class HexDumpLoggerStream extends Transform {
|
|
408
|
-
constructor(logFn: LogFunction, prefix?: string);
|
|
409
|
-
// (undocumented)
|
|
410
|
-
_transform(chunk: Buffer, encoding: BufferEncoding, callback: Function): void;
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
// Warning: (ae-missing-release-tag) "ICommand" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
414
|
-
//
|
|
415
|
-
// @public (undocumented)
|
|
416
|
-
export interface ICommand {
|
|
417
|
-
// (undocumented)
|
|
418
|
-
cwd?: string;
|
|
419
|
-
// (undocumented)
|
|
420
|
-
exec: string[];
|
|
421
|
-
// (undocumented)
|
|
422
|
-
sync?: boolean;
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
// Warning: (ae-missing-release-tag) "IEnvironmentResult" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
426
|
-
//
|
|
427
|
-
// @public (undocumented)
|
|
428
|
-
export interface IEnvironmentResult {
|
|
429
|
-
// (undocumented)
|
|
430
|
-
name: string;
|
|
431
|
-
// (undocumented)
|
|
432
|
-
value: string | undefined;
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
// Warning: (ae-missing-release-tag) "ISpawnAdditionOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
436
|
-
//
|
|
437
|
-
// @public (undocumented)
|
|
438
|
-
export interface ISpawnAdditionOptions {
|
|
439
|
-
// (undocumented)
|
|
440
|
-
verbose?: boolean;
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
// Warning: (ae-missing-release-tag) "JoinPathFunction" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
444
|
-
//
|
|
445
|
-
// @public (undocumented)
|
|
446
|
-
export interface JoinPathFunction {
|
|
447
|
-
// (undocumented)
|
|
448
|
-
(from: string, to: string): string;
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
// Warning: (ae-missing-release-tag) "LogFunction" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
452
|
-
//
|
|
453
|
-
// @public (undocumented)
|
|
454
|
-
export type LogFunction = (message: string, ...args: any[]) => void;
|
|
455
|
-
|
|
456
|
-
// Warning: (ae-missing-release-tag) "LoggerStream" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
457
|
-
//
|
|
458
|
-
// @public (undocumented)
|
|
459
|
-
export class LoggerStream extends Transform {
|
|
460
|
-
constructor(logFn: LogFunction, prefix?: string);
|
|
461
|
-
// (undocumented)
|
|
462
|
-
_transform(chunk: Buffer, encoding: BufferEncoding, callback: Function): void;
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
// Warning: (ae-missing-release-tag) "lrelative" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
466
|
-
//
|
|
467
|
-
// @public (undocumented)
|
|
468
|
-
export function lrelative(from: string, to: string): string;
|
|
469
|
-
|
|
470
|
-
// Warning: (ae-missing-release-tag) "md5" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
471
|
-
//
|
|
472
|
-
// @public (undocumented)
|
|
473
|
-
export function md5(data: Buffer): string;
|
|
474
|
-
|
|
475
|
-
// Warning: (ae-missing-release-tag) "nodeResolvePathArray" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
476
|
-
//
|
|
477
|
-
// @public (undocumented)
|
|
478
|
-
export function nodeResolvePathArray(from: string, file?: string): string[];
|
|
479
|
-
|
|
480
|
-
// Warning: (ae-missing-release-tag) "normalizePath" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
481
|
-
//
|
|
482
|
-
// @public (undocumented)
|
|
483
|
-
export const normalizePath: NormalizePathFunction;
|
|
484
|
-
|
|
485
|
-
// Warning: (ae-missing-release-tag) "NormalizePathFunction" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
486
|
-
//
|
|
487
|
-
// @public (undocumented)
|
|
488
|
-
export interface NormalizePathFunction {
|
|
489
|
-
// (undocumented)
|
|
490
|
-
(path: string): string;
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
// Warning: (ae-missing-release-tag) "osTempDir" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
494
|
-
//
|
|
495
|
-
// @public (undocumented)
|
|
496
|
-
export function osTempDir(name?: string): string;
|
|
497
|
-
|
|
498
|
-
// Warning: (ae-missing-release-tag) "PATH_SEPARATOR" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
499
|
-
//
|
|
500
|
-
// @public (undocumented)
|
|
501
|
-
export const PATH_SEPARATOR: string;
|
|
502
|
-
|
|
503
|
-
// Warning: (ae-missing-release-tag) "PathEnvironment" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
504
|
-
//
|
|
505
|
-
// @public (undocumented)
|
|
506
|
-
export class PathEnvironment extends PathArray {
|
|
507
|
-
constructor(varName?: string, env?: NodeJS.ProcessEnv);
|
|
508
|
-
// (undocumented)
|
|
509
|
-
add(p: string): this;
|
|
510
|
-
// (undocumented)
|
|
511
|
-
clear(): void;
|
|
512
|
-
// (undocumented)
|
|
513
|
-
delete(p: string): boolean;
|
|
514
|
-
// (undocumented)
|
|
515
|
-
save(): void;
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
// Warning: (ae-missing-release-tag) "prettyFormatError" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
519
|
-
//
|
|
520
|
-
// @public (undocumented)
|
|
521
|
-
export function prettyFormatError(e: Error): string;
|
|
522
|
-
|
|
523
|
-
// Warning: (ae-missing-release-tag) "prettyPrintError" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
524
|
-
//
|
|
525
|
-
// @public (undocumented)
|
|
526
|
-
export function prettyPrintError(type: string, e: Error): void;
|
|
527
|
-
|
|
528
|
-
// Warning: (ae-missing-release-tag) "printLine" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
529
|
-
//
|
|
530
|
-
// @public (undocumented)
|
|
531
|
-
export function printLine(char?: string): void;
|
|
532
|
-
|
|
533
|
-
// Warning: (ae-missing-release-tag) "RawCollectingStream" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
534
|
-
//
|
|
535
|
-
// @public (undocumented)
|
|
536
|
-
export class RawCollectingStream extends Writable {
|
|
537
|
-
constructor(sourceStream?: NodeJS.ReadableStream);
|
|
538
|
-
// (undocumented)
|
|
539
|
-
getOutput(): Buffer;
|
|
540
|
-
// (undocumented)
|
|
541
|
-
promise(): Promise<Buffer>;
|
|
542
|
-
// (undocumented)
|
|
543
|
-
_write(chunk: Buffer, _encoding: string, callback: (error?: Error | null) => void): void;
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
// Warning: (ae-missing-release-tag) "relativePath" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
547
|
-
//
|
|
548
|
-
// @public (undocumented)
|
|
549
|
-
export const relativePath: JoinPathFunction;
|
|
550
|
-
|
|
551
|
-
// Warning: (ae-missing-release-tag) "resolvePath" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
552
|
-
//
|
|
553
|
-
// @public (undocumented)
|
|
554
|
-
export const resolvePath: ResolvePathFunction;
|
|
555
|
-
|
|
556
|
-
// Warning: (ae-missing-release-tag) "ResolvePathFunction" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
557
|
-
//
|
|
558
|
-
// @public (undocumented)
|
|
559
|
-
export interface ResolvePathFunction {
|
|
560
|
-
// (undocumented)
|
|
561
|
-
(...pathSegments: string[]): string;
|
|
562
|
-
}
|
|
563
|
-
|
|
564
|
-
// Warning: (ae-missing-release-tag) "respawnInScope" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
565
|
-
//
|
|
566
|
-
// @public
|
|
567
|
-
export function respawnInScope(mainFunc: Function): unknown | never;
|
|
568
|
-
|
|
569
|
-
// Warning: (ae-missing-release-tag) "runMain" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
570
|
-
//
|
|
571
|
-
// @public
|
|
572
|
-
export function runMain(main: AsyncMainFunction): void;
|
|
573
|
-
|
|
574
|
-
// Warning: (ae-missing-release-tag) "setErrorLogRoot" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
575
|
-
//
|
|
576
|
-
// @public (undocumented)
|
|
577
|
-
export function setErrorLogRoot(_root: string): void;
|
|
578
|
-
|
|
579
|
-
// Warning: (ae-missing-release-tag) "sha256" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
580
|
-
//
|
|
581
|
-
// @public (undocumented)
|
|
582
|
-
export function sha256(data: Buffer): string;
|
|
583
|
-
|
|
584
|
-
// Warning: (ae-missing-release-tag) "spawnGetEverything" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
585
|
-
//
|
|
586
|
-
// @public (undocumented)
|
|
587
|
-
export function spawnGetEverything({ exec, cwd }: ICommand): Promise<string | undefined>;
|
|
588
|
-
|
|
589
|
-
// Warning: (ae-missing-release-tag) "spawnGetOutput" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
590
|
-
// Warning: (ae-missing-release-tag) "spawnGetOutput" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
591
|
-
//
|
|
592
|
-
// @public (undocumented)
|
|
593
|
-
export function spawnGetOutput(opt: ICommand & Sync): string;
|
|
594
|
-
|
|
595
|
-
// @public (undocumented)
|
|
596
|
-
export function spawnGetOutput(opt: ICommand & Async): Promise<string>;
|
|
597
|
-
|
|
598
|
-
// Warning: (ae-missing-release-tag) "spawnRecreateEventHandlers" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
599
|
-
//
|
|
600
|
-
// @public (undocumented)
|
|
601
|
-
export function spawnRecreateEventHandlers(): void;
|
|
602
|
-
|
|
603
|
-
// Warning: (ae-missing-release-tag) "spawnWithoutOutput" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
604
|
-
// Warning: (ae-missing-release-tag) "spawnWithoutOutput" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
605
|
-
//
|
|
606
|
-
// @public (undocumented)
|
|
607
|
-
export function spawnWithoutOutput(opt: ICommand & Sync): void;
|
|
608
|
-
|
|
609
|
-
// @public (undocumented)
|
|
610
|
-
export function spawnWithoutOutput(opt: ICommand & Async): Promise<void>;
|
|
611
|
-
|
|
612
|
-
// Warning: (ae-missing-release-tag) "streamHasEnd" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
613
|
-
//
|
|
614
|
-
// @public (undocumented)
|
|
615
|
-
export function streamHasEnd(S: NodeJS.ReadableStream | NodeJS.WritableStream): any;
|
|
616
|
-
|
|
617
|
-
// Warning: (ae-missing-release-tag) "streamPromise" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
618
|
-
//
|
|
619
|
-
// @public
|
|
620
|
-
export function streamPromise(stream: NodeJS.ReadableStream | NodeJS.WritableStream): Promise<void>;
|
|
621
|
-
|
|
622
|
-
// Warning: (ae-missing-release-tag) "streamToBuffer" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
623
|
-
// Warning: (ae-missing-release-tag) "streamToBuffer" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
624
|
-
//
|
|
625
|
-
// @public (undocumented)
|
|
626
|
-
export function streamToBuffer(stream: NodeJS.ReadableStream, raw: false): Promise<string>;
|
|
627
|
-
|
|
628
|
-
// @public (undocumented)
|
|
629
|
-
export function streamToBuffer(stream: NodeJS.ReadableStream, raw: true): Promise<Buffer>;
|
|
630
|
-
|
|
631
|
-
// Warning: (ae-missing-release-tag) "Sync" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
632
|
-
//
|
|
633
|
-
// @public (undocumented)
|
|
634
|
-
export interface Sync {
|
|
635
|
-
// (undocumented)
|
|
636
|
-
sync: true;
|
|
637
|
-
}
|
|
638
|
-
|
|
639
|
-
// Warning: (ae-missing-release-tag) "trySpawnInScope" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
640
|
-
//
|
|
641
|
-
// @public
|
|
642
|
-
export function trySpawnInScope(cmds: string[]): never;
|
|
643
|
-
|
|
644
|
-
// Warning: (ae-missing-release-tag) "WrappedTerminalConsole" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
645
|
-
//
|
|
646
|
-
// @public (undocumented)
|
|
647
|
-
export class WrappedTerminalConsole extends WrappedConsole {
|
|
648
|
-
// Warning: (ae-forgotten-export) The symbol "TerminalConsoleOptions" needs to be exported by the entry point _export_all_in_one_index.d.ts
|
|
649
|
-
constructor(title: string, { color, ...opt }?: WrappedConsoleOptions & TerminalConsoleOptions);
|
|
650
|
-
// (undocumented)
|
|
651
|
-
protected processColorLabel(msg: any[], pos: number, level: string, prefix: string): void;
|
|
652
|
-
}
|
|
653
|
-
|
|
654
|
-
// Warning: (ae-missing-release-tag) "writeFileIfChange" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
655
|
-
//
|
|
656
|
-
// @public (undocumented)
|
|
657
|
-
export function writeFileIfChange(file: string, data: string | Buffer): Promise<boolean>;
|
|
658
|
-
|
|
659
|
-
// Warning: (ae-missing-release-tag) "writeFileIfChangeSync" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
660
|
-
//
|
|
661
|
-
// @public (undocumented)
|
|
662
|
-
export function writeFileIfChangeSync(file: string, data: string | Buffer): boolean;
|
|
663
|
-
|
|
664
|
-
// (No @packageDocumentation comment for this package)
|
|
665
|
-
|
|
666
|
-
```
|