Skip to content

Upgrade regenerator-runtime to version 0.10.0#4877

Merged
hzoo merged 1 commit intobabel:masterfrom
benjamn:patch-6
Dec 8, 2016
Merged

Upgrade regenerator-runtime to version 0.10.0#4877
hzoo merged 1 commit intobabel:masterfrom
benjamn:patch-6

Conversation

@benjamn
Copy link
Copy Markdown
Contributor

@benjamn benjamn commented Nov 21, 2016

Q A
Bug fix? no
Breaking change? no
New feature? no
Deprecations? no
Spec compliancy? no
Tests added/pass? no
Fixed tickets n/a
License MIT
Doc PR no
Dependency Changes yes

This changes the behavior of regeneratorRuntime.awrap to avoid potential problems with instanceof, and to match the output of https://github.com/leebyron/async-to-gen. This could, in the future, allow that library to use the regenerator-runtime implementation of AsyncIterator, but that's not urgent. Either way, it seems best for different implementations to follow the same conventions for runtime behavior.

See this commit for further explanation of why this change is a good idea: facebook/regenerator@e62a7e5

This changes the behavior of `runtime.awrap` to match the output of https://github.com/leebyron/async-to-gen.

See this commit for further explanation of why this change is a good idea: facebook/regenerator@e62a7e5
@codecov-io
Copy link
Copy Markdown

codecov-io commented Nov 21, 2016

Current coverage is 89.35% (diff: 100%)

Merging #4877 into master will not change coverage

@@             master      #4877   diff @@
==========================================
  Files           196        196          
  Lines         14020      14020          
  Methods        1460       1460          
  Messages          0          0          
  Branches       3262       3262          
==========================================
  Hits          12528      12528          
  Misses         1492       1492          
  Partials          0          0          

Powered by Codecov. Last update 3a27f49...eacc8db

@hzoo hzoo added the PR: Internal 🏠 A type of pull request used for our changelog categories label Nov 21, 2016
@hzoo hzoo merged commit 44fe114 into babel:master Dec 8, 2016
@hzoo
Copy link
Copy Markdown
Member

hzoo commented Dec 8, 2016

Thanks @benjamn!

@zloirock
Copy link
Copy Markdown
Member

zloirock commented Dec 8, 2016

The same required for babel-polyfill.

Jessidhia pushed a commit to Jessidhia/babel that referenced this pull request Dec 8, 2016
* master:
  update `regenerator-runtime` in `babel-polypill` (babel#4966)
  Temp fix for make watch [skip ci] (babel#4967)
  Add (and fix) failing test of function parameter bindings in a catch block (babel#4880)
  Upgrade regenerator-runtime to version 0.10.0. (babel#4877)
  Add `/.test` and `/src` to `babel-plugin-transform-regenerator` `.npmignore`. (babel#4961) [skip ci]
  Only base async fn arity on non-default/non-rest params - fixes babel#4891 (babel#4901)
  Add generator support for Import (babel#4945)
panagosg7 pushed a commit to panagosg7/babel that referenced this pull request Jan 17, 2017
This changes the behavior of `runtime.awrap` to match the output of https://github.com/leebyron/async-to-gen.

See this commit for further explanation of why this change is a good idea: facebook/regenerator@e62a7e5
@lock lock bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Oct 6, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 6, 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 PR: Internal 🏠 A type of pull request used for our changelog categories

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants