Comparing version 2.0.1 to 2.1.0
@@ -5,2 +5,11 @@ # Change Log | ||
# [2.1.0](https://github.com/jsless/hable/compare/v2.0.1...v2.1.0) (2019-08-21) | ||
### Features | ||
* optional fatal support for logger ([7c7355d](https://github.com/jsless/hable/commit/7c7355d)) | ||
## [2.0.1](https://github.com/jsless/hable/compare/v2.0.0...v2.0.1) (2019-08-21) | ||
@@ -7,0 +16,0 @@ |
@@ -48,3 +48,7 @@ const { serial, flatHooks } = require('./utils') | ||
} | ||
this._logger.error(err) | ||
if (this._logger.fatal) { | ||
this._logger.fatal(err) | ||
} else { | ||
this._logger.error(err) | ||
} | ||
} | ||
@@ -51,0 +55,0 @@ } |
{ | ||
"name": "hable", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"description": "Awaitable hooks for Node.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -72,6 +72,5 @@ # Hable | ||
It should be an object implementing following functions: | ||
- log | ||
- warn | ||
- error | ||
- debug | ||
- fatal (optional) | ||
@@ -78,0 +77,0 @@ ### `hook (name, fn)` |
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
9084
70
125