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

Update core-js #165

Merged
merged 1 commit into from
Jun 26, 2023
Merged

Update core-js #165

merged 1 commit into from
Jun 26, 2023

Conversation

zloirock
Copy link
Member

No description provided.


Map.groupBy(a, b);
Promise.withResolvers();
new URLSearchParams().has(a, b);
Copy link
Member Author

@zloirock zloirock Jun 15, 2023

Choose a reason for hiding this comment

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

Note that 3 lines above should be transpiled, but it's ignored with the current usage-pure optimization logic.

An entry can be omitted only when all modules contained in this entry are not required for the target environment.

For example, core-js-pure/features/map contain esnext.map.group-by that's missed everywhere - so core-js-pure/features/map should be injected and replace Map.

It's not directly related to this PR, it can be merged without fixing it, I just show the problem.

@nicolo-ribaudo
Copy link
Member

nicolo-ribaudo commented Jun 26, 2023

Thank you! I'll take a look at that other problem.

@nicolo-ribaudo nicolo-ribaudo merged commit 63f5fd7 into babel:main Jun 26, 2023
7 checks passed
@zloirock zloirock deleted the update-core-js branch June 26, 2023 07:19
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.

None yet

2 participants