babel-runtime
Advanced tools
Comparing version 7.0.0-alpha.7 to 7.0.0-alpha.8
@@ -23,11 +23,15 @@ exports.__esModule = true; | ||
} else { | ||
return _promise2.default.resolve(value).then(function (value) { | ||
step("next", value); | ||
}, function (err) { | ||
step("throw", err); | ||
}); | ||
_promise2.default.resolve(value).then(_next, _throw); | ||
} | ||
} | ||
return step("next"); | ||
function _next(value) { | ||
step("next", value); | ||
} | ||
function _throw(err) { | ||
step("throw", err); | ||
} | ||
_next(); | ||
}); | ||
@@ -34,0 +38,0 @@ }; |
@@ -19,13 +19,17 @@ exports.__esModule = true; | ||
} else { | ||
return Promise.resolve(value).then(function (value) { | ||
step("next", value); | ||
}, function (err) { | ||
step("throw", err); | ||
}); | ||
Promise.resolve(value).then(_next, _throw); | ||
} | ||
} | ||
return step("next"); | ||
function _next(value) { | ||
step("next", value); | ||
} | ||
function _throw(err) { | ||
step("throw", err); | ||
} | ||
_next(); | ||
}); | ||
}; | ||
}; |
@@ -17,13 +17,17 @@ export default function (fn) { | ||
} else { | ||
return Promise.resolve(value).then(function (value) { | ||
step("next", value); | ||
}, function (err) { | ||
step("throw", err); | ||
}); | ||
Promise.resolve(value).then(_next, _throw); | ||
} | ||
} | ||
return step("next"); | ||
function _next(value) { | ||
step("next", value); | ||
} | ||
function _throw(err) { | ||
step("throw", err); | ||
} | ||
_next(); | ||
}); | ||
}; | ||
} |
@@ -18,13 +18,17 @@ import _Promise from "../../core-js/promise"; | ||
} else { | ||
return _Promise.resolve(value).then(function (value) { | ||
step("next", value); | ||
}, function (err) { | ||
step("throw", err); | ||
}); | ||
_Promise.resolve(value).then(_next, _throw); | ||
} | ||
} | ||
return step("next"); | ||
function _next(value) { | ||
step("next", value); | ||
} | ||
function _throw(err) { | ||
step("throw", err); | ||
} | ||
_next(); | ||
}); | ||
}; | ||
} |
{ | ||
"name": "babel-runtime", | ||
"version": "7.0.0-alpha.7", | ||
"version": "7.0.0-alpha.8", | ||
"description": "babel selfContained runtime", | ||
@@ -13,5 +13,5 @@ "license": "MIT", | ||
"devDependencies": { | ||
"babel-helpers": "7.0.0-alpha.7", | ||
"babel-plugin-transform-runtime": "7.0.0-alpha.7" | ||
"babel-helpers": "7.0.0-alpha.8", | ||
"babel-plugin-transform-runtime": "7.0.0-alpha.8" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
77965
1947