Skip to content

Fix crash in convert to ES6 module for files containing uninitialised variables #27642

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

Merged
merged 1 commit into from
Oct 9, 2018

Conversation

sandersn
Copy link
Member

@sandersn sandersn commented Oct 9, 2018

containsTopLevelCommonjs previously assumed that all variable declarations had an initialiser,
which is not correct.

Found in bluebird's async.js while trying to get codefixes for it.

Previously it assumed that all variable declarations had an initialiser,
which is not correct.
@sandersn sandersn requested a review from a user October 9, 2018 19:46
@sandersn sandersn merged commit 53906f2 into master Oct 9, 2018
@sandersn sandersn deleted the fix-crash-in-convert-to-es6-module branch October 9, 2018 20:17
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.

1 participant