ghost 5.129.1 → 5.130.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.
Files changed (58) hide show
  1. package/components/tryghost-i18n-5.130.0.tgz +0 -0
  2. package/core/boot.js +6 -5
  3. package/core/built/admin/assets/admin-x-activitypub/admin-x-activitypub.js +2 -2
  4. package/core/built/admin/assets/admin-x-activitypub/{index-CWqPqbZ6.mjs → index-BhgdXgH_.mjs} +2 -2
  5. package/core/built/admin/assets/admin-x-activitypub/{index-t8sCkPyJ.mjs → index-rDFm98Ub.mjs} +15557 -15454
  6. package/core/built/admin/assets/admin-x-settings/{CodeEditorView-FMecMk4J.mjs → CodeEditorView-bO8i1M7l.mjs} +2 -2
  7. package/core/built/admin/assets/admin-x-settings/admin-x-settings.js +3 -3
  8. package/core/built/admin/assets/admin-x-settings/{index-CqcRQSMi.mjs → index-BeD9DTp3.mjs} +512 -490
  9. package/core/built/admin/assets/admin-x-settings/index-DIak5kz8.mjs +30462 -0
  10. package/core/built/admin/assets/admin-x-settings/{modals-CfWblo-N.mjs → modals-DLPpqlUq.mjs} +1212 -1210
  11. package/core/built/admin/assets/{chunk.524.5330e1e5569947d7b7f2.js → chunk.524.2443bfd380e6da0cbabd.js} +7 -7
  12. package/core/built/admin/assets/{chunk.582.f6a6d1826e91aafd496b.js → chunk.582.434476dff5ddc79ed054.js} +9 -9
  13. package/core/built/admin/assets/{chunk.383.09219fde42568dd42ed5.js → chunk.728.214803966b81ffdb1acd.js} +6957 -6441
  14. package/core/built/admin/assets/ghost-3d0ad0c58f433d5735532bf25d4fd423.css +1 -0
  15. package/core/built/admin/assets/{ghost-1bce1a4ebfdfc6f6f333a827f40f69a6.js → ghost-5d9c65b5c4ef960a664cd664b2616dea.js} +121 -125
  16. package/core/built/admin/assets/ghost-dark-f19869a3fd0ef48c525149b9c87e4241.css +1 -0
  17. package/core/built/admin/assets/posts/posts.js +6740 -6712
  18. package/core/built/admin/assets/stats/stats.js +13289 -13235
  19. package/core/built/admin/index.html +5 -5
  20. package/core/frontend/helpers/ghost_head.js +3 -4
  21. package/core/frontend/helpers/match.js +3 -0
  22. package/core/frontend/meta/get-meta.js +1 -1
  23. package/core/frontend/meta/schema.js +45 -24
  24. package/core/frontend/services/proxy.js +6 -0
  25. package/core/server/api/endpoints/utils/serializers/input/settings.js +3 -1
  26. package/core/server/api/endpoints/utils/serializers/input/utils/settings-key-group-mapper.js +3 -1
  27. package/core/server/api/endpoints/utils/serializers/input/utils/settings-key-type-mapper.js +3 -1
  28. package/core/server/api/endpoints/utils/serializers/output/config.js +2 -1
  29. package/core/server/data/migrations/versions/5.130/2025-07-11-14-14-54-add-explore-settings.js +16 -0
  30. package/core/server/data/schema/default-settings/default-settings.json +18 -0
  31. package/core/server/data/tinybird/ARCHITECTURE.md +420 -0
  32. package/core/server/data/tinybird/README.md +84 -0
  33. package/core/server/data/tinybird/scripts/configure-ghost.sh +65 -0
  34. package/core/server/services/activitypub/ActivityPubService.js +24 -4
  35. package/core/server/services/activitypub/ActivityPubService.ts +27 -7
  36. package/core/server/services/activitypub/ActivityPubServiceWrapper.js +11 -5
  37. package/core/server/services/email-service/EmailRenderer.js +11 -0
  38. package/core/server/services/email-service/email-templates/partials/styles.hbs +12 -7
  39. package/core/server/services/explore-ping/ExplorePingService.js +44 -33
  40. package/core/server/services/members/members-api/repositories/MemberRepository.js +1 -4
  41. package/core/server/services/public-config/config.js +4 -0
  42. package/core/server/services/settings/settings-service.js +4 -0
  43. package/core/server/services/settings-helpers/SettingsHelpers.js +114 -7
  44. package/core/server/services/settings-helpers/index.js +2 -1
  45. package/core/server/services/stats/StatsService.js +1 -2
  46. package/core/server/services/themes/installer.js +17 -3
  47. package/core/shared/config/env/config.production.json +4 -0
  48. package/core/shared/labs.js +0 -1
  49. package/core/shared/settings-cache/CacheManager.js +2 -0
  50. package/package.json +17 -17
  51. package/tsconfig.tsbuildinfo +1 -1
  52. package/yarn.lock +293 -236
  53. package/components/tryghost-i18n-5.129.1.tgz +0 -0
  54. package/core/built/admin/assets/admin-x-settings/index-DjbkRFc2.mjs +0 -26802
  55. package/core/built/admin/assets/ghost-415f8e3c36dbe0e09f87608628da382d.css +0 -1
  56. package/core/built/admin/assets/ghost-dark-2043bca95512f1fa2ff0bea2f8a632b0.css +0 -1
  57. package/core/server/data/tinybird/readme.md +0 -40
  58. /package/core/built/admin/assets/{chunk.383.09219fde42568dd42ed5.js.LICENSE.txt → chunk.728.214803966b81ffdb1acd.js.LICENSE.txt} +0 -0
@@ -1301,6 +1301,17 @@ class EmailRenderer {
1301
1301
  linkStyle,
1302
1302
  hasOutlineButtons,
1303
1303
 
1304
+ // useful data
1305
+ ctaBgColors: [
1306
+ 'grey',
1307
+ 'blue',
1308
+ 'green',
1309
+ 'yellow',
1310
+ 'red',
1311
+ 'pink',
1312
+ 'purple'
1313
+ ],
1314
+
1304
1315
  classes: {
1305
1316
  container: clsx('container', {
1306
1317
  'title-serif': titleFont === 'serif'
@@ -381,15 +381,15 @@ h6 + .kg-paywall .kg-paywall-hr td {
381
381
  }
382
382
 
383
383
  /* Exclude CTA cards with colored backgrounds from custom text color, but allow transparent ones */
384
- .post-content-row .kg-cta-bg-grey .kg-cta-text p,
385
- .post-content-row .kg-cta-bg-blue .kg-cta-text p,
386
- .post-content-row .kg-cta-bg-green .kg-cta-text p,
387
- .post-content-row .kg-cta-bg-yellow .kg-cta-text p,
388
- .post-content-row .kg-cta-bg-red .kg-cta-text p,
389
- .post-content-row .kg-cta-bg-pink .kg-cta-text p,
390
- .post-content-row .kg-cta-bg-purple .kg-cta-text p {
384
+ {{#each ctaBgColors}}
385
+ .post-content-row .kg-cta-bg-{{this}} .kg-cta-text p,
386
+ .post-content-row .kg-cta-bg-{{this}} .kg-cta-text ul,
387
+ .post-content-row .kg-cta-bg-{{this}} .kg-cta-text ul li,
388
+ .post-content-row .kg-cta-bg-{{this}} .kg-cta-text ol,
389
+ .post-content-row .kg-cta-bg-{{this}} .kg-cta-text ol li {
391
390
  color: inherit !important;
392
391
  }
392
+ {{/each}}
393
393
 
394
394
  .kg-cta-bg-none .kg-cta-sponsor-label span,
395
395
  .kg-cta-bg-white .kg-cta-sponsor-label span {
@@ -2530,3 +2530,8 @@ table.btn-accent a {
2530
2530
  {{/if}}
2531
2531
 
2532
2532
  </style>
2533
+ <!--[if mso]>
2534
+ <style type="text/css">
2535
+ ul, ol { margin-left: 1.5em !important; } {{!-- fix bullets/numbers not appearing for lists in older Outlook versions --}}
2536
+ </style>
2537
+ <![endif]-->
@@ -1,7 +1,7 @@
1
1
  module.exports = class ExplorePingService {
2
2
  /**
3
3
  * @param {object} deps
4
- * @param {{getPublic: () => import('../../../shared/settings-cache/CacheManager').PublicSettingsCache}} deps.settingsCache
4
+ * @param {{get: (string) => string}} deps.settingsCache
5
5
  * @param {object} deps.config
6
6
  * @param {object} deps.labs
7
7
  * @param {object} deps.logging
@@ -14,6 +14,7 @@ module.exports = class ExplorePingService {
14
14
  * }}} deps.posts
15
15
  * @param {{stats: {
16
16
  * getTotalMembers: () => Promise<number>
17
+ * getMRRHistory: () => Promise<number>
17
18
  * }}} deps.members
18
19
  */
19
20
  constructor({settingsCache, config, labs, logging, ghostVersion, request, posts, members}) {
@@ -28,45 +29,50 @@ module.exports = class ExplorePingService {
28
29
  }
29
30
 
30
31
  async constructPayload() {
31
- /* eslint-disable camelcase */
32
- const {title, description, icon, locale, accent_color, twitter, facebook, site_uuid} = this.settingsCache.getPublic();
33
-
34
- // Get post statistics
35
- const [totalPosts, lastPublishedAt, firstPublishedAt] = await Promise.all([
36
- this.posts.stats.getTotalPostsPublished(),
37
- this.posts.stats.getMostRecentlyPublishedPostDate(),
38
- this.posts.stats.getFirstPublishedPostDate()
39
- ]);
32
+ const payload = {
33
+ ghost: this.ghostVersion.full,
34
+ site_uuid: this.settingsCache.get('site_uuid'),
35
+ url: this.config.get('url'),
36
+ theme: this.settingsCache.get('active_theme')
37
+ };
40
38
 
41
- // Get member statistics with error handling
42
- let totalMembers = null;
43
39
  try {
44
- totalMembers = await this.members.stats.getTotalMembers();
40
+ const [totalPosts, lastPublishedAt, firstPublishedAt] = await Promise.all([
41
+ this.posts.stats.getTotalPostsPublished(),
42
+ this.posts.stats.getMostRecentlyPublishedPostDate(),
43
+ this.posts.stats.getFirstPublishedPostDate()
44
+ ]);
45
+
46
+ payload.posts_total = totalPosts;
47
+ payload.posts_last = lastPublishedAt ? lastPublishedAt.toISOString() : null;
48
+ payload.posts_first = firstPublishedAt ? firstPublishedAt.toISOString() : null;
45
49
  } catch (err) {
46
- this.logging.warn('Failed to fetch member statistics', {
50
+ this.logging.warn('Failed to fetch post statistics', {
47
51
  error: err.message,
48
52
  context: 'explore-ping-service'
49
53
  });
50
- // Continue without member statistics
54
+ payload.posts_total = null;
55
+ payload.posts_last = null;
56
+ payload.posts_first = null;
51
57
  }
52
58
 
53
- return {
54
- ghost: this.ghostVersion.full,
55
- site_uuid,
56
- url: this.config.get('url'),
57
- title,
58
- description,
59
- icon,
60
- locale,
61
- accent_color,
62
- twitter,
63
- facebook,
64
- posts_first: firstPublishedAt ? firstPublishedAt.toISOString() : null,
65
- posts_last: lastPublishedAt ? lastPublishedAt.toISOString() : null,
66
- posts_total: totalPosts,
67
- members_total: totalMembers
68
- };
69
- /* eslint-enable camelcase */
59
+ if (this.settingsCache.get('explore_ping_growth')) {
60
+ try {
61
+ const totalMembers = await this.members.stats.getTotalMembers();
62
+ const mrr = await this.members.stats.getMRRHistory();
63
+ payload.members_total = totalMembers;
64
+ payload.mrr = mrr;
65
+ } catch (err) {
66
+ this.logging.warn('Failed to fetch member statistics', {
67
+ error: err.message,
68
+ context: 'explore-ping-service'
69
+ });
70
+ payload.members_total = null;
71
+ payload.mrr = null;
72
+ }
73
+ }
74
+
75
+ return payload;
70
76
  }
71
77
 
72
78
  async makeRequest(exploreUrl, payload) {
@@ -95,12 +101,17 @@ module.exports = class ExplorePingService {
95
101
  return;
96
102
  }
97
103
 
98
- const exploreUrl = this.config.get('explore:url');
104
+ const exploreUrl = this.config.get('explore:update_url');
99
105
  if (!exploreUrl) {
100
106
  this.logging.warn('Explore URL not set');
101
107
  return;
102
108
  }
103
109
 
110
+ if (!this.settingsCache.get('explore_ping')) {
111
+ this.logging.info('Explore ping disabled');
112
+ return;
113
+ }
114
+
104
115
  const payload = await this.constructPayload();
105
116
  await this.makeRequest(exploreUrl, payload);
106
117
  }
@@ -947,10 +947,7 @@ module.exports = class MemberRepository {
947
947
  ghostProduct = await this._productRepository.get({stripe_product_id: subscriptionPriceData.product}, options);
948
948
  // Use first Ghost product as default product in case of missing link
949
949
  if (!ghostProduct) {
950
- ghostProduct = await this._productRepository.getDefaultProduct({
951
- forUpdate: true,
952
- ...options
953
- });
950
+ ghostProduct = await this._productRepository.getDefaultProduct(options);
954
951
  }
955
952
 
956
953
  // Link Stripe Product & Price to Ghost Product
@@ -25,6 +25,10 @@ module.exports = function getConfigProperties() {
25
25
  security: config.get('security')
26
26
  };
27
27
 
28
+ if (config.get('explore') && config.get('explore:testimonials_url')) {
29
+ configProperties.exploreTestimonialsUrl = config.get('explore:testimonials_url');
30
+ }
31
+
28
32
  // WIP tinybird stats feature - it's entirely config driven instead of using an alpha flag for now
29
33
  if (config.get('tinybird') && config.get('tinybird:stats')) {
30
34
  const statsConfig = config.get('tinybird:stats');
@@ -109,6 +109,10 @@ module.exports = {
109
109
  // Social web (ActivityPub)
110
110
  fields.push(new CalculatedField({key: 'social_web_enabled', type: 'boolean', group: 'social_web', fn: settingsHelpers.isSocialWebEnabled.bind(settingsHelpers), dependents: ['social_web', 'labs']}));
111
111
 
112
+ // Web analytics
113
+ fields.push(new CalculatedField({key: 'web_analytics_enabled', type: 'boolean', group: 'analytics', fn: settingsHelpers.isWebAnalyticsEnabled.bind(settingsHelpers), dependents: ['web_analytics', 'labs']}));
114
+ fields.push(new CalculatedField({key: 'web_analytics_configured', type: 'boolean', group: 'analytics', fn: settingsHelpers.isWebAnalyticsConfigured.bind(settingsHelpers), dependents: ['web_analytics']}));
115
+
112
116
  return fields;
113
117
  },
114
118
 
@@ -1,19 +1,22 @@
1
+ const net = require('net');
1
2
  const tpl = require('@tryghost/tpl');
2
3
  const errors = require('@tryghost/errors');
3
4
  const EmailAddressParser = require('../email-address/EmailAddressParser');
4
5
  const logging = require('@tryghost/logging');
5
6
  const crypto = require('crypto');
7
+ const debug = require('@tryghost/debug')('services:settings-helpers');
6
8
 
7
9
  const messages = {
8
10
  incorrectKeyType: 'type must be one of "direct" or "connect".'
9
11
  };
10
12
 
11
13
  class SettingsHelpers {
12
- constructor({settingsCache, urlUtils, config, labs}) {
14
+ constructor({settingsCache, urlUtils, config, labs, limitService}) {
13
15
  this.settingsCache = settingsCache;
14
16
  this.urlUtils = urlUtils;
15
17
  this.config = config;
16
18
  this.labs = labs;
19
+ this.limitService = limitService;
17
20
  }
18
21
 
19
22
  isMembersEnabled() {
@@ -220,20 +223,124 @@ class SettingsHelpers {
220
223
  }
221
224
 
222
225
  /**
223
- * Social web (ActivityPub) is enabled if:
224
- * - Social web is enabled in the settings
225
- * - 'ActivityPub' flag is enabled in the labs, for compatibility with Ghost 5.x
226
- * - Config allows it (TODO)
227
- * - Billing allows it (TODO)
226
+ * Calculated setting for Social web (ActivityPub)
228
227
  *
229
228
  * @returns {boolean}
230
229
  */
231
230
  isSocialWebEnabled() {
232
- return this.settingsCache.get('social_web') === true && this.labs.isSet('ActivityPub');
231
+ // UI setting
232
+ if (this.settingsCache.get('social_web') !== true) {
233
+ debug('Social web is disabled in settings');
234
+ return false;
235
+ }
236
+
237
+ // Labs setting
238
+ if (!this.labs.isSet('ActivityPub')) {
239
+ debug('Social web is disabled in labs');
240
+ return false;
241
+ }
242
+
243
+ // Ghost (Pro) limits
244
+ if (this.limitService.isDisabled('limitSocialWeb')) {
245
+ debug('Social web is not available for Ghost (Pro) sites without a custom domain, or hosted on a subdirectory');
246
+ return false;
247
+ }
248
+
249
+ // Social web (ActivityPub) currently does not support Ghost sites hosted on a subdirectory, e.g. https://example.com/blog/
250
+ const subdirectory = this.urlUtils.getSubdir();
251
+ if (subdirectory) {
252
+ debug('Social web is not available for Ghost sites hosted on a subdirectory');
253
+ return false;
254
+ }
255
+
256
+ // Self-hosters cannot connect to production ActivityPub servers from localhost or IPs addresses
257
+ const siteUrl = new URL(this.urlUtils.getSiteUrl());
258
+ const isLocalhost = siteUrl.hostname === 'localhost' || siteUrl.hostname === '127.0.0.1' || siteUrl.hostname === '::1';
259
+ const isIP = net.isIP(siteUrl.hostname);
260
+ if (process.env.NODE_ENV === 'production' && (isLocalhost || isIP)) {
261
+ debug('Social web is not available from localhost or IPs addresses in production');
262
+ return false;
263
+ }
264
+
265
+ return true;
266
+ }
267
+
268
+ /**
269
+ * Calculated setting for Web analytics
270
+ *
271
+ * Setting > Labs Flag > Config > Limit Service
272
+ *
273
+ * @returns {boolean}
274
+ */
275
+ isWebAnalyticsEnabled() {
276
+ // UI setting
277
+ if (this.settingsCache.get('web_analytics') !== true) {
278
+ debug('Web analytics is disabled in settings');
279
+ return false;
280
+ }
281
+
282
+ // Labs setting
283
+ if (!this.labs.isSet('trafficAnalytics')) {
284
+ debug('Web analytics is disabled in labs');
285
+ return false;
286
+ }
287
+
288
+ // Check if web analytics can be configured (limit service and required config)
289
+ if (!this.isWebAnalyticsConfigured()) {
290
+ return false;
291
+ }
292
+
293
+ return true;
294
+ }
295
+
296
+ /**
297
+ * Check if web analytics can be configured (used for UI enable/disable state)
298
+ *
299
+ * @returns {boolean}
300
+ */
301
+ isWebAnalyticsConfigured() {
302
+ // Correct config is required
303
+ if (!this._isValidTinybirdConfig()) {
304
+ return false;
305
+ }
306
+
307
+ // Ghost (Pro) limits
308
+ if (this.limitService.isDisabled('limitAnalytics')) {
309
+ debug('Web analytics configuration is not available for Ghost (Pro) sites without a custom domain, or hosted on a subdirectory');
310
+ return false;
311
+ }
312
+
313
+ return true;
233
314
  }
234
315
 
235
316
  // PRIVATE
236
317
 
318
+ /**
319
+ * Validates tinybird configuration for web analytics
320
+ * @returns {boolean} True if config is valid, false otherwise
321
+ * @private
322
+ */
323
+ _isValidTinybirdConfig() {
324
+ const tinybirdConfig = this.config.get('tinybird');
325
+
326
+ // First requirement: tinybird:tracker:endpoint is always required
327
+ if (!tinybirdConfig || !tinybirdConfig.tracker?.endpoint) {
328
+ debug('Web analytics is not available without tinybird:tracker:endpoint');
329
+ return false;
330
+ }
331
+
332
+ // Second requirement: Either JWT config OR local stats config
333
+ const hasJwtConfig = !!(tinybirdConfig.workspaceId && tinybirdConfig.adminToken);
334
+ const hasLocalConfig = !!(tinybirdConfig.stats?.local?.enabled);
335
+
336
+ if (!hasJwtConfig && !hasLocalConfig) {
337
+ debug('Web analytics requires either (workspaceId + adminToken) or stats.local.enabled');
338
+ return false;
339
+ }
340
+
341
+ return true;
342
+ }
343
+
237
344
  #managedEmailEnabled() {
238
345
  return !!this.config.get('hostSettings:managedEmail:enabled');
239
346
  }
@@ -3,5 +3,6 @@ const urlUtils = require('../../../shared/url-utils');
3
3
  const config = require('../../../shared/config');
4
4
  const SettingsHelpers = require('./SettingsHelpers');
5
5
  const labs = require('../../../shared/labs');
6
+ const limitService = require('../limits');
6
7
 
7
- module.exports = new SettingsHelpers({settingsCache, urlUtils, config, labs});
8
+ module.exports = new SettingsHelpers({settingsCache, urlUtils, config, labs, limitService});
@@ -245,8 +245,7 @@ class StatsService {
245
245
  const request = deps.request || require('../../lib/request-external');
246
246
  const settingsCache = deps.settingsCache || require('../../../shared/settings-cache');
247
247
 
248
- // Only create the client if Tinybird is configured
249
- if (config.get('tinybird') && config.get('tinybird:stats')) {
248
+ if (settingsCache.get('web_analytics_enabled')) {
250
249
  // TODO: move the tinybird client to the tinybird service
251
250
  const TinybirdServiceWrapper = require('../tinybird');
252
251
  TinybirdServiceWrapper.init();
@@ -19,9 +19,18 @@ const messages = {
19
19
  const installFromGithub = async (ref) => {
20
20
  const [org, repo] = ref.toLowerCase().split('/');
21
21
 
22
- //TODO: move the organization check to config
23
- if (limitService.isLimited('customThemes') && org.toLowerCase() !== 'tryghost') {
24
- await limitService.errorIfWouldGoOverLimit('customThemes', {value: repo.toLowerCase()});
22
+ if (limitService.isLimited('customThemes')) {
23
+ // The custom theme limit might consist of only one single theme, so we can't rely on
24
+ // the org alone to determine if the request is allowed or not.
25
+ const noOtherThemesAllowed = limitService.limits.customThemes?.allowlist?.length === 1;
26
+ //TODO: move the organization check to config
27
+ const isNotOfficialThemeRequest = org.toLowerCase() !== 'tryghost';
28
+
29
+ const checkThemeLimit = noOtherThemesAllowed || isNotOfficialThemeRequest;
30
+
31
+ if (checkThemeLimit) {
32
+ await limitService.errorIfWouldGoOverLimit('customThemes', {value: repo.toLowerCase()});
33
+ }
25
34
  }
26
35
 
27
36
  // omit /:ref so we fetch the default branch
@@ -62,6 +71,11 @@ const installFromGithub = async (ref) => {
62
71
  }));
63
72
  }
64
73
 
74
+ if (e instanceof errors.HostLimitError) {
75
+ // If the error is a HostLimitError, we can assume that the theme name is not allowed
76
+ return Promise.reject(e);
77
+ }
78
+
65
79
  throw e;
66
80
  } finally {
67
81
  // clean up tmp dir with downloaded file
@@ -17,5 +17,9 @@
17
17
  "enabled": true
18
18
  },
19
19
  "transports": ["file"]
20
+ },
21
+ "explore": {
22
+ "update_url": "https://explore.ghost.org/api/update",
23
+ "testimonials_url": "https://explore.ghost.org/api/testimonials"
20
24
  }
21
25
  }
@@ -47,7 +47,6 @@ const PRIVATE_FEATURES = [
47
47
  'urlCache',
48
48
  'mailEvents',
49
49
  'lexicalIndicators',
50
- 'trafficAnalyticsAlpha',
51
50
  'ui60',
52
51
  'contentVisibilityAlpha',
53
52
  'explore',
@@ -62,6 +62,8 @@ const _ = require('lodash');
62
62
  * @property {string|null} editor_default_email_recipients - Default email recipients for editor
63
63
  * @property {string|null} labs - JSON string of enabled labs features
64
64
  * @property {boolean|null} social_web_enabled - Whether social web is enabled
65
+ * @property {boolean|null} web_analytics_enabled - Whether web analytics is enabled
66
+ * @property {boolean|null} web_analytics_configured - Whether web analytics is configured
65
67
  * @property {never} [x] - Prevent accessing undefined properties
66
68
  */
67
69
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ghost",
3
- "version": "5.129.1",
3
+ "version": "5.130.0",
4
4
  "description": "The professional publishing platform",
5
5
  "author": "Ghost Foundation",
6
6
  "homepage": "https://ghost.org",
@@ -75,20 +75,20 @@
75
75
  "@tryghost/admin-api-schema": "4.5.10",
76
76
  "@tryghost/api-framework": "1.0.2",
77
77
  "@tryghost/bookshelf-plugins": "0.6.27",
78
- "@tryghost/color-utils": "0.2.8",
78
+ "@tryghost/color-utils": "0.2.9",
79
79
  "@tryghost/config-url-helpers": "1.0.17",
80
80
  "@tryghost/custom-fonts": "1.0.2",
81
81
  "@tryghost/database-info": "0.3.30",
82
82
  "@tryghost/debug": "0.1.35",
83
- "@tryghost/domain-events": "1.0.1",
83
+ "@tryghost/domain-events": "1.0.2",
84
84
  "@tryghost/email-mock-receiver": "0.3.11",
85
85
  "@tryghost/errors": "1.3.8",
86
86
  "@tryghost/helpers": "1.1.97",
87
87
  "@tryghost/html-to-plaintext": "1.0.4",
88
88
  "@tryghost/http-cache-utils": "0.1.20",
89
- "@tryghost/i18n": "file:components/tryghost-i18n-5.129.1.tgz",
89
+ "@tryghost/i18n": "file:components/tryghost-i18n-5.130.0.tgz",
90
90
  "@tryghost/image-transform": "1.4.6",
91
- "@tryghost/job-manager": "1.0.2",
91
+ "@tryghost/job-manager": "1.0.3",
92
92
  "@tryghost/kg-card-factory": "5.1.2",
93
93
  "@tryghost/kg-clean-basic-html": "4.2.7",
94
94
  "@tryghost/kg-converters": "1.1.7",
@@ -100,8 +100,8 @@
100
100
  "@tryghost/kg-lexical-html-renderer": "1.3.24",
101
101
  "@tryghost/kg-markdown-html-renderer": "7.1.3",
102
102
  "@tryghost/kg-mobiledoc-html-renderer": "7.1.3",
103
- "@tryghost/limit-service": "1.3.2",
104
- "@tryghost/logging": "2.4.22",
103
+ "@tryghost/limit-service": "1.4.0",
104
+ "@tryghost/logging": "2.4.23",
105
105
  "@tryghost/members-csv": "2.0.3",
106
106
  "@tryghost/metrics": "1.0.38",
107
107
  "@tryghost/mw-error-handler": "1.0.7",
@@ -109,13 +109,13 @@
109
109
  "@tryghost/nodemailer": "0.3.48",
110
110
  "@tryghost/nql": "0.12.7",
111
111
  "@tryghost/pretty-cli": "1.2.47",
112
- "@tryghost/prometheus-metrics": "1.0.1",
112
+ "@tryghost/prometheus-metrics": "1.0.2",
113
113
  "@tryghost/promise": "0.3.15",
114
114
  "@tryghost/referrer-parser": "0.1.8",
115
- "@tryghost/request": "1.0.11",
115
+ "@tryghost/request": "1.0.12",
116
116
  "@tryghost/root-utils": "0.3.33",
117
117
  "@tryghost/security": "1.0.1",
118
- "@tryghost/social-urls": "0.1.52",
118
+ "@tryghost/social-urls": "0.1.53",
119
119
  "@tryghost/string": "0.2.17",
120
120
  "@tryghost/tpl": "0.1.35",
121
121
  "@tryghost/url-utils": "4.4.14",
@@ -182,7 +182,7 @@
182
182
  "knex-migrator": "5.3.2",
183
183
  "leaky-bucket": "2.2.0",
184
184
  "lodash": "4.17.21",
185
- "luxon": "3.6.1",
185
+ "luxon": "3.7.1",
186
186
  "mailgun.js": "10.4.0",
187
187
  "metascraper": "5.45.15",
188
188
  "metascraper-author": "5.45.10",
@@ -197,7 +197,7 @@
197
197
  "moment": "2.24.0",
198
198
  "moment-timezone": "0.5.45",
199
199
  "multer": "2.0.1",
200
- "mysql2": "3.14.1",
200
+ "mysql2": "3.14.2",
201
201
  "nconf": "0.13.0",
202
202
  "node-fetch": "2.7.0",
203
203
  "node-jose": "2.2.0",
@@ -226,21 +226,21 @@
226
226
  },
227
227
  "devDependencies": {
228
228
  "@actions/core": "1.11.1",
229
- "@playwright/test": "1.53.2",
229
+ "@playwright/test": "1.54.1",
230
230
  "@prettier/sync": "0.6.1",
231
231
  "@tryghost/express-test": "0.15.0",
232
232
  "@tryghost/webhook-mock-receiver": "0.2.17",
233
233
  "@types/bookshelf": "1.2.9",
234
234
  "@types/common-tags": "1.8.4",
235
235
  "@types/jsonwebtoken": "9.0.10",
236
- "@types/node": "22.16.0",
236
+ "@types/node": "22.16.4",
237
237
  "@types/node-jose": "1.1.13",
238
238
  "@types/nodemailer": "6.4.17",
239
239
  "@types/sinon": "17.0.4",
240
240
  "@types/supertest": "6.0.3",
241
241
  "c8": "10.1.3",
242
242
  "cli-progress": "3.12.0",
243
- "cssnano": "7.0.7",
243
+ "cssnano": "7.1.0",
244
244
  "detect-indent": "6.1.0",
245
245
  "detect-newline": "3.1.0",
246
246
  "expect": "29.7.0",
@@ -270,11 +270,11 @@
270
270
  },
271
271
  "resolutions": {
272
272
  "@tryghost/errors": "1.3.8",
273
- "@tryghost/logging": "2.4.22",
273
+ "@tryghost/logging": "2.4.23",
274
274
  "jackspeak": "2.3.6",
275
275
  "moment": "2.24.0",
276
276
  "moment-timezone": "0.5.45",
277
- "@tryghost/i18n": "file:components/tryghost-i18n-5.129.1.tgz"
277
+ "@tryghost/i18n": "file:components/tryghost-i18n-5.130.0.tgz"
278
278
  },
279
279
  "nx": {
280
280
  "targets": {