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

Chore: upgrade acorn@5.2 (fixes #358) #360

Merged
merged 3 commits into from
Oct 31, 2017
Merged

Chore: upgrade acorn@5.2 (fixes #358) #360

merged 3 commits into from
Oct 31, 2017

Conversation

mysticatea
Copy link
Member

@mysticatea mysticatea commented Oct 29, 2017

Fixes #358.
This PR upgrades acorn to 5.2.1.

It has a feature and several bug fixes.

I fixed some tests because new acorn makes ExpressionStatement#directive property for directive prologues. This is by ESTree updating.

This PR is WIP since it doesn't finish the tests for tests/fixtures/libraries/angular-1.2.5.js.

@mysticatea
Copy link
Member Author

chai.assert.equal(stringified_ast, result.json) seems to not finish..

@mysticatea mysticatea changed the title [WIP] Chore: upgrade acorn@5.2 Chore: upgrade acorn@5.2 Oct 30, 2017
@mysticatea
Copy link
Member Author

OK, I fixed library tests. I believe the change of library tests is only ,"directive":"use strict" parts.

@mysticatea mysticatea changed the title Chore: upgrade acorn@5.2 Update: upgrade acorn@5.2 Oct 30, 2017
@mysticatea mysticatea changed the title Update: upgrade acorn@5.2 Update: upgrade acorn@5.2 (fixes #358) Oct 30, 2017
@mysticatea mysticatea changed the title Update: upgrade acorn@5.2 (fixes #358) Chore: upgrade acorn@5.2 (fixes #358) Oct 30, 2017
@aladdin-add aladdin-add merged commit 59c9d06 into master Oct 31, 2017
@aladdin-add aladdin-add deleted the acorn-5.2 branch October 31, 2017 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ExpressionStatement#directive property
4 participants