Closed ThaUnknown closed 2 years ago
🙌 Thanks for opening this pull request! You're awesome.
🎉 Congrats on getting your first pull request landed!
:tada: This PR is included in version 5.0.4 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
drops filereader dep and readable-stream dep
What is the purpose of this pull request? (put an "X" next to item)
[ ] Documentation update [ ] Bug fix [ ] New feature [X] Other, please explain:
What changes did you make? (Give an overview) Replaced
filestream
withfast-blob-stream
which is not only MILES faster, doesn't rely on buffer or readable-stream. It does however use marginally more RAM as it caches 1 piece ahead [if possible]. They are functionally the same. Which issue (if any) does this pull request address? https://github.com/webtorrent/webtorrent/issues/1971Is there anything you'd like reviewers to focus on? Does this cause any issues on node? I don't think node has
file
, however it's reliance onblob
which later versions of node have might be an issue as it uses w3cReadableStream
to create a node-likeReadable
which is implemented poorly in later node versions, so it might be misused, is this a potential issue?