Comparing version 1.0.3 to 1.0.4
10
index.js
@@ -113,7 +113,7 @@ function Tress(worker, concurrency){ // function worker(job, done) | ||
var _status = (job) => { | ||
_queue.waiting.indexOf(job) >= 0 ? 'waiting' : | ||
_queue.running.indexOf(job) >= 0 ? 'running' : | ||
_queue.finished.indexOf(job) >= 0 ? 'finished' : | ||
_queue.pending.indexOf(job) >= 0 ? 'pending' : | ||
'missing' | ||
_queue.waiting.indexOf(job) >= 0 ? 'waiting' : | ||
_queue.active.indexOf(job) >= 0 ? 'active' : | ||
_queue.finished.indexOf(job) >= 0 ? 'finished' : | ||
_queue.failed.indexOf(job) >= 0 ? 'failed' : | ||
'missing' | ||
}; | ||
@@ -120,0 +120,0 @@ |
{ | ||
"name": "tress", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Easy to use asynchronous job queue. Successor of 'caolan/async.queue'.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
14802