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

Alignment of polyfill names to real polyfill collections #98

Open
robatwilliams opened this issue Jan 31, 2024 · 0 comments
Open

Alignment of polyfill names to real polyfill collections #98

robatwilliams opened this issue Jan 31, 2024 · 0 comments

Comments

@robatwilliams
Copy link
Owner

They're currently aligned with no particular strategy, probably mostly with how detection is implemented.

e.g.
'String.prototype.trimEnd',
'String.prototype.trimLeft',
'String.prototype.trimRight',
'String.prototype.trimStart',

Those are actually distributed as a single polyfill. Would be better to just have to specify one thing rather than the 4 individually.

https://github.com/zloirock/core-js?tab=readme-ov-file#stringprototypetrimstart--stringprototypetrimend

Would be a breaking change, albeit not particularly inconvenient.

Came up in #96

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

No branches or pull requests

1 participant