All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
3.1.3 (2023-01-08)
3.1.2 (2021-12-15)
- export newly added operator (df84495)
3.1.1 (2021-12-15)
3.1.0 (2021-12-15)
3.0.8 (2021-12-13)
3.0.7 (2021-05-29)
3.0.5 (2020-10-06)
3.0.4 (2020-08-15)
3.0.3 (2020-07-14)
- bump standard-version from 8.0.0 to 8.0.1 (50cc9c4)
3.0.2 (2020-07-07)
- export interfaces and guards (
SpawnChunk
,isSpawnChunk
,ExecOutput
,isExecOutput
) (c058179)
3.0.1 (2020-07-06)
- using
SpawnOptions
instead ofSpawnOptionsWithoutStdio
(70530fd)
3.0.0 (2020-07-06)
-
chore: using yarn, eslint, commitlint, standard-version
-
feat: adding
toAnnotatedString
method toShellError
You can print annotated error message for debugging purpose. Guessing error is hard before.
ShellError
class propertycode
removed. you can useoriginError
2.1.2 (2020-07-06)
- exporting
listenTerminating
(a74cab8)
listenTerminating
callback parameter type (c78fc86)listenTerminating
listenSIGINT
,SIGBREAK
only (8f7d9b2)
- change
listenTerminating
callback parameter type
- change
listenTerminating
listenSIGINT
,SIGBREAK
only.
- export
listenTerminating
to terminating whole process
- add
throwIf
,throwIfStdout
,throwIfStderr
operators to throw error manually (#11)
trim
keepExecOutput
properties type. if type of stdout isBuffer
output type isBuffer
. ifstring
output isstring
- all methods cancel process when following signals and events generated.
SIGINT
,SIGUSR1
,SIGUSR2
,SIGTERM
,exit
,uncaughtException
(#9) - change
fork
,spawn
seconds parameter of methods for convenience. now acceptany[]
. casting internally - fix security vulnerabilities
- fix security vulnerabilities
- add error handling example
- fix security vulnerabilities
- no changes. just update version
- enhance
ShellError
data spawnEnd
now emitExecOutput
ofspawn
results
spawn
emitSpawnChunk
type. noBuffer
exec
,execFile
emitExecOutput
type. nostring
fork
emit child process's message. nostring | Buffer
- deleted
fork
method'srecv
option. messages from child process will emit subscription
- not use
- create
ShellError
class for throw shell errors operators/print
operator deprecated. (use{stdio: 'inherit'}
instead)
- change function name
operators/printBuf
tooperators/print
- change package name to
rxjs-shell
- add
util/spawnEnd
: to know whenspawn
stream completed - add
operators/trim
: trim output buffer or string contents - add
operators/printBuf
: syntax sugar oftap(buf => process.stdout.write(buf))