New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bal-util

Package Overview
Dependencies
Maintainers
1
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bal-util - npm Package Compare versions

Comparing version 1.8.8 to 1.9.0

26

out/lib/events.js

@@ -28,3 +28,14 @@ // Generated by CoffeeScript 1.3.3

return tasks.push(function(complete) {
return listener(data, complete);
var err, result;
if (listener.length === 1) {
result = listener(data);
if (result instanceof Error) {
err = result;
} else {
err = null;
}
return complete(err, result);
} else {
return listener(data, complete);
}
});

@@ -42,3 +53,14 @@ });

return tasks.push(function(complete) {
return listener(data, complete);
var err, result;
if (listener.length === 1) {
result = listener(data);
if (result instanceof Error) {
err = result;
} else {
err = null;
}
return complete(err, result);
} else {
return listener(data, complete);
}
});

@@ -45,0 +67,0 @@ });

2

package.json
{
"name": "bal-util",
"version": "1.8.8",
"version": "1.9.0",
"description": "Common utility functions for Node.js used and maintained by Benjamin Lupton",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/balupton/bal-util",

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