From 2a32187ad49bb61a6b6ec94c4886b259d510cbeb Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Wed, 7 Jun 2023 18:48:19 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20converter=20bug=20that?= =?UTF-8?q?=20stopped=20some=20snippets=20being=20migrated=20for=20the=20e?= =?UTF-8?q?ditor=20beta?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit no issue - if the converted mobiledoc started with a card and contained any text content we would hit a "can not read .length of undefined" error which could prevent snippets from being migrated when opening the beta editor and result in copy/paste from old editor to new not working - bumped `@tryghost/kg-converters` to a fixed version --- ghost/admin/package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ghost/admin/package.json b/ghost/admin/package.json index 6718bdba81..4af86b4c61 100644 --- a/ghost/admin/package.json +++ b/ghost/admin/package.json @@ -45,7 +45,7 @@ "@tryghost/ember-promise-modals": "2.0.1", "@tryghost/helpers": "1.1.77", "@tryghost/kg-clean-basic-html": "3.0.17", - "@tryghost/kg-converters": "0.0.6", + "@tryghost/kg-converters": "0.0.7", "@tryghost/kg-parser-plugins": "3.0.18", "@tryghost/kg-simplemde": "1.11.2", "@tryghost/limit-service": "1.2.6", diff --git a/yarn.lock b/yarn.lock index 362c033d33..19945afe57 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6884,10 +6884,10 @@ resolved "https://registry.yarnpkg.com/@tryghost/kg-clean-basic-html/-/kg-clean-basic-html-3.0.17.tgz#7b3ac455f739c550346c79b0dfdf67bc67d18977" integrity sha512-Mr/7dQILSzP5ggxkGNAfbAyNUOWpqJ8AuhY6EwwC8xvFwVPM9QKdRtC+ZumstOWaClnWxikxumLsZbX3LjRhCw== -"@tryghost/kg-converters@0.0.6": - version "0.0.6" - resolved "https://registry.yarnpkg.com/@tryghost/kg-converters/-/kg-converters-0.0.6.tgz#44e96c1907b9dc59ead2f5ea42ce612f3ded1a2d" - integrity sha512-Q/wm7PKl+G2PG+Sfw1NaVOMebfI/zrYnB3FH3W4GSF4JsyanmBGhfL09k2zIN4VQpP5LOxOhAII7g26jwWiBPg== +"@tryghost/kg-converters@0.0.7": + version "0.0.7" + resolved "https://registry.yarnpkg.com/@tryghost/kg-converters/-/kg-converters-0.0.7.tgz#22ddd4166d1603ffaa28173ec9ad781a430423a2" + integrity sha512-mIFbfcK7PpSpZk52d67yJ3PsuQhsBq5XSDGO9hAOFWluGBIqtViDcvCOnk/XaN4nHbq/rRtklt2bxYBAUmsu2g== dependencies: lodash "^4.17.21"