diff --git a/ghost/admin/package.json b/ghost/admin/package.json index 36c8512f6b..cae43f396a 100644 --- a/ghost/admin/package.json +++ b/ghost/admin/package.json @@ -44,9 +44,9 @@ "@tryghost/color-utils": "0.1.24", "@tryghost/ember-promise-modals": "2.0.1", "@tryghost/helpers": "1.1.77", - "@tryghost/kg-clean-basic-html": "3.0.30", + "@tryghost/kg-clean-basic-html": "3.0.31", "@tryghost/kg-converters": "0.0.13", - "@tryghost/kg-parser-plugins": "3.0.31", + "@tryghost/kg-parser-plugins": "3.0.32", "@tryghost/kg-simplemde": "1.11.2", "@tryghost/limit-service": "1.2.6", "@tryghost/members-csv": "0.0.0", @@ -182,4 +182,4 @@ "path-browserify": "1.0.1", "webpack": "5.88.2" } -} \ No newline at end of file +} diff --git a/ghost/core/package.json b/ghost/core/package.json index 69d9da8b07..a5929489a2 100644 --- a/ghost/core/package.json +++ b/ghost/core/package.json @@ -104,9 +104,9 @@ "@tryghost/kg-converters": "0.0.13", "@tryghost/kg-default-atoms": "4.0.3", "@tryghost/kg-default-cards": "9.1.4", - "@tryghost/kg-default-nodes": "0.1.26", - "@tryghost/kg-html-to-lexical": "0.0.1", - "@tryghost/kg-lexical-html-renderer": "0.3.22", + "@tryghost/kg-default-nodes": "0.1.27", + "@tryghost/kg-html-to-lexical": "0.0.3", + "@tryghost/kg-lexical-html-renderer": "0.3.23", "@tryghost/kg-mobiledoc-html-renderer": "6.0.10", "@tryghost/limit-service": "1.2.6", "@tryghost/link-redirects": "0.0.0", @@ -226,7 +226,7 @@ "yjs": "13.6.7" }, "optionalDependencies": { - "@tryghost/html-to-mobiledoc": "2.0.31", + "@tryghost/html-to-mobiledoc": "2.0.32", "sqlite3": "5.1.6" }, "devDependencies": { diff --git a/yarn.lock b/yarn.lock index c9bceb3a55..6f1353ee31 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4033,75 +4033,75 @@ "@keyvhq/core" "^2.0.0" mimic-fn "~3.0.0" -"@lexical/clipboard@^0.12.0": - version "0.12.0" - resolved "https://registry.yarnpkg.com/@lexical/clipboard/-/clipboard-0.12.0.tgz#db81dfe883430186f710d18bfc4b55c78ddc664a" - integrity sha512-nCoZku0G8OwzY92yeDBsEZW0BpbJoM/QtvzGAgLZ32+3dOR7JmcnWSXPGusm8ogCEOhMAL8aqqvGrFNZ++YFtg== +"@lexical/clipboard@^0.12.2": + version "0.12.2" + resolved "https://registry.yarnpkg.com/@lexical/clipboard/-/clipboard-0.12.2.tgz#cfa74da178673624ecd835eb9449545885cbefc7" + integrity sha512-RldmfZquuJJJCJ5WquCyoJ1/eZ+AnNgdksqvd+G+Yn/GyJl/+O3dnHM0QVaDSPvh/PynLFcCtz/57ySLo2kQxQ== dependencies: - "@lexical/html" "0.12.0" - "@lexical/list" "0.12.0" - "@lexical/selection" "0.12.0" - "@lexical/utils" "0.12.0" + "@lexical/html" "0.12.2" + "@lexical/list" "0.12.2" + "@lexical/selection" "0.12.2" + "@lexical/utils" "0.12.2" -"@lexical/code@^0.12.0": - version "0.12.0" - resolved "https://registry.yarnpkg.com/@lexical/code/-/code-0.12.0.tgz#e0ae57ec7ed9008b410e77dbccd31f975d688b36" - integrity sha512-Mdq1lTQV6KIrmF7O+LE9A57gI2T0PTfC1/uWZ7ikxVpSFVt10mn+8WSyAk7kO+ltEbL/aW7PJHEqMsuEfJH7kw== +"@lexical/code@^0.12.2": + version "0.12.2" + resolved "https://registry.yarnpkg.com/@lexical/code/-/code-0.12.2.tgz#2484511cb9c3688bb85f477d448444250939986d" + integrity sha512-w2JeJdnMUtYnC/Fx78sL3iJBt9Ug8pFSDOcI9ay/BkMQFQV8oqq1iyuLLBBJSG4FAM8b2DXrVdGklRQ+jTfTVw== dependencies: - "@lexical/utils" "0.12.0" + "@lexical/utils" "0.12.2" prismjs "^1.27.0" -"@lexical/headless@^0.12.0": - version "0.12.0" - resolved "https://registry.yarnpkg.com/@lexical/headless/-/headless-0.12.0.tgz#8ee540b6c56369688a368db1cd9eac8fa59d2203" - integrity sha512-X9LwOXs5xJV4LY1uDRFwYadbY8D8gFfFR3+ios/ujLNuQ817k1CngCyyj4XIvSnvBqC+RYy8ridztjIlfhuNJA== +"@lexical/headless@^0.12.2": + version "0.12.2" + resolved "https://registry.yarnpkg.com/@lexical/headless/-/headless-0.12.2.tgz#300d5399d5d45e6f0bdc677c9ccaaf287d372572" + integrity sha512-fgAPcNG8z/uL++eplR5u5RZQU62n/aOf/znEnMn0toM73yzZQm3+V9Jx/Q5U/QfFuWVwQddVLZ32DGqMCW1/8w== -"@lexical/html@0.12.0", "@lexical/html@^0.12.0": - version "0.12.0" - resolved "https://registry.yarnpkg.com/@lexical/html/-/html-0.12.0.tgz#008929ef2ee7114772c00bb1fd07df721f0e6e53" - integrity sha512-90KKtMDMElS7AD3nYzknYe6eiu7/lw1neXFWc74XI4YLiYBD14Pb/FrEvGnQ+P1voGtr4sPk3KEf8huHdM9sJw== +"@lexical/html@0.12.2", "@lexical/html@^0.12.2": + version "0.12.2" + resolved "https://registry.yarnpkg.com/@lexical/html/-/html-0.12.2.tgz#6df09c362688b666da0f474d132d889415dbae8a" + integrity sha512-LWUO6OKhDtDZa9X1spHAqzsp+4EF01exis4cz5H9y2sHi7EofogXnRCadZ+fa07NVwPVTZWsStkk5qdSe/NEzg== dependencies: - "@lexical/selection" "0.12.0" + "@lexical/selection" "0.12.2" -"@lexical/link@^0.12.0": - version "0.12.0" - resolved "https://registry.yarnpkg.com/@lexical/link/-/link-0.12.0.tgz#6d5757ae0694d3e09cfac16b8220232ab29bc67a" - integrity sha512-5oGvOgUi+IghnHtQ7bo0yPkgYW7FdT0YMPj2Ucsje8srt8BaZKgbrm7D/ZsXPV4XljVJZce7HLT46KJzs2SDYA== +"@lexical/link@^0.12.2": + version "0.12.2" + resolved "https://registry.yarnpkg.com/@lexical/link/-/link-0.12.2.tgz#33bf3ecdd98c2b27b2bdd67a8885649e1f528fc2" + integrity sha512-etOIONa7uyRDmwg8GN52kDlf8thD2Zk1LOFLeocHWz1V8fe3i2unGUek5s/rNPkc6ynpPpNsHdN1VEghOLCCmw== dependencies: - "@lexical/utils" "0.12.0" + "@lexical/utils" "0.12.2" -"@lexical/list@0.12.0", "@lexical/list@^0.12.0": - version "0.12.0" - resolved "https://registry.yarnpkg.com/@lexical/list/-/list-0.12.0.tgz#076a99f6a7541db49cf139d71fc5cd1b555d3b09" - integrity sha512-l+5H753UQpmsqD8aEZ/LZd3YNysZ1SH693aEIgM1VIKmTftzd9+MTcqovnLNBzZQ98a5e4i1xgapOGIWkJ/MrQ== +"@lexical/list@0.12.2", "@lexical/list@^0.12.2": + version "0.12.2" + resolved "https://registry.yarnpkg.com/@lexical/list/-/list-0.12.2.tgz#7afdd13026f936144ff93d40382f21924e8e6908" + integrity sha512-3CyWtYQC+IlK4cK/oiD8Uz1gSXD8UcKGOF2vVsDXkMU06O6zvHNmHZOnVJqA0JVNgZAoR9dMR1fi2xd4iuCAiw== dependencies: - "@lexical/utils" "0.12.0" + "@lexical/utils" "0.12.2" -"@lexical/rich-text@^0.12.0": - version "0.12.0" - resolved "https://registry.yarnpkg.com/@lexical/rich-text/-/rich-text-0.12.0.tgz#6bbb8cccfd0a521bda3ea2f6200896823755cc07" - integrity sha512-Rhz3tzzTQFZX5k5XJSlJgyy8BJPz+/Jmw7RuEXzVTGxniAcovEll9TLXbZQ7SJLeHkPmJ65PdXR0om29KhjFVg== +"@lexical/rich-text@^0.12.2": + version "0.12.2" + resolved "https://registry.yarnpkg.com/@lexical/rich-text/-/rich-text-0.12.2.tgz#9ef44e54777fc222ac8df344adb0d7428c784b25" + integrity sha512-igsEuv7CwBOAj5c8jeE41cnx6zkhI/Bkbu4W7shT6S6lNA/3cnyZpAMlgixwyK5RoqjGRCT+IJK5l6yBxQfNkw== -"@lexical/selection@0.12.0": - version "0.12.0" - resolved "https://registry.yarnpkg.com/@lexical/selection/-/selection-0.12.0.tgz#d8ffd95f6aa6c3ae74da89f9ecf416f01e9794d7" - integrity sha512-0JpwYHwQ3wTsP98hR9xbx7GhWayERQ7rOvzmPOim7FRXQHEdqzxek5imxwyCPL4cTgHY5y+zrnCXluLeSLd57Q== +"@lexical/selection@0.12.2": + version "0.12.2" + resolved "https://registry.yarnpkg.com/@lexical/selection/-/selection-0.12.2.tgz#87e30b953b02923d1691f61d5189eb1be81a19ae" + integrity sha512-h+g3oOnihHKIyLTyG6uLCEVR/DmUEVdCcZO1iAoGsuW7nwWiWNPWj6oZ3Cw5J1Mk5u62DHnkkVDQsVSZbAwmtg== -"@lexical/table@0.12.0": - version "0.12.0" - resolved "https://registry.yarnpkg.com/@lexical/table/-/table-0.12.0.tgz#5576fa60ee1c8f36ad6c207b896776056de674bd" - integrity sha512-YVPuHJdE7yTi0vqzYiL6tjLy9aOixiSuGu+Tv4ohqpz4RMlG8ewoOrHy8losUdA26YHGPLGxwMN6QmtpW/8iPg== +"@lexical/table@0.12.2": + version "0.12.2" + resolved "https://registry.yarnpkg.com/@lexical/table/-/table-0.12.2.tgz#59be2fd0413a9125017bb119aa950050bf92717b" + integrity sha512-tiAmTq6RKHDVER9v589Ajm9/RL+WTF1WschrH6HHVCtil6cfJfTJeJ+MF45+XEzB9fkqy2LfrScAfWxqLjVePA== dependencies: - "@lexical/utils" "0.12.0" + "@lexical/utils" "0.12.2" -"@lexical/utils@0.12.0": - version "0.12.0" - resolved "https://registry.yarnpkg.com/@lexical/utils/-/utils-0.12.0.tgz#0550f492baddf68a3ea70f2a6754953a7e684403" - integrity sha512-ESAKn4GsSUyBXbebSWT0ZoSrLQ5RRdGXh3MERENystbr33cwSVZ1NEzHnQAy6KxCUZVuuFjUusQo7T/qQzLFYw== +"@lexical/utils@0.12.2": + version "0.12.2" + resolved "https://registry.yarnpkg.com/@lexical/utils/-/utils-0.12.2.tgz#b8325f1a1a0d043fd2b40d59cd00c4d7c038474b" + integrity sha512-xW4y4l2Yd37+qLwkBvBGyzsKCA9wnh1ljphBJeR2vreT193i2gaIwuku2ZKlER14VHw4192qNJF7vUoAEmwurQ== dependencies: - "@lexical/list" "0.12.0" - "@lexical/selection" "0.12.0" - "@lexical/table" "0.12.0" + "@lexical/list" "0.12.2" + "@lexical/selection" "0.12.2" + "@lexical/table" "0.12.2" "@lezer/common@^1.0.0", "@lezer/common@^1.0.2": version "1.0.3" @@ -7762,12 +7762,12 @@ dependencies: lodash-es "^4.17.11" -"@tryghost/html-to-mobiledoc@2.0.31": - version "2.0.31" - resolved "https://registry.yarnpkg.com/@tryghost/html-to-mobiledoc/-/html-to-mobiledoc-2.0.31.tgz#999db41cd5cb6892f77a83644343387636207d60" - integrity sha512-2SCrOWtb/94f0U5zgAO+DBTunCce6Rzi7GU1K/6Lg3jdLYyOCBHEUTDCzLfpZyBt0W6VkzBG5Qgk7QdaJThSAA== +"@tryghost/html-to-mobiledoc@2.0.32": + version "2.0.32" + resolved "https://registry.yarnpkg.com/@tryghost/html-to-mobiledoc/-/html-to-mobiledoc-2.0.32.tgz#4be6793fc249a719178d34cff7628a1d6b01e47d" + integrity sha512-VTxQ5oK5yKANfwJTojzliQbuRyC/N0ie7OGNiA/dIPB0/jxnaC3DBdC+lQon3uI1zsg9xijjm77iBnQWNYHk6A== dependencies: - "@tryghost/kg-parser-plugins" "^3.0.31" + "@tryghost/kg-parser-plugins" "^3.0.32" "@tryghost/mobiledoc-kit" "^0.12.4-ghost.1" jsdom "^22.0.0" @@ -7809,10 +7809,10 @@ resolved "https://registry.yarnpkg.com/@tryghost/kg-card-factory/-/kg-card-factory-4.0.10.tgz#c7de952d72d302d04d11fc89ecb9140c9adb567d" integrity sha512-PrBapJgFnJgLQ9oavpZzH2JhelmhEIKUryvo1HJekY3RxeVU6318q8Q70fjYDiOGwGk7uEGTdfdi9vz8G2p7bg== -"@tryghost/kg-clean-basic-html@3.0.30", "@tryghost/kg-clean-basic-html@^3.0.30": - version "3.0.30" - resolved "https://registry.yarnpkg.com/@tryghost/kg-clean-basic-html/-/kg-clean-basic-html-3.0.30.tgz#1661804f3448a2ca43992ccbffc7a201068fc01d" - integrity sha512-bK6BQUgpuNVJODfeyfyLlf0z5QlZkT6bfmKVeXyYwjrMfgOT1Ghuj+zXJpdldq5B3fAWwGJ+2DnzjhzqfFFy0w== +"@tryghost/kg-clean-basic-html@3.0.31", "@tryghost/kg-clean-basic-html@^3.0.31": + version "3.0.31" + resolved "https://registry.yarnpkg.com/@tryghost/kg-clean-basic-html/-/kg-clean-basic-html-3.0.31.tgz#b1fd0f907ba68f48471a6fd888d53291f71558c9" + integrity sha512-h4ekkm5LDhNG+0yfkvAhZjpViI/ijkT1c/pMjVW+6oCbPEwPpaAXFkJvo56QaAYCwgVt+0Bp3fGhTAZ53x4O4w== "@tryghost/kg-converters@0.0.13": version "0.0.13" @@ -7839,46 +7839,46 @@ lodash "^4.17.21" luxon "^3.0.0" -"@tryghost/kg-default-nodes@0.1.26", "@tryghost/kg-default-nodes@^0.1.26": - version "0.1.26" - resolved "https://registry.yarnpkg.com/@tryghost/kg-default-nodes/-/kg-default-nodes-0.1.26.tgz#4c1ecfdeb2158a10f007539e9dc1cc2fc3a1af24" - integrity sha512-AeQ651YMd79YmmLwiN97j46eWgIfETIhK42EH0Se1KrxH4hmjzNOfgq7NwqXPnC3hAQiB/Oa67R5mWYp2foATA== +"@tryghost/kg-default-nodes@0.1.27", "@tryghost/kg-default-nodes@^0.1.27": + version "0.1.27" + resolved "https://registry.yarnpkg.com/@tryghost/kg-default-nodes/-/kg-default-nodes-0.1.27.tgz#552f5b3d73f12bd3022b23625cc60f3b85e762b9" + integrity sha512-ougSMoTxjWee0dgNVFsvf5Tav5HgFWMTT4uVNzQLxXOE4wIuPzb/yOmNskQcawWiL2Gjb08WOUMq5nJRTQJ5dw== dependencies: - "@tryghost/kg-clean-basic-html" "^3.0.30" + "@tryghost/kg-clean-basic-html" "^3.0.31" "@tryghost/kg-markdown-html-renderer" "^6.0.10" html-minifier "^4.0.0" jsdom "^22.0.0" - lexical "^0.12.0" + lexical "^0.12.2" lodash "^4.17.21" luxon "^3.3.0" -"@tryghost/kg-html-to-lexical@0.0.1": - version "0.0.1" - resolved "https://registry.yarnpkg.com/@tryghost/kg-html-to-lexical/-/kg-html-to-lexical-0.0.1.tgz#4386c19330a64c7c9a10c54d8e47ed6f41289676" - integrity sha512-J+3A335QHu0xWvklntxAPfAPByqXG9qzEb+9f+eG01HDXHcb4cCRILjdtTmUh2ipLkXXWM9KFf5r/tlTNq7ChQ== +"@tryghost/kg-html-to-lexical@0.0.3": + version "0.0.3" + resolved "https://registry.yarnpkg.com/@tryghost/kg-html-to-lexical/-/kg-html-to-lexical-0.0.3.tgz#adcda2f2fcecad1b9b0b02aad69e875fa13a3bf4" + integrity sha512-KVLlFBzktLEFxk1ZTGfMY5MoWk1d1+vRlXaUEMj9vvXJEFBg/3dD1rTg4KD+UrHx5eBuEfwo+lxyQ4Y2vwlkLw== dependencies: - "@lexical/headless" "^0.12.0" - "@lexical/html" "^0.12.0" - "@lexical/link" "^0.12.0" - "@lexical/list" "^0.12.0" - "@tryghost/kg-default-nodes" "^0.1.26" + "@lexical/headless" "^0.12.2" + "@lexical/html" "^0.12.2" + "@lexical/link" "^0.12.2" + "@lexical/list" "^0.12.2" + "@tryghost/kg-default-nodes" "^0.1.27" jsdom "^22.1.0" - lexical "^0.12.0" + lexical "^0.12.2" -"@tryghost/kg-lexical-html-renderer@0.3.22": - version "0.3.22" - resolved "https://registry.yarnpkg.com/@tryghost/kg-lexical-html-renderer/-/kg-lexical-html-renderer-0.3.22.tgz#b93dc849cd7386fbcbc751561399a4bd449def9d" - integrity sha512-lYv613XE4EFceGEq5ACPs8UWNg8DD4ZUZQggKTGtT2WJkOzG2PDtEfUVXXduINs/DqJOwS5MNTjZP1VpWaMhIg== +"@tryghost/kg-lexical-html-renderer@0.3.23": + version "0.3.23" + resolved "https://registry.yarnpkg.com/@tryghost/kg-lexical-html-renderer/-/kg-lexical-html-renderer-0.3.23.tgz#46296371f2f4050fed55f712af26a551f869017d" + integrity sha512-ddLbOkHDuqetN3b9BxHdljkD6ZfOQks6Ui9JcAML3p3DdKSiYX6aE/9bo78rFYLNI7jTzmlNt3YQmoOzjKxqkA== dependencies: - "@lexical/clipboard" "^0.12.0" - "@lexical/code" "^0.12.0" - "@lexical/headless" "^0.12.0" - "@lexical/link" "^0.12.0" - "@lexical/list" "^0.12.0" - "@lexical/rich-text" "^0.12.0" - "@tryghost/kg-default-nodes" "^0.1.26" + "@lexical/clipboard" "^0.12.2" + "@lexical/code" "^0.12.2" + "@lexical/headless" "^0.12.2" + "@lexical/link" "^0.12.2" + "@lexical/list" "^0.12.2" + "@lexical/rich-text" "^0.12.2" + "@tryghost/kg-default-nodes" "^0.1.27" jsdom "^22.1.0" - lexical "^0.12.0" + lexical "^0.12.2" prettier "^3.0.0" "@tryghost/kg-markdown-html-renderer@^6.0.10": @@ -7905,12 +7905,12 @@ mobiledoc-dom-renderer "^0.7.0" simple-dom "^1.4.0" -"@tryghost/kg-parser-plugins@3.0.31", "@tryghost/kg-parser-plugins@^3.0.31": - version "3.0.31" - resolved "https://registry.yarnpkg.com/@tryghost/kg-parser-plugins/-/kg-parser-plugins-3.0.31.tgz#6c895700a63d1d0b4ca613831dbedea60bd8380d" - integrity sha512-GQaE78mGTOcrcxeOlskoRzF1oCK04gk9pjsK5PSPXkfWRnwwZVhU+XqwcEu67+ijvp4QIfbJzNXSXFm0P5SGrQ== +"@tryghost/kg-parser-plugins@3.0.32", "@tryghost/kg-parser-plugins@^3.0.32": + version "3.0.32" + resolved "https://registry.yarnpkg.com/@tryghost/kg-parser-plugins/-/kg-parser-plugins-3.0.32.tgz#2107ce84edea78bcdb580c0c91e8a5cd87bf8ac6" + integrity sha512-6AO9X11jOlwtBo50YKJ2FL79pQ/atDKXk8AhrdChLug7fRjXu3hi60JBE6zDbGAvJiLkBVBqSCYPYA2nZGuEGA== dependencies: - "@tryghost/kg-clean-basic-html" "^3.0.30" + "@tryghost/kg-clean-basic-html" "^3.0.31" "@tryghost/kg-simplemde@1.11.2": version "1.11.2" @@ -21739,10 +21739,10 @@ levn@~0.3.0: prelude-ls "~1.1.2" type-check "~0.3.2" -lexical@^0.12.0: - version "0.12.0" - resolved "https://registry.yarnpkg.com/lexical/-/lexical-0.12.0.tgz#b715fb061f6394814761a07ba5b4fd4c2aa3f9cd" - integrity sha512-ixp8+5D9UJueZSjh9a7Z0eiiKm8MZmf//+mr0rZSCXermhdIcn1lglDGbff1KGwO1ONnFlycWJV12m8Zvtgggg== +lexical@^0.12.2: + version "0.12.2" + resolved "https://registry.yarnpkg.com/lexical/-/lexical-0.12.2.tgz#68535e145715d5788374495c9ee0420e417d792b" + integrity sha512-Kxavd+ETjxtVwG/hvPd6WZfXD44sLOKe9Vlkwxy7lBQ1qZArS+rZfs+u5iXwXe6tX9f2PIM0u3RHsrCEDDE0fw== lib0@0.2.83, lib0@^0.2.42, lib0@^0.2.74: version "0.2.83"