MCPcopy Create free account

hub / github.com/sindresorhus/execa / functions

Functions1,333 in github.com/sindresorhus/execa

↓ 2 callersFunctioninitializeConcurrentStreams
()
lib/convert/concurrent.js:4
↓ 2 callersFunctioninitializeSplitLines
(preserveNewlines, state)
lib/transform/split.js:16
↓ 2 callersFunctionisCompletionLine
test/helpers/verbose.js:81
↓ 2 callersFunctionisConnected
lib/ipc/forward.js:51
↓ 2 callersFunctionisDenoExecPath
lib/arguments/file-url.js:20
↓ 2 callersFunctionisErrorInstance
lib/return/final-error.js:35
↓ 2 callersFunctionisFailedExit
(exitCode, signal)
lib/resolve/exit-async.js:54
↓ 2 callersFunctionisFilePathString
lib/stdio/type.js:131
↓ 2 callersFunctionisInputFileDescriptor
({fileDescriptors}, fdNumber)
lib/resolve/wait-stream.js:85
↓ 2 callersFunctionisObject
lib/stdio/type.js:153
↓ 2 callersFunctionisSyncGenerator
lib/stdio/type.js:119
↓ 2 callersFunctioniterateForResult
({stream, onStreamEnd, lines, encoding, stripFinalNewline, allMixed})
lib/io/iterate.js:32
↓ 2 callersFunctioniterateOnStream
({stream, controller, binary, shouldEncode, encoding, shouldSplit, preserveNewlines})
lib/io/iterate.js:57
↓ 2 callersFunctioniterateOnSubprocessStream
({subprocessStdout, subprocess, binary, shouldEncode, encoding, preserveNewlines})
lib/io/iterate.js:8
↓ 2 callersFunctionkillOnTimeout
({kill, forceKillAfterDelay, context, controllerSignal})
lib/terminate/kill.js:82
↓ 2 callersFunctionlogLine
(line, fdNumber, verboseInfo)
lib/verbose/output.js:52
↓ 2 callersFunctionloopOnMessages
({anyProcess, waitProcess = anyProcess, channel, isSubprocess, ipc, shouldAwait, reference, signal})
lib/ipc/get-each.js:23
↓ 2 callersFunctionmakeSuccessResult
({ command, escapedCommand, stdio, all, ipcOutput, options: {cwd}, startTime, })
lib/return/result.js:7
↓ 2 callersFunctionmergeOptions
(boundOptions, options)
lib/methods/bind.js:6
↓ 2 callersFunctionnormalizeFdSpecificOption
(options, optionName)
lib/arguments/specific.js:18
↓ 2 callersFunctionnormalizeFileUrl
lib/arguments/file-url.js:25
↓ 2 callersFunctionnormalizeOptions
(filePath, rawArguments, rawOptions)
lib/arguments/options.js:19
↓ 2 callersFunctionnormalizeParameters
(rawFile, rawArguments = [], rawOptions = {})
lib/methods/parameters.js:6
↓ 2 callersFunctionnormalizeSignal
(signalNameOrInteger, optionName)
lib/terminate/signal.js:19
↓ 2 callersFunctionnormalizeStdioOption
({stdio, ipc, buffer, ...options}, verboseInfo, isSync)
lib/stdio/stdio-option.js:8
↓ 2 callersFunctionomitUndefinedProperties
lib/return/result.js:177
↓ 2 callersFunctiononAbortedSignal
(mainSignal, stopSignal)
lib/utils/abort-signal.js:4
↓ 2 callersFunctiononStdinFinished
(subprocessStdin, writable, subprocessStdout, subprocess)
lib/convert/writable.js:70
↓ 2 callersFunctiononStdoutFinished
({subprocessStdout, onStdoutDataDone, readable, subprocess, subprocessStdin})
lib/convert/readable.js:87
↓ 2 callersFunctionparseFd
lib/arguments/specific.js:74
↓ 2 callersFunctionpollForSubprocessExit
test/terminate/cleanup.js:54
↓ 2 callersFunctionremoveReference
(channel, reference)
lib/ipc/reference.js:18
↓ 2 callersFunctionremoveReferenceCount
lib/ipc/reference.js:24
↓ 2 callersFunctionrunAndFail
(t, fixtureName, argument, error)
test/return/final-error.js:41
↓ 2 callersFunctionrunGeneratorsSync
(chunks, stdioItems, encoding, isInput)
lib/transform/generator.js:75
↓ 2 callersFunctionsendOneMessage
({anyProcess, methodName, isSubprocess, wrappedMessage, message})
lib/ipc/send.js:60
↓ 2 callersFunctionserializeOptionValue
lib/arguments/fd-options.js:103
↓ 2 callersFunctionserializeVerboseMessage
lib/verbose/log.js:47
↓ 2 callersFunctionshouldLogOutput
({stdioItems, encoding, verboseInfo, fdNumber})
lib/verbose/output.js:11
↓ 2 callersFunctionspawnParentProcess
({parentFixture, parentOptions, ...ipcInput})
test/helpers/nested.js:58
↓ 2 callersFunctionsplitLinesSync
(chunk, preserveNewlines, objectMode)
lib/transform/split.js:7
↓ 2 callersFunctionstringToUint8Array
lib/utils/uint-array.js:13
↓ 2 callersFunctionstringToUint8Arrays
(string, isUint8Array)
test/helpers/lines.js:8
↓ 2 callersFunctionthrowInvalidSyncValue
(optionName, value)
lib/stdio/handle-sync.js:31
↓ 2 callersFunctionthrowOnDuplicateStream
(stdioItem, optionName, type)
lib/stdio/duplicate.js:115
↓ 2 callersFunctionthrowsAsync
(t, asyncIterable, arrayFromAsyncMethod)
test/convert/iterable.js:32
↓ 2 callersFunctionuint8ArrayToString
lib/utils/uint-array.js:16
↓ 2 callersFunctionvalidateConnection
(methodName, isSubprocess, isConnected)
lib/ipc/validation.js:17
↓ 2 callersFunctionvalidateMessage
(t, message, type)
test/terminate/signal.js:15
↓ 2 callersFunctionvalidateNonGeneratorType
({final, binary, objectMode}, optionName, typeName)
lib/stdio/type.js:76
↓ 2 callersFunctionwaitForSubprocess
(subprocess, error)
lib/convert/shared.js:33
↓ 2 callersFunctionwaitForSubprocessStdin
lib/convert/shared.js:24
↓ 2 callersFunctionwaitForSubprocessStdout
lib/convert/shared.js:28
↓ 2 callersFunctionwaitForSubprocessStream
({stream, fdNumber, encoding, buffer, maxBuffer, lines, allMixed, stripFinalNewline, verboseInfo, streamInfo})
lib/resolve/stdio.js:19
↓ 1 callersFunctionabortOnSignal
(signal, controller)
lib/pipe/setup.js:168
↓ 1 callersFunctionabortOnStrictError
({ipcEmitter, isSubprocess, controller, state})
lib/ipc/get-each.js:79
↓ 1 callersFunctionaddConvertedStreams
(subprocess, {encoding})
lib/convert/add.js:9
↓ 1 callersFunctionaddDefaultOptions
({ extendEnv = true, preferLocal = false, cwd, localDir: localDirectory = cwd, encoding = 'utf8', reject
lib/arguments/options.js:49
↓ 1 callersFunctionaddDefaultValue
(stdioOption, fdNumber)
lib/stdio/stdio-option.js:62
↓ 1 callersFunctionaddDefaultValue
(optionArray, optionName)
lib/arguments/specific.js:91
↓ 1 callersFunctionaddInputOptionSync
(fileDescriptors, fdNumber, options)
lib/io/input-sync.js:16
↓ 1 callersFunctionaddInputOptionsSync
(fileDescriptors, options)
lib/io/input-sync.js:6
↓ 1 callersFunctionaddIpcMethods
(target, subprocess, {ipc})
lib/ipc/methods.js:8
↓ 1 callersFunctionaddStreamProperties
({stdioItem, addProperties, direction, options, fileDescriptors, isSync})
lib/stdio/handle.js:201
↓ 1 callersFunctionappendNewline
lib/verbose/custom.js:24
↓ 1 callersFunctionapplySingleInputGeneratorsSync
(contents, stdioItems)
lib/io/input-sync.js:33
↓ 1 callersFunctionapplyVerboseFunction
(verboseLine, verboseObject, verboseFunction)
lib/verbose/custom.js:13
↓ 1 callersFunctionapplyVerboseOnLines
(printedLines, verboseInfo, fdNumber)
lib/verbose/custom.js:4
↓ 1 callersFunctionassertCanceledPipeMessageReader
(t, getReader, shouldAbortBeforePipe = false)
test/pipe/methods.js:219
↓ 1 callersFunctionassertCanceledPipeReader
(t, getReader, shouldAbortBeforePipe = false)
test/pipe/methods.js:378
↓ 1 callersFunctionassertDataEvents
(t, stream, subprocess)
test/convert/readable.js:367
↓ 1 callersFunctionassertDurationMs
(t, durationMs)
test/return/duration.js:8
↓ 1 callersFunctionassertIterableChunks
(t, asyncIterable, expectedChunks)
test/helpers/convert.js:43
↓ 1 callersFunctionassertMultipleCalls
(t, iterable, iterableTwo)
test/convert/iterable.js:71
↓ 1 callersFunctionassertNameShape
(t, error)
test/return/final-error.js:144
↓ 1 callersFunctionassertNoLineBreak
lib/arguments/command-file.js:126
↓ 1 callersFunctionassertNodeStream
({t, message, getSource, from, to, methodName})
test/arguments/fd-options.js:58
↓ 1 callersFunctionassertPause
(t, stream, subprocess)
test/convert/readable.js:390
↓ 1 callersFunctionassertStreamChunks
(t, stream, expectedOutput)
test/helpers/convert.js:47
↓ 1 callersFunctionassertStreamDataEvents
(t, stream, expectedOutput = foobarString)
test/helpers/convert.js:39
↓ 1 callersFunctionassertUnPipeError
(t, pipePromise)
test/pipe/abort.js:9
↓ 1 callersFunctionassertUnhandledPipePromise
(t, {destinationOptions = {}, inspectPipePromise} = {})
test/pipe/sequence.js:34
↓ 1 callersFunctionasyncIteration
()
test-d/convert/iterable.test-d.ts:8
↓ 1 callersFunctioncallBoundExeca
({mapArguments, deepOptions = {}, boundOptions = {}, setBoundExeca, createNested}, firstArgument, ...nextArgum
lib/methods/create.js:30
↓ 1 callersFunctioncheckIpcMaxBuffer
(subprocess, ipcOutput, maxBuffer)
lib/io/max-buffer.js:39
↓ 1 callersFunctioncheckUndefinedOption
(value, optionName, typeName)
lib/stdio/type.js:82
↓ 1 callersFunctioncleanupMergedStreamsMap
lib/pipe/streaming.js:36
↓ 1 callersFunctioncleanupOnExit
(kill, {cleanup, detached}, {signal})
lib/terminate/cleanup.js:5
↓ 1 callersFunctioncompareValues
(t, value, encoding)
test/transform/encoding-final.js:34
↓ 1 callersFunctionconcatString
(firstChunk, secondChunk)
lib/transform/split.js:91
↓ 1 callersFunctionconcatTokens
(tokens, nextTokens, isSeparated)
lib/methods/template.js:105
↓ 1 callersFunctioncreateDummyStream
()
lib/return/early-error.js:63
↓ 1 callersFunctioncreateDummyStreams
(subprocess, fileDescriptors)
lib/return/early-error.js:47
↓ 1 callersFunctioncreateMessages
({ stdio, all, ipcOutput, originalError, signal, signalDescription, exitCode, escapedCommand, timedOu
lib/return/message.js:11
↓ 1 callersFunctioncreateReadable
({subprocess, concurrentStreams, encoding}, {from, binary: binaryOption = true, preserveNewlines = true} = {})
lib/convert/readable.js:16
↓ 1 callersFunctiondefaultVerboseFunction
({ type, message, timestamp, piped, commandId, result: {failed = false} = {}, options: {reject = true},
lib/verbose/default.js:10
↓ 1 callersFunctiondestroyOnPipeFailure
(promise, readable)
lib/pipe/setup.js:101
↓ 1 callersFunctionduplex
()
lib/return/early-error.js:71
↓ 1 callersFunctionechoMessages
()
test/fixtures/ipc-iterate-error.js:6
↓ 1 callersFunctionemitKillError
(error, onInternalError)
lib/terminate/kill.js:64
← previousnext →201–300 of 1,333, ranked by callers