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

Fix: 0x2028 and 0x2029 in string literals should increment line number #514

Merged
merged 1 commit into from Sep 8, 2021

Conversation

mdjermanovic
Copy link
Member

This PR upgrades acorn to the latest v8.5.0, which includes a bug fix acornjs/acorn@147b99e - 0x2028 and 0x2029 source code characters should increment line numbers in loc even if they're in string literals.

Our tests are now updated to reflect this change.

Copy link
Member

@aladdin-add aladdin-add left a comment

Choose a reason for hiding this comment

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

LGTM~

@aladdin-add
Copy link
Member

And acorn v8.5.0 supports class static blocks, I will make another PR to add some tests.
eslint/eslint#15016

@mdjermanovic
Copy link
Member Author

And acorn v8.5.0 supports class static blocks, I will make another PR to add some tests.
eslint/eslint#15016

👍 great, thanks! I just wanted to make a quick fix to unblock #513 for the case that we decide to release it this week.

@nzakas nzakas merged commit ee1d3ec into main Sep 8, 2021
@nzakas nzakas deleted the acorn-8.5.0 branch September 8, 2021 19:39
@mdjermanovic
Copy link
Member Author

And acorn v8.5.0 supports class static blocks, I will make another PR to add some tests

@aladdin-add are you working on this? It's likely that we'll soon have a release to support #x in obj syntax, so it would be nice to confirm that the same version also supports class static blocks.

@aladdin-add
Copy link
Member

not yet, I've got some RL stuff, but it's still in my todo list. please feel free to take it if you want. :)

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

Successfully merging this pull request may close these issues.

None yet

3 participants