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",
|
||||
"main": "lib/index.js",
|
||||
"dependencies": {
|
||||
"regenerator-transform": "^0.13.4"
|
||||
"regenerator-transform": "^0.14.0"
|
||||
},
|
||||
"license": "MIT",
|
||||
"publishConfig": {
|
||||
|
||||
@ -1,16 +1,20 @@
|
||||
var o = {
|
||||
foo:
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
return _context.abrupt("return", "foo");
|
||||
foo() {
|
||||
return (
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) switch (_context.prev = _context.next) {
|
||||
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