Comparing version 1.0.4 to 1.0.5
@@ -30,4 +30,5 @@ 'use strict'; | ||
} | ||
g.listener = listener; | ||
this.on(event, g); | ||
if(typeof listener === 'function') { | ||
this.on(event, g); | ||
} | ||
return this; | ||
@@ -34,0 +35,0 @@ } |
{ | ||
"name": "emanate", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Event emitter for the browser.", | ||
@@ -5,0 +5,0 @@ "author": "muji <noop@xpm.io>", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
7279
93
0