Parser: Enjoy improved compatibility with the latest JavaScript features, including support for Logical Assignment Operators and updated Unicode Escape Sequences. This ensures your code adheres to the latest standards and runs smoothly across different environments.
Improvements
Module Support: Benefit from enhanced module support with the addition of exports clauses in package.json files. This allows for seamless loading of the package in recent Node.js versions and improves usability for developers.
Parser Options: Experience a more robust parsing experience with the requirement of the ecmaVersion option. This change helps ensure that your code is parsed according to the correct ECMAScript version, enhancing accuracy and reducing errors.
Fixes
Fix test262 failures related to Logical Assignment Operators and Unicode Escape Sequences. This ensures that the parser behaves correctly according to the latest ECMAScript specifications, providing a more reliable development experience.
Others
Revamp the checkLVal() function for better clarity and performance. This internal improvement enhances the overall efficiency of the parser without affecting user-facing features.
Update the handling of identifier nodes in object patterns to prevent reuse. This change improves the integrity of the parsing process, ensuring that each identifier is treated distinctly.
Switch inNonArrowFunction to a getter for improved functionality. This change streamlines the internal logic of the parser, enhancing its overall performance.