Skip to content

chore: replace get-stdin with native stream/consumers #844

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
Mar 20, 2025

Conversation

outslept
Copy link
Contributor

This follows the recommendation from Sindre Sorhus (author of get-stdin) to use the built-in streamConsumers.text() in modern Node.js versions. Reduces external dependencies while maintaining identical functionality.

This follows the recommendation from Sindre Sorhus (author of get-stdin / src: https://github.com/sindresorhus/get-stdin/tree/main?tab=readme-ov-file#tip)
to use the built-in streamConsumers.text() in modern Node.js versions.
Reduces external dependencies while maintaining identical functionality.
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@nene nene merged commit af84292 into sql-formatter-org:master Mar 20, 2025
2 checks passed
@nene
Copy link
Collaborator

nene commented Mar 20, 2025

Thanks. This is now released in 15.5.0.

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.

2 participants