queueobj 9.0.1 → 9.0.3
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.
- package/lib/appenders/base.js +1 -0
- package/package.json +2 -2
- package/test/package.js +3 -3
- package/test_status.js +1 -1
package/lib/appenders/base.js
CHANGED
package/package.json
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
"author": {
|
|
3
3
|
"name": "Jim Manton"
|
|
4
4
|
},
|
|
5
|
-
"version": "9.0.
|
|
5
|
+
"version": "9.0.3",
|
|
6
6
|
"bundleDependencies": false,
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"chai": "^4.3.3",
|
|
9
9
|
"colors": "^1.4.0",
|
|
10
10
|
"compare-json-difference": "^0.1.3",
|
|
11
|
-
"mocha": "^
|
|
11
|
+
"mocha": "^10.1.0"
|
|
12
12
|
},
|
|
13
13
|
"scripts": {
|
|
14
14
|
"start": "node app.ts",
|
package/test/package.js
CHANGED
|
@@ -6,13 +6,13 @@ const packageMock = {
|
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Jim Manton"
|
|
8
8
|
},
|
|
9
|
-
"version": "9.0.
|
|
9
|
+
"version": "9.0.3",
|
|
10
10
|
"bundleDependencies": false,
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"chai": "^4.3.
|
|
12
|
+
"chai": "^4.3.7",
|
|
13
13
|
"colors": "^1.4.0",
|
|
14
14
|
"compare-json-difference": "^0.1.3",
|
|
15
|
-
"mocha": "^
|
|
15
|
+
"mocha": "^10.1.0"
|
|
16
16
|
},
|
|
17
17
|
"scripts": {
|
|
18
18
|
"start": "node app.ts",
|
package/test_status.js
CHANGED
|
@@ -73,7 +73,7 @@ let qObj = new queue(), props = { appender: 'status', stats: true }
|
|
|
73
73
|
|
|
74
74
|
qObj.load(props).add(new test1()).add(new test2()).add(new test3()).add(new test4())
|
|
75
75
|
|
|
76
|
-
qObj.process({ property: 'status', items: ['
|
|
76
|
+
qObj.process({ property: 'status', items: ['init'] }).then(res => {
|
|
77
77
|
console.log(`success with status processing: (${JSON.stringify(res)})`.bold.italic.green)
|
|
78
78
|
}, err => {
|
|
79
79
|
console.log(`errors with status processing: (${JSON.stringify(err)})`.red)
|