Skip to content

Commit ea67b7c

Browse files
committed
updated most dependencies
all yarn-check contents - except open as it is handled in PR kriskbx#113 - except csv-string as compatibility is unclear
1 parent f377108 commit ea67b7c

File tree

4 files changed

+1340
-1633
lines changed

4 files changed

+1340
-1633
lines changed

package.json

Lines changed: 21 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -34,41 +34,38 @@
3434
"license": "GPL-2.0",
3535
"dependencies": {
3636
"app-module-path": "^2.2.0",
37-
"async": "^2.6.1",
38-
"camelcase": "^4.1.0",
39-
"cli-cursor": "^2.1.0",
37+
"async": "^3.2.0",
38+
"cli-cursor": "^3.1.0",
4039
"cli-table": "^0.3.1",
41-
"colors": "^1.3.1",
40+
"colors": "^1.4.0",
4241
"commander": "kriskbx/commander.js",
4342
"csv-string": "^2.3.2",
44-
"find-in-files": "^0.4.0",
45-
"hash-sum": "^1.0.2",
46-
"hashids": "^1.1.1",
47-
"markdown-pdf": "^9.0.0",
48-
"markdown-table": "^1.1.0",
49-
"moment": "^2.22.2",
50-
"moment-timezone": "^0.5.21",
43+
"find-in-files": "^0.5.0",
44+
"hash-sum": "^2.0.0",
45+
"hashids": "^2.2.1",
46+
"markdown-pdf": "^10.0.0",
47+
"markdown-table": "^2.0.0",
48+
"moment": "^2.26.0",
49+
"moment-timezone": "^0.5.31",
5150
"node-spinner": "^0.0.4",
5251
"open": "^0.0.5",
53-
"progress": "^2.0.0",
52+
"progress": "^2.0.3",
5453
"prompt": "^1.0.0",
5554
"read-yaml": "^1.1.0",
56-
"request": "^2.87.0",
55+
"request": "^2.88.2",
5756
"request-promise-native": "^1.0.4",
58-
"shelljs": "^0.8.3",
59-
"tempfile": "^2.0.0",
57+
"shelljs": "^0.8.4",
6058
"throttled-queue": "^1.0.7",
61-
"underscore": "^1.9.1",
62-
"xdg-basedir": "^3.0.0",
63-
"xlsx": "^0.13.5"
59+
"underscore": "^1.10.2",
60+
"xdg-basedir": "^4.0.0",
61+
"xlsx": "^0.16.2"
6462
},
6563
"devDependencies": {
66-
"chai": "^4.1.2",
67-
"coveralls": "^2.13.1",
64+
"chai": "^4.2.0",
65+
"coveralls": "^3.1.0",
6866
"istanbul": "^0.4.5",
69-
"mocha": "^5",
70-
"mocha-lcov-reporter": "^1.3.0",
71-
"pkg": "^4.3.4",
72-
"sinon": "^3.2.1"
67+
"mocha": "^7.2.0",
68+
"pkg": "^4.4.8",
69+
"sinon": "^9.0.2"
7370
}
7471
}

src/models/base.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,7 @@ class base {
117117
* @returns {Promise}
118118
*/
119119
parallel(tasks, worker, runners = this._parallel) {
120-
return new Promise((resolve, reject) => {
121-
async.eachLimit(Array.from(tasks), runners, worker, error => {
122-
if (error) return reject(error);
123-
resolve();
124-
});
125-
});
120+
return async.eachLimit(Array.from(tasks), runners, worker);
126121
}
127122

128123
/**

src/models/baseFrame.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
const Config = require('../include/config');
22

33
const moment = require('moment-timezone');
4-
const Hashids = require('hashids');
5-
const hashids = new Hashids();
4+
const hashids = require('hashids/cjs')();
65

76
class baseFrame {
87
/**

0 commit comments

Comments
 (0)