file-obj-queue 1.0.20 → 1.0.21
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/app.js +4 -4
- package/package.json +2 -2
- package/test/package.js +2 -2
package/app.js
CHANGED
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
let colors = require('node-console-colors'),
|
|
7
|
-
json_queue = require("queuejson"),
|
|
8
7
|
fs = require('fs'),
|
|
9
8
|
validPath = require('valid-path')
|
|
10
9
|
|
|
@@ -77,6 +76,7 @@ exports = module.exports = class FilesQueue {
|
|
|
77
76
|
t.logMsg = t.logMsg.bind(t)
|
|
78
77
|
t.init = t.init.bind(t)
|
|
79
78
|
t.getFileObject = t.getFileObject.bind(t)
|
|
79
|
+
t.json_queue = require("queuejson")
|
|
80
80
|
|
|
81
81
|
t.logMsg(`FilesQueue.constructor`)
|
|
82
82
|
|
|
@@ -93,14 +93,14 @@ exports = module.exports = class FilesQueue {
|
|
|
93
93
|
if (typeof props.input_data == 'undefined')
|
|
94
94
|
throw new Error('props.input_data is not defined')
|
|
95
95
|
try {
|
|
96
|
-
t.logMsg(`jrm debug 1/29
|
|
97
|
-
t.qJson = new json_queue({
|
|
96
|
+
t.logMsg(`jrm debug 1/29 8800`)
|
|
97
|
+
t.qJson = new t.json_queue({
|
|
98
98
|
class_obj: file_obj,
|
|
99
99
|
appender: 'all',
|
|
100
100
|
stats: true,
|
|
101
101
|
debug: true
|
|
102
102
|
})
|
|
103
|
-
t.logMsg(`jrm debug 1/29
|
|
103
|
+
t.logMsg(`jrm debug 1/29 8801`)
|
|
104
104
|
} catch (e) {
|
|
105
105
|
e.message = "queuejson error: " + e.message
|
|
106
106
|
t.logMsg(e.message)
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"author": {
|
|
3
3
|
"name": "Jim Manton"
|
|
4
4
|
},
|
|
5
|
-
"version": "1.0.
|
|
5
|
+
"version": "1.0.21",
|
|
6
6
|
"bundleDependencies": [],
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"chai": "^4.3.7",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"fs": "^0.0.1-security",
|
|
11
11
|
"mocha": "^10.2.0",
|
|
12
12
|
"node-console-colors": "^1.1.4",
|
|
13
|
-
"queuejson": "^9.0.
|
|
13
|
+
"queuejson": "^9.0.9",
|
|
14
14
|
"valid-path": "^2.1.0"
|
|
15
15
|
},
|
|
16
16
|
"scripts": {
|
package/test/package.js
CHANGED
|
@@ -6,7 +6,7 @@ const packageMock = {
|
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Jim Manton"
|
|
8
8
|
},
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.21",
|
|
10
10
|
"bundleDependencies": [],
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"chai": "^4.3.7",
|
|
@@ -14,7 +14,7 @@ const packageMock = {
|
|
|
14
14
|
"fs": "^0.0.1-security",
|
|
15
15
|
"mocha": "^10.2.0",
|
|
16
16
|
"node-console-colors": "^1.1.4",
|
|
17
|
-
"queuejson": "^9.0.
|
|
17
|
+
"queuejson": "^9.0.9",
|
|
18
18
|
"valid-path": "^2.1.0"
|
|
19
19
|
},
|
|
20
20
|
"scripts": {
|