Esprima 4.0 is available

24 views
Skip to first unread message

Ariya Hidayat

unread,
Jun 10, 2017, 7:29:55 PM6/10/17
to esp...@googlegroups.com
Hi everyone!

I'm excited to share the news that Esprima 4.0.0 has been released! For npm users, update its version to ~4.0.0. When using Esprima in a web browser, point the script source to e.g. https://unpkg.com/esprima@~4.0/dist/esprima.js.
 
This is a major update. This new version includes the support for two new syntax in ES2017: (1) async function and await expression, (2) trailing commas in function parameter lists and calls. To improve the API, there is a strong emphasis on distinguishing parsing a module vs a script. In addition, there are tons of other small improvements and fixes.
 
A new set of extensive documentation has been made available at http://esprima.readthedocs.io/. This supports per-version specific documentation, integrated search feature, and downloadable version in archived HTML, PDF, and Epub formats. 

Internally, the code base has been continuously refactored for improved quality, among others by using the latest TypeScript 2. Meanwhile, Node.js 8 and Edge are included in the list of testing platforms.

If you have any questions about this release, do not hesitate to contact us on this mailing-list. 
For more details and other references, feel free to check the release tracking issue: https://github.com/jquery/esprima/issues/1589. Last but not least, if you find any kind of problems, please file them at the issue tracker https://github.com/jquery/esprima/issues.

Enjoy this fresh release and thank you very much!

--
Ariya Hidayat, https://ariya.io
Reply all
Reply to author
Forward
0 new messages