Skip to content

Use undici's FormData for polyfilling#6413

Merged
Princesseuh merged 2 commits intomainfrom
fix/undici-formdata
Mar 3, 2023
Merged

Use undici's FormData for polyfilling#6413
Princesseuh merged 2 commits intomainfrom
fix/undici-formdata

Conversation

@Princesseuh
Copy link
Copy Markdown
Member

Changes

Previously we used a random polyfill package for FormData, but undici actually provide this so we can use theirs instead.

Testing

Tests should pass!

Docs

Added some comments telling us which polyfills to remove in future node versions

@Princesseuh Princesseuh requested a review from a team as a code owner March 3, 2023 12:39
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 3, 2023

🦋 Changeset detected

Latest commit: 60c0eeb

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Princesseuh Princesseuh changed the title Fix/undici formdata Use undici's FormData for polyfilling Mar 3, 2023
Copy link
Copy Markdown
Member

@yanthomasdev yanthomasdev left a comment

Choose a reason for hiding this comment

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

Docs LGTM!

Copy link
Copy Markdown
Member

@natemoo-re natemoo-re left a comment

Choose a reason for hiding this comment

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

Code looks good! CI needs to be rerun, but once tests are passing this should be good to go.

@Princesseuh Princesseuh merged commit 0abd1d3 into main Mar 3, 2023
@Princesseuh Princesseuh deleted the fix/undici-formdata branch March 3, 2023 13:47
@astrobot-houston astrobot-houston mentioned this pull request Mar 3, 2023
@Princesseuh Princesseuh self-assigned this Mar 3, 2023
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