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

fix AsyncResource.bind() binding this to itself by default #1942

Merged
merged 2 commits into from Mar 28, 2022

Conversation

rochdev
Copy link
Member

@rochdev rochdev commented Mar 28, 2022

What does this PR do?

Fix AsyncResource.bind() binding this to itself by default.

Motivation

This was actually a bug in Node that was fixed in nodejs/node#42177 and released in 17.8.0. Our polyfill has been updated with the new code as well.

@rochdev rochdev added bug Something isn't working core integrations labels Mar 28, 2022
@rochdev rochdev added this to the 2.4.1 milestone Mar 28, 2022
@rochdev rochdev requested a review from a team as a code owner March 28, 2022 21:09
@rochdev rochdev merged commit 8392ff9 into master Mar 28, 2022
@rochdev rochdev deleted the async-resource-bind-this branch March 28, 2022 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working core integrations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants