queueobj 12.0.0 → 12.0.2

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,5 +1,12 @@
1
+ [![npm Package](https://img.shields.io/npm/v/queueobj.svg)](https://www.npmjs.org/package/queueobj)
2
+ [![License](https://img.shields.io/npm/l/queueobj.svg)](https://github.com/jman717/queueobj/blob/master/LICENSE)
3
+
4
+ [![NPM](https://nodei.co/npm/queueobj.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/queueobj/)
5
+
1
6
  Queue javascript objects dynamically then process the queue according to the appender.
2
7
 
8
+ ---------
9
+
3
10
  Included tag appenders:
4
11
 
5
12
  * all - synchronous - process all added objects.
@@ -11,11 +18,6 @@ Included tag appenders:
11
18
  * name - synchronous - queue and process all objects by name.
12
19
  * version - synchronous - queue and process all objects by version.
13
20
 
14
- Installation
15
- ---------
16
-
17
- [![NPM](https://nodei.co/npm/queueobj.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/queueobj/)
18
-
19
21
  Mocha Test
20
22
  ---------
21
23
  ```
package/app.js CHANGED
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  var colors = require('colors'),
7
- file_queue = new require('file-obj-queue'), //('./file-queue'),
7
+ file_queue = new require('file-obj-queue'),
8
8
  file_requre_data = [
9
9
  { props: { id: 100, name: "all", path: "./lib/appenders/all.js", absolute_path: __filename, check: true } },
10
10
  { props: { id: 101, name: "func_all", path: "./lib/appenders/func_all.js", absolute_path: __filename, check: true } },
@@ -2,7 +2,6 @@
2
2
  * @author Jim Manton: jrman@risebroadband.net
3
3
  * @since 2017-10-01
4
4
  * lib/appenders/base.js
5
- * jrm debug 8/4 https://www.npmjs.com/package/temporary-stamp
6
5
  */
7
6
 
8
7
  var colors = require('colors')
package/package.json CHANGED
@@ -2,12 +2,12 @@
2
2
  "author": {
3
3
  "name": "Jim Manton"
4
4
  },
5
- "version": "12.0.0",
5
+ "version": "12.0.2",
6
6
  "bundleDependencies": [],
7
7
  "dependencies": {
8
8
  "chai": "^4.3.7",
9
9
  "diffler": "^2.0.4",
10
- "file-obj-queue": "^0.0.3",
10
+ "file-obj-queue": "^1.0.1",
11
11
  "mocha": "^10.2.0",
12
12
  "node-console-colors": "^1.1.4",
13
13
  "queuejson": "^8.4.0"
package/test/package.js CHANGED
@@ -6,12 +6,12 @@ const packageMock = {
6
6
  "author": {
7
7
  "name": "Jim Manton"
8
8
  },
9
- "version": "12.0.0",
9
+ "version": "12.0.2",
10
10
  "bundleDependencies": [],
11
11
  "dependencies": {
12
12
  "chai": "^4.3.7",
13
13
  "diffler": "^2.0.4",
14
- "file-obj-queue": "^0.0.3",
14
+ "file-obj-queue": "^1.0.1",
15
15
  "mocha": "^10.2.0",
16
16
  "node-console-colors": "^1.1.4",
17
17
  "queuejson": "^8.4.0"
@@ -32,8 +32,8 @@ class test2 {
32
32
 
33
33
  process(callback) {
34
34
  let t = this, msg = `some kinda problem here test2 id(${this.id}) name(${this.name})`
35
- callback({error: {msg: msg}}) //this will show errors
36
- // callback({success: {msg: `processing test2 id(${this.id}) name(${this.name})`}}) //this will show no errors
35
+ // callback({error: {msg: msg}}) //this will show errors
36
+ callback({success: {msg: `processing test2 id(${this.id}) name(${this.name})`}}) //this will show no errors
37
37
  }
38
38
 
39
39
  ping() {