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.2.0 to 2.2.1

4

CHANGELOG.md

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

6

lib/hookable.js

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

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