v5.0.0-beta.26
Pre-release🚀 Features
-
@maz-ui/node: ExecPromise - add timeout option (db545d0a2)
Commands can now be automatically killed after a specified duration using the
timeoutoption (in milliseconds). When exceeded, the process is terminated and the promise rejects with a timeout error. No timeout is applied by default. -
@maz-ui/node: ExecPromise - support env, maxBuffer, killSignal, shell and signal options (5867a6876)
New options are now available for command execution:
env: extra environment variables merged withprocess.envmaxBuffer: maximum bytes on stdout/stderr before termination (default 1 MiB)killSignal: signal used to terminate commands (default SIGTERM)shell: shell to execute commands withsignal: anAbortSignalfor cancellation
The options type is exported as
ExecPromiseOptions.
🩹 Fixes
-
@maz-ui/node: ExecPromise - redact secrets in command logs and errors (903cbc080)
Sensitive information such as authentication tokens, passwords, provider tokens, and JWTs are now automatically masked in command logs and error messages. Long tokens remain partially visible with their first and last 4 characters shown for credential verification.
❤️ Contributors
- LouisMazel (@LouisMazel)