-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
WebTorrent: dependency hygiene #5490
Comments
Here's a todo list: Direct deps to update
Indirect deps to update
Outdated packages to attempt to remove from treeThese packages are not necessary in modern JS environments anymore.
Other changes
Some of these don't actually run in Brave's WebTorrent extension (since they only run when WebTorrent runs in a Node.js environment). Still, we're installing extra dependencies that we don't need, so it's still worthwhile to eliminate these. |
Not finished yet, and already some good results: Before:
After:
|
@feross labelling this as |
Replace `MultiStream()` with `new MultiStream()` now. Readme examples have always shown this usage, but now it is required. For: brave/brave-browser#5490
Use the new fs.mkdir {recursive: true} option instead of the mkdirp dependency. It might be too early to merge this, since Node 8 is still supported until the end of the 2019. But just sending this PR so we can merge it at some point in the future. For: brave/brave-browser#5490
Use the new fs.mkdir {recursive: true} option instead of the mkdirp dependency. It might be too early to merge this, since Node 8 is still supported until the end of the 2019. But just sending this PR so we can merge it at some point in the future. For: brave/brave-browser#5490
Making progress. Almost done with this effort. Before:
After:
|
Could you also update |
@guanzo Done. Released |
Hi, need help finishing this? |
How about switching out simple-get for fetch? simple-get is not so simple as it may seem behind the source.
Mather of fact: it embeds builtin-status-codes, inherits, readable-stream, xtend buffer, ieee754 replace that with |
I want to go through the whole
webtorrent
dependency tree to:This issue is a placeholder to track this task.
The text was updated successfully, but these errors were encountered: