UNPKG

try-catch-callback

Version:

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][].

102 lines (43 loc) 2.95 kB
# Change Log All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. <a name="2.0.2"></a> ## [2.0.2](https://github.com/hybridables/try-catch-callback/compare/v2.0.1...v2.0.2) (2017-03-01) ### Bug Fixes * **options:** immutable options object ([d3e6775](https://github.com/hybridables/try-catch-callback/commit/d3e6775)), closes [#2](https://github.com/hybridables/try-catch-callback/issues/2) * **package:** update deps, npm scripts, travis, appveyor ([3feb635](https://github.com/hybridables/try-catch-callback/commit/3feb635)) <a name="2.0.1"></a> ## [2.0.1](https://github.com/hybridables/try-catch-callback/compare/v2.0.0...v2.0.1) (2016-11-04) ### Bug Fixes * **options:** introduce opts.return option ([57ec005](https://github.com/hybridables/try-catch-callback/commit/57ec005)) <a name="2.0.0"></a> # [2.0.0](https://github.com/hybridables/try-catch-callback/compare/v1.1.2...v2.0.0) (2016-10-31) ### Code Refactoring * **order:** switch arguments order ([8b460d9](https://github.com/hybridables/try-catch-callback/commit/8b460d9)) ### BREAKING CHANGES * order: switch arguments order to follow convertions correctly <a name="1.1.2"></a> ## [1.1.2](https://github.com/hybridables/try-catch-callback/compare/v1.1.1...v1.1.2) (2016-10-31) ### Bug Fixes * **callback:** should not call the cb after try/catch if passCallback:true ([afc59b1](https://github.com/hybridables/try-catch-callback/commit/afc59b1)) <a name="1.1.1"></a> ## [1.1.1](https://github.com/hybridables/try-catch-callback/compare/v1.1.0...v1.1.1) (2016-10-30) ### Bug Fixes * **links:** move to [@hybridables](https://github.com/hybridables) org ([fff9f7b](https://github.com/hybridables/try-catch-callback/commit/fff9f7b)) <a name="1.1.0"></a> # [1.1.0](https://github.com/tunnckocore/try-catch-callback/compare/v1.0.2...v1.1.0) (2016-10-30) ### Bug Fixes * **opts:** fix passing options when want thunk ([f80c7d5](https://github.com/tunnckocore/try-catch-callback/commit/f80c7d5)) ### Features * **options:** add options object ([3e35605](https://github.com/tunnckocore/try-catch-callback/commit/3e35605)), closes [#1](https://github.com/tunnckocore/try-catch-callback/issues/1) <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> ## [1.0.1](https://github.com/tunnckocore/try-catch-callback/compare/v1.0.0...v1.0.1) (2016-09-22) ### Bug Fixes * **option:** add 3rd argument `passCallback` ([27a3fdb](https://github.com/tunnckocore/try-catch-callback/commit/27a3fdb)) ## 1.0.0 - 2016-09-22 - First release, start follow SemVer ## 0.0.0 - 2016-09-22 - Initial commit