Esprima 3.0 is available

107 views
Skip to first unread message

Ariya Hidayat

unread,
Sep 3, 2016, 3:21:56 PM9/3/16
to esp...@googlegroups.com
Hello everyone,

I'm excited to announce the immediate availability of Esprima 3.0! If you use Esprima via npm, update its version to ~3.0.0. For browser users, get it from e.g. https://unpkg.com/esprima@~3.0/dist/esprima.js.

In this release, support for ES2016's exponentiation expression has been added. In addition, JSX syntax (popular among React users) is also supported (albeit still as an experiment). Esprima 2.x's AST has known compatibility issues with the ESTree; in this version 3.0, those problems have been addressed.

Beside that, there is a lot of internal refactoring. The entire code has been modularized into multiple source files. In addition, each module is now written in TypeScript for better clarity and improved readability. This refactoring has been carefully planned, there is negligible parsing performance between this new version and all the previous 2.x releases.

For other details on this release, refer to https://github.com/jquery/esprima/issues/1527.

If you have any questions about this release, do not hesitate to contact us on this mailing-list. If you find any issues, please file them at the issue tracker https://github.com/jquery/esprima/issues.

Thank you very much!


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