gscan 4.33.0 → 4.35.0
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 +1 -1
- package/lib/specs/canary.js +2 -2
- package/package.json +17 -16
package/bin/cli.js
CHANGED
|
@@ -54,7 +54,7 @@ prettyCLI
|
|
|
54
54
|
desc: 'Check theme for Ghost 4.0 compatibility'
|
|
55
55
|
})
|
|
56
56
|
.boolean('-5, --v5', {
|
|
57
|
-
desc: 'Check theme for Ghost
|
|
57
|
+
desc: 'Check theme for Ghost 5.0 compatibility'
|
|
58
58
|
})
|
|
59
59
|
.boolean('-c, --canary', {
|
|
60
60
|
desc: 'Check theme for upcoming Ghost version compatibility'
|
package/lib/specs/canary.js
CHANGED
|
@@ -15,7 +15,7 @@ const authorHelperDocs = `Find more information about the <code>{{authors}}</cod
|
|
|
15
15
|
const tierDesc = `Ghost now supports multiple tiers and subscriptions. All product and price related helpers have been reworked to account for this.`;
|
|
16
16
|
|
|
17
17
|
// assign new or overwrite existing knownHelpers, templates, or rules here:
|
|
18
|
-
let knownHelpers = ['total_members', 'total_paid_members', 'comment_count'];
|
|
18
|
+
let knownHelpers = ['total_members', 'total_paid_members', 'comment_count', 'comments'];
|
|
19
19
|
let templates = [];
|
|
20
20
|
let rules = {
|
|
21
21
|
// New rules
|
|
@@ -724,7 +724,7 @@ let rules = {
|
|
|
724
724
|
fatal: true,
|
|
725
725
|
rule: 'Replace <code>{{[#].currency_symbol}}</code> with <code>{{price currency=currency}}</code>.',
|
|
726
726
|
details: oneLineTrim`The <code>currency_symbol</code> attribute is no longer supported in favour of passing the currency to updated <code>{{price}}</code> helper.<br>
|
|
727
|
-
Find more information about the updated <code>{{price}}</code> helper <a href="${docsBaseUrl}helpers/price" target=_blank>here</a>.`,
|
|
727
|
+
Find more information about the updated <code>{{price}}</code> helper <a href="${docsBaseUrl}helpers/price/" target=_blank>here</a>.`,
|
|
728
728
|
helper: '{{[#].currency_symbol}}',
|
|
729
729
|
regex: /currency_symbol/g
|
|
730
730
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gscan",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.35.0",
|
|
4
4
|
"description": "Scans Ghost themes looking for errors, deprecations, features and compatibility",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ghost",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"url": "git@github.com:TryGhost/gscan.git"
|
|
15
15
|
},
|
|
16
16
|
"engines": {
|
|
17
|
-
"node": "^14.17.0 || ^16.13.0"
|
|
17
|
+
"node": "^14.17.0 || ^16.13.0 || ^18.12.1"
|
|
18
18
|
},
|
|
19
19
|
"bugs": {
|
|
20
20
|
"url": "https://github.com/TryGhost/gscan/issues"
|
|
@@ -40,27 +40,27 @@
|
|
|
40
40
|
"gscan": "./bin/cli.js"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@sentry/node": "
|
|
44
|
-
"@tryghost/config": "0.2.
|
|
45
|
-
"@tryghost/debug": "0.1.
|
|
46
|
-
"@tryghost/errors": "1.2.
|
|
47
|
-
"@tryghost/logging": "2.
|
|
48
|
-
"@tryghost/pretty-cli": "1.2.
|
|
49
|
-
"@tryghost/server": "0.1.
|
|
50
|
-
"@tryghost/zip": "1.1.
|
|
43
|
+
"@sentry/node": "7.28.1",
|
|
44
|
+
"@tryghost/config": "0.2.13",
|
|
45
|
+
"@tryghost/debug": "0.1.21",
|
|
46
|
+
"@tryghost/errors": "1.2.20",
|
|
47
|
+
"@tryghost/logging": "2.3.6",
|
|
48
|
+
"@tryghost/pretty-cli": "1.2.33",
|
|
49
|
+
"@tryghost/server": "0.1.29",
|
|
50
|
+
"@tryghost/zip": "1.1.31",
|
|
51
51
|
"bluebird": "3.7.2",
|
|
52
52
|
"chalk": "4.1.2",
|
|
53
53
|
"common-tags": "1.8.2",
|
|
54
|
-
"express": "4.18.
|
|
54
|
+
"express": "4.18.2",
|
|
55
55
|
"express-hbs": "2.4.0",
|
|
56
|
-
"fs-extra": "
|
|
57
|
-
"glob": "
|
|
56
|
+
"fs-extra": "11.1.0",
|
|
57
|
+
"glob": "8.0.3",
|
|
58
58
|
"lodash": "4.17.21",
|
|
59
59
|
"multer": "1.4.4",
|
|
60
60
|
"pluralize": "8.0.0",
|
|
61
61
|
"require-dir": "1.2.0",
|
|
62
|
-
"semver": "7.3.
|
|
63
|
-
"uuid": "
|
|
62
|
+
"semver": "7.3.8",
|
|
63
|
+
"uuid": "9.0.0",
|
|
64
64
|
"validator": "13.0.0"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
@@ -68,10 +68,11 @@
|
|
|
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.0",
|
|
71
72
|
"nodemon": "2.0.7",
|
|
72
73
|
"rewire": "6.0.0",
|
|
73
74
|
"should": "13.2.3",
|
|
74
|
-
"sinon": "
|
|
75
|
+
"sinon": "15.0.0"
|
|
75
76
|
},
|
|
76
77
|
"files": [
|
|
77
78
|
"lib",
|