Skip to content

[v24.x] lib: do not modify prototype deprecated asyncResource (encore) #59518

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

Open
wants to merge 1 commit into
base: v24.x-staging
Choose a base branch
from

Conversation

slagiewka
Copy link

Previous attempt has missed one argument (useEmitSync), therefore it effectively did not work as intended.

This change sets useEmitSync to false which is equivalent to previous behaviour of undefined and sets modifyPrototype to false as expected.

Refs: #58218
Refs: #59195

Previous attempt has missed one argument (`useEmitSync`), therefore it
effectively did not work as intended.

This change sets `useEmitSync` to `false` which is equivalent to
previous behaviour of `undefined` and sets `modifyPrototype` to `false`
as expected.

Refs: nodejs#58218
Refs: nodejs#59195
@nodejs-github-bot nodejs-github-bot added async_hooks Issues and PRs related to the async hooks subsystem. needs-ci PRs that need a full CI run. v24.x Issues that can be reproduced on v24.x or PRs targeting the v24.x-staging branch. labels Aug 18, 2025
@slagiewka slagiewka changed the title lib: do not modify prototype deprecated asyncResource (encore) [v24.x] lib: do not modify prototype deprecated asyncResource (encore) Aug 18, 2025
@RafaelGSS RafaelGSS added the request-ci Add this label to start a Jenkins CI on a PR. label Aug 18, 2025
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Aug 18, 2025
@nodejs-github-bot
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
async_hooks Issues and PRs related to the async hooks subsystem. needs-ci PRs that need a full CI run. v24.x Issues that can be reproduced on v24.x or PRs targeting the v24.x-staging branch.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants