Update regenerator-transform (#9941)
This commit is contained in:
parent
7942dc0f07
commit
1969e6b6aa
@ -7,7 +7,7 @@
|
|||||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-regenerator",
|
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-regenerator",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"regenerator-transform": "^0.13.4"
|
"regenerator-transform": "^0.14.0"
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
|
|||||||
@ -1,16 +1,20 @@
|
|||||||
var o = {
|
var o = {
|
||||||
foo:
|
foo() {
|
||||||
/*#__PURE__*/
|
return (
|
||||||
regeneratorRuntime.mark(function _callee() {
|
/*#__PURE__*/
|
||||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
regeneratorRuntime.mark(function _callee() {
|
||||||
while (1) switch (_context.prev = _context.next) {
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||||
case 0:
|
while (1) switch (_context.prev = _context.next) {
|
||||||
return _context.abrupt("return", "foo");
|
case 0:
|
||||||
|
return _context.abrupt("return", "foo");
|
||||||
|
|
||||||
|
case 1:
|
||||||
|
case "end":
|
||||||
|
return _context.stop();
|
||||||
|
}
|
||||||
|
}, _callee);
|
||||||
|
})()
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
case 1:
|
|
||||||
case "end":
|
|
||||||
return _context.stop();
|
|
||||||
}
|
|
||||||
}, _callee);
|
|
||||||
})
|
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user