Comparing version 2.0.4 to 2.0.5
@@ -307,2 +307,6 @@ 'use strict'; | ||
var _this = this; | ||
if (this._pres[name] == null && this._posts[name] == null) { | ||
// Fast path: if there's no hooks for this function, just return the function | ||
return fn; | ||
} | ||
return function() { | ||
@@ -309,0 +313,0 @@ var _context = context || this; |
{ | ||
"name": "kareem", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"description": "Next-generation take on pre/post function hooks", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
60560
1418