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

Improves URL polyfill to work without TypedArray.prototype.slice/indexOf #73

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

mhassan1
Copy link
Collaborator

@mhassan1 mhassan1 commented Sep 24, 2024

This PR updates the URL polyfill to not depend on TypedArray.prototype.slice or TypedArray.prototype.indexOf, which may not be available in all engines. It also reverts changes to the ArrayBuffer polyfill from #62 to avoid loading the entire ArrayBuffer polyfill in engines that don't need it. See #59 (comment).

@mhassan1 mhassan1 marked this pull request as draft September 24, 2024 10:20
@mhassan1 mhassan1 marked this pull request as ready for review September 24, 2024 15:31
Copy link
Member

@romainmenke romainmenke left a comment

Choose a reason for hiding this comment

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

This looks awesome @mhassan1!
Thank you so much for providing a way forwards 🙇

@mhassan1 mhassan1 merged commit fb2ef45 into main Sep 24, 2024
28 checks passed
@mhassan1 mhassan1 deleted the url-without-arraybuffer branch September 24, 2024 16:24
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