Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade: acorn@6.0.7 #407

Merged
merged 2 commits into from
Feb 8, 2019
Merged

Upgrade: acorn@6.0.7 #407

merged 2 commits into from
Feb 8, 2019

Conversation

kaicataldo
Copy link
Member

@kaicataldo kaicataldo commented Feb 5, 2019

acorn@6.0.7 is now fully ECMA-262-compliant!

There are two types of test changes included:

I had trouble getting our existing tools/update-tests.js script to work, so I ended up just running Espree over the code snippets and updating them manually. I'll try to find some time in the future to look at the scripts and see if I can get them to work - I seem to remember that being an issue last time I tried to update tests too.

"column": 30,
"message": "The keyword 'yield' is reserved"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@@ -1,87 +1,179 @@
module.exports = {
"type": "Program",
"start": 0,
Copy link
Member Author

@kaicataldo kaicataldo Feb 6, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm noticing these are new after updating these tests. It looks like Acorn has been adding the "start" and "end" properties to the Program node for a while, so I'm not sure why they were missing here.

Copy link
Member

@platinumazure platinumazure left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

Copy link
Member

@btmills btmills left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants