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

[7.0] babel.util.arrayify and babel.util.canCompile are being removed #231

Closed
loganfsmyth opened this issue Mar 17, 2017 · 2 comments · Fixed by #255
Closed

[7.0] babel.util.arrayify and babel.util.canCompile are being removed #231

loganfsmyth opened this issue Mar 17, 2017 · 2 comments · Fixed by #255

Comments

@loganfsmyth
Copy link
Member

Currently babel/babel#5487 is proposing the removal of the whole babel.util object.

The extensions are now exposed at babel.DEFAULT_EXTENSIONS, canCompile was very simple, and extensions can just be splitting on a comma, so it should be a very easy update for 7.x.

@shtse8
Copy link

shtse8 commented Nov 23, 2017

I would lik to know how to upgrade to 7.0 for arrayify and babel.util.list? Thanks.

@loganfsmyth
Copy link
Member Author

@shtse8 If you have a module that needs that behavior, you can certainly implement that logic yourself. It's just that Babel's core APIs have become stricter in what they expect.

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 a pull request may close this issue.

2 participants