Skip to content

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

Merged
rochdev merged 2 commits intomasterfrom
async-resource-bind-this
Mar 28, 2022
Merged

fix AsyncResource.bind() binding this to itself by default#1942
rochdev merged 2 commits intomasterfrom
async-resource-bind-this

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.

2 participants