mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 19:33:02 +03:00
86343f028b
no issue - extracted most standalone util functions into separate files+tests - switched the main `UrlUtils` function into a class (we had mixed uses of the returned object previously as both `urlUtils()` and `new UrlUtils()` - the class makes it obvious that the `new` keyword is required) - removed some unnecessary use of lodash and switched to using `URL` in place of `url` so that the package can have parity across node+browser without needing an additional package bundled in |
||
---|---|---|
.. | ||
config-url-helpers/test/unit/utils | ||
config-url-hepers/lib/utils |