8000 util: fix crashing when emitting new Buffer() deprecation warning by Uzlopak · Pull Request #53089 · nodejs/node · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@Uzlopak
Copy link
Contributor
@Uzlopak Uzlopak commented F440 May 21, 2024

Closes #53075

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. util Issues and PRs related to the built-in util module. labels May 21, 2024
@Uzlopak Uzlopak changed the title util: fix WASM crashes on Node v22.2.0 if it reaches the new Buffer() deprecation warning util: fix crashing when emitting new Buffer() deprecation warning May 21, 2024
Copy link
Member
@anonrig anonrig left a comment

Choose a reason for hiding this comment

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

Can you add a test?

@Uzlopak
Copy link
Contributor Author
Uzlopak commented Jun 27, 2024

@anonrig

I tried to implement a test few weeks ago, and now again invested an hour.
I cant catch the thrown error.

Just merge it please.

Copy link
@naugtur naugtur left a comment

Choose a reason for hiding this comment

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

I suggest leaving a line of comment explaining it's meant to recognize that we're dealing with a Node.js core module.