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

Don't use text-encoding package (certainly not in browsers) #34

Closed
sachaw opened this issue Feb 6, 2022 · 3 comments · Fixed by #35
Closed

Don't use text-encoding package (certainly not in browsers) #34

sachaw opened this issue Feb 6, 2022 · 3 comments · Fixed by #35

Comments

@sachaw
Copy link
Contributor

sachaw commented Feb 6, 2022

I love this package, however I am using this in a very space constrained application, and the inclusion of the text-encoding package adds 615kb to my uncompressed bundle size (single largest dep by far). It's also deprecated.

I'd be happy to help get this working.

@oori
Copy link
Collaborator

oori commented Feb 6, 2022

@splix Why was TextEncoder added?
e386fb3

@splix
Copy link
Member

splix commented Feb 6, 2022

hm, I think it was part of something different, but ended up committing it. I don't think it's used.

@sachaw can you try to remove the dependency and see if that works for you? If yes, I'd appreciate a pull request.

@splix
Copy link
Member

splix commented Feb 8, 2022

@sachaw published to NPM as v0.5.2

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 a pull request may close this issue.

3 participants