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
Add @babel/helper-validator-identifier #11289
Add @babel/helper-validator-identifier #11289
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
f519a47
to
153c057
Compare
"access": "public" | ||
}, | ||
"main": "./lib/index.js", | ||
"exports": "./lib/index.js", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Following practice from https://github.com/nodejs/node/pull/32098/files#diff-8e67f407bc32a0569e25d7ecaff6e494R208
"exports": string
is supported on every version of node.js 13.
80343a1
to
8b34e8e
Compare
This PR extracts most utilities of
babel-parser/utils/identifier
into a dedicated package. By doing so we can replaceesutils
since we only use a small faction (validation) of it.This PR also fixes the issue caused by out-of-dated Unicode version bundled by
esutils
.