0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-01 02:41:39 -05:00

🐛 Fixed 500 errors when fetching certain posts via the Admin API

no issue

- it's possible to have `mobiledoc` that has anchor markups with no `href` attribute, in that situation our url-transformation utilities were throwing errors when generating Admin API output
- bumps `@tryghost/url-utils` with fixed utility functions
This commit is contained in:
Kevin Ansfield 2019-10-09 17:21:06 +01:00
parent b4548b0119
commit b01bae7c3d
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.1",
"@tryghost/url-utils": "0.6.2",
"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.1":
version "0.6.1"
resolved "https://registry.yarnpkg.com/@tryghost/url-utils/-/url-utils-0.6.1.tgz#cb3a1c199ff855a131588258e43bbcb1599b856c"
integrity sha512-FfHc/OoMqKvKbQ8Rir09wkeFZPV7FZMfmnKaVFOUoJPuULetFmfS8yP0WNBHNfGj197aT+JyyJH2QpFokvPprQ==
"@tryghost/url-utils@0.6.2":
version "0.6.2"
resolved "https://registry.yarnpkg.com/@tryghost/url-utils/-/url-utils-0.6.2.tgz#136901c835884259619ba93cc737e1a683f02aa3"
integrity sha512-/ksyMkUI3KTFpSSawqqEhjv6Sur5+67Cn49up0YuQzIgHMh9u2rKyoAUzOAxNnMn3k/dq1LfzWtAE4al2ld0NA==
dependencies:
cheerio "0.22.0"
moment "2.24.0"