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

Remove Babylon plugins for features already merged to the ECMAScript spec #8448

Merged
merged 3 commits into from Nov 5, 2018

Conversation

nicolo-ribaudo
Copy link
Member

@nicolo-ribaudo nicolo-ribaudo commented Aug 10, 2018

Q                       A
Fixed Issues?
Patch: Bug Fix?
Major: Breaking Change?
Minor: New Feature? 👍
Tests Added + Pass? Yes
Documentation PR Link
Any Dependency Changes?
License MIT

These are now enabled by default:

  • objectRestSpread (2018)
  • asyncGenerators (2018)
  • optionalCatchBInding (2019)
  • jsonStrings (2019)

TODO (after this PR):

  • Deprecate the @babel/plugin-syntax-* packages.
  • Deprecate the @babel/plugin-proposal-* packages.
  • Create the @babel/plugin-transform-* packages.

@nicolo-ribaudo nicolo-ribaudo added PR: New Feature 🚀 A type of pull request used for our changelog categories pkg: parser labels Aug 10, 2018
"objectRestSpread",
"classProperties",
);
parserOpts.plugins.push("typescript", "classProperties");
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a breaking change if someone uses an older Babylon version. Since we are in RC, I can revert it if you prefer.

@babel-bot
Copy link
Collaborator

babel-bot commented Aug 10, 2018

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/9332/

@babel-bot
Copy link
Collaborator

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/8795/

Copy link
Member

@danez danez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, I like keeping stuff in place to avoid the tiny risk of breaking stuff.

@nicolo-ribaudo nicolo-ribaudo force-pushed the remove-babylon-plugins branch 2 times, most recently from d1425ef to d80b02a Compare November 4, 2018 17:57
Copy link
Member

@existentialism existentialism left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 w/o breaking change

…spec

- objectRestSpread (2018)
- asyncGenerators (2018)
- optionalCatchBInding (2019)
- jsonStrings (2019)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated A closed issue/PR that is archived due to age. Recommended to make a new issue pkg: parser PR: New Feature 🚀 A type of pull request used for our changelog categories
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants