gscan 4.36.0 → 4.36.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/bin/cli.js +4 -4
- package/package.json +11 -11
package/bin/cli.js
CHANGED
|
@@ -112,11 +112,11 @@ prettyCLI
|
|
|
112
112
|
} else {
|
|
113
113
|
gscan.check(argv.themePath, cliOptions)
|
|
114
114
|
.then(theme => outputResults(theme, cliOptions))
|
|
115
|
-
.catch(
|
|
116
|
-
return err.code === 'ENOTDIR';
|
|
117
|
-
}, function (err) {
|
|
115
|
+
.catch((err) => {
|
|
118
116
|
ui.log(err.message);
|
|
119
|
-
|
|
117
|
+
if (err.code === 'ENOTDIR') {
|
|
118
|
+
ui.log('Did you mean to add the -z flag to read a zip file?');
|
|
119
|
+
}
|
|
120
120
|
});
|
|
121
121
|
}
|
|
122
122
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gscan",
|
|
3
|
-
"version": "4.36.
|
|
3
|
+
"version": "4.36.2",
|
|
4
4
|
"description": "Scans Ghost themes looking for errors, deprecations, features and compatibility",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ghost",
|
|
@@ -40,21 +40,21 @@
|
|
|
40
40
|
"gscan": "./bin/cli.js"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@sentry/node": "7.
|
|
44
|
-
"@tryghost/config": "0.2.
|
|
43
|
+
"@sentry/node": "7.46.0",
|
|
44
|
+
"@tryghost/config": "0.2.14",
|
|
45
45
|
"@tryghost/debug": "0.1.21",
|
|
46
|
-
"@tryghost/errors": "1.2.
|
|
47
|
-
"@tryghost/logging": "2.3
|
|
48
|
-
"@tryghost/pretty-cli": "1.2.
|
|
49
|
-
"@tryghost/server": "0.1.
|
|
50
|
-
"@tryghost/zip": "1.1.
|
|
46
|
+
"@tryghost/errors": "1.2.23",
|
|
47
|
+
"@tryghost/logging": "2.4.3",
|
|
48
|
+
"@tryghost/pretty-cli": "1.2.36",
|
|
49
|
+
"@tryghost/server": "0.1.33",
|
|
50
|
+
"@tryghost/zip": "1.1.33",
|
|
51
51
|
"bluebird": "3.7.2",
|
|
52
52
|
"chalk": "4.1.2",
|
|
53
53
|
"common-tags": "1.8.2",
|
|
54
54
|
"express": "4.18.2",
|
|
55
55
|
"express-hbs": "2.4.0",
|
|
56
|
-
"fs-extra": "11.1.
|
|
57
|
-
"glob": "8.0
|
|
56
|
+
"fs-extra": "11.1.1",
|
|
57
|
+
"glob": "8.1.0",
|
|
58
58
|
"lodash": "4.17.21",
|
|
59
59
|
"multer": "1.4.4",
|
|
60
60
|
"pluralize": "8.0.0",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"eslint-plugin-ghost": "2.1.0",
|
|
69
69
|
"istanbul": "0.4.5",
|
|
70
70
|
"mocha": "10.0.0",
|
|
71
|
-
"node-fetch": "3.3.
|
|
71
|
+
"node-fetch": "3.3.1",
|
|
72
72
|
"nodemon": "2.0.7",
|
|
73
73
|
"rewire": "6.0.0",
|
|
74
74
|
"should": "13.2.3",
|