Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

glob-events

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

glob-events - npm Package Compare versions

Comparing version 1.4.1 to 1.4.2

4

CHANGES.md
# Changes
## 1.4.2
- Retain arity for listeners on internal events
## 1.4.1

@@ -4,0 +8,0 @@

9

lib/events.js

@@ -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"],

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