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.
- package/components/tryghost-adapter-cache-memory-ttl-5.84.1.tgz +0 -0
- package/components/tryghost-adapter-cache-redis-5.84.1.tgz +0 -0
- package/components/{tryghost-adapter-manager-5.83.0.tgz → tryghost-adapter-manager-5.84.1.tgz} +0 -0
- package/components/tryghost-announcement-bar-settings-5.84.1.tgz +0 -0
- package/components/{tryghost-api-framework-5.83.0.tgz → tryghost-api-framework-5.84.1.tgz} +0 -0
- package/components/{tryghost-api-version-compatibility-service-5.83.0.tgz → tryghost-api-version-compatibility-service-5.84.1.tgz} +0 -0
- package/components/tryghost-audience-feedback-5.84.1.tgz +0 -0
- package/components/tryghost-bookshelf-repository-5.84.1.tgz +0 -0
- package/components/tryghost-bootstrap-socket-5.84.1.tgz +0 -0
- package/components/tryghost-collections-5.84.1.tgz +0 -0
- package/components/tryghost-constants-5.84.1.tgz +0 -0
- package/components/tryghost-custom-theme-settings-service-5.84.1.tgz +0 -0
- package/components/{tryghost-data-generator-5.83.0.tgz → tryghost-data-generator-5.84.1.tgz} +0 -0
- package/components/tryghost-domain-events-5.84.1.tgz +0 -0
- package/components/tryghost-donations-5.84.1.tgz +0 -0
- package/components/tryghost-dynamic-routing-events-5.84.1.tgz +0 -0
- package/components/tryghost-email-addresses-5.84.1.tgz +0 -0
- package/components/tryghost-email-analytics-provider-mailgun-5.84.1.tgz +0 -0
- package/components/{tryghost-email-analytics-service-5.83.0.tgz → tryghost-email-analytics-service-5.84.1.tgz} +0 -0
- package/components/tryghost-email-content-generator-5.84.1.tgz +0 -0
- package/components/{tryghost-email-events-5.83.0.tgz → tryghost-email-events-5.84.1.tgz} +0 -0
- package/components/tryghost-email-service-5.84.1.tgz +0 -0
- package/components/tryghost-email-suppression-list-5.84.1.tgz +0 -0
- package/components/tryghost-express-dynamic-redirects-5.84.1.tgz +0 -0
- package/components/tryghost-external-media-inliner-5.84.1.tgz +0 -0
- package/components/tryghost-extract-api-key-5.84.1.tgz +0 -0
- package/components/{tryghost-ghost-5.83.0.tgz → tryghost-ghost-5.84.1.tgz} +0 -0
- package/components/tryghost-html-to-plaintext-5.84.1.tgz +0 -0
- package/components/tryghost-i18n-5.84.1.tgz +0 -0
- package/components/tryghost-importer-handler-content-files-5.84.1.tgz +0 -0
- package/components/{tryghost-importer-revue-5.83.0.tgz → tryghost-importer-revue-5.84.1.tgz} +0 -0
- package/components/tryghost-in-memory-repository-5.84.1.tgz +0 -0
- package/components/{tryghost-job-manager-5.83.0.tgz → tryghost-job-manager-5.84.1.tgz} +0 -0
- package/components/{tryghost-link-redirects-5.83.0.tgz → tryghost-link-redirects-5.84.1.tgz} +0 -0
- package/components/tryghost-link-replacer-5.84.1.tgz +0 -0
- package/components/tryghost-link-tracking-5.84.1.tgz +0 -0
- package/components/{tryghost-magic-link-5.83.0.tgz → tryghost-magic-link-5.84.1.tgz} +0 -0
- package/components/{tryghost-mail-events-5.83.0.tgz → tryghost-mail-events-5.84.1.tgz} +0 -0
- package/components/tryghost-mailgun-client-5.84.1.tgz +0 -0
- package/components/{tryghost-member-attribution-5.83.0.tgz → tryghost-member-attribution-5.84.1.tgz} +0 -0
- package/components/tryghost-member-events-5.84.1.tgz +0 -0
- package/components/tryghost-members-api-5.84.1.tgz +0 -0
- package/components/tryghost-members-csv-5.84.1.tgz +0 -0
- package/components/tryghost-members-events-service-5.84.1.tgz +0 -0
- package/components/{tryghost-members-importer-5.83.0.tgz → tryghost-members-importer-5.84.1.tgz} +0 -0
- package/components/{tryghost-members-offers-5.83.0.tgz → tryghost-members-offers-5.84.1.tgz} +0 -0
- package/components/{tryghost-members-payments-5.83.0.tgz → tryghost-members-payments-5.84.1.tgz} +0 -0
- package/components/tryghost-members-ssr-5.84.1.tgz +0 -0
- package/components/tryghost-members-stripe-service-5.84.1.tgz +0 -0
- package/components/tryghost-mentions-email-report-5.84.1.tgz +0 -0
- package/components/tryghost-milestones-5.84.1.tgz +0 -0
- package/components/tryghost-minifier-5.84.1.tgz +0 -0
- package/components/tryghost-model-to-domain-event-interceptor-5.84.1.tgz +0 -0
- package/components/tryghost-mw-api-version-mismatch-5.84.1.tgz +0 -0
- package/components/tryghost-mw-cache-control-5.84.1.tgz +0 -0
- package/components/tryghost-mw-error-handler-5.84.1.tgz +0 -0
- package/components/tryghost-mw-session-from-token-5.84.1.tgz +0 -0
- package/components/tryghost-mw-update-user-last-seen-5.84.1.tgz +0 -0
- package/components/tryghost-mw-version-match-5.84.1.tgz +0 -0
- package/components/tryghost-mw-vhost-5.84.1.tgz +0 -0
- package/components/tryghost-nql-filter-expansions-5.84.1.tgz +0 -0
- package/components/tryghost-oembed-service-5.84.1.tgz +0 -0
- package/components/{tryghost-package-json-5.83.0.tgz → tryghost-package-json-5.84.1.tgz} +0 -0
- package/components/tryghost-post-events-5.84.1.tgz +0 -0
- package/components/tryghost-post-revisions-5.84.1.tgz +0 -0
- package/components/{tryghost-posts-service-5.83.0.tgz → tryghost-posts-service-5.84.1.tgz} +0 -0
- package/components/tryghost-recommendations-5.84.1.tgz +0 -0
- package/components/tryghost-referrers-5.84.1.tgz +0 -0
- package/components/{tryghost-security-5.83.0.tgz → tryghost-security-5.84.1.tgz} +0 -0
- package/components/{tryghost-session-service-5.83.0.tgz → tryghost-session-service-5.84.1.tgz} +0 -0
- package/components/{tryghost-settings-path-manager-5.83.0.tgz → tryghost-settings-path-manager-5.84.1.tgz} +0 -0
- package/components/tryghost-slack-notifications-5.84.1.tgz +0 -0
- package/components/{tryghost-staff-service-5.83.0.tgz → tryghost-staff-service-5.84.1.tgz} +0 -0
- package/components/tryghost-stats-service-5.84.1.tgz +0 -0
- package/components/tryghost-tiers-5.84.1.tgz +0 -0
- package/components/{tryghost-update-check-service-5.83.0.tgz → tryghost-update-check-service-5.84.1.tgz} +0 -0
- package/components/tryghost-verification-trigger-5.84.1.tgz +0 -0
- package/components/tryghost-version-notifications-data-service-5.84.1.tgz +0 -0
- package/components/{tryghost-webmentions-5.83.0.tgz → tryghost-webmentions-5.84.1.tgz} +0 -0
- package/content/themes/source/default.hbs +5 -0
- package/content/themes/source/package.json +1 -1
- package/core/built/admin/assets/admin-x-settings/{CodeEditorView-d8e0ec68.mjs → CodeEditorView-eaf264d3.mjs} +2 -2
- package/core/built/admin/assets/admin-x-settings/admin-x-settings.js +2 -2
- package/core/built/admin/assets/admin-x-settings/{index-a83dd4fa.mjs → index-39468f31.mjs} +305 -305
- package/core/built/admin/assets/admin-x-settings/{index-7b657428.mjs → index-b0e98052.mjs} +2279 -2268
- package/core/built/admin/assets/admin-x-settings/{modals-1155e24d.mjs → modals-8fb51a51.mjs} +1968 -1972
- package/core/built/admin/assets/{chunk.509.d6d53e741bc279357eaf.js → chunk.509.fcb784f5624409af2006.js} +3 -3
- package/core/built/admin/assets/{chunk.524.8204e0b9f49cec9eed57.js → chunk.524.1b029dc8a0555a98d3f6.js} +5 -5
- package/core/built/admin/assets/{chunk.582.19e6edf39eacb732f2ab.js → chunk.582.61c8a65247ca07e578fc.js} +6 -6
- package/core/built/admin/assets/{ghost-da77ec7395d5e861b94d529e8157ed3f.css → ghost-da719d2c50388e7f72e596e1a8b99e80.css} +1 -1
- package/core/built/admin/assets/{ghost-dark-e5e7c4c3fcaa12ca01df563d1bcbac20.css → ghost-dark-3cbc750010886456986b77ff03283139.css} +1 -1
- package/core/built/admin/assets/{ghost-d8a21c3ed32505399e33675d8cb7d044.js → ghost-ed1e8aa62fc4f1f56ad4bddf67ace1e1.js} +117 -100
- package/core/built/admin/assets/koenig-lexical/koenig-lexical.js +16 -19
- package/core/built/admin/assets/koenig-lexical/koenig-lexical.umd.js +3 -3
- package/core/built/admin/assets/{vendor-0d51bbe51e0393cca143d7b52d073d8a.js → vendor-232fd88c6ffbd896b34c449112793e93.js} +2 -2
- package/core/built/admin/index.html +6 -6
- package/core/server/api/endpoints/utils/serializers/input/posts.js +2 -9
- package/core/server/data/migrations/versions/5.84/2024-06-04-09-13-33-rename-newsletters-show-subhead.js +3 -0
- package/core/server/data/migrations/versions/5.84/2024-06-04-11-10-37-add-custom-excerpt-to-post-revisions.js +7 -0
- package/core/server/data/migrations/versions/5.84/2024-06-05-08-42-34-populate-post-revisions-custom-excerpt.js +11 -0
- package/core/server/data/migrations/versions/5.84/2024-06-05-13-48-35-rename-newsletters-show-subtitle.js +3 -0
- package/core/server/data/schema/schema.js +3 -2
- package/core/server/models/newsletter.js +1 -1
- package/core/server/models/post.js +1 -0
- package/core/server/services/slack.js +22 -2
- package/core/shared/labs.js +4 -4
- package/package.json +151 -151
- package/yarn.lock +50 -45
- package/components/tryghost-adapter-cache-memory-ttl-5.83.0.tgz +0 -0
- package/components/tryghost-adapter-cache-redis-5.83.0.tgz +0 -0
- package/components/tryghost-announcement-bar-settings-5.83.0.tgz +0 -0
- package/components/tryghost-audience-feedback-5.83.0.tgz +0 -0
- package/components/tryghost-bookshelf-repository-5.83.0.tgz +0 -0
- package/components/tryghost-bootstrap-socket-5.83.0.tgz +0 -0
- package/components/tryghost-collections-5.83.0.tgz +0 -0
- package/components/tryghost-constants-5.83.0.tgz +0 -0
- package/components/tryghost-custom-theme-settings-service-5.83.0.tgz +0 -0
- package/components/tryghost-domain-events-5.83.0.tgz +0 -0
- package/components/tryghost-donations-5.83.0.tgz +0 -0
- package/components/tryghost-dynamic-routing-events-5.83.0.tgz +0 -0
- package/components/tryghost-email-addresses-5.83.0.tgz +0 -0
- package/components/tryghost-email-analytics-provider-mailgun-5.83.0.tgz +0 -0
- package/components/tryghost-email-content-generator-5.83.0.tgz +0 -0
- package/components/tryghost-email-service-5.83.0.tgz +0 -0
- package/components/tryghost-email-suppression-list-5.83.0.tgz +0 -0
- package/components/tryghost-express-dynamic-redirects-5.83.0.tgz +0 -0
- package/components/tryghost-external-media-inliner-5.83.0.tgz +0 -0
- package/components/tryghost-extract-api-key-5.83.0.tgz +0 -0
- package/components/tryghost-html-to-plaintext-5.83.0.tgz +0 -0
- package/components/tryghost-i18n-5.83.0.tgz +0 -0
- package/components/tryghost-importer-handler-content-files-5.83.0.tgz +0 -0
- package/components/tryghost-in-memory-repository-5.83.0.tgz +0 -0
- package/components/tryghost-link-replacer-5.83.0.tgz +0 -0
- package/components/tryghost-link-tracking-5.83.0.tgz +0 -0
- package/components/tryghost-mailgun-client-5.83.0.tgz +0 -0
- package/components/tryghost-member-events-5.83.0.tgz +0 -0
- package/components/tryghost-members-api-5.83.0.tgz +0 -0
- package/components/tryghost-members-csv-5.83.0.tgz +0 -0
- package/components/tryghost-members-events-service-5.83.0.tgz +0 -0
- package/components/tryghost-members-ssr-5.83.0.tgz +0 -0
- package/components/tryghost-members-stripe-service-5.83.0.tgz +0 -0
- package/components/tryghost-mentions-email-report-5.83.0.tgz +0 -0
- package/components/tryghost-milestones-5.83.0.tgz +0 -0
- package/components/tryghost-minifier-5.83.0.tgz +0 -0
- package/components/tryghost-model-to-domain-event-interceptor-5.83.0.tgz +0 -0
- package/components/tryghost-mw-api-version-mismatch-5.83.0.tgz +0 -0
- package/components/tryghost-mw-cache-control-5.83.0.tgz +0 -0
- package/components/tryghost-mw-error-handler-5.83.0.tgz +0 -0
- package/components/tryghost-mw-session-from-token-5.83.0.tgz +0 -0
- package/components/tryghost-mw-update-user-last-seen-5.83.0.tgz +0 -0
- package/components/tryghost-mw-version-match-5.83.0.tgz +0 -0
- package/components/tryghost-mw-vhost-5.83.0.tgz +0 -0
- package/components/tryghost-nql-filter-expansions-5.83.0.tgz +0 -0
- package/components/tryghost-oembed-service-5.83.0.tgz +0 -0
- package/components/tryghost-post-events-5.83.0.tgz +0 -0
- package/components/tryghost-post-revisions-5.83.0.tgz +0 -0
- package/components/tryghost-recommendations-5.83.0.tgz +0 -0
- package/components/tryghost-referrers-5.83.0.tgz +0 -0
- package/components/tryghost-slack-notifications-5.83.0.tgz +0 -0
- package/components/tryghost-stats-service-5.83.0.tgz +0 -0
- package/components/tryghost-tiers-5.83.0.tgz +0 -0
- package/components/tryghost-verification-trigger-5.83.0.tgz +0 -0
- package/components/tryghost-version-notifications-data-service-5.83.0.tgz +0 -0
- /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] = "
|
|
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 } = {
|
|
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
|
-
|
|
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
|
|
85464
|
-
if (
|
|
85465
|
-
const
|
|
85466
|
-
|
|
85467
|
-
|
|
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
|
-
|
|
85473
|
-
|
|
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.
|
|
129922
|
+
], Z1 = rQe, WQe = "1.2.4";
|
|
129926
129923
|
export {
|
|
129927
129924
|
_D as $isAtStartOfDocument,
|
|
129928
129925
|
OD as $isAtTopOfNode,
|