0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core
Kevin Ansfield c2793eedd3 Fixed no-restricted-require warning for core/shared/url-utils.js
no issue

Our server-defined `mobiledoc` object was required by `UrlUtils.cardTransformers` property to help set up a shortcut for url transform functions but that was breaking the independence of `UrlUtils` by crossing the shared/server boundary.

- `cardTransformers` is only needed for the `mobiledocToTransformReady` utility function that will only be used by the server
- removed `UrlUtils.cardTransformers` (and associated require) from our `UrlUtils` instance and updated the few areas the server uses `mobiledocToTransformReady()` to pass in the mobiledoc card objects directly as an option
2021-05-25 21:13:57 +01:00
..
client@d984005b16 Updated Ghost-Admin to v4.6.0 2021-05-25 15:11:56 +01:00
frontend Updated @price data to not use archived prices 2021-05-17 11:02:27 +01:00
server Fixed no-restricted-require warning for core/shared/url-utils.js 2021-05-25 21:13:57 +01:00
shared Fixed no-restricted-require warning for core/shared/url-utils.js 2021-05-25 21:13:57 +01:00
app.js Added Sentry to new boot process 2021-02-19 09:20:41 +00:00
boot.js Added members service init to boot sequence 2021-05-20 12:08:45 +01:00
bridge.js Improved theme locale handling 2021-05-05 16:13:26 +01:00