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

fix: remove string.prototype.matchAll polyfill #3864

Merged
merged 1 commit into from
Nov 17, 2023
Merged

Conversation

nolanlawson
Copy link
Collaborator

Details

String.prototype.matchall is available in Node v12+. It should be safe to remove this polyfill.

Technically this is a breaking change, but historically we have not made any guarantees about Node compatibility, nor do we test in any version of Node other than the latest LTS. I suspect Node v10 is already broken anyway, and in any case, nobody should be using it.

This does not merit a major version bump IMO.

Does this pull request introduce a breaking change?

  • 🚨 Yes, it does introduce a breaking change.
    See above.

Does this pull request introduce an observable change?

  • ✅ No, it does not introduce an observable change.

GUS work item

@nolanlawson nolanlawson requested a review from a team as a code owner November 17, 2023 00:30
@nolanlawson nolanlawson merged commit f919e52 into master Nov 17, 2023
6 checks passed
@nolanlawson nolanlawson deleted the nolan/matchall branch November 17, 2023 18:03
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