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: crashed when SourceCode object was reused (fixes #5007) #5443

Merged
merged 1 commit into from Mar 2, 2016

Conversation

mysticatea
Copy link
Member

Fixes #5007

escope has supported childVisitorKeys option, and estraverse has been supporting keys option.
So no longer we need monkey patching for escope and estraverse.
I made ESLint using those options.

Then I added a test case to verify we can reuse a source code object.

@mention-bot
Copy link

By analyzing the blame information on this pull request, we identified @nzakas, @gajus and @gyandeeps to be potential reviewers

@eslintbot
Copy link

LGTM

@nzakas
Copy link
Member

nzakas commented Mar 1, 2016

Nice! I think you can also remove estraverse-fb now.

@mysticatea
Copy link
Member Author

True, I updated it.

ilyavolodin added a commit that referenced this pull request Mar 2, 2016
Fix: crashed when SourceCode object was reused (fixes #5007)
@ilyavolodin ilyavolodin merged commit 1b9d012 into eslint:master Mar 2, 2016
@mysticatea mysticatea deleted the core/child-visitor-keys branch March 2, 2016 03:10
@eslint-deprecated eslint-deprecated bot locked and limited conversation to collaborators Feb 6, 2018
@eslint-deprecated eslint-deprecated bot added the archived due to age This issue has been archived; please open a new issue for any further discussion label Feb 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
archived due to age This issue has been archived; please open a new issue for any further discussion
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants