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

Rename FileReader to UploadFileReader and convert to typescript #759

Merged
merged 2 commits into from
Apr 1, 2022

Conversation

gilest
Copy link
Collaborator

@gilest gilest commented Apr 1, 2022

Similar to what we found with the File class. FileReader is an existing browser API and having this utility named the same is misleading.

Since v5 this utility is no longer documented public API. I also don't see a reason for addon consumers to use it as there are new async Blob APIs shipping with browsers.

It's used internally and in the mirage handler. In future we could entirely remove this.

Convert to native class with typescript
Also improve test module naming
@gilest gilest added the internal label Apr 1, 2022
@gilest gilest merged commit b3f87f6 into master Apr 1, 2022
@gilest gilest deleted the refactor/upload-file-reader branch April 1, 2022 01:34
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.

None yet

1 participant