for-await was transformed in @babel/helper-remap-async-to-generator, which was called by @babel/plugin-transform-async-to-generator and @babel/plugin-proposal-async-generator-functions. This prevented for-await statements in async functions to be transpiled if the transform-async-to-generator plugin was't enabled.
26 lines
835 B
JSON
26 lines
835 B
JSON
{
|
|
"name": "@babel/plugin-proposal-async-generator-functions",
|
|
"version": "7.0.0-beta.40",
|
|
"description": "Turn async generator functions into ES2015 generators",
|
|
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-proposal-async-generator-functions",
|
|
"license": "MIT",
|
|
"main": "lib/index.js",
|
|
"keywords": [
|
|
"babel-plugin"
|
|
],
|
|
"dependencies": {
|
|
"@babel/helper-plugin-utils": "7.0.0-beta.40",
|
|
"@babel/helper-remap-async-to-generator": "7.0.0-beta.40",
|
|
"@babel/plugin-syntax-async-generators": "7.0.0-beta.40"
|
|
},
|
|
"peerDependencies": {
|
|
"@babel/core": "7.0.0-beta.40"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.0.0-beta.40",
|
|
"@babel/types": "7.0.0-beta.40",
|
|
"@babel/template": "7.0.0-beta.40",
|
|
"@babel/helper-plugin-test-runner": "7.0.0-beta.40"
|
|
}
|
|
}
|