-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
fix(es/minifier): Preserve unicode escape sequences in string literals #10829
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
base: main
Are you sure you want to change the base?
Conversation
Fixes issue where Unicode escape sequences like \uD83D\uDE42 were being converted to actual emoji characters during minification, breaking code that depends on the literal escape sequences. The fix simplifies the Unicode handling in string literals to always preserve escape sequences by outputting \ for any \u sequence. Fixes #10353 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
|
|
|
Claude finished @kdy1's task —— View job PR Review Complete ✅I've reviewed this PR that fixes Unicode escape sequence handling in the SWC minifier. Here's my comprehensive feedback: Review Checklist:
Code AnalysisChanges Summary: Review Feedback✅ Code Quality & Best Practices
✅ Bug Fix Effectiveness
✅ Performance Considerations
✅ Security Considerations
|
CodSpeed Performance ReportMerging #10829 will not alter performanceComparing Summary
|
Fixes issue where Unicode escape sequences like \uD83D\uDE42 were being converted to actual emoji characters during minification, breaking code that depends on the literal escape sequences.
The fix simplifies the Unicode handling in string literals to always preserve escape sequences by outputting \ for any \u sequence.
Fixes #10353
🤖 Generated with Claude Code