Skip to content

Require streamx 2.28.1 for TypeScript declarations - #184

Open
jeffwidman wants to merge 1 commit into
mafintosh:masterfrom
jeffwidman:fix-streamx-types-dependency
Open

jeffwidman wants to merge 1 commit into
mafintosh:masterfrom
jeffwidman:fix-streamx-types-dependency

Conversation

@jeffwidman

Copy link
Copy Markdown

Summary

  • require streamx 2.28.1 or newer
  • prevent package managers from retaining older streamx releases that cannot satisfy tar-stream's TypeScript declarations

tar-stream 3.2.1 imports its public stream types from streamx, but the existing ^2.15.0 range permits releases without declarations. Streamx 2.28.0 introduced declarations, and 2.28.1 added the Node core stream compatibility needed by tar-stream consumers.

This currently causes TypeScript compilation failures in downstream upgrades such as github/dependabot-action#1765 unless consumers manually refresh the transitive streamx lock entry.

Closes #183.

Testing

  • npm test (33/33 passing)
  • npm pack --dry-run

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jeffwidman

Copy link
Copy Markdown
Author

@mafintosh 👋 this is a trivial one-line PR that fixes confusing CI failures for downstream consumer... 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unresolved types: streamx

1 participant