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 0.0.2 to 0.0.3

15

CHANGELOG.md

@@ -5,3 +5,18 @@ # Change Log

<a name="0.0.3"></a>
## [0.0.3](https://github.com/pi0/hable/compare/v0.0.2...v0.0.3) (2018-01-26)
### Bug Fixes
* bind hookObj to this context ([6f6f7bc](https://github.com/pi0/hable/commit/6f6f7bc))
### Performance Improvements
* minor refactor ([e4083aa](https://github.com/pi0/hable/commit/e4083aa))
<a name="0.0.2"></a>
## 0.0.2 (2018-01-26)

16

package.json
{
"name": "hable",
"version": "0.0.2",
"description": "A simpler tapable alternative, which can be used to create hooks for plugins",
"version": "0.0.3",
"description":
"A simpler tapable alternative, which can be used to create hooks for plugins",
"main": "lib/hable.cjs.js",

@@ -11,3 +12,4 @@ "module": "lib/hable.es.js",

"dev": "npm run build --watch",
"release": "npm run build && standard-version"
"release": "npm run build && standard-version",
"release2": "git push --follow-tags && npm publish"
},

@@ -18,9 +20,3 @@ "repository": {

},
"keywords": [
"tapable",
"tappable",
"hook",
"plugin",
"hookable"
],
"keywords": ["tapable", "tappable", "hook", "plugin", "hookable"],
"author": "Pooya Parsa <pooya@pi0.ir>",

@@ -27,0 +23,0 @@ "license": "MIT",

@@ -6,3 +6,5 @@ import { serial, parallel } from 'items-promise'

this.$hooks = {}
this.hook = this.hook.bind(this)
this.hookObj = this.hookObj.bind(this)
}

@@ -36,3 +38,6 @@

this.$hooks[name] = this.$hooks[name] || []
if (!this.$hooks[name]) {
this.$hooks[name] = []
}
this.$hooks[name].push(fn)

@@ -39,0 +44,0 @@ }

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