Skip to content

Upgrading execa 6 to 7

Unknown6.1.0 → 7.2.0

Fetching 4 releases from GitHub…0 / 4
UnknownUpgrade verdict

DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.

  • DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
  • This page updates as the notes come in.
Still reading release notes

DepDelta is still reading the release notes in this range. This updates as they come in.

Node.js requirement changed in 7.0.0: ^12.20.0 || ^14.13.1 || >=16.0.0 → ^14.18.0 || ^16.14.0 || >=18.0.0.

Generated by DepDelta from published .d.ts files. Not mixed with prose notes.

  • removed: interface CommonOptions<EncodingType>
  • removed: interface ExecaChildPromise<StdoutErrorType>
  • removed: interface ExecaError<StdoutErrorType = string> extends ExecaSyncError<StdoutErrorType>
  • removed: interface ExecaReturnBase<StdoutStderrType>
  • removed: interface ExecaReturnValue<StdoutErrorType = string> extends ExecaSyncReturnValue<StdoutErrorType>
  • removed: interface ExecaSyncError<StdoutErrorType = string> extends Error, ExecaReturnBase<StdoutErrorType>
  • removed: interface ExecaSyncReturnValue<StdoutErrorType = string> extends ExecaReturnBase<StdoutErrorType>
  • removed: interface KillOptions
  • removed: interface NodeOptions<EncodingType = string> extends Options<EncodingType>
  • removed: interface Options<EncodingType = string> extends CommonOptions<EncodingType>
  • removed: interface SyncOptions<EncodingType = string> extends CommonOptions<EncodingType>
  • removed: method ExecaChildPromise.cancel(): void
  • removed: method ExecaChildPromise.catch<ResultType = never>(onRejected?: (reason: ExecaError<StdoutErrorType>) => ResultType | PromiseLike<ResultType>): Promise<ExecaReturnValue<StdoutErrorType> | ResultType>
  • removed: method ExecaChildPromise.kill(signal?: string, options?: KillOptions): void
  • removed: property ExecaChildPromise.all?: ReadableStream
  • removed: property ExecaError.all?: StdoutErrorType
  • removed: property ExecaError.isCanceled: boolean
  • removed: property ExecaReturnBase.command: string
  • removed: property ExecaReturnBase.escapedCommand: string
  • removed: property ExecaReturnBase.exitCode: number
  • removed: property ExecaReturnBase.failed: boolean
  • removed: property ExecaReturnBase.killed: boolean
  • removed: property ExecaReturnBase.signal?: string
  • removed: property ExecaReturnBase.signalDescription?: string
  • removed: property ExecaReturnBase.stderr: StdoutStderrType
  • removed: property ExecaReturnBase.stdout: StdoutStderrType
  • removed: property ExecaReturnBase.timedOut: boolean
  • removed: property ExecaReturnValue.all?: StdoutErrorType
  • removed: property ExecaReturnValue.isCanceled: boolean
  • removed: property ExecaSyncError.message: string
  • removed: property ExecaSyncError.originalMessage?: string
  • removed: property ExecaSyncError.shortMessage: string
  • removed: property KillOptions.forceKillAfterTimeout?: number | false
  • removed: readonly property CommonOptions.all?: boolean
  • removed: readonly property CommonOptions.argv0?: string
  • removed: readonly property CommonOptions.buffer?: boolean
  • removed: readonly property CommonOptions.cleanup?: boolean
  • removed: readonly property CommonOptions.cwd?: string | URL
  • removed: readonly property CommonOptions.detached?: boolean
  • removed: readonly property CommonOptions.encoding?: EncodingType
  • removed: readonly property CommonOptions.env?: NodeJS.ProcessEnv
  • removed: readonly property CommonOptions.execPath?: string
  • removed: readonly property CommonOptions.extendEnv?: boolean
  • removed: readonly property CommonOptions.gid?: number
  • removed: readonly property CommonOptions.killSignal?: string | number
  • removed: readonly property CommonOptions.localDir?: string | URL
  • removed: readonly property CommonOptions.maxBuffer?: number
  • removed: readonly property CommonOptions.preferLocal?: boolean
  • removed: readonly property CommonOptions.reject?: boolean
  • removed: readonly property CommonOptions.serialization?: 'json' | 'advanced'
  • removed: readonly property CommonOptions.shell?: boolean | string
  • removed: readonly property CommonOptions.signal?: AbortSignal
  • removed: readonly property CommonOptions.stderr?: StdioOption
  • removed: readonly property CommonOptions.stdin?: StdioOption
  • removed: readonly property CommonOptions.stdio?: 'pipe' | 'ignore' | 'inherit' | readonly StdioOption[]
  • removed: readonly property CommonOptions.stdout?: StdioOption
  • removed: readonly property CommonOptions.stripFinalNewline?: boolean
  • removed: readonly property CommonOptions.timeout?: number
  • removed: readonly property CommonOptions.uid?: number
  • removed: readonly property CommonOptions.windowsHide?: boolean
  • removed: readonly property CommonOptions.windowsVerbatimArguments?: boolean
  • removed: readonly property NodeOptions.nodeOptions?: string[]
  • removed: readonly property NodeOptions.nodePath?: string
  • removed: readonly property Options.input?: string | Buffer | ReadableStream
  • removed: readonly property SyncOptions.input?: string | Buffer
  • changed: function execaNode(scriptPath: string, arguments?: readonly string[], options?: Options<null>): ExecaChildProcess<Buffer> → function execaNode(scriptPath: string, arguments?: readonly string[], options?: NodeOptions<null>): ExecaChildProcess<Buffer>
  • changed: function execaNode(scriptPath: string, options?: Options): ExecaChildProcess → function execaNode(scriptPath: string, options?: NodeOptions): ExecaChildProcess
  • changed: function execaNode(scriptPath: string, options?: Options<null>): ExecaChildProcess<Buffer> → function execaNode(scriptPath: string, options?: NodeOptions<null>): ExecaChildProcess<Buffer>
  • changed: type ExecaChildProcess<StdoutErrorType = string> = ChildProcess & ExecaChildPromise<StdoutErrorType> & Promise<ExecaReturnValue<StdoutErrorType>> → type ExecaChildProcess<StdoutStderrType extends StdoutStderrAll = string> = ChildProcess & ExecaChildPromise<StdoutStderrType> & Promise<ExecaReturnValue<StdoutStderrType>>
  • changed: type StdioOption = 'pipe' | 'ipc' | 'ignore' | 'inherit' | Stream | number | undefined → type StdioOption = 'pipe' | 'overlapped' | 'ipc' | 'ignore' | 'inherit' | Stream | number | undefined
  • added: const $: Execa$
  • added: type CommonOptions<EncodingType> = { readonly cleanup?: boolean; readonly preferLocal?: boolean; readonly localDir?: string | URL; readonly execPath?: string; readonly buffer?: boolean; readonly…
  • added: type ExecaChildPromise<StdoutStderrType extends StdoutStderrAll> = { all?: ReadableStream; catch<ResultType = never>(onRejected?: (reason: ExecaError<StdoutStderrType>) => ResultType | PromiseLike<ResultType>): Promise<ExecaRe…
  • added: type ExecaError<StdoutStderrType extends StdoutStderrAll = string> = { all?: StdoutStderrType; isCanceled: boolean } & ExecaSyncError<StdoutStderrType>
  • added: type ExecaReturnBase<StdoutStderrType extends StdoutStderrAll> = { command: string; escapedCommand: string; exitCode: number; stdout: StdoutStderrType; stderr: StdoutStderrType; failed: boolean; timedOut: boolean; killed: bo…
  • added: type ExecaReturnValue<StdoutStderrType extends StdoutStderrAll = string> = { all?: StdoutStderrType; isCanceled: boolean } & ExecaSyncReturnValue<StdoutStderrType>
  • added: type ExecaSyncError<StdoutStderrType extends StdoutStderrAll = string> = { message: string; shortMessage: string; originalMessage?: string } & Error & ExecaReturnBase<StdoutStderrType>
  • added: type ExecaSyncReturnValue<StdoutStderrType extends StdoutStderrAll = string> = {} & ExecaReturnBase<StdoutStderrType>
  • added: type KillOptions = { forceKillAfterTimeout?: number | false }
  • added: type NodeOptions<EncodingType = string> = { readonly nodePath?: string; readonly nodeOptions?: string[] } & Options<EncodingType>
  • added: type Options<EncodingType = string> = { readonly input?: string | Buffer | ReadableStream; readonly inputFile?: string } & CommonOptions<EncodingType>
  • added: type SyncOptions<EncodingType = string> = { readonly input?: string | Buffer; readonly inputFile?: string } & CommonOptions<EncodingType>