Releases: ehmicky/human-signals
Releases · ehmicky/human-signals
v8.0.0
Breaking changes (types)
- The
SignalNumber
andSignal['number']
types in TypeScript are now stricter. They only allow valid signal numbers like 1 or 9. They do not allow invalid signal numbers like -1, 1.5 or 999. Please note that 0 is not considered a valid signal number, although it can be passed toprocess.kill()
.
Types
- The
signalsByName[signalName]
andsignalsByNumber[signalNumber]
types in TypeScript are nowSignal
instead ofSignal | undefined
. This means you can now dosignalsByName[signalName].description
instead ofsignalsByName[signalName]!.description
.
v7.0.0
v6.0.0
v5.0.0
v4.3.1
Release 4.3.0
Features
- Improve tree-shaking support
Release 4.2.0
Features
- Reduce npm package size
Release 4.1.0
Features
- Improve TypeScript types
Release 4.0.0
Breaking changes
- Minimal supported Node.js version is now
14.18.0
Release 3.0.1
Bug fixes
- Fix
main
field inpackage.json