try-catch-callback
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="1.0.2"></a> | ||
## [1.0.2](https://github.com/tunnckocore/try-catch-callback/compare/v1.0.1...v1.0.2) (2016-09-22) | ||
### Bug Fixes | ||
* **docs:** fix a docs of `passCallback` option ([04a2a73](https://github.com/tunnckocore/try-catch-callback/commit/04a2a73)) | ||
<a name="1.0.1"></a> | ||
@@ -7,0 +17,0 @@ ## [1.0.1](https://github.com/tunnckocore/try-catch-callback/compare/v1.0.0...v1.0.1) (2016-09-22) |
@@ -34,3 +34,3 @@ /*! | ||
* @param {Function} `[cb]` callback with `cb(err, res)` signature. | ||
* @param {Function} `[passCallback]` pass the `cb` to `fn` when calling it. | ||
* @param {Boolean} `[passCallback]` pass `true` if you want `cb` to be passed to `fn` args. | ||
* @return {Function} `thunk` if `cb` not given. | ||
@@ -37,0 +37,0 @@ * @throws {TypError} if `fn` not a function. |
{ | ||
"name": "try-catch-callback", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "try/catch block with a callback, used in [try-catch-core][]. Use it when you don't care about asyncness so much and don't want guarantees. If you care use [try-catch-core][].", | ||
@@ -5,0 +5,0 @@ "repository": "tunnckoCore/try-catch-callback", |
@@ -26,3 +26,3 @@ # [try-catch-callback][author-www-url] [![npmjs.com][npmjs-img]][npmjs-url] [![The MIT License][license-img]][license-url] [![npm downloads][downloads-img]][downloads-url] | ||
* `[cb]` **{Function}**: callback with `cb(err, res)` signature. | ||
* `[passCallback]` **{Function}**: pass the `cb` to `fn` when calling it. | ||
* `[passCallback]` **{Boolean}**: pass `true` if you want `cb` to be passed to `fn` args. | ||
* `returns` **{Function}** `thunk`: if `cb` not given. | ||
@@ -29,0 +29,0 @@ * `throws` **{TypError}** if `fn` not a function. |
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
12629