Comparing version 1.0.5 to 1.0.6
@@ -18,2 +18,5 @@ "use strict"; | ||
}}, | ||
asyncify: {get: function() { | ||
return asyncify; | ||
}}, | ||
__esModule: {value: true} | ||
@@ -29,5 +32,5 @@ }); | ||
var nodeSetTimeout, | ||
$__8, | ||
$__9, | ||
$__10; | ||
$__10, | ||
$__11; | ||
return $traceurRuntime.asyncWrap(function($ctx) { | ||
@@ -43,15 +46,15 @@ while (true) | ||
case 10: | ||
$__8 = Q.nfcall; | ||
$__9 = $__8.call(Q, nodeSetTimeout, ms); | ||
$__9 = Q.nfcall; | ||
$__10 = $__9.call(Q, nodeSetTimeout, ms); | ||
$ctx.state = 5; | ||
break; | ||
case 5: | ||
Promise.resolve($__9).then($ctx.createCallback(2), $ctx.errback); | ||
Promise.resolve($__10).then($ctx.createCallback(2), $ctx.errback); | ||
return; | ||
case 2: | ||
$__10 = $ctx.value; | ||
$__11 = $ctx.value; | ||
$ctx.state = 3; | ||
break; | ||
case 3: | ||
$ctx.returnValue = $__10; | ||
$ctx.returnValue = $__11; | ||
$ctx.state = 7; | ||
@@ -246,4 +249,13 @@ break; | ||
} | ||
function asyncify(fn) { | ||
var $__8; | ||
for (var args = [], | ||
$__6 = 1; $__6 < arguments.length; $__6++) | ||
args[$__6 - 1] = arguments[$__6]; | ||
($__8 = fn).call.apply($__8, $traceurRuntime.spread([null], args)).then((function() {}), (function(err) { | ||
console.error(err.stack); | ||
})); | ||
} | ||
; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm1haW4uanMiLCJAdHJhY2V1ci9nZW5lcmF0ZWQvVGVtcGxhdGVQYXJzZXIvNyIsIkB0cmFjZXVyL2dlbmVyYXRlZC9UZW1wbGF0ZVBhcnNlci81IiwiQHRyYWNldXIvZ2VuZXJhdGVkL1RlbXBsYXRlUGFyc2VyLzIiLCJAdHJhY2V1ci9nZW5lcmF0ZWQvVGVtcGxhdGVQYXJzZXIvMyIsIkB0cmFj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RfX3BsYWNlaG9sZGVyX181O1xuICAgICAgICAgICRfX3BsYWNlaG9sZGVyX182O1xuICAgICAgICB9IiwiXG4gICAgICAgICAgICBmb3IgKHZhciAkX19wbGFjZWhvbGRlcl9fMCA9IFtdLCAkX19wbGFjZWhvbGRlcl9fMSA9IDA7XG4gICAgICAgICAgICAgICAgICRfX3BsYWNlaG9sZGVyX18yIDwgYXJndW1lbnRzLmxlbmd0aDsgJF9fcGxhY2Vob2xkZXJfXzMrKylcbiAgICAgICAgICAgICAgJF9fcGxhY2Vob2xkZXJfXzRbJF9fcGxhY2Vob2xkZXJfXzVdID0gYXJndW1lbnRzWyRfX3BsYWNlaG9sZGVyX182XTsiXSwic291cmNlUm9vdCI6Ii9zb3VyY2UvIn0= |
@@ -60,2 +60,8 @@ import Q from 'q'; | ||
export { sleep, retry, nodeify, nodeifyAll, retryInterval }; | ||
function asyncify (fn, ...args) { | ||
fn.call(null, ...args).then(() => {}, (err) => { | ||
console.error(err.stack); | ||
}); | ||
} | ||
export { sleep, retry, nodeify, nodeifyAll, retryInterval, asyncify }; |
@@ -9,3 +9,3 @@ { | ||
], | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"author": "jlipps@gmail.com", | ||
@@ -43,12 +43,12 @@ "licenses": [ | ||
"devDependencies": { | ||
"gulp": "^3.8.11", | ||
"gulp-sourcemaps": "^1.2.8", | ||
"gulp-traceur": "^0.13.0", | ||
"gulp": "^3.8.9", | ||
"request": "^2.47.0", | ||
"mochawait": "^1.1.0", | ||
"merge-stream": "^0.1.6", | ||
"mocha": "^2.0.1", | ||
"should": "^4.1.0", | ||
"mochawait": "^1.1.0", | ||
"request": "^2.47.0", | ||
"rtts-assert": "0.0.7", | ||
"gulp-sourcemaps": "^1.2.8" | ||
"should": "^4.1.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
346192
997