qdone 2.0.20-alpha → 2.0.22-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -131,11 +131,11 @@ var QueueManager = /** @class */ (function () {
|
|
|
131
131
|
var isFailQueue = qname.slice(-suf.length) === suf;
|
|
132
132
|
return _this.opt.includeFailed ? true : !isFailQueue;
|
|
133
133
|
})
|
|
134
|
-
//
|
|
134
|
+
// next fifo
|
|
135
135
|
.filter(function (_a) {
|
|
136
136
|
var qname = _a.qname, qrl = _a.qrl;
|
|
137
137
|
var isFifo = qname.endsWith('.fifo');
|
|
138
|
-
return _this.opt.fifo ? isFifo :
|
|
138
|
+
return _this.opt.fifo ? isFifo : true;
|
|
139
139
|
})
|
|
140
140
|
// then icehouse
|
|
141
141
|
.filter(function (_a) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "qdone",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.22-alpha",
|
|
4
4
|
"description": "Language agnostic job queue for SQS",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"index.js"
|
|
13
13
|
],
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@aws-sdk/client-cloudwatch": "
|
|
16
|
-
"@aws-sdk/client-sqs": "
|
|
15
|
+
"@aws-sdk/client-cloudwatch": "3.465.0",
|
|
16
|
+
"@aws-sdk/client-sqs": "3.465.0",
|
|
17
17
|
"@sentry/node": "^7.87.0",
|
|
18
18
|
"chalk": "^4.1.2",
|
|
19
19
|
"command-line-args": "^5.2.1",
|
|
@@ -25,6 +25,15 @@
|
|
|
25
25
|
"tree-kill": "^1.2.2",
|
|
26
26
|
"uuid": "^9.0.1"
|
|
27
27
|
},
|
|
28
|
+
"pnpm": {
|
|
29
|
+
"overrides": {
|
|
30
|
+
"@smithy/util-endpoints": "1.0.8",
|
|
31
|
+
"@smithy/config-resolver": "2.0.21",
|
|
32
|
+
"@smithy/middleware-endpoint": "2.2.1",
|
|
33
|
+
"@smithy/shared-ini-file-loader": "2.2.7",
|
|
34
|
+
"@smithy/middleware-retry": "2.0.21"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
28
37
|
"devDependencies": {
|
|
29
38
|
"aws-sdk-client-mock": "^3.0.0",
|
|
30
39
|
"aws-sdk-client-mock-jest": "^3.0.0",
|
|
@@ -86,10 +86,10 @@ export class QueueManager {
|
|
|
86
86
|
const isFailQueue = qname.slice(-suf.length) === suf
|
|
87
87
|
return this.opt.includeFailed ? true : !isFailQueue
|
|
88
88
|
})
|
|
89
|
-
//
|
|
89
|
+
// next fifo
|
|
90
90
|
.filter(({ qname, qrl }) => {
|
|
91
91
|
const isFifo = qname.endsWith('.fifo')
|
|
92
|
-
return this.opt.fifo ? isFifo :
|
|
92
|
+
return this.opt.fifo ? isFifo : true
|
|
93
93
|
})
|
|
94
94
|
// then icehouse
|
|
95
95
|
.filter(({ qname, qrl }) => !this.keepInIcehouse(qrl, now))
|