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

Missing API atob/btoa #499

Closed
airtoxin opened this issue Jun 9, 2022 · 3 comments
Closed

Missing API atob/btoa #499

airtoxin opened this issue Jun 9, 2022 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@airtoxin
Copy link

airtoxin commented Jun 9, 2022

Hello, I was using happy-dom in my project and I got the following error.

ReferenceError: btoa is not defined

It seems that neither atob/btoa is implemented.

@Mas0nShi
Copy link
Contributor

Mas0nShi commented Jun 9, 2022

Hello @airtoxin 😀, thank you for your feedback. I will PR before long!

@capricorn86
Copy link
Owner

Great to hear @Mas0nShi! 😄

@capricorn86 capricorn86 added the enhancement New feature or request label Jun 9, 2022
Mas0nShi added a commit to Mas0nShi/happy-dom that referenced this issue Jun 9, 2022
capricorn86 added a commit that referenced this issue Jun 14, 2022
…b-and-btoa

#499@minor: Adds support for btoa and atob.
@capricorn86
Copy link
Owner

Thanks to @Mas0nShi we now have support for Window.atob() and Window.btoa() 🙂

You can read more about the release here:
https://github.com/capricorn86/happy-dom/releases/tag/v5.3.0

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

No branches or pull requests

3 participants