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

Consolidate duplicate copies of readable-stream #14889

Open
hilvmason opened this issue Jun 7, 2022 · 6 comments
Open

Consolidate duplicate copies of readable-stream #14889

hilvmason opened this issue Jun 7, 2022 · 6 comments

Comments

@hilvmason
Copy link
Contributor

No description provided.

@hilvmason hilvmason added the MV3 label Jun 7, 2022
@hilvmason
Copy link
Contributor Author

@FrederikBolding could you please add a description to this issue for the team to look into further?

@FrederikBolding
Copy link
Member

@hilvmason I did not create this issue 😅 But I assume the problem is that we have multiple versions of the dependency readable-stream because of other dependencies being version-locked. To reduce bundle size for MV3 it may be useful to consolidate - But that's a guess 😉

@hilvmason
Copy link
Contributor Author

oh wow! @FrederikBolding so sorry! haha ... very strange, @jpuri and I were going through everything and definitely saw your name ! We were using ZenHub extension.. wonder if something weird is happening with the connection. Many apologies!

@FrederikBolding
Copy link
Member

@hilvmason We also use ZenHub on the snaps team, but have many repositories tracked, so I sometimes move issues that are unrelated to our work to a hidden column on our board.

@legobeat
Copy link
Contributor

legobeat commented Sep 9, 2023

@hilvmason Extension still has dependencies in some form of all major versions of readable-stream, including a duplicate of v2:

[email protected]   #devDep(via mockhttp)
[email protected]    #dep(via @metamask/post-message-stream)
[email protected]    #dep/devDep(multiple)
[email protected]    #dep/devDep(multiple)
[email protected]    #devDep(via addons-linter)

The direct usage of MetaMask extension is of version 2.3.7.

While we could probably go straight to v4, I'm thinking a good measure would be to consolidate on v3.

Note that browserify depends on readable-stream@^2.0.2 in both currently used v16 and final v17 - I am not sure if this is a complicating factor?

Related:

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

4 participants