You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

tress

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tress - npm Package Compare versions

Comparing version

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