Skip to content

Removed unused web-streams-polyfill package - #56803

Merged
jmkulwik merged 1 commit into
stagingfrom
jmkulwik/remove-unused-dependencies-3
Feb 26, 2024
Merged

Removed unused web-streams-polyfill package#56803
jmkulwik merged 1 commit into
stagingfrom
jmkulwik/remove-unused-dependencies-3

Conversation

@jmkulwik

Copy link
Copy Markdown
Contributor

Clearing out some unused packages from our package.json.

From what I can tell, the web-streams-polyfill package was a candidate for polyfilling some lost functionality when we upgraded from Webpack 4 to Webpack 5. However, I think we got that functionality via stream-browserify instead. Maddie left some great notes when she did this work: #48105. @snickell and @bencodeorg, I could definitely use a hand checking my assumptions on this one if you get the chance.

This was found using depcheck

@jmkulwik
jmkulwik requested review from a team, bencodeorg and snickell February 23, 2024 22:56

@bencodeorg bencodeorg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks right to me!

@snickell snickell left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did a double check and agree that we don't seem to be using this pollyfill. This package weighs in at an astonishing 10MB, so pretty glad we /didn't/ use this pollyfill ;-)

@jmkulwik
jmkulwik merged commit 2c700c4 into staging Feb 26, 2024
@jmkulwik
jmkulwik deleted the jmkulwik/remove-unused-dependencies-3 branch February 26, 2024 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants