Socket
Socket
Sign inDemoInstall

batch

Package Overview
Dependencies
0
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.2 to 0.4.0

5

History.md
0.4.0 / 2013-06-05
==================
* add catching of immediate callback errors
0.3.2 / 2013-03-15

@@ -3,0 +8,0 @@ ==================

11

index.js

@@ -101,3 +101,10 @@

var start = new Date;
fn(function(err, res){
try {
fn(callback);
} catch (err) {
callback(err);
}
function callback(err, res){
if (done) return;

@@ -124,3 +131,3 @@ if (err) return done = true, cb(err);

else cb(null, results);
});
}
}

@@ -127,0 +134,0 @@

2

package.json
{
"name": "batch"
, "version": "0.3.2"
, "version": "0.4.0"
, "description": "Simple async batch"

@@ -5,0 +5,0 @@ , "author": "TJ Holowaychuk <tj@vision-media.ca>"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc