ghost 6.0.0 → 6.0.1

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 (22) hide show
  1. package/components/tryghost-i18n-6.0.1.tgz +0 -0
  2. package/core/built/admin/assets/admin-x-activitypub/admin-x-activitypub.js +2 -2
  3. package/core/built/admin/assets/admin-x-activitypub/{index-D1M-ytsZ.mjs → index-CDrRmlpe.mjs} +3371 -3329
  4. package/core/built/admin/assets/admin-x-activitypub/{index-BV-9xDf-.mjs → index-WIpRkbBf.mjs} +2 -2
  5. package/core/built/admin/assets/admin-x-settings/{CodeEditorView-Dk8bRHNh.mjs → CodeEditorView-9qhoUeVL.mjs} +2 -2
  6. package/core/built/admin/assets/admin-x-settings/admin-x-settings.js +1 -1
  7. package/core/built/admin/assets/admin-x-settings/{index-B_Owqg5X.mjs → index-BzxJK9GM.mjs} +5 -5
  8. package/core/built/admin/assets/admin-x-settings/{index-Uj24wdZL.mjs → index-CnakDjsf.mjs} +2 -2
  9. package/core/built/admin/assets/admin-x-settings/{modals-B21zmw-Y.mjs → modals-BHwWDshH.mjs} +2297 -2289
  10. package/core/built/admin/assets/{chunk.524.b65720d94bb0efea4451.js → chunk.524.54926af287de331c1ed0.js} +7 -7
  11. package/core/built/admin/assets/{chunk.582.beb1f42244d654a85833.js → chunk.582.343ddc9811a43f00de93.js} +9 -9
  12. package/core/built/admin/assets/{ghost-338989d8cb5fce4a84d53ddd39ac80d4.js → ghost-dfaf1657ee466f4f397c27bbae0759bc.js} +3 -3
  13. package/core/built/admin/assets/posts/posts.js +25399 -25302
  14. package/core/built/admin/assets/stats/stats.js +15001 -14951
  15. package/core/built/admin/index.html +3 -3
  16. package/core/frontend/helpers/ghost_head.js +1 -1
  17. package/core/server/api/endpoints/db.js +1 -1
  18. package/core/server/api/endpoints/members.js +1 -1
  19. package/core/server/models/post.js +1 -1
  20. package/package.json +3 -3
  21. package/yarn.lock +4 -4
  22. package/components/tryghost-i18n-6.0.0.tgz +0 -0
@@ -6,7 +6,7 @@
6
6
  <title>Ghost</title>
7
7
 
8
8
 
9
- <meta name="ghost-admin/config/environment" content="%7B%22modulePrefix%22%3A%22ghost-admin%22%2C%22environment%22%3A%22production%22%2C%22cdnUrl%22%3A%22%22%2C%22editorUrl%22%3A%22%22%2C%22rootURL%22%3A%22%22%2C%22locationType%22%3A%22trailing-hash%22%2C%22EmberENV%22%3A%7B%22FEATURES%22%3A%7B%7D%2C%22EXTEND_PROTOTYPES%22%3A%7B%22Date%22%3Afalse%2C%22Array%22%3Atrue%2C%22String%22%3Atrue%2C%22Function%22%3Afalse%7D%2C%22_APPLICATION_TEMPLATE_WRAPPER%22%3Afalse%2C%22_JQUERY_INTEGRATION%22%3Atrue%2C%22_TEMPLATE_ONLY_GLIMMER_COMPONENTS%22%3Atrue%7D%2C%22APP%22%3A%7B%22version%22%3A%226.0%22%2C%22name%22%3A%22ghost-admin%22%7D%2C%22ember-simple-auth%22%3A%7B%7D%2C%22%40sentry%2Fember%22%3A%7B%22disablePerformance%22%3Atrue%2C%22sentry%22%3A%7B%7D%7D%2C%22ember-cli-mirage%22%3A%7B%22usingProxy%22%3Afalse%2C%22useDefaultPassthroughs%22%3Atrue%7D%2C%22exportApplicationGlobal%22%3Afalse%2C%22ember-load%22%3A%7B%22loadingIndicatorClass%22%3A%22ember-load-indicator%22%7D%2C%22editorFilename%22%3A%22koenig-lexical.umd.js%22%2C%22editorHash%22%3A%2237bd1e3e4d%22%2C%22adminXSettingsFilename%22%3A%22admin-x-settings.js%22%2C%22adminXSettingsHash%22%3A%223958492b48%22%2C%22adminXActivitypubFilename%22%3A%22admin-x-activitypub.js%22%2C%22adminXActivitypubHash%22%3A%22a6a89eb153%22%2C%22postsFilename%22%3A%22posts.js%22%2C%22postsHash%22%3A%221a3a628146%22%2C%22statsFilename%22%3A%22stats.js%22%2C%22statsHash%22%3A%229a36081a2d%22%2C%22adminXActivitypubCustomUrl%22%3A%22https%3A%2F%2Fcdn.jsdelivr.net%2Fghost%2Fadmin-x-activitypub%400%2Fdist%2Fadmin-x-activitypub.js%22%7D" />
9
+ <meta name="ghost-admin/config/environment" content="%7B%22modulePrefix%22%3A%22ghost-admin%22%2C%22environment%22%3A%22production%22%2C%22cdnUrl%22%3A%22%22%2C%22editorUrl%22%3A%22%22%2C%22rootURL%22%3A%22%22%2C%22locationType%22%3A%22trailing-hash%22%2C%22EmberENV%22%3A%7B%22FEATURES%22%3A%7B%7D%2C%22EXTEND_PROTOTYPES%22%3A%7B%22Date%22%3Afalse%2C%22Array%22%3Atrue%2C%22String%22%3Atrue%2C%22Function%22%3Afalse%7D%2C%22_APPLICATION_TEMPLATE_WRAPPER%22%3Afalse%2C%22_JQUERY_INTEGRATION%22%3Atrue%2C%22_TEMPLATE_ONLY_GLIMMER_COMPONENTS%22%3Atrue%7D%2C%22APP%22%3A%7B%22version%22%3A%226.0%22%2C%22name%22%3A%22ghost-admin%22%7D%2C%22ember-simple-auth%22%3A%7B%7D%2C%22%40sentry%2Fember%22%3A%7B%22disablePerformance%22%3Atrue%2C%22sentry%22%3A%7B%7D%7D%2C%22ember-cli-mirage%22%3A%7B%22usingProxy%22%3Afalse%2C%22useDefaultPassthroughs%22%3Atrue%7D%2C%22exportApplicationGlobal%22%3Afalse%2C%22ember-load%22%3A%7B%22loadingIndicatorClass%22%3A%22ember-load-indicator%22%7D%2C%22editorFilename%22%3A%22koenig-lexical.umd.js%22%2C%22editorHash%22%3A%2237bd1e3e4d%22%2C%22adminXSettingsFilename%22%3A%22admin-x-settings.js%22%2C%22adminXSettingsHash%22%3A%2204c1ece7c0%22%2C%22adminXActivitypubFilename%22%3A%22admin-x-activitypub.js%22%2C%22adminXActivitypubHash%22%3A%225485f1b1fe%22%2C%22postsFilename%22%3A%22posts.js%22%2C%22postsHash%22%3A%2281ffce2b0e%22%2C%22statsFilename%22%3A%22stats.js%22%2C%22statsHash%22%3A%22d74e43efdd%22%2C%22adminXActivitypubCustomUrl%22%3A%22https%3A%2F%2Fcdn.jsdelivr.net%2Fghost%2Fadmin-x-activitypub%400%2Fdist%2Fadmin-x-activitypub.js%22%7D" />
10
10
 
11
11
  <meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1, minimal-ui, viewport-fit=cover" />
12
12
  <meta name="pinterest" content="nopin" />
@@ -49,7 +49,7 @@
49
49
 
50
50
  <script src="assets/vendor-aed0068cf9b67d042dd23a6343545b7b.js"></script>
51
51
  <script src="assets/chunk.397.f965bec6bb556d2750de.js"></script>
52
- <script src="assets/chunk.524.b65720d94bb0efea4451.js"></script>
53
- <script src="assets/ghost-338989d8cb5fce4a84d53ddd39ac80d4.js"></script>
52
+ <script src="assets/chunk.524.54926af287de331c1ed0.js"></script>
53
+ <script src="assets/ghost-dfaf1657ee466f4f397c27bbae0759bc.js"></script>
54
54
  </body>
55
55
  </html>
@@ -171,7 +171,7 @@ function getTinybirdTrackerScript(dataRoot) {
171
171
  const tbParams = _.map({
172
172
  site_uuid: settingsCache.get('site_uuid'),
173
173
  post_uuid: dataRoot.post?.uuid,
174
- post_type: dataRoot.context.includes('post') ? 'post' : dataRoot.context.includes('page') ? 'page' : null,
174
+ post_type: dataRoot.context?.includes('post') ? 'post' : dataRoot.context?.includes('page') ? 'page' : null,
175
175
  member_uuid: dataRoot.member?.uuid,
176
176
  member_status: dataRoot.member?.status
177
177
  }, (value, key) => `tb_${key}="${value}"`).join(' ');
@@ -96,7 +96,7 @@ const controller = {
96
96
  if (frame.user) {
97
97
  email = frame.user.get('email');
98
98
  } else {
99
- email = await models.User.getOwnerUser().get('email');
99
+ email = (await models.User.getOwnerUser()).get('email');
100
100
  }
101
101
 
102
102
  return importer.importFromFile(frame.file, {
@@ -428,7 +428,7 @@ const controller = {
428
428
  if (frame.user) {
429
429
  email = frame.user.get('email');
430
430
  } else {
431
- email = await models.User.getOwnerUser().get('email');
431
+ email = (await models.User.getOwnerUser()).get('email');
432
432
  }
433
433
 
434
434
  return membersService.processImport({
@@ -914,7 +914,7 @@ Post = ghostBookshelf.Model.extend({
914
914
  let authorId = await this.contextUser(options);
915
915
  const authorExists = await ghostBookshelf.model('User').findOne({id: authorId}, {transacting: options.transacting});
916
916
  if (!authorExists) {
917
- authorId = await ghostBookshelf.model('User').getOwnerUser().get('id');
917
+ authorId = (await ghostBookshelf.model('User').getOwnerUser()).get('id');
918
918
  }
919
919
  ops.push(async function updateRevisions() {
920
920
  const revisionModels = await ghostBookshelf.model('PostRevision')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ghost",
3
- "version": "6.0.0",
3
+ "version": "6.0.1",
4
4
  "description": "The professional publishing platform",
5
5
  "author": "Ghost Foundation",
6
6
  "homepage": "https://ghost.org",
@@ -86,7 +86,7 @@
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-6.0.0.tgz",
89
+ "@tryghost/i18n": "file:components/tryghost-i18n-6.0.1.tgz",
90
90
  "@tryghost/image-transform": "1.4.6",
91
91
  "@tryghost/job-manager": "1.0.3",
92
92
  "@tryghost/kg-card-factory": "5.1.2",
@@ -273,7 +273,7 @@
273
273
  "jackspeak": "2.3.6",
274
274
  "moment": "2.24.0",
275
275
  "moment-timezone": "0.5.45",
276
- "@tryghost/i18n": "file:components/tryghost-i18n-6.0.0.tgz"
276
+ "@tryghost/i18n": "file:components/tryghost-i18n-6.0.1.tgz"
277
277
  },
278
278
  "nx": {
279
279
  "targets": {
package/yarn.lock CHANGED
@@ -27922,10 +27922,10 @@ react-remove-scroll@^2.6.3:
27922
27922
  use-callback-ref "^1.3.3"
27923
27923
  use-sidecar "^1.1.3"
27924
27924
 
27925
- react-router@7.7.1:
27926
- version "7.7.1"
27927
- resolved "https://registry.yarnpkg.com/react-router/-/react-router-7.7.1.tgz#c12ebbad162da655951dd79325f205f7238d609e"
27928
- integrity sha512-jVKHXoWRIsD/qS6lvGveckwb862EekvapdHJN/cGmzw40KnJH5gg53ujOJ4qX6EKIK9LSBfFed/xiQ5yeXNrUA==
27925
+ react-router@7.8.0:
27926
+ version "7.8.0"
27927
+ resolved "https://registry.yarnpkg.com/react-router/-/react-router-7.8.0.tgz#2bc07e0a9ff74d88ee38c2f27897e968b8f59170"
27928
+ integrity sha512-r15M3+LHKgM4SOapNmsH3smAizWds1vJ0Z9C4mWaKnT9/wD7+d/0jYcj6LmOvonkrO4Rgdyp4KQ/29gWN2i1eg==
27929
27929
  dependencies:
27930
27930
  cookie "^1.0.1"
27931
27931
  set-cookie-parser "^2.6.0"
Binary file