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

Bind this name to the webcrypto #216

Merged
merged 1 commit into from Mar 30, 2022
Merged

Bind this name to the webcrypto #216

merged 1 commit into from Mar 30, 2022

Conversation

szkl
Copy link
Contributor

@szkl szkl commented Mar 11, 2022

The changes in nodejs/node#4178 (released in node v17.7.0) makes the type check on this in the internal crypto module fail.

The changes in nodejs/node#4178 (which
released in node v17.7.0) makes the [type
check](https://github.com/nodejs/node/blob/master/lib/internal/crypto/webcrypto.js#L701-L703)
on `this` in the internal `crypto` module fail.
@dangilkerson
Copy link

I ran into this issue as well. This PR resolved it for me.

@cojo
Copy link

cojo commented Mar 24, 2022

Same issue here with this fix working as well!

Copy link
Contributor

@mrbbot mrbbot left a comment

Choose a reason for hiding this comment

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

Hey! 👋 Thanks for the PR! Looks great! ✅

@mrbbot mrbbot merged commit 85a8f39 into cloudflare:master Mar 30, 2022
@szkl szkl deleted the bind-this branch March 30, 2022 14:51
@mrbbot mrbbot added this to the 2.4.0 milestone Apr 2, 2022
@mrbbot
Copy link
Contributor

mrbbot commented Apr 2, 2022

Hey! 👋 I've just released version 2.4.0 including this fix. You can find the full changelog here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants