v0.3.1
Pre-release
Pre-release
https://www.npmjs.com/package/@paulshryock/abstractions/v/0.3.1
Summary
The streams
object passed to new CommandLine(streams)
used to require all three streams (stderr
, stdin
, and stdout
) be Duplex
streams. Now the types are less specific, so stdin
is Readable
and stderr
and stdout
are Writable
. They all will still accept a Duplex
, since that type implements both Readable
and Writable
.
CommandLine
used to import the entire node:readline
module, but it only uses createInterface
from that module. Now only createInterface
is imported.
There are no known breaking changes.
Changelog
Changed
- Decrease specificity of CommandLine stream types.
Removed
- Import less of node:readline module.
Commits
10f7507
- 0.3.1bb3bb56
- Decrease specificity of CommandLine stream types54d6514
- Import less of node:readline module59f07ab
- Update License copyright years16e611b
- Update dependency npm-check-updates to v17.1.132cb37e2
- Remove outdated File System class diagrama362e52
- Update JSDoc documentation and configuration
Contributors
- Paul Shryock (@paulshryock)