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

Use Array.fromAsync polyfill #777

Merged
merged 2 commits into from
Mar 15, 2024
Merged

Use Array.fromAsync polyfill #777

merged 2 commits into from
Mar 15, 2024

Conversation

jessepinho
Copy link
Contributor

@jessepinho jessepinho commented Mar 15, 2024

Previously, we'd assumed that Chrome supported Array.fromAsync, but only the last few versions of Chrome did (121+), and a lot of users are still on older versions. So this PR polyfills the implementation (not just the type) of Array.fromAsync in browsers where it doesn't yet exist.

@jessepinho jessepinho marked this pull request as ready for review March 15, 2024 19:26
@turbocrime
Copy link
Contributor

add declarations like b91d609

@jessepinho jessepinho requested a review from turbocrime March 15, 2024 19:39
@jessepinho jessepinho force-pushed the jessepinho/from-async-fix branch 2 times, most recently from efcf717 to 32e25e3 Compare March 15, 2024 19:41
Not sure why this is needed; hopefully we can remove it later.
@jessepinho jessepinho force-pushed the jessepinho/from-async-fix branch from 32e25e3 to 0ffd570 Compare March 15, 2024 19:43
@turbocrime turbocrime merged commit 1e4476e into main Mar 15, 2024
6 checks passed
@turbocrime turbocrime deleted the jessepinho/from-async-fix branch March 15, 2024 19:51
turbocrime pushed a commit that referenced this pull request Mar 15, 2024
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.

2 participants