Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hable

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hable - npm Package Compare versions

Comparing version 2.0.1 to 2.1.0

9

CHANGELOG.md

@@ -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 @@

6

lib/hookable.js

@@ -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 @@ }

2

package.json
{
"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)`

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc