ghost 5.83.0 → 5.84.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 (164) hide show
  1. package/components/tryghost-adapter-cache-memory-ttl-5.84.1.tgz +0 -0
  2. package/components/tryghost-adapter-cache-redis-5.84.1.tgz +0 -0
  3. package/components/{tryghost-adapter-manager-5.83.0.tgz → tryghost-adapter-manager-5.84.1.tgz} +0 -0
  4. package/components/tryghost-announcement-bar-settings-5.84.1.tgz +0 -0
  5. package/components/{tryghost-api-framework-5.83.0.tgz → tryghost-api-framework-5.84.1.tgz} +0 -0
  6. package/components/{tryghost-api-version-compatibility-service-5.83.0.tgz → tryghost-api-version-compatibility-service-5.84.1.tgz} +0 -0
  7. package/components/tryghost-audience-feedback-5.84.1.tgz +0 -0
  8. package/components/tryghost-bookshelf-repository-5.84.1.tgz +0 -0
  9. package/components/tryghost-bootstrap-socket-5.84.1.tgz +0 -0
  10. package/components/tryghost-collections-5.84.1.tgz +0 -0
  11. package/components/tryghost-constants-5.84.1.tgz +0 -0
  12. package/components/tryghost-custom-theme-settings-service-5.84.1.tgz +0 -0
  13. package/components/{tryghost-data-generator-5.83.0.tgz → tryghost-data-generator-5.84.1.tgz} +0 -0
  14. package/components/tryghost-domain-events-5.84.1.tgz +0 -0
  15. package/components/tryghost-donations-5.84.1.tgz +0 -0
  16. package/components/tryghost-dynamic-routing-events-5.84.1.tgz +0 -0
  17. package/components/tryghost-email-addresses-5.84.1.tgz +0 -0
  18. package/components/tryghost-email-analytics-provider-mailgun-5.84.1.tgz +0 -0
  19. package/components/{tryghost-email-analytics-service-5.83.0.tgz → tryghost-email-analytics-service-5.84.1.tgz} +0 -0
  20. package/components/tryghost-email-content-generator-5.84.1.tgz +0 -0
  21. package/components/{tryghost-email-events-5.83.0.tgz → tryghost-email-events-5.84.1.tgz} +0 -0
  22. package/components/tryghost-email-service-5.84.1.tgz +0 -0
  23. package/components/tryghost-email-suppression-list-5.84.1.tgz +0 -0
  24. package/components/tryghost-express-dynamic-redirects-5.84.1.tgz +0 -0
  25. package/components/tryghost-external-media-inliner-5.84.1.tgz +0 -0
  26. package/components/tryghost-extract-api-key-5.84.1.tgz +0 -0
  27. package/components/{tryghost-ghost-5.83.0.tgz → tryghost-ghost-5.84.1.tgz} +0 -0
  28. package/components/tryghost-html-to-plaintext-5.84.1.tgz +0 -0
  29. package/components/tryghost-i18n-5.84.1.tgz +0 -0
  30. package/components/tryghost-importer-handler-content-files-5.84.1.tgz +0 -0
  31. package/components/{tryghost-importer-revue-5.83.0.tgz → tryghost-importer-revue-5.84.1.tgz} +0 -0
  32. package/components/tryghost-in-memory-repository-5.84.1.tgz +0 -0
  33. package/components/{tryghost-job-manager-5.83.0.tgz → tryghost-job-manager-5.84.1.tgz} +0 -0
  34. package/components/{tryghost-link-redirects-5.83.0.tgz → tryghost-link-redirects-5.84.1.tgz} +0 -0
  35. package/components/tryghost-link-replacer-5.84.1.tgz +0 -0
  36. package/components/tryghost-link-tracking-5.84.1.tgz +0 -0
  37. package/components/{tryghost-magic-link-5.83.0.tgz → tryghost-magic-link-5.84.1.tgz} +0 -0
  38. package/components/{tryghost-mail-events-5.83.0.tgz → tryghost-mail-events-5.84.1.tgz} +0 -0
  39. package/components/tryghost-mailgun-client-5.84.1.tgz +0 -0
  40. package/components/{tryghost-member-attribution-5.83.0.tgz → tryghost-member-attribution-5.84.1.tgz} +0 -0
  41. package/components/tryghost-member-events-5.84.1.tgz +0 -0
  42. package/components/tryghost-members-api-5.84.1.tgz +0 -0
  43. package/components/tryghost-members-csv-5.84.1.tgz +0 -0
  44. package/components/tryghost-members-events-service-5.84.1.tgz +0 -0
  45. package/components/{tryghost-members-importer-5.83.0.tgz → tryghost-members-importer-5.84.1.tgz} +0 -0
  46. package/components/{tryghost-members-offers-5.83.0.tgz → tryghost-members-offers-5.84.1.tgz} +0 -0
  47. package/components/{tryghost-members-payments-5.83.0.tgz → tryghost-members-payments-5.84.1.tgz} +0 -0
  48. package/components/tryghost-members-ssr-5.84.1.tgz +0 -0
  49. package/components/tryghost-members-stripe-service-5.84.1.tgz +0 -0
  50. package/components/tryghost-mentions-email-report-5.84.1.tgz +0 -0
  51. package/components/tryghost-milestones-5.84.1.tgz +0 -0
  52. package/components/tryghost-minifier-5.84.1.tgz +0 -0
  53. package/components/tryghost-model-to-domain-event-interceptor-5.84.1.tgz +0 -0
  54. package/components/tryghost-mw-api-version-mismatch-5.84.1.tgz +0 -0
  55. package/components/tryghost-mw-cache-control-5.84.1.tgz +0 -0
  56. package/components/tryghost-mw-error-handler-5.84.1.tgz +0 -0
  57. package/components/tryghost-mw-session-from-token-5.84.1.tgz +0 -0
  58. package/components/tryghost-mw-update-user-last-seen-5.84.1.tgz +0 -0
  59. package/components/tryghost-mw-version-match-5.84.1.tgz +0 -0
  60. package/components/tryghost-mw-vhost-5.84.1.tgz +0 -0
  61. package/components/tryghost-nql-filter-expansions-5.84.1.tgz +0 -0
  62. package/components/tryghost-oembed-service-5.84.1.tgz +0 -0
  63. package/components/{tryghost-package-json-5.83.0.tgz → tryghost-package-json-5.84.1.tgz} +0 -0
  64. package/components/tryghost-post-events-5.84.1.tgz +0 -0
  65. package/components/tryghost-post-revisions-5.84.1.tgz +0 -0
  66. package/components/{tryghost-posts-service-5.83.0.tgz → tryghost-posts-service-5.84.1.tgz} +0 -0
  67. package/components/tryghost-recommendations-5.84.1.tgz +0 -0
  68. package/components/tryghost-referrers-5.84.1.tgz +0 -0
  69. package/components/{tryghost-security-5.83.0.tgz → tryghost-security-5.84.1.tgz} +0 -0
  70. package/components/{tryghost-session-service-5.83.0.tgz → tryghost-session-service-5.84.1.tgz} +0 -0
  71. package/components/{tryghost-settings-path-manager-5.83.0.tgz → tryghost-settings-path-manager-5.84.1.tgz} +0 -0
  72. package/components/tryghost-slack-notifications-5.84.1.tgz +0 -0
  73. package/components/{tryghost-staff-service-5.83.0.tgz → tryghost-staff-service-5.84.1.tgz} +0 -0
  74. package/components/tryghost-stats-service-5.84.1.tgz +0 -0
  75. package/components/tryghost-tiers-5.84.1.tgz +0 -0
  76. package/components/{tryghost-update-check-service-5.83.0.tgz → tryghost-update-check-service-5.84.1.tgz} +0 -0
  77. package/components/tryghost-verification-trigger-5.84.1.tgz +0 -0
  78. package/components/tryghost-version-notifications-data-service-5.84.1.tgz +0 -0
  79. package/components/{tryghost-webmentions-5.83.0.tgz → tryghost-webmentions-5.84.1.tgz} +0 -0
  80. package/content/themes/source/default.hbs +5 -0
  81. package/content/themes/source/package.json +1 -1
  82. package/core/built/admin/assets/admin-x-settings/{CodeEditorView-d8e0ec68.mjs → CodeEditorView-eaf264d3.mjs} +2 -2
  83. package/core/built/admin/assets/admin-x-settings/admin-x-settings.js +2 -2
  84. package/core/built/admin/assets/admin-x-settings/{index-a83dd4fa.mjs → index-39468f31.mjs} +305 -305
  85. package/core/built/admin/assets/admin-x-settings/{index-7b657428.mjs → index-b0e98052.mjs} +2279 -2268
  86. package/core/built/admin/assets/admin-x-settings/{modals-1155e24d.mjs → modals-8fb51a51.mjs} +1968 -1972
  87. package/core/built/admin/assets/{chunk.509.d6d53e741bc279357eaf.js → chunk.509.fcb784f5624409af2006.js} +3 -3
  88. package/core/built/admin/assets/{chunk.524.8204e0b9f49cec9eed57.js → chunk.524.1b029dc8a0555a98d3f6.js} +5 -5
  89. package/core/built/admin/assets/{chunk.582.19e6edf39eacb732f2ab.js → chunk.582.61c8a65247ca07e578fc.js} +6 -6
  90. package/core/built/admin/assets/{ghost-da77ec7395d5e861b94d529e8157ed3f.css → ghost-da719d2c50388e7f72e596e1a8b99e80.css} +1 -1
  91. package/core/built/admin/assets/{ghost-dark-e5e7c4c3fcaa12ca01df563d1bcbac20.css → ghost-dark-3cbc750010886456986b77ff03283139.css} +1 -1
  92. package/core/built/admin/assets/{ghost-d8a21c3ed32505399e33675d8cb7d044.js → ghost-ed1e8aa62fc4f1f56ad4bddf67ace1e1.js} +117 -100
  93. package/core/built/admin/assets/koenig-lexical/koenig-lexical.js +16 -19
  94. package/core/built/admin/assets/koenig-lexical/koenig-lexical.umd.js +3 -3
  95. package/core/built/admin/assets/{vendor-0d51bbe51e0393cca143d7b52d073d8a.js → vendor-232fd88c6ffbd896b34c449112793e93.js} +2 -2
  96. package/core/built/admin/index.html +6 -6
  97. package/core/server/api/endpoints/utils/serializers/input/posts.js +2 -9
  98. package/core/server/data/migrations/versions/5.84/2024-06-04-09-13-33-rename-newsletters-show-subhead.js +3 -0
  99. package/core/server/data/migrations/versions/5.84/2024-06-04-11-10-37-add-custom-excerpt-to-post-revisions.js +7 -0
  100. package/core/server/data/migrations/versions/5.84/2024-06-05-08-42-34-populate-post-revisions-custom-excerpt.js +11 -0
  101. package/core/server/data/migrations/versions/5.84/2024-06-05-13-48-35-rename-newsletters-show-subtitle.js +3 -0
  102. package/core/server/data/schema/schema.js +3 -2
  103. package/core/server/models/newsletter.js +1 -1
  104. package/core/server/models/post.js +1 -0
  105. package/core/server/services/slack.js +22 -2
  106. package/core/shared/labs.js +4 -4
  107. package/package.json +151 -151
  108. package/yarn.lock +50 -45
  109. package/components/tryghost-adapter-cache-memory-ttl-5.83.0.tgz +0 -0
  110. package/components/tryghost-adapter-cache-redis-5.83.0.tgz +0 -0
  111. package/components/tryghost-announcement-bar-settings-5.83.0.tgz +0 -0
  112. package/components/tryghost-audience-feedback-5.83.0.tgz +0 -0
  113. package/components/tryghost-bookshelf-repository-5.83.0.tgz +0 -0
  114. package/components/tryghost-bootstrap-socket-5.83.0.tgz +0 -0
  115. package/components/tryghost-collections-5.83.0.tgz +0 -0
  116. package/components/tryghost-constants-5.83.0.tgz +0 -0
  117. package/components/tryghost-custom-theme-settings-service-5.83.0.tgz +0 -0
  118. package/components/tryghost-domain-events-5.83.0.tgz +0 -0
  119. package/components/tryghost-donations-5.83.0.tgz +0 -0
  120. package/components/tryghost-dynamic-routing-events-5.83.0.tgz +0 -0
  121. package/components/tryghost-email-addresses-5.83.0.tgz +0 -0
  122. package/components/tryghost-email-analytics-provider-mailgun-5.83.0.tgz +0 -0
  123. package/components/tryghost-email-content-generator-5.83.0.tgz +0 -0
  124. package/components/tryghost-email-service-5.83.0.tgz +0 -0
  125. package/components/tryghost-email-suppression-list-5.83.0.tgz +0 -0
  126. package/components/tryghost-express-dynamic-redirects-5.83.0.tgz +0 -0
  127. package/components/tryghost-external-media-inliner-5.83.0.tgz +0 -0
  128. package/components/tryghost-extract-api-key-5.83.0.tgz +0 -0
  129. package/components/tryghost-html-to-plaintext-5.83.0.tgz +0 -0
  130. package/components/tryghost-i18n-5.83.0.tgz +0 -0
  131. package/components/tryghost-importer-handler-content-files-5.83.0.tgz +0 -0
  132. package/components/tryghost-in-memory-repository-5.83.0.tgz +0 -0
  133. package/components/tryghost-link-replacer-5.83.0.tgz +0 -0
  134. package/components/tryghost-link-tracking-5.83.0.tgz +0 -0
  135. package/components/tryghost-mailgun-client-5.83.0.tgz +0 -0
  136. package/components/tryghost-member-events-5.83.0.tgz +0 -0
  137. package/components/tryghost-members-api-5.83.0.tgz +0 -0
  138. package/components/tryghost-members-csv-5.83.0.tgz +0 -0
  139. package/components/tryghost-members-events-service-5.83.0.tgz +0 -0
  140. package/components/tryghost-members-ssr-5.83.0.tgz +0 -0
  141. package/components/tryghost-members-stripe-service-5.83.0.tgz +0 -0
  142. package/components/tryghost-mentions-email-report-5.83.0.tgz +0 -0
  143. package/components/tryghost-milestones-5.83.0.tgz +0 -0
  144. package/components/tryghost-minifier-5.83.0.tgz +0 -0
  145. package/components/tryghost-model-to-domain-event-interceptor-5.83.0.tgz +0 -0
  146. package/components/tryghost-mw-api-version-mismatch-5.83.0.tgz +0 -0
  147. package/components/tryghost-mw-cache-control-5.83.0.tgz +0 -0
  148. package/components/tryghost-mw-error-handler-5.83.0.tgz +0 -0
  149. package/components/tryghost-mw-session-from-token-5.83.0.tgz +0 -0
  150. package/components/tryghost-mw-update-user-last-seen-5.83.0.tgz +0 -0
  151. package/components/tryghost-mw-version-match-5.83.0.tgz +0 -0
  152. package/components/tryghost-mw-vhost-5.83.0.tgz +0 -0
  153. package/components/tryghost-nql-filter-expansions-5.83.0.tgz +0 -0
  154. package/components/tryghost-oembed-service-5.83.0.tgz +0 -0
  155. package/components/tryghost-post-events-5.83.0.tgz +0 -0
  156. package/components/tryghost-post-revisions-5.83.0.tgz +0 -0
  157. package/components/tryghost-recommendations-5.83.0.tgz +0 -0
  158. package/components/tryghost-referrers-5.83.0.tgz +0 -0
  159. package/components/tryghost-slack-notifications-5.83.0.tgz +0 -0
  160. package/components/tryghost-stats-service-5.83.0.tgz +0 -0
  161. package/components/tryghost-tiers-5.83.0.tgz +0 -0
  162. package/components/tryghost-verification-trigger-5.83.0.tgz +0 -0
  163. package/components/tryghost-version-notifications-data-service-5.83.0.tgz +0 -0
  164. /package/core/built/admin/assets/{chunk.509.d6d53e741bc279357eaf.js.LICENSE.txt → chunk.509.fcb784f5624409af2006.js.LICENSE.txt} +0 -0
@@ -7,7 +7,7 @@ import tj, { createPortal as nj } from "react-dom";
7
7
  (function() {
8
8
  try {
9
9
  var t = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, e = new Error().stack;
10
- e && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[e] = "0bdff5b7-5f74-4a5b-a48c-03ae8901620f", t._sentryDebugIdIdentifier = "sentry-dbid-0bdff5b7-5f74-4a5b-a48c-03ae8901620f");
10
+ e && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[e] = "8568f6a1-16f8-43ea-88da-7ecacaf9e8b3", t._sentryDebugIdIdentifier = "sentry-dbid-8568f6a1-16f8-43ea-88da-7ecacaf9e8b3");
11
11
  } catch {
12
12
  }
13
13
  })();
@@ -85035,7 +85035,7 @@ function K4e({ autoFocus: t, className: e, inputClassName: n, dataTestId: i, lis
85035
85035
  ] })
85036
85036
  ] }) });
85037
85037
  }
85038
- const zU = (t) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...t }, /* @__PURE__ */ J.createElement("g", null, /* @__PURE__ */ J.createElement("path", { d: "M0.75 12a11.25 11.25 0 1 0 22.5 0 11.25 11.25 0 1 0 -22.5 0", fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ J.createElement("path", { d: "M9.88 23.05c-1.57 -2.2 -2.63 -6.33 -2.63 -11S8.31 3.15 9.88 1", fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ J.createElement("path", { d: "M14.12 23.05c1.57 -2.2 2.63 -6.33 2.63 -11S15.69 3.15 14.12 1", fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ J.createElement("path", { d: "m0.75 12 22.5 0", fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ J.createElement("path", { d: "m2.05 17.25 19.9 0", fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ J.createElement("path", { d: "m2.05 6.75 19.9 0", fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }))), J4e = 100, pD = /^http|^#|^\//;
85038
+ const zU = (t) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...t }, /* @__PURE__ */ J.createElement("g", null, /* @__PURE__ */ J.createElement("path", { d: "M0.75 12a11.25 11.25 0 1 0 22.5 0 11.25 11.25 0 1 0 -22.5 0", fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ J.createElement("path", { d: "M9.88 23.05c-1.57 -2.2 -2.63 -6.33 -2.63 -11S8.31 3.15 9.88 1", fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ J.createElement("path", { d: "M14.12 23.05c1.57 -2.2 2.63 -6.33 2.63 -11S15.69 3.15 14.12 1", fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ J.createElement("path", { d: "m0.75 12 22.5 0", fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ J.createElement("path", { d: "m2.05 17.25 19.9 0", fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ J.createElement("path", { d: "m2.05 6.75 19.9 0", fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }))), J4e = 100, pD = /^http|^#|^\/|^mailto:|^tel:/;
85039
85039
  function eSe(t) {
85040
85040
  return [{
85041
85041
  label: "Link to web page",
@@ -85058,8 +85058,8 @@ function tSe(t) {
85058
85058
  }]
85059
85059
  }];
85060
85060
  }
85061
- function mD(t, { noResultOptions: e } = { noResultOptions: tSe }) {
85062
- return !t || !t.length ? e() : t.map((n) => {
85061
+ function mD(t, { noResultOptions: e } = {}) {
85062
+ return !t || !t.length ? (e || tSe)() : t.map((n) => {
85063
85063
  const i = n.items.map((r) => ({
85064
85064
  label: r.title,
85065
85065
  value: r.url,
@@ -85456,27 +85456,24 @@ function ZU({ captionEditor: t, captionEditorInitialState: e, html: n, isSelecte
85456
85456
  }
85457
85457
  function UU({ dataTestId: t, html: e }) {
85458
85458
  const n = R.useRef(null), i = () => {
85459
- const a = n.current.contentDocument.body.firstChild;
85459
+ var u, f, d, h, m, g;
85460
+ const a = (d = (f = (u = n.current) == null ? void 0 : u.contentDocument) == null ? void 0 : f.body) == null ? void 0 : d.firstChild;
85460
85461
  if (!a)
85461
85462
  return;
85462
85463
  if (a.tagName === "IFRAME") {
85463
- const u = a.getAttribute("width");
85464
- if (u.indexOf("%") === -1) {
85465
- const d = parseInt(a.getAttribute("height"));
85466
- if (u && d) {
85467
- const h = parseInt(u) / d, m = n.current.offsetWidth / h;
85468
- a.style.height = `${m}px`, n.current.style.height = `${m}px`, a.style.width = "100%";
85469
- return;
85470
- }
85464
+ const k = a.getAttribute("width"), x = a.getAttribute("height");
85465
+ if (k && x && k.indexOf("%") === -1 && x.indexOf("%") === -1) {
85466
+ const _ = parseInt(k) / parseInt(x), S = n.current.offsetWidth / _;
85467
+ a.style.height = `${S}px`, n.current.style.height = `${S}px`, a.style.width = "100%";
85468
+ return;
85471
85469
  }
85472
- const f = a.getAttribute("height");
85473
- if (f.indexOf("%") === -1) {
85474
- n.current.style.height = `${f}px`;
85470
+ if (x && x.indexOf("%") === -1) {
85471
+ n.current.style.height = `${x}px`;
85475
85472
  return;
85476
85473
  }
85477
85474
  }
85478
- const l = n.current.contentDocument.scrollingElement.scrollHeight;
85479
- n.current.style.height = `${l}px`;
85475
+ const l = (g = (m = (h = n.current) == null ? void 0 : h.contentDocument) == null ? void 0 : m.scrollingElement) == null ? void 0 : g.scrollHeight;
85476
+ l && (n.current.style.height = `${l}px`);
85480
85477
  }, r = {
85481
85478
  attributes: !0,
85482
85479
  attributeOldValue: !1,
@@ -129922,7 +129919,7 @@ const rQe = [
129922
129919
  pi.ListItemNode,
129923
129920
  $i.LinkNode,
129924
129921
  to
129925
- ], Z1 = rQe, WQe = "1.2.3";
129922
+ ], Z1 = rQe, WQe = "1.2.4";
129926
129923
  export {
129927
129924
  _D as $isAtStartOfDocument,
129928
129925
  OD as $isAtTopOfNode,