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

lib: disallow destructuring internalBinding output #53947

Closed

Conversation

anonrig
Copy link
Member

@anonrig anonrig commented Jul 19, 2024

I'd be happy if someone could takeover this pull request.

@nodejs-github-bot nodejs-github-bot added lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. labels Jul 19, 2024
@RedYetiDev
Copy link
Member

For reference, this caused the fs crashing issue in #53902.

@anonrig anonrig marked this pull request as draft July 19, 2024 14:55
@anonrig
Copy link
Member Author

anonrig commented Jul 21, 2024

@RedYetiDev would you be interested in taking over this PR?

@RedYetiDev
Copy link
Member

I'd love to, but I don't have the time. If it still needs to be taken over in 2 weeks, I'll be able to.

Thanks for the offer ❤️

@RedYetiDev RedYetiDev added the help wanted Issues that need assistance from volunteers or PRs that need help to proceed. label Jul 21, 2024
@Ceres6
Copy link
Contributor

Ceres6 commented Jul 23, 2024

Hello!

I'd be happy to help. I'm guessing this is missing changing all the desctructuring of internal bindings and making tests pass, am I right?

@anonrig
Copy link
Member Author

anonrig commented Jul 23, 2024

Hello!

I'd be happy to help. I'm guessing this is missing changing all the desctructuring of internal bindings and making tests pass, am I right?

True.

@Ceres6
Copy link
Contributor

Ceres6 commented Jul 23, 2024

I'm a bit rusty on the workflow to continue with your PR. I'd say checkout your branch -> push to my own fork -> PR to your branch, or is there a better way?

@anonrig
Copy link
Member Author

anonrig commented Jul 23, 2024

I'm a bit rusty on the workflow to continue with your PR. I'd say checkout your branch -> push to my own fork -> PR to your branch, or is there a better way?

Just take the changes in this PR and push it to your branch. No need to push to my fork.

@Ceres6
Copy link
Contributor

Ceres6 commented Jul 23, 2024

Should I create a new PR then?

Also not sure if I need to create an interface for each internalBinding that was destructured like the one in typings/internalBinding/heap_utils.d.ts

@anonrig
Copy link
Member Author

anonrig commented Jul 23, 2024

Should I create a new PR then?

Also not sure if I need to create an interface for each internalBinding that was destructured like the one in typings/internalBinding/heap_utils.d.ts

That's a nice to have. You can open a new PR.

@Ceres6
Copy link
Contributor

Ceres6 commented Jul 24, 2024

Follow up PR opened

@anonrig
Copy link
Member Author

anonrig commented Jul 25, 2024

Closing on favor of #54023

@anonrig anonrig closed this Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Issues that need assistance from volunteers or PRs that need help to proceed. lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants