glob-events
Advanced tools
Comparing version 1.4.1 to 1.4.2
# Changes | ||
## 1.4.2 | ||
- Retain arity for listeners on internal events | ||
## 1.4.1 | ||
@@ -4,0 +8,0 @@ |
@@ -47,7 +47,6 @@ /* | ||
function ignoreWildcard(fn) { | ||
return function () { | ||
if (this.event !== '*') { | ||
fn.apply(this, arguments); | ||
} | ||
}; | ||
/*jslint evil: true*/ | ||
var args = ARG_NAMES.substring(0, fn.length * 2).substring(1); | ||
return eval('(function(' + args | ||
+ '){if(this.event !== "*"){fn.apply(this, arguments);}})'); | ||
} | ||
@@ -54,0 +53,0 @@ |
{ | ||
"name" : "glob-events", | ||
"version" : "1.4.1", | ||
"version" : "1.4.2", | ||
"description" : "Event emitter with glob support on event names", | ||
@@ -5,0 +5,0 @@ "keywords" : ["event", "emitter", "glob", "listener"], |
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
15762
221
2