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: isIdentifierName should reject empty string #11339

Merged
merged 1 commit into from Mar 26, 2020

Conversation

JLHwung
Copy link
Contributor

@JLHwung JLHwung commented Mar 26, 2020

Q                       A
Fixed Issues? Fixes #11338
Patch: Bug Fix? Yes
Tests Added + Pass? Yes
License MIT

This PR fixes a regression introduced at #11289
The unit test is copied and modernized from https://github.com/estools/esutils/blob/master/test/keyword.coffee

@nicolo-ribaudo nicolo-ribaudo merged commit 6a00cbe into babel:master Mar 26, 2020
@nicolo-ribaudo nicolo-ribaudo deleted the fix-11338 branch March 26, 2020 20:54
@github-actions github-actions bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Jun 26, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
i: regression outdated A closed issue/PR that is archived due to age. Recommended to make a new issue pkg: types
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Babel compile html-entities@1.2.1 code generate invalid JavaScript code
4 participants