Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Stop using the fast-async babel plugin #790

Merged
merged 1 commit into from
Apr 16, 2018
Merged

Stop using the fast-async babel plugin #790

merged 1 commit into from
Apr 16, 2018

Conversation

edmorley
Copy link
Member

Since:

Fixes #741.

@edmorley edmorley self-assigned this Apr 14, 2018
Since:
* The default Neutrino-supported browsers (last two versions of Chrome,
  Firefox, Edge, Opera, Safari & iOS) all support async natively:
  https://caniuse.com/#feat=async-functions
* The same applies to Node 8+ (and Neutrino 9 is dropping support
  for Node 6): http://node.green/#ES2017-features-async-functions
* Neutrino 9 final will be released with Babel 7, which will likely
  include built-in support for the fast-async plugin anyway:
  babel/babel#7076
* It's another dependency to cause possible regressions, eg:
  MatAtBread/fast-async#53

Fixes #741.
@edmorley edmorley requested a review from eliperelman April 14, 2018 16:07
Copy link
Member

@eliperelman eliperelman left a comment

Choose a reason for hiding this comment

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

Looks good to me!

edmorley added a commit that referenced this pull request Apr 16, 2018
The `fast-async` version was pinned in 2edc81a to work around:
MatAtBread/fast-async#53

That issue was fixed in fast-async v6.3.4, so it's safe to revert
back to a tilde range again.

This only needs applying to the v8 branch, since the version was not
pinned on master (and #790 is about to remove fast-async there).
@edmorley edmorley merged commit ee7b3d9 into neutrinojs:master Apr 16, 2018
@edmorley edmorley deleted the rm-fast-async branch April 16, 2018 12:09
@edmorley edmorley added this to the v9 milestone Apr 16, 2018
edmorley added a commit that referenced this pull request Sep 14, 2018
Support for the preset option `polyfills.babel` was removed in #315
(Neutrino 7), leaving just `polyfills.async` which was removed in #790.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

2 participants