Skip to content

v0.3.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@paulshryock paulshryock released this 30 Dec 01:01
· 31 commits to main since this release
v0.3.1
a6997db

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.1
  • bb3bb56 - Decrease specificity of CommandLine stream types
  • 54d6514 - Import less of node:readline module
  • 59f07ab - Update License copyright years
  • 16e611b - Update dependency npm-check-updates to v17.1.13
  • 2cb37e2 - Remove outdated File System class diagram
  • a362e52 - Update JSDoc documentation and configuration

Contributors