Socket
Socket
Sign inDemoInstall

batch

Package Overview
Dependencies
77
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 0.1.1

5

History.md
0.1.1 / 2012-07-03
==================
* change "complete" event to "progress"
0.1.0 / 2012-07-03

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

2

lib/batch.js

@@ -68,3 +68,3 @@

results[index] = res;
that.emit('complete', res, index);
that.emit('progress', res, index);
--pending || cb(null, results);

@@ -71,0 +71,0 @@ });

{
"name": "batch"
, "version": "0.1.0"
, "version": "0.1.1"
, "description": "Simple async batch"

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

@@ -24,3 +24,3 @@

batch.on('complete', function(user, i){
batch.on('progress', function(user, i){
// result of the ith job

@@ -27,0 +27,0 @@ });

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