Skip to content

not ESPRIMA compatible anymore #7

@ghost

Description

@polygonplanet Great work with this projet!! But it seems to be a lot of minor differences vs Esprima now. Example run this test:
https://github.com/jquery/esprima/blob/master/test/api-tests.js#L900

This will break!
And there are also various AST differences.

E.g. Esprima now have this at the end of the object: sourceType": "script"

Esprima also now supports ECMA 2017 by default. And this module only supports ES2015.

And also Esprima have a delegate option as the third argument for the tokenizer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions