Skip to content
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

chore: remove deprecated api process.binding #653

Merged
merged 2 commits into from
Mar 18, 2024
Merged

chore: remove deprecated api process.binding #653

merged 2 commits into from
Mar 18, 2024

Conversation

kkocdko
Copy link
Contributor

@kkocdko kkocdko commented Dec 25, 2023

This code from pty.js (chjj) was originally designed to work with ancient versions of node.js 0.12 and io.js, but the api is DEPRECATED for many years, the /* require("node:tty") */ tty.ReadStream consturctor received a pipe fd is just worked (both r/w).

Related to #632 .

See nodejs/node#37780 also.

@kkocdko kkocdko marked this pull request as ready for review December 25, 2023 04:25
@kkocdko kkocdko marked this pull request as draft December 25, 2023 04:50
@kkocdko kkocdko marked this pull request as ready for review December 25, 2023 05:39
@kkocdko kkocdko changed the title Remove deprecated API process.binding chore: Remove deprecated API process.binding Mar 15, 2024
@kkocdko kkocdko changed the title chore: Remove deprecated API process.binding chore: remove deprecated api process.binding Mar 15, 2024
Copy link
Member

@Tyriar Tyriar left a comment

Choose a reason for hiding this comment

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

This is great news if it works, I was always worried about the PipeSocket monkey patching breaking at some point.

@Tyriar Tyriar requested a review from deepak1556 March 15, 2024 14:34
@Tyriar Tyriar added this to the March 2024 milestone Mar 15, 2024
@deepak1556
Copy link
Contributor

Can you rebase on latest main

Originally designed to work with ancient node.js 0.12 and io.js
@deepak1556 deepak1556 enabled auto-merge (squash) March 18, 2024 12:33
@deepak1556 deepak1556 merged commit 3913479 into microsoft:main Mar 18, 2024
8 of 10 checks passed
@kkocdko kkocdko deleted the rm_deprecated branch April 20, 2024 20:51
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

4 participants