Skip to content

Replace the text-encoding package #6898

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

Open
adroitwhiz opened this issue Mar 9, 2021 · 0 comments
Open

Replace the text-encoding package #6898

adroitwhiz opened this issue Mar 9, 2021 · 0 comments

Comments

@adroitwhiz
Copy link
Contributor

Expected Behavior

Dependencies should be actively maintained and preferably not add 500KB to the bundle size

Actual Behavior

The text-encoding package, used by scratch-gui, scratch-sb1-converter, and scratch-vm, is deprecated and unmaintained, and adds 500KB worth of encoding indices for text formats which Scratch does not use.

In scratchfoundation/scratch-storage#114, I replaced it with fastestsmallesttextencoderdecoder, but that change has not yet been made in other repositories.

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

No branches or pull requests

3 participants