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

Upgrade ReadableStream[Symbol.asyncIterator] ponyfill #128

Merged
merged 1 commit into from
Mar 16, 2024

Conversation

ehmicky
Copy link
Collaborator

@ehmicky ehmicky commented Mar 16, 2024

See Sec-ant/readable-stream#2

This upgrades the polyfill used for ReadableStream[Symbol.asyncIterator], as is now available as a ponyfill.

ponyfill.asyncIterator = prototype[Symbol.asyncIterator];
delete prototype[Symbol.asyncIterator];
delete prototype.values;
}
Copy link
Collaborator Author

@ehmicky ehmicky Mar 16, 2024

Choose a reason for hiding this comment

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

We might want to do a patch release for this, to remove this file's logic since this was quite hacky.

@sindresorhus sindresorhus merged commit df42674 into main Mar 16, 2024
6 checks passed
@sindresorhus sindresorhus deleted the upgrade-ponyfill branch March 16, 2024 17:59
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