babel-runtime
Advanced tools
Comparing version 6.2.4 to 6.3.13
@@ -13,5 +13,2 @@ "use strict"; | ||
return new _promise2.default(function (resolve, reject) { | ||
var callNext = step.bind(null, "next"); | ||
var callThrow = step.bind(null, "throw"); | ||
function step(key, arg) { | ||
@@ -29,7 +26,11 @@ try { | ||
} else { | ||
_promise2.default.resolve(value).then(callNext, callThrow); | ||
_promise2.default.resolve(value).then(function (value) { | ||
step("next", value); | ||
}, function (err) { | ||
step("throw", err); | ||
}); | ||
} | ||
} | ||
callNext(); | ||
step("next"); | ||
}); | ||
@@ -36,0 +37,0 @@ }; |
@@ -13,5 +13,2 @@ "use strict"; | ||
return new _promise2.default(function (resolve, reject) { | ||
var callNext = step.bind(null, "next"); | ||
var callThrow = step.bind(null, "throw"); | ||
function step(key, arg) { | ||
@@ -29,7 +26,11 @@ try { | ||
} else { | ||
_promise2.default.resolve(value).then(callNext, callThrow); | ||
_promise2.default.resolve(value).then(function (value) { | ||
step("next", value); | ||
}, function (err) { | ||
step("throw", err); | ||
}); | ||
} | ||
} | ||
callNext(); | ||
step("next"); | ||
}); | ||
@@ -36,0 +37,0 @@ }; |
@@ -13,5 +13,2 @@ "use strict"; | ||
return new _promise2.default(function (resolve, reject) { | ||
var callNext = step.bind(null, "next"); | ||
var callThrow = step.bind(null, "throw"); | ||
function step(key, arg) { | ||
@@ -29,7 +26,11 @@ try { | ||
} else { | ||
_promise2.default.resolve(value).then(callNext, callThrow); | ||
_promise2.default.resolve(value).then(function (value) { | ||
step("next", value); | ||
}, function (err) { | ||
step("throw", err); | ||
}); | ||
} | ||
} | ||
callNext(); | ||
step("next"); | ||
}); | ||
@@ -36,0 +37,0 @@ }; |
{ | ||
"name": "babel-runtime", | ||
"version": "6.2.4", | ||
"version": "6.3.13", | ||
"description": "babel selfContained runtime", | ||
@@ -12,8 +12,8 @@ "license": "MIT", | ||
"devDependencies": { | ||
"babel-helpers": "^6.2.4", | ||
"babel-plugin-transform-runtime": "^6.2.4", | ||
"babel-template": "^6.2.4", | ||
"babel-helpers": "^6.3.13", | ||
"babel-plugin-transform-runtime": "^6.3.13", | ||
"babel-template": "^6.3.13", | ||
"babel-runtime": "^5.0.0", | ||
"babel-regenerator-runtime": "^6.2.4" | ||
"babel-regenerator-runtime": "^6.3.13" | ||
} | ||
} |
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
77521
209
1656