🐛 Fixed errors when saving or importing posts with invalid URLs

no issue

- bumped @tryghost/url-utils to a version which catches parsing errors and returns the original url argument
This commit is contained in:
Kevin Ansfield 2019-10-11 13:20:24 +01:00
parent dc6d768a6d
commit 85a03b19b1
2 changed files with 5 additions and 5 deletions

View File

@ -45,7 +45,7 @@
"@tryghost/members-ssr": "0.7.0",
"@tryghost/social-urls": "0.1.2",
"@tryghost/string": "^0.1.3",
"@tryghost/url-utils": "0.6.6",
"@tryghost/url-utils": "0.6.7",
"ajv": "6.10.2",
"amperize": "0.6.0",
"analytics-node": "3.3.0",

View File

@ -297,10 +297,10 @@
dependencies:
unidecode "^0.1.8"
"@tryghost/url-utils@0.6.6":
version "0.6.6"
resolved "https://registry.yarnpkg.com/@tryghost/url-utils/-/url-utils-0.6.6.tgz#45fe815419df325cc07571c39739b04296a1cc09"
integrity sha512-U3JHMK5c2OVpuXHoJAOMjomYOVoyCY3ZGMYJ8yyby7eq2mMAHIBbwWsg4IkKuYKQ+/hGxK7DLGS7A3xb/Rxxbg==
"@tryghost/url-utils@0.6.7":
version "0.6.7"
resolved "https://registry.yarnpkg.com/@tryghost/url-utils/-/url-utils-0.6.7.tgz#59fb5c98be0d9e0b484414c9a227a450d1a5b3c7"
integrity sha512-5rFuakhp5/srYo3E4xyS3re0Ifaq9SyJF7ocxzJ4XpHDP1vHJiu5wDaP3kv3F4SX8BwySLFoNG7b0lOcWvuZ+Q==
dependencies:
cheerio "0.22.0"
moment "2.24.0"