queueobj 10.4.0 → 10.5.1

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/README.md CHANGED
@@ -1,4 +1,7 @@
1
- # QueueObj
1
+ # QueueObj [![CodeQL](https://github.com/QueueObj/QueueObj/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/QueueObj/QueueObj/actions/workflows/codeql-analysis.yml) [![Node.js CI](https://github.com/QueueObj/QueueObj/actions/workflows/node.js.yml/badge.svg)](https://github.com/QueueObj/QueueObj/actions/workflows/node.js.yml)
2
+
3
+ [![NPM](https://nodei.co/npm/QueueObj.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/QueueObj/)
4
+
2
5
  Queue javascript objects dynamically then process the queue according to the appender.
3
6
 
4
7
  Included tag appenders:
@@ -26,13 +29,13 @@ npm test
26
29
  General Setup Test
27
30
  ---------
28
31
  ```
29
- node test_all
30
- node test_top_one
31
- node test_bottom_one
32
- node test_func_all
33
- node test_sync_all
34
- node test_status
35
- node test_version
32
+ npm run test_all
33
+ npm run test_top_one
34
+ npm run test_bottom_one
35
+ npm run test_func_all
36
+ npm run test_sync_all
37
+ npm run test_status
38
+ npm run test_version
36
39
 
37
40
  ```
38
41
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "author": {
3
3
  "name": "Jim Manton"
4
4
  },
5
- "version": "10.4.0",
5
+ "version": "10.5.1",
6
6
  "bundleDependencies": false,
7
7
  "dependencies": {
8
8
  "chai": "^4.3.7",
@@ -13,7 +13,13 @@
13
13
  "scripts": {
14
14
  "start": "node app.ts",
15
15
  "test": "mocha",
16
- "ditched": "ditched -a"
16
+ "ditched": "ditched -a",
17
+ "test_all": "node ./tests/test_all",
18
+ "test_bottom_one": "node ./tests/test_bottom_one",
19
+ "test_func_all": "node ./tests/test_func_all",
20
+ "test_status": "node ./tests/test_status",
21
+ "test_top_one": "node ./tests/test_top_one",
22
+ "test_version": "node ./tests/test_version"
17
23
  },
18
24
  "keywords": [
19
25
  "queue",
package/test/package.js CHANGED
@@ -6,7 +6,7 @@ const packageMock = {
6
6
  "author": {
7
7
  "name": "Jim Manton"
8
8
  },
9
- "version": "10.4.0",
9
+ "version": "10.5.1",
10
10
  "bundleDependencies": false,
11
11
  "dependencies": {
12
12
  "chai": "^4.3.7",
@@ -17,7 +17,13 @@ const packageMock = {
17
17
  "scripts": {
18
18
  "start": "node app.ts",
19
19
  "test": "mocha",
20
- "ditched": "ditched -a"
20
+ "ditched": "ditched -a",
21
+ "test_all": "node ./tests/test_all",
22
+ "test_bottom_one": "node ./tests/test_bottom_one",
23
+ "test_func_all": "node ./tests/test_func_all",
24
+ "test_status": "node ./tests/test_status",
25
+ "test_top_one": "node ./tests/test_top_one",
26
+ "test_version": "node ./tests/test_version"
21
27
  },
22
28
  "keywords": [
23
29
  "queue",
@@ -1,6 +1,6 @@
1
1
  var colors = require('colors')
2
2
 
3
- var queue = require("./app.js");
3
+ var queue = require("../app.js");
4
4
 
5
5
  class test1 {
6
6
  process(callback) {
@@ -17,8 +17,8 @@ class test2 {
17
17
 
18
18
  class test3 {
19
19
  process(callback) {
20
- callback({success: { msg: `processing all test3` }})
21
- // callback({ error: { msg: `there is some problem thrown here on test3` } })
20
+ // callback({success: { msg: `processing all test3` }})
21
+ callback({ error: { msg: `there is some problem thrown here on test3` } })
22
22
  }
23
23
  }
24
24
 
File without changes
File without changes
File without changes
File without changes
File without changes