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

feat(loader): use TextDecoder for large strings #1471

Merged
merged 7 commits into from
Sep 27, 2020
Merged

feat(loader): use TextDecoder for large strings #1471

merged 7 commits into from
Sep 27, 2020

Conversation

MaxGraey
Copy link
Member

@MaxGraey MaxGraey commented Sep 25, 2020

Fix #1470

Since node.js 8.x (LTS) have util.TextDecoder
Since node.js 11 (LTS) have global.TextDecoder

  • I've read the contributing guidelines

lib/loader/index.js Outdated Show resolved Hide resolved
@MaxGraey
Copy link
Member Author

I think if someone needs to work in older than node 11 they could provide own polyfill for TextDecoder

@dcodeIO dcodeIO merged commit 125865a into AssemblyScript:master Sep 27, 2020
@MaxGraey MaxGraey deleted the improve-loader branch September 27, 2020 09:09
@github-actions
Copy link

🎉 This PR is included in version 0.14.12 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

Text Decoding
2 participants