Code Optimization: Enjoy improved performance with enhanced compatibility for ESTree, allowing for better handling of modern JavaScript features like lambda expressions.
Function Declaration Handling: Experience smoother code execution with workarounds for quirks in ES6+ function declarations, ensuring your code runs as expected.
Improvements
Variable Management: Benefit from enhanced variable joining capabilities, which optimize your code by reducing unnecessary variable declarations and improving readability.
Node.js Support: The integration of Node.js v20 in CI tests ensures better compatibility and performance for your applications.
Fixes
Fix corner cases in variable handling, ensuring that your code behaves correctly even in complex scenarios involving join_vars, merge_vars, and collapse_vars.
Resolve issues with scope assignments in switch expressions, preventing unexpected behavior when declaring variables with the same name inside switch cases.
Others
Enhance usability and interoperability of custom errors, making it easier for you to debug and understand error messages in your code.
Improve CLI interoperability, ensuring a smoother experience when using command-line tools with UglifyJS.