Skip to content

Upgrade merge-streams #717

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 23, 2024
Merged

Upgrade merge-streams #717

merged 1 commit into from
Jan 23, 2024

Conversation

ehmicky
Copy link
Collaborator

@ehmicky ehmicky commented Jan 23, 2024

This upgrades the merge-streams dependency.

: undefined;

const getAllPromise = ({spawned, encoding, buffer, maxBuffer}) => {
const stream = getAllStream(spawned, encoding);
const objectMode = spawned.stdout?.readableObjectMode || spawned.stderr?.readableObjectMode;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

spawned.all.readableObjectMode (that is, stream.readableObjectMode) is now the same as spawned.stdout?.readableObjectMode || spawned.stderr?.readableObjectMode with the new version of merge-streams.

@sindresorhus sindresorhus merged commit 8ef8e90 into main Jan 23, 2024
@sindresorhus sindresorhus deleted the merge-streams branch January 23, 2024 15:59
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.

None yet

2 participants