Description
Description
Encountered an error when using the REPL and performing the following sequence:
In [1]: {<|>
followed by ENTER.
In [1]: {Since Acorn 8.0.0, options.ecmaVersion is required.
Defaulting to 2020, but this will stop working in the future.
When looking through the REPL implementation, I didn't find an instance where we were parsing and not passing options, but it's possible that I missed something.
Related Issues
n/a
Questions
No.
Demo
No response
Reproduction
See OP above.
Expected Results
No response
Actual Results
No response
Version
No response
Environments
Node.js
Browser Version
No response
Node.js / npm Version
No response
Platform
No response
Checklist
- Read and understood the Code of Conduct.
- Searched for existing issues and pull requests.