ghost 4.20.3 → 4.20.4

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.
@@ -108,9 +108,11 @@ class RouterManager {
108
108
  this.siteRouter.mountRouter(unsubscribeRouter.router());
109
109
  this.registry.setRouter('unsubscribeRouter', unsubscribeRouter);
110
110
 
111
- const emailRouter = new EmailRouter(RESOURCE_CONFIG);
112
- this.siteRouter.mountRouter(emailRouter.router());
113
- this.registry.setRouter('emailRouter', emailRouter);
111
+ if (RESOURCE_CONFIG.QUERY.email) {
112
+ const emailRouter = new EmailRouter(RESOURCE_CONFIG);
113
+ this.siteRouter.mountRouter(emailRouter.router());
114
+ this.registry.setRouter('emailRouter', emailRouter);
115
+ }
114
116
 
115
117
  const previewRouter = new PreviewRouter(RESOURCE_CONFIG);
116
118
  this.siteRouter.mountRouter(previewRouter.router());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ghost",
3
- "version": "4.20.3",
3
+ "version": "4.20.4",
4
4
  "description": "The professional publishing platform",
5
5
  "author": "Ghost Foundation",
6
6
  "homepage": "https://ghost.org",
@@ -62,7 +62,7 @@
62
62
  "@tryghost/color-utils": "0.1.2",
63
63
  "@tryghost/config-url-helpers": "0.1.3",
64
64
  "@tryghost/constants": "0.1.12",
65
- "@tryghost/custom-theme-settings-service": "0.3.0",
65
+ "@tryghost/custom-theme-settings-service": "0.3.1",
66
66
  "@tryghost/debug": "0.1.9",
67
67
  "@tryghost/email-analytics-provider-mailgun": "1.0.4",
68
68
  "@tryghost/email-analytics-service": "1.0.3",
@@ -128,7 +128,7 @@
128
128
  "ghost-storage-base": "0.0.6",
129
129
  "glob": "7.2.0",
130
130
  "got": "9.6.0",
131
- "gscan": "4.9.1",
131
+ "gscan": "4.9.3",
132
132
  "html-to-text": "5.1.1",
133
133
  "image-size": "1.0.0",
134
134
  "intl": "1.2.5",
package/yarn.lock CHANGED
@@ -1270,10 +1270,10 @@
1270
1270
  resolved "https://registry.yarnpkg.com/@tryghost/constants/-/constants-0.1.12.tgz#17efd5dbb5d0bfbf11de1ceaaed347d165e63b1f"
1271
1271
  integrity sha512-nQPov2XnfnWxMf330JVLRGUJUqupgvBGWrUU31GJYQRTheKS0N6DSBCKJaO0euGEsWfvJ+BsWVbAJp0vxsUDzg==
1272
1272
 
1273
- "@tryghost/custom-theme-settings-service@0.3.0":
1274
- version "0.3.0"
1275
- resolved "https://registry.yarnpkg.com/@tryghost/custom-theme-settings-service/-/custom-theme-settings-service-0.3.0.tgz#dfe937666c4eb9b134d78d2d1a6bb95def6004f5"
1276
- integrity sha512-iNy9Bv/u76R1uMNcCpxfU9uWESi/cqZRPXh1uAFctBDijlI7yMkZvWIAvTn3DOplg3gMeq3xkGhL+0fNY20p9A==
1273
+ "@tryghost/custom-theme-settings-service@0.3.1":
1274
+ version "0.3.1"
1275
+ resolved "https://registry.yarnpkg.com/@tryghost/custom-theme-settings-service/-/custom-theme-settings-service-0.3.1.tgz#46de63a136775a4124e8593d295bc61f3d852674"
1276
+ integrity sha512-2Qum40bKQGV2Lt8kcRtVDjacZsNtkQf+iAqohZ8e7RHWsjuYSlOTsH/lF5epBDusDkTSqd+21Npfef5VT1IfyA==
1277
1277
  dependencies:
1278
1278
  "@tryghost/debug" "^0.1.5"
1279
1279
  "@tryghost/errors" "^0.2.14"
@@ -5523,10 +5523,10 @@ grunt@1.4.1:
5523
5523
  nopt "~3.0.6"
5524
5524
  rimraf "~3.0.2"
5525
5525
 
5526
- gscan@4.9.1:
5527
- version "4.9.1"
5528
- resolved "https://registry.yarnpkg.com/gscan/-/gscan-4.9.1.tgz#e9b4f1dd5f332cda469014f8afaa6c21ac73ae20"
5529
- integrity sha512-hujCwP3xR/ebe5DLidUJZCWP8vxqttAwoy7oYL6u6XjBuuByeqzjNfo+rmNi9/L4Y0ldyKEQXC4hLW+eXydHag==
5526
+ gscan@4.9.3:
5527
+ version "4.9.3"
5528
+ resolved "https://registry.yarnpkg.com/gscan/-/gscan-4.9.3.tgz#2f7674f11ee2bf8a4805210c24b72264df480d32"
5529
+ integrity sha512-+iMshoaR7RJB/+IRJ984BCtkyerQ8Lgf7OoJzM0xdYsXM8jgVUN5Zrrn0SD/XQsNycDLABtG4A2cxBhkFRKPiQ==
5530
5530
  dependencies:
5531
5531
  "@sentry/node" "6.13.3"
5532
5532
  "@tryghost/pretty-cli" "1.2.22"