Skip to content

Commit

Permalink
Use regenerator-transform to implement babel-plugin-transform-regener…
Browse files Browse the repository at this point in the history
…ator (babel#4881)

* Use regenerator-transform to implement babel-plugin-transform-regenerator.

Though I believe this is safe to merge, you may want to wait to merge it
until facebook/regenerator#259 is merged. That
pull request also provides more explanation of why I think moving the
implementation of Regenerator back to its original repository is a good
idea. I'm happy to compromise on anything necessary to make this happen.

Note that the regenerator-transform version is pegged to an exact version
(0.9.7). Past experience has taught me that releasing new versions of
Regenerator is almost impossible if client projects are allowed to pull in
new patch versions automatically. I will happily submit a pull request
whenever a new version is released.

* Remove never-used babel-plugin-transform-regenerator/.test directory.

* regenerator-transform to 0.9.8
  • Loading branch information
benjamn authored and panagosg7 committed Jan 17, 2017
1 parent 95f2048 commit 97880d2
Show file tree
Hide file tree
Showing 10 changed files with 2 additions and 4,962 deletions.
493 changes: 0 additions & 493 deletions packages/babel-plugin-transform-regenerator/.test/async.es6.js

This file was deleted.

2,560 changes: 0 additions & 2,560 deletions packages/babel-plugin-transform-regenerator/.test/tests.es6.js

This file was deleted.

4 changes: 1 addition & 3 deletions packages/babel-plugin-transform-regenerator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-regenerator",
"main": "lib/index.js",
"dependencies": {
"babel-types": "^6.16.0",
"babel-runtime": "^6.9.0",
"private": "~0.1.5"
"regenerator-transform": "0.9.8"
},
"license": "BSD",
"devDependencies": {
Expand Down
Loading

0 comments on commit 97880d2

Please sign in to comment.