@types/node 14.18.45 → 14.18.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- node v14.18/README.md +1 -1
- node v14.18/child_process.d.ts +40 -1
- node v14.18/package.json +2 -2
- node v14.18/ts4.8/child_process.d.ts +40 -1
node v14.18/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (https://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v14.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Sat, 13 May 2023 14:32:58 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `Buffer`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
|
|
14
14
|
|
node v14.18/child_process.d.ts
CHANGED
|
@@ -154,6 +154,15 @@ declare module 'child_process' {
|
|
|
154
154
|
|
|
155
155
|
interface CommonSpawnOptions extends CommonOptions, MessagingOptions {
|
|
156
156
|
argv0?: string | undefined;
|
|
157
|
+
/**
|
|
158
|
+
* Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings.
|
|
159
|
+
* If passed as an array, the first element is used for `stdin`, the second for
|
|
160
|
+
* `stdout`, and the third for `stderr`. A fourth element can be used to
|
|
161
|
+
* specify the `stdio` behavior beyond the standard streams. See
|
|
162
|
+
* {@link ChildProcess.stdio} for more information.
|
|
163
|
+
*
|
|
164
|
+
* @default 'pipe'
|
|
165
|
+
*/
|
|
157
166
|
stdio?: StdioOptions | undefined;
|
|
158
167
|
shell?: boolean | string | undefined;
|
|
159
168
|
windowsVerbatimArguments?: boolean | undefined;
|
|
@@ -338,7 +347,10 @@ declare module 'child_process' {
|
|
|
338
347
|
interface ExecFileOptionsWithOtherEncoding extends ExecFileOptions {
|
|
339
348
|
encoding: BufferEncoding;
|
|
340
349
|
}
|
|
341
|
-
type ExecFileException =
|
|
350
|
+
type ExecFileException =
|
|
351
|
+
& Omit<ExecException, 'code'>
|
|
352
|
+
& Omit<NodeJS.ErrnoException, 'code'>
|
|
353
|
+
& { code?: string | number | undefined | null };
|
|
342
354
|
|
|
343
355
|
function execFile(file: string): ChildProcess;
|
|
344
356
|
function execFile(file: string, options: (BaseEncodingOptions & ExecFileOptions) | undefined | null): ChildProcess;
|
|
@@ -431,6 +443,15 @@ declare module 'child_process' {
|
|
|
431
443
|
execPath?: string | undefined;
|
|
432
444
|
execArgv?: string[] | undefined;
|
|
433
445
|
silent?: boolean | undefined;
|
|
446
|
+
/**
|
|
447
|
+
* Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings.
|
|
448
|
+
* If passed as an array, the first element is used for `stdin`, the second for
|
|
449
|
+
* `stdout`, and the third for `stderr`. A fourth element can be used to
|
|
450
|
+
* specify the `stdio` behavior beyond the standard streams. See
|
|
451
|
+
* {@link ChildProcess.stdio} for more information.
|
|
452
|
+
*
|
|
453
|
+
* @default 'pipe'
|
|
454
|
+
*/
|
|
434
455
|
stdio?: StdioOptions | undefined;
|
|
435
456
|
detached?: boolean | undefined;
|
|
436
457
|
windowsVerbatimArguments?: boolean | undefined;
|
|
@@ -469,6 +490,15 @@ declare module 'child_process' {
|
|
|
469
490
|
|
|
470
491
|
interface ExecSyncOptions extends CommonOptions {
|
|
471
492
|
input?: string | Uint8Array | undefined;
|
|
493
|
+
/**
|
|
494
|
+
* Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings.
|
|
495
|
+
* If passed as an array, the first element is used for `stdin`, the second for
|
|
496
|
+
* `stdout`, and the third for `stderr`. A fourth element can be used to
|
|
497
|
+
* specify the `stdio` behavior beyond the standard streams. See
|
|
498
|
+
* {@link ChildProcess.stdio} for more information.
|
|
499
|
+
*
|
|
500
|
+
* @default 'pipe'
|
|
501
|
+
*/
|
|
472
502
|
stdio?: StdioOptions | undefined;
|
|
473
503
|
shell?: string | undefined;
|
|
474
504
|
killSignal?: NodeJS.Signals | number | undefined;
|
|
@@ -488,6 +518,15 @@ declare module 'child_process' {
|
|
|
488
518
|
|
|
489
519
|
interface ExecFileSyncOptions extends CommonOptions {
|
|
490
520
|
input?: string | NodeJS.ArrayBufferView | undefined;
|
|
521
|
+
/**
|
|
522
|
+
* Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings.
|
|
523
|
+
* If passed as an array, the first element is used for `stdin`, the second for
|
|
524
|
+
* `stdout`, and the third for `stderr`. A fourth element can be used to
|
|
525
|
+
* specify the `stdio` behavior beyond the standard streams. See
|
|
526
|
+
* {@link ChildProcess.stdio} for more information.
|
|
527
|
+
*
|
|
528
|
+
* @default 'pipe'
|
|
529
|
+
*/
|
|
491
530
|
stdio?: StdioOptions | undefined;
|
|
492
531
|
killSignal?: NodeJS.Signals | number | undefined;
|
|
493
532
|
maxBuffer?: number | undefined;
|
node v14.18/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "14.18.
|
|
3
|
+
"version": "14.18.47",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -227,6 +227,6 @@
|
|
|
227
227
|
},
|
|
228
228
|
"scripts": {},
|
|
229
229
|
"dependencies": {},
|
|
230
|
-
"typesPublisherContentHash": "
|
|
230
|
+
"typesPublisherContentHash": "381b0e74e26fa1b0d8dd8d46799bc1b9a9348a0d0363d123063beab85a385d60",
|
|
231
231
|
"typeScriptVersion": "4.3"
|
|
232
232
|
}
|
|
@@ -154,6 +154,15 @@ declare module 'child_process' {
|
|
|
154
154
|
|
|
155
155
|
interface CommonSpawnOptions extends CommonOptions, MessagingOptions {
|
|
156
156
|
argv0?: string | undefined;
|
|
157
|
+
/**
|
|
158
|
+
* Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings.
|
|
159
|
+
* If passed as an array, the first element is used for `stdin`, the second for
|
|
160
|
+
* `stdout`, and the third for `stderr`. A fourth element can be used to
|
|
161
|
+
* specify the `stdio` behavior beyond the standard streams. See
|
|
162
|
+
* {@link ChildProcess.stdio} for more information.
|
|
163
|
+
*
|
|
164
|
+
* @default 'pipe'
|
|
165
|
+
*/
|
|
157
166
|
stdio?: StdioOptions | undefined;
|
|
158
167
|
shell?: boolean | string | undefined;
|
|
159
168
|
windowsVerbatimArguments?: boolean | undefined;
|
|
@@ -338,7 +347,10 @@ declare module 'child_process' {
|
|
|
338
347
|
interface ExecFileOptionsWithOtherEncoding extends ExecFileOptions {
|
|
339
348
|
encoding: BufferEncoding;
|
|
340
349
|
}
|
|
341
|
-
type ExecFileException =
|
|
350
|
+
type ExecFileException =
|
|
351
|
+
& Omit<ExecException, 'code'>
|
|
352
|
+
& Omit<NodeJS.ErrnoException, 'code'>
|
|
353
|
+
& { code?: string | number | undefined | null };
|
|
342
354
|
|
|
343
355
|
function execFile(file: string): ChildProcess;
|
|
344
356
|
function execFile(file: string, options: (BaseEncodingOptions & ExecFileOptions) | undefined | null): ChildProcess;
|
|
@@ -431,6 +443,15 @@ declare module 'child_process' {
|
|
|
431
443
|
execPath?: string | undefined;
|
|
432
444
|
execArgv?: string[] | undefined;
|
|
433
445
|
silent?: boolean | undefined;
|
|
446
|
+
/**
|
|
447
|
+
* Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings.
|
|
448
|
+
* If passed as an array, the first element is used for `stdin`, the second for
|
|
449
|
+
* `stdout`, and the third for `stderr`. A fourth element can be used to
|
|
450
|
+
* specify the `stdio` behavior beyond the standard streams. See
|
|
451
|
+
* {@link ChildProcess.stdio} for more information.
|
|
452
|
+
*
|
|
453
|
+
* @default 'pipe'
|
|
454
|
+
*/
|
|
434
455
|
stdio?: StdioOptions | undefined;
|
|
435
456
|
detached?: boolean | undefined;
|
|
436
457
|
windowsVerbatimArguments?: boolean | undefined;
|
|
@@ -469,6 +490,15 @@ declare module 'child_process' {
|
|
|
469
490
|
|
|
470
491
|
interface ExecSyncOptions extends CommonOptions {
|
|
471
492
|
input?: string | Uint8Array | undefined;
|
|
493
|
+
/**
|
|
494
|
+
* Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings.
|
|
495
|
+
* If passed as an array, the first element is used for `stdin`, the second for
|
|
496
|
+
* `stdout`, and the third for `stderr`. A fourth element can be used to
|
|
497
|
+
* specify the `stdio` behavior beyond the standard streams. See
|
|
498
|
+
* {@link ChildProcess.stdio} for more information.
|
|
499
|
+
*
|
|
500
|
+
* @default 'pipe'
|
|
501
|
+
*/
|
|
472
502
|
stdio?: StdioOptions | undefined;
|
|
473
503
|
shell?: string | undefined;
|
|
474
504
|
killSignal?: NodeJS.Signals | number | undefined;
|
|
@@ -488,6 +518,15 @@ declare module 'child_process' {
|
|
|
488
518
|
|
|
489
519
|
interface ExecFileSyncOptions extends CommonOptions {
|
|
490
520
|
input?: string | NodeJS.ArrayBufferView | undefined;
|
|
521
|
+
/**
|
|
522
|
+
* Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings.
|
|
523
|
+
* If passed as an array, the first element is used for `stdin`, the second for
|
|
524
|
+
* `stdout`, and the third for `stderr`. A fourth element can be used to
|
|
525
|
+
* specify the `stdio` behavior beyond the standard streams. See
|
|
526
|
+
* {@link ChildProcess.stdio} for more information.
|
|
527
|
+
*
|
|
528
|
+
* @default 'pipe'
|
|
529
|
+
*/
|
|
491
530
|
stdio?: StdioOptions | undefined;
|
|
492
531
|
killSignal?: NodeJS.Signals | number | undefined;
|
|
493
532
|
maxBuffer?: number | undefined;
|