Comparing version 8.2.3 to 8.2.4
@@ -52,6 +52,2 @@ import { type StdioOptions, type IOType, spawn, spawnSync } from 'node:child_process'; | ||
type Resolve = (out: ProcessOutput) => void; | ||
export interface ProcessPromise extends Promise<ProcessOutput> { | ||
then<R = ProcessOutput, E = ProcessOutput>(onfulfilled?: ((value: ProcessOutput) => PromiseLike<R> | R) | undefined | null, onrejected?: ((reason: ProcessOutput) => PromiseLike<E> | E) | undefined | null): Promise<R | E>; | ||
catch<T = ProcessOutput>(onrejected?: ((reason: ProcessOutput) => PromiseLike<T> | T) | undefined | null): Promise<ProcessOutput | T>; | ||
} | ||
export declare class ProcessPromise extends Promise<ProcessOutput> { | ||
@@ -113,2 +109,4 @@ private _command; | ||
isNothrow(): boolean; | ||
then<R = ProcessOutput, E = ProcessOutput>(onfulfilled?: ((value: ProcessOutput) => PromiseLike<R> | R) | undefined | null, onrejected?: ((reason: ProcessOutput) => PromiseLike<E> | E) | undefined | null): Promise<R | E>; | ||
catch<T = ProcessOutput>(onrejected?: ((reason: ProcessOutput) => PromiseLike<T> | T) | undefined | null): Promise<ProcessOutput | T>; | ||
private writable; | ||
@@ -115,0 +113,0 @@ private emit; |
{ | ||
"name": "zx", | ||
"version": "8.2.3", | ||
"version": "8.2.4", | ||
"description": "A tool for writing better scripts", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
853296
24145