Skip to content

[chain-pr 2/12] Drop legacy browser shims and ES2020 polyfills in core utilities#4585

Draft
johnHackworth wants to merge 1 commit intov7--chain-1from
v7--chain-2
Draft

[chain-pr 2/12] Drop legacy browser shims and ES2020 polyfills in core utilities#4585
johnHackworth wants to merge 1 commit intov7--chain-1from
v7--chain-2

Conversation

@johnHackworth
Copy link
Copy Markdown
Collaborator

This PR is part of a chain split from #0 v7 by chain-pr.

Changes

Modernize core utilities for ES2020 baseline: simplify globalObject, mergeInto regex flags, byteUtils TextEncoder, sanitize BigInt/Symbol tests, fetch AbortController/onunhandledrejection tests, httpRequest sendBeacon, readBytesFromStream, performanceObservable polyfill removal, tags Unicode escapes, MutationObserver/ResizeObserver/firstInputPolyfill removals, and identifier BigInt usage.

Refactoring rationale

Removes legacy browser shims and conditional polyfills now that ES2020 is the supported baseline. Consolidates implementations onto modern browser APIs (BigInt, TextEncoder, AbortController, ResizeObserver, etc.) and removes the firstInputPolyfill. This reduces bundle size and code complexity at the cost of dropping support for older browsers.


Draft — pending author review. Merge in order unless marked parallel.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 8, 2026


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


chain-pr[bot] seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

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.

1 participant