Parser: Introduce support for Optional Chaining, allowing developers to use the new ?. operator for safer property access in JavaScript. This enhances code readability and reduces runtime errors when accessing nested properties.
Improvements
TypeScript Support: Add type definitions for the acorn.mjs distribution, improving compatibility for TypeScript projects and enhancing the developer experience.
Fixes
Fix parsing issues related to ambiguous object patterns that include a 'set' property with a default value, ensuring more accurate code interpretation.