Ghost/ghost/limit-service/lib
Naz a1962f38cd Removed ghost-ignition's errors dependency
refs https://github.com/TryGhost/Team/issues/597

- To be able to transpile the library for different runtimes (make it polymorphic) had to get rid of dependencies that were not compatible with ES  Modules
- By making errors an injectable constructor option it removes the depencency and allows to transpile the library for multiple targets
- The `errors` option is now a required parameter for `loadLimits` method. It errors if it's missing (error message copy inspired by content api error 69fcea0582/packages/content-api/lib/index.js (L21))
2021-04-05 16:17:57 +12:00
..
config.js Changed casing of limit names + fixed handling 2021-03-04 20:39:09 +00:00
limit-service.js Removed ghost-ignition's errors dependency 2021-04-05 16:17:57 +12:00
limit.js Removed ghost-ignition's errors dependency 2021-04-05 16:17:57 +12:00