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

Workaround babel evaluation bug #2286

Merged
merged 2 commits into from
Feb 19, 2025
Merged

Workaround babel evaluation bug #2286

merged 2 commits into from
Feb 19, 2025

Conversation

ef4
Copy link
Contributor

@ef4 ef4 commented Feb 18, 2025

Fix #2212
Fix #1812
Supersedes #2215

We were already doing most of the evaluation ourselves. Of all the cases we test, the only spot we were relying on babel's evaluate was for the undefined keyword, which was easy to add to our own Evaluator.

Fix #2212
Fix #1812
Supersedes #2215

We were already doing most of the evaluation ourselves. Of all the cases we test, the only spot we were relying on babe's `evaluate` was for the undefined keyword, which was easy to add to our own Evaluator.
@ef4 ef4 added the bug Something isn't working label Feb 18, 2025
@mansona
Copy link
Member

mansona commented Feb 19, 2025

If we're targeting stable on this do we need to invest in fixing the audit system? 🙈

@ef4 ef4 merged commit 58797a9 into stable Feb 19, 2025
227 checks passed
@ef4 ef4 deleted the workaround-babel-eval-bug branch February 19, 2025 17:00
@github-actions github-actions bot mentioned this pull request Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants