diff --git a/ghost/core/package.json b/ghost/core/package.json index 312d2ed4b4..35eb2eab84 100644 --- a/ghost/core/package.json +++ b/ghost/core/package.json @@ -98,8 +98,8 @@ "@tryghost/kg-card-factory": "4.0.6", "@tryghost/kg-default-atoms": "4.0.1", "@tryghost/kg-default-cards": "8.0.0", - "@tryghost/kg-default-nodes": "0.0.24", - "@tryghost/kg-lexical-html-renderer": "0.1.20", + "@tryghost/kg-default-nodes": "0.0.25", + "@tryghost/kg-lexical-html-renderer": "0.1.21", "@tryghost/kg-mobiledoc-html-renderer": "6.0.6", "@tryghost/limit-service": "1.2.5", "@tryghost/link-redirects": "0.0.0", diff --git a/yarn.lock b/yarn.lock index c3a83869c8..1bbf1357d5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5834,20 +5834,21 @@ lodash "^4.17.21" luxon "^3.0.0" -"@tryghost/kg-default-nodes@0.0.24", "@tryghost/kg-default-nodes@^0.0.24": - version "0.0.24" - resolved "https://registry.yarnpkg.com/@tryghost/kg-default-nodes/-/kg-default-nodes-0.0.24.tgz#b217028d84529803b0944c5a1cb0982ad828cb15" - integrity sha512-Vd66QRsouc7fiYyvqxt6yZW75BJNsXdBNhzCiuLKtvZG6mZPmwhRuXA/uTM+i71ODbdObn3qikw36CAe7Xx4NA== +"@tryghost/kg-default-nodes@0.0.25", "@tryghost/kg-default-nodes@^0.0.25": + version "0.0.25" + resolved "https://registry.yarnpkg.com/@tryghost/kg-default-nodes/-/kg-default-nodes-0.0.25.tgz#a13337ed89920ac2e51ff13086a4ab32e5b82f84" + integrity sha512-WAdUbaD2/lyI91sWEzd656IBtFPDf5HpEjCiA7eR6DqPLPVe8okAdRuu+wipii5xPjc0ejo0DTomp2xVEzmvRg== dependencies: "@tryghost/kg-clean-basic-html" "^3.0.9" "@tryghost/kg-markdown-html-renderer" "^6.0.6" + html-minifier "^4.0.0" jsdom "^21.0.0" lexical "^0.9.0" -"@tryghost/kg-lexical-html-renderer@0.1.20": - version "0.1.20" - resolved "https://registry.yarnpkg.com/@tryghost/kg-lexical-html-renderer/-/kg-lexical-html-renderer-0.1.20.tgz#eee7db813175413a124b4b03569a592b4d699fd3" - integrity sha512-19ikQ9Mlm+ZVs+PSWD5fnIUr/2xlnyuQgLjTToa7VIBCurKtTMW+uMZ+0fB5VZmqaWlTKJiXH3Oyl0EMhzifSQ== +"@tryghost/kg-lexical-html-renderer@0.1.21": + version "0.1.21" + resolved "https://registry.yarnpkg.com/@tryghost/kg-lexical-html-renderer/-/kg-lexical-html-renderer-0.1.21.tgz#6dd30fdda8894ef2faa005664ba30492c24610ad" + integrity sha512-xwbyeihPm1o0VzAWyFlh65us1PDWlHOydoMViEy3R9ORChU20UXoRluHZerkb5bfz8vWkMz5D4ASSfW48mbJkg== dependencies: "@lexical/clipboard" "^0.9.0" "@lexical/code" "^0.9.0" @@ -5855,7 +5856,7 @@ "@lexical/link" "^0.9.0" "@lexical/list" "^0.9.0" "@lexical/rich-text" "^0.9.0" - "@tryghost/kg-default-nodes" "^0.0.24" + "@tryghost/kg-default-nodes" "^0.0.25" jsdom "^21.0.0" lexical "^0.9.0" prettier "^2.7.1" @@ -10321,6 +10322,14 @@ callsites@^3.0.0, callsites@^3.1.0: resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== +camel-case@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/camel-case/-/camel-case-3.0.0.tgz#ca3c3688a4e9cf3a4cda777dc4dcbc713249cf73" + integrity sha512-+MbKztAYHXPr1jNTSKQF52VpcFjwY5RkR7fxksV8Doo4KAYc5Fl4UJRgthBbTmEx8C54DqahhbLJkDwjI3PI/w== + dependencies: + no-case "^2.2.0" + upper-case "^1.1.1" + camel-case@^4.1.2: version "4.1.2" resolved "https://registry.yarnpkg.com/camel-case/-/camel-case-4.1.2.tgz#9728072a954f805228225a6deea6b38461e1bd5a" @@ -10739,6 +10748,13 @@ clean-css@^3.4.5: commander "2.8.x" source-map "0.4.x" +clean-css@^4.2.1: + version "4.2.4" + resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-4.2.4.tgz#733bf46eba4e607c6891ea57c24a989356831178" + integrity sha512-EJUDT7nDVFDvaQgAo2G/PJvxmp1o/c6iXLbswsBbUFXi1Nr+AjA2cKmfbKDMjMvzEe75g3P6JkaDDAKk96A85A== + dependencies: + source-map "~0.6.0" + clean-css@^5.2.2: version "5.3.2" resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-5.3.2.tgz#70ecc7d4d4114921f5d298349ff86a31a9975224" @@ -17404,6 +17420,19 @@ html-minifier-terser@^6.0.2: relateurl "^0.2.7" terser "^5.10.0" +html-minifier@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/html-minifier/-/html-minifier-4.0.0.tgz#cca9aad8bce1175e02e17a8c33e46d8988889f56" + integrity sha512-aoGxanpFPLg7MkIl/DDFYtb0iWz7jMFGqFhvEDZga6/4QTjneiD8I/NXL1x5aaoCp7FSIT6h/OhykDdPsbtMig== + dependencies: + camel-case "^3.0.0" + clean-css "^4.2.1" + commander "^2.19.0" + he "^1.2.0" + param-case "^2.1.1" + relateurl "^0.2.7" + uglify-js "^3.5.1" + html-to-text@5.1.1: version "5.1.1" resolved "https://registry.yarnpkg.com/html-to-text/-/html-to-text-5.1.1.tgz#2d89db7bf34bc7bcb7d546b1b228991a16926e87" @@ -21008,6 +21037,11 @@ loupe@^2.3.1, loupe@^2.3.6: dependencies: get-func-name "^2.0.0" +lower-case@^1.1.1: + version "1.1.4" + resolved "https://registry.yarnpkg.com/lower-case/-/lower-case-1.1.4.tgz#9a2cabd1b9e8e0ae993a4bf7d5875c39c42e8eac" + integrity sha512-2Fgx1Ycm599x+WGpIYwJOvsjmXFzTSc34IwDWALRA/8AopUKAVPwfJ+h5+f85BCp0PWmmJcWzEpxOpoXycMpdA== + lower-case@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/lower-case/-/lower-case-2.0.2.tgz#6fa237c63dbdc4a82ca0fd882e4722dc5e634e28" @@ -22397,6 +22431,13 @@ nise@^5.1.4: just-extend "^4.0.2" path-to-regexp "^1.7.0" +no-case@^2.2.0: + version "2.3.2" + resolved "https://registry.yarnpkg.com/no-case/-/no-case-2.3.2.tgz#60b813396be39b3f1288a4c1ed5d1e7d28b464ac" + integrity sha512-rmTZ9kz+f3rCvK2TD1Ue/oZlns7OGoIWP4fc3llxxRXlOkHKoWPPWJOfFYpITabSow43QJbRIoHQXtt10VldyQ== + dependencies: + lower-case "^1.1.1" + no-case@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/no-case/-/no-case-3.0.4.tgz#d361fd5c9800f558551a8369fc0dcd4662b6124d" @@ -23575,6 +23616,13 @@ parallel-transform@^1.1.0: inherits "^2.0.3" readable-stream "^2.1.5" +param-case@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/param-case/-/param-case-2.1.1.tgz#df94fd8cf6531ecf75e6bef9a0858fbc72be2247" + integrity sha512-eQE845L6ot89sk2N8liD8HAuH4ca6Vvr7VWAWwt7+kvvG5aBcPmmphQ68JsEG2qa9n1TykS2DLeMt363AAH8/w== + dependencies: + no-case "^2.2.0" + param-case@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/param-case/-/param-case-3.0.4.tgz#7d17fe4aa12bde34d4a77d91acfb6219caad01c5" @@ -29211,7 +29259,7 @@ ufo@^1.1.1: resolved "https://registry.yarnpkg.com/ufo/-/ufo-1.1.1.tgz#e70265e7152f3aba425bd013d150b2cdf4056d7c" integrity sha512-MvlCc4GHrmZdAllBc0iUDowff36Q9Ndw/UzqmEKyrfSzokTd9ZCy1i+IIk5hrYKkjoYVQyNbrw7/F8XJ2rEwTg== -uglify-js@^3.1.4: +uglify-js@^3.1.4, uglify-js@^3.5.1: version "3.17.4" resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.17.4.tgz#61678cf5fa3f5b7eb789bb345df29afb8257c22c" integrity sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g== @@ -29515,6 +29563,11 @@ update-browserslist-db@^1.0.10: escalade "^3.1.1" picocolors "^1.0.0" +upper-case@^1.1.1: + version "1.1.3" + resolved "https://registry.yarnpkg.com/upper-case/-/upper-case-1.1.3.tgz#f6b4501c2ec4cdd26ba78be7222961de77621598" + integrity sha512-WRbjgmYzgXkCV7zNVpy5YgrHgbBv126rMALQQMrmzOVC4GM2waQ9x7xtm8VU+1yF2kWyPzI9zbZ48n4vSxwfSA== + uri-js@^4.2.2: version "4.4.1" resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e"