From bf7d1414076f74fda8b06bdcfb410ece411d4e14 Mon Sep 17 00:00:00 2001 From: Naz Date: Thu, 31 Mar 2022 19:33:26 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20=5F=5FGHOST=5FURL=5F=5F?= =?UTF-8?q?=20tranformations=20in=20video=20cards?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit refs https://github.com/TryGhost/Ghost/issues/14344 - The video card containing thumbnail images did not pick up url tranformations (aka __GHOSt_URL__) needed to keep urls compatible across Ghost instancess. - There's also a similar problem with product cards that will get a separate fix --- package.json | 2 +- yarn.lock | 14 +++++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 8f485db6d0..8f228cb8e1 100644 --- a/package.json +++ b/package.json @@ -106,7 +106,7 @@ "@tryghost/string": "0.1.23", "@tryghost/tpl": "0.1.13", "@tryghost/update-check-service": "0.3.2", - "@tryghost/url-utils": "2.0.8", + "@tryghost/url-utils": "2.1.0", "@tryghost/validator": "0.1.18", "@tryghost/verification-trigger": "0.1.6", "@tryghost/version": "0.1.12", diff --git a/yarn.lock b/yarn.lock index c41932c215..98dd64252b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2330,7 +2330,19 @@ lodash "^4.17.21" moment "^2.24.0" -"@tryghost/url-utils@2.0.8", "@tryghost/url-utils@^2.0.0": +"@tryghost/url-utils@2.1.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@tryghost/url-utils/-/url-utils-2.1.0.tgz#5b30921eeb27fdcb9c1fc1360879a0d99304ddf2" + integrity sha512-3oID3Pzgew17eZF6YpJvG4Iy8F5CDealvcZ3zRwGFBT/oSUBGHY4nQfAUAH0Uo7dPAEDx9zOcMyNk/cJ/VN3nQ== + dependencies: + cheerio "^0.22.0" + moment "^2.27.0" + moment-timezone "^0.5.31" + remark "^11.0.2" + remark-footnotes "^1.0.0" + unist-util-visit "^2.0.0" + +"@tryghost/url-utils@^2.0.0": version "2.0.8" resolved "https://registry.yarnpkg.com/@tryghost/url-utils/-/url-utils-2.0.8.tgz#010ed41fb50e82966839c5bd43ae7b7d38a77e06" integrity sha512-jYz7KHEs6H8lnMkg2/eB9S2lPy8DfUxoMMjO891rrLuALTZW1d7wmfjtyZDMLccT4eXX3wdXXNrFcUC5tUQTxA==