ghost 5.0.2 → 5.2.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/content/themes/casper/assets/built/screen.css +1 -1
- package/content/themes/casper/assets/built/screen.css.map +1 -1
- package/content/themes/casper/assets/css/screen.css +303 -35
- package/content/themes/casper/default.hbs +17 -7
- package/content/themes/casper/package.json +3 -2
- package/content/themes/casper/partials/icons/facebook.hbs +1 -1
- package/content/themes/casper/partials/icons/fire.hbs +3 -0
- package/content/themes/casper/partials/icons/lock.hbs +5 -0
- package/content/themes/casper/partials/icons/twitter.hbs +1 -1
- package/content/themes/casper/partials/post-card.hbs +48 -19
- package/content/themes/casper/post.hbs +20 -9
- package/core/built/assets/{chunk.3.52b444495dfcf50afb0b.js → chunk.3.dc389a0f93cb5fabd695.js} +19 -19
- package/core/built/assets/{ghost-dark-b6e3268bcae976a8675b0d9ae54540f2.css → ghost-dark-728b7c86791572db8e9126a77b2b7984.css} +1 -1
- package/core/built/assets/{ghost.min-b37a2752b0abda202c14c948b8bc3587.js → ghost.min-0643f338c882395ac93439fda1a36df8.js} +224 -223
- package/core/built/assets/{ghost.min-a40c7b301c702bd84c2fae19366ab5d7.css → ghost.min-f108dfe5d3861a2e1f0d704624261783.css} +1 -1
- package/core/built/assets/img/themes/Casper-19b7267aac5acc6abfaaed7e41eddae8.jpg +0 -0
- package/core/built/assets/{vendor.min-2bca41946dea27dc292428db605d466d.js → vendor.min-ea369e6487643585f35409d474b06789.js} +77 -94
- package/core/frontend/helpers/tiers.js +1 -16
- package/core/frontend/services/rendering/context.js +0 -3
- package/core/frontend/services/rendering/format-response.js +5 -1
- package/core/frontend/services/routing/controllers/static.js +4 -1
- package/core/frontend/services/routing/controllers/unsubscribe.js +10 -34
- package/core/frontend/web/middleware/handle-image-sizes.js +50 -10
- package/core/frontend/web/middleware/serve-favicon.js +3 -18
- package/core/server/api/canary/utils/serializers/output/mappers/posts.js +1 -4
- package/core/server/api/canary/utils/serializers/output/members.js +11 -14
- package/core/server/api/canary/utils/serializers/output/settings.js +13 -0
- package/core/server/api/canary/utils/validators/input/images.js +32 -18
- package/core/server/api/canary/utils/validators/input/settings.js +6 -0
- package/core/server/data/db/connection.js +13 -0
- package/core/server/lib/image/blog-icon.js +51 -27
- package/core/server/lib/mobiledoc.js +1 -1
- package/core/server/models/base/bookshelf.js +2 -0
- package/core/server/models/base/plugins/data-manipulation.js +1 -0
- package/core/server/models/base/plugins/relations.js +30 -0
- package/core/server/models/member.js +0 -12
- package/core/server/models/post.js +7 -4
- package/core/server/models/relations/authors.js +0 -19
- package/core/server/models/user.js +31 -3
- package/core/server/services/bulk-email/bulk-email-processor.js +1 -1
- package/core/server/services/invites/invites.js +1 -0
- package/core/server/services/mega/email-preview.js +1 -1
- package/core/server/services/mega/mega.js +7 -61
- package/core/server/services/members/utils.js +1 -3
- package/core/server/services/webhooks/webhooks-service.js +1 -1
- package/core/server/web/admin/views/default-prod.html +4 -4
- package/core/server/web/admin/views/default.html +4 -4
- package/core/server/web/api/canary/admin/app.js +2 -2
- package/core/server/web/api/canary/content/app.js +1 -1
- package/core/server/web/api/middleware/normalize-image.js +1 -1
- package/core/server/web/members/app.js +3 -3
- package/core/shared/config/defaults.json +2 -2
- package/core/shared/config/overrides.json +5 -2
- package/core/shared/config/utils.js +0 -9
- package/core/shared/labs.js +2 -13
- package/package.json +53 -53
- package/yarn.lock +573 -600
- package/core/built/assets/img/themes/Casper-c7e784d7188cc5d7f097d9b6c97b0263.jpg +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ghost",
|
|
3
|
-
"version": "5.0
|
|
3
|
+
"version": "5.2.0",
|
|
4
4
|
"description": "The professional publishing platform",
|
|
5
5
|
"author": "Ghost Foundation",
|
|
6
6
|
"homepage": "https://ghost.org",
|
|
@@ -56,67 +56,67 @@
|
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@sentry/node": "6.19.7",
|
|
59
|
-
"@tryghost/adapter-manager": "0.2.
|
|
59
|
+
"@tryghost/adapter-manager": "0.2.32",
|
|
60
60
|
"@tryghost/admin-api-schema": "4.0.0",
|
|
61
61
|
"@tryghost/api-version-compatibility-service": "0.4.3",
|
|
62
|
-
"@tryghost/bookshelf-plugins": "0.4.
|
|
63
|
-
"@tryghost/bootstrap-socket": "0.2.
|
|
64
|
-
"@tryghost/color-utils": "0.1.
|
|
65
|
-
"@tryghost/config-url-helpers": "1.0.
|
|
66
|
-
"@tryghost/constants": "1.0.
|
|
62
|
+
"@tryghost/bookshelf-plugins": "0.4.3",
|
|
63
|
+
"@tryghost/bootstrap-socket": "0.2.21",
|
|
64
|
+
"@tryghost/color-utils": "0.1.19",
|
|
65
|
+
"@tryghost/config-url-helpers": "1.0.1",
|
|
66
|
+
"@tryghost/constants": "1.0.6",
|
|
67
67
|
"@tryghost/custom-theme-settings-service": "0.3.3",
|
|
68
|
-
"@tryghost/database-info": "0.3.
|
|
69
|
-
"@tryghost/debug": "0.1.
|
|
68
|
+
"@tryghost/database-info": "0.3.7",
|
|
69
|
+
"@tryghost/debug": "0.1.17",
|
|
70
70
|
"@tryghost/domain-events": "0.1.14",
|
|
71
71
|
"@tryghost/email-analytics-provider-mailgun": "1.0.9",
|
|
72
72
|
"@tryghost/email-analytics-service": "1.0.7",
|
|
73
73
|
"@tryghost/email-content-generator": "0.1.3",
|
|
74
|
-
"@tryghost/errors": "1.2.
|
|
74
|
+
"@tryghost/errors": "1.2.14",
|
|
75
75
|
"@tryghost/express-dynamic-redirects": "0.2.13",
|
|
76
|
-
"@tryghost/helpers": "1.1.
|
|
77
|
-
"@tryghost/image-transform": "1.0
|
|
78
|
-
"@tryghost/job-manager": "0.8.
|
|
76
|
+
"@tryghost/helpers": "1.1.71",
|
|
77
|
+
"@tryghost/image-transform": "1.1.0",
|
|
78
|
+
"@tryghost/job-manager": "0.8.25",
|
|
79
79
|
"@tryghost/kg-card-factory": "3.1.3",
|
|
80
80
|
"@tryghost/kg-default-atoms": "3.1.2",
|
|
81
81
|
"@tryghost/kg-default-cards": "5.16.2",
|
|
82
82
|
"@tryghost/kg-markdown-html-renderer": "5.1.5",
|
|
83
83
|
"@tryghost/kg-mobiledoc-html-renderer": "5.3.5",
|
|
84
|
-
"@tryghost/limit-service": "1.2.
|
|
85
|
-
"@tryghost/logging": "2.
|
|
84
|
+
"@tryghost/limit-service": "1.2.1",
|
|
85
|
+
"@tryghost/logging": "2.2.3",
|
|
86
86
|
"@tryghost/magic-link": "1.0.26",
|
|
87
87
|
"@tryghost/member-events": "0.4.6",
|
|
88
|
-
"@tryghost/members-api": "8.1.
|
|
88
|
+
"@tryghost/members-api": "8.1.3",
|
|
89
89
|
"@tryghost/members-events-service": "0.4.3",
|
|
90
|
-
"@tryghost/members-importer": "0.5.
|
|
90
|
+
"@tryghost/members-importer": "0.5.16",
|
|
91
91
|
"@tryghost/members-offers": "0.11.6",
|
|
92
92
|
"@tryghost/members-ssr": "1.0.28",
|
|
93
93
|
"@tryghost/members-stripe-service": "0.10.5",
|
|
94
|
-
"@tryghost/metrics": "1.0.
|
|
95
|
-
"@tryghost/minifier": "0.1.
|
|
96
|
-
"@tryghost/mw-api-version-mismatch": "0.2.
|
|
97
|
-
"@tryghost/mw-error-handler": "1.0.
|
|
98
|
-
"@tryghost/mw-session-from-token": "0.1.
|
|
99
|
-
"@tryghost/nodemailer": "0.3.
|
|
94
|
+
"@tryghost/metrics": "1.0.14",
|
|
95
|
+
"@tryghost/minifier": "0.1.16",
|
|
96
|
+
"@tryghost/mw-api-version-mismatch": "0.2.2",
|
|
97
|
+
"@tryghost/mw-error-handler": "1.0.3",
|
|
98
|
+
"@tryghost/mw-session-from-token": "0.1.33",
|
|
99
|
+
"@tryghost/nodemailer": "0.3.24",
|
|
100
100
|
"@tryghost/nql": "0.9.2",
|
|
101
|
-
"@tryghost/package-json": "1.0.
|
|
102
|
-
"@tryghost/pretty-cli": "1.2.
|
|
103
|
-
"@tryghost/promise": "0.1.
|
|
104
|
-
"@tryghost/request": "0.1.
|
|
105
|
-
"@tryghost/root-utils": "0.3.
|
|
106
|
-
"@tryghost/security": "0.3.
|
|
107
|
-
"@tryghost/session-service": "0.1.
|
|
108
|
-
"@tryghost/settings-path-manager": "0.1.
|
|
101
|
+
"@tryghost/package-json": "1.0.22",
|
|
102
|
+
"@tryghost/pretty-cli": "1.2.28",
|
|
103
|
+
"@tryghost/promise": "0.1.19",
|
|
104
|
+
"@tryghost/request": "0.1.28",
|
|
105
|
+
"@tryghost/root-utils": "0.3.15",
|
|
106
|
+
"@tryghost/security": "0.3.2",
|
|
107
|
+
"@tryghost/session-service": "0.1.43",
|
|
108
|
+
"@tryghost/settings-path-manager": "0.1.8",
|
|
109
109
|
"@tryghost/social-urls": "0.1.32",
|
|
110
110
|
"@tryghost/stats-service": "0.2.2",
|
|
111
111
|
"@tryghost/string": "0.1.26",
|
|
112
|
-
"@tryghost/tpl": "0.1.
|
|
112
|
+
"@tryghost/tpl": "0.1.17",
|
|
113
113
|
"@tryghost/update-check-service": "0.3.4",
|
|
114
|
-
"@tryghost/url-utils": "4.0.
|
|
115
|
-
"@tryghost/validator": "0.1.
|
|
114
|
+
"@tryghost/url-utils": "4.0.2",
|
|
115
|
+
"@tryghost/validator": "0.1.26",
|
|
116
116
|
"@tryghost/verification-trigger": "0.2.5",
|
|
117
|
-
"@tryghost/version": "0.1.
|
|
118
|
-
"@tryghost/vhost-middleware": "1.0.
|
|
119
|
-
"@tryghost/zip": "1.1.
|
|
117
|
+
"@tryghost/version": "0.1.15",
|
|
118
|
+
"@tryghost/vhost-middleware": "1.0.26",
|
|
119
|
+
"@tryghost/zip": "1.1.26",
|
|
120
120
|
"amperize": "0.6.1",
|
|
121
121
|
"analytics-node": "6.0.0",
|
|
122
122
|
"bluebird": "3.7.2",
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
"express": "4.18.1",
|
|
137
137
|
"express-brute": "1.0.1",
|
|
138
138
|
"express-hbs": "2.4.0",
|
|
139
|
-
"express-jwt": "7.7.
|
|
139
|
+
"express-jwt": "7.7.5",
|
|
140
140
|
"express-lazy-router": "1.0.4",
|
|
141
141
|
"express-query-boolean": "2.0.0",
|
|
142
142
|
"express-session": "1.17.3",
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
"ghost-storage-base": "1.0.0",
|
|
145
145
|
"glob": "8.0.3",
|
|
146
146
|
"got": "9.6.0",
|
|
147
|
-
"gscan": "4.
|
|
147
|
+
"gscan": "4.31.1",
|
|
148
148
|
"html-to-text": "8.2.0",
|
|
149
149
|
"image-size": "1.0.1",
|
|
150
150
|
"intl": "1.2.5",
|
|
@@ -154,20 +154,20 @@
|
|
|
154
154
|
"jsonwebtoken": "8.5.1",
|
|
155
155
|
"juice": "8.0.0",
|
|
156
156
|
"keypair": "1.0.4",
|
|
157
|
-
"knex": "2.
|
|
158
|
-
"knex-migrator": "
|
|
157
|
+
"knex": "2.1.0",
|
|
158
|
+
"knex-migrator": "5.0.0",
|
|
159
159
|
"lodash": "4.17.21",
|
|
160
160
|
"luxon": "2.4.0",
|
|
161
161
|
"mailgun-js": "0.22.0",
|
|
162
|
-
"metascraper": "5.29.
|
|
163
|
-
"metascraper-author": "5.29.
|
|
164
|
-
"metascraper-description": "5.29.
|
|
165
|
-
"metascraper-image": "5.29.
|
|
166
|
-
"metascraper-logo": "5.29.
|
|
167
|
-
"metascraper-logo-favicon": "5.29.
|
|
168
|
-
"metascraper-publisher": "5.29.
|
|
169
|
-
"metascraper-title": "5.29.
|
|
170
|
-
"metascraper-url": "5.29.
|
|
162
|
+
"metascraper": "5.29.8",
|
|
163
|
+
"metascraper-author": "5.29.7",
|
|
164
|
+
"metascraper-description": "5.29.7",
|
|
165
|
+
"metascraper-image": "5.29.7",
|
|
166
|
+
"metascraper-logo": "5.29.7",
|
|
167
|
+
"metascraper-logo-favicon": "5.29.7",
|
|
168
|
+
"metascraper-publisher": "5.29.7",
|
|
169
|
+
"metascraper-title": "5.29.7",
|
|
170
|
+
"metascraper-url": "5.29.7",
|
|
171
171
|
"moment": "2.24.0",
|
|
172
172
|
"moment-timezone": "0.5.23",
|
|
173
173
|
"multer": "1.4.4",
|
|
@@ -192,11 +192,11 @@
|
|
|
192
192
|
"devDependencies": {
|
|
193
193
|
"@lodder/grunt-postcss": "3.1.1",
|
|
194
194
|
"@playwright/test": "1.22.2",
|
|
195
|
-
"@tryghost/express-test": "0.
|
|
195
|
+
"@tryghost/express-test": "0.11.1",
|
|
196
196
|
"c8": "7.11.3",
|
|
197
197
|
"cli-progress": "3.11.1",
|
|
198
198
|
"coffeescript": "2.7.0",
|
|
199
|
-
"cssnano": "5.1.
|
|
199
|
+
"cssnano": "5.1.10",
|
|
200
200
|
"eslint": "8.16.0",
|
|
201
201
|
"eslint-plugin-ghost": "2.14.0",
|
|
202
202
|
"grunt": "1.5.3",
|
|
@@ -225,7 +225,7 @@
|
|
|
225
225
|
"tmp": "0.2.1"
|
|
226
226
|
},
|
|
227
227
|
"resolutions": {
|
|
228
|
-
"@tryghost/logging": "2.
|
|
228
|
+
"@tryghost/logging": "2.2.3",
|
|
229
229
|
"moment": "2.24.0",
|
|
230
230
|
"moment-timezone": "0.5.23"
|
|
231
231
|
}
|