Comparing version 2.2.0 to 2.2.1
@@ -5,2 +5,6 @@ # Change Log | ||
## [2.2.1](https://github.com/jsless/hable/compare/v2.2.0...v2.2.1) (2019-08-21) | ||
# [2.2.0](https://github.com/jsless/hable/compare/v2.1.0...v2.2.0) (2019-08-21) | ||
@@ -7,0 +11,0 @@ |
@@ -31,6 +31,4 @@ const { serial, flatHooks } = require('./utils') | ||
deprecateHooks (deprecations) { | ||
Object.entries(deprecations).forEach(([old, name]) => { | ||
this.deprecateHook(old, name) | ||
}) | ||
deprecateHooks (deprecatedHooks) { | ||
Object.assign(this._deprecatedHooks, deprecatedHooks) | ||
} | ||
@@ -37,0 +35,0 @@ |
{ | ||
"name": "hable", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "Awaitable hooks for Node.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -106,3 +106,3 @@ # Hable | ||
### `deprecateHooks (hooks)` | ||
### `deprecateHooks (deprecatedHooks)` | ||
@@ -109,0 +109,0 @@ Deprecate all hooks from an object (keys are old and values or newer ones). |
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
9560
73