-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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 support for the "Hack" pipeline proposal (#13191) #13413
Conversation
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/47626/ |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit c29531e:
|
623df5c
to
2ebdfd5
Compare
@nicolo-ribaudo: I have squashed and rebased #13416 onto this branch. After #13416, there will need to be one more pull request to apply |
@js-choi I just merged your second PR and I'll rebase this to solve the conflicts. It's unlikely that your next PR will be merged before Babel 7.15.0, so unless you need to rebase it for some reason you could wait until this is merged to The next PR (the one that disables the smart proposal for Babel 8) can even be merged in a patch anyway. |
@nicolo-ribaudo: Sounds good; thank you for reviewing and rebasing. As you say, the smart-mix deprecation PR can be put in v7.15.1 or whatever, but is this PR still on track for v7.15.0? |
Yes exactly. Smart mix will be removed behind a build-time flag that we'll toggle in Babel 8, so it doesn't matter when we merge it. |
e4e8975
to
08835bf
Compare
08835bf
to
b427f52
Compare
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
Co-authored-by: Federico Ciardi <fed.ciardi@gmail.com>
* Fix `%==` parsing in hack pipes * Use custom token type * Update packages/babel-parser/src/parser/expression.js Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com> * Apply suggestions from code review Co-authored-by: J. S. Choi <jschoi@jschoi.org> Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com> Co-authored-by: J. S. Choi <jschoi@jschoi.org>
81af5a7
to
c29531e
Compare
topicToken: "%"
for Hack pipes (Hack-pipe proposal with%
topic token #13416)%==
parsing in hack pipes (Fix%==
parsing in hack pipes #13536)@babel/standalone
(feat: support hack pipeline in@babel/standalone
#13555)