mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
a1962f38cd
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
|
||
---|---|---|
.. | ||
adapter-manager | ||
bootstrap-socket | ||
constants | ||
errors | ||
image-transform | ||
job-manager | ||
limit-service | ||
moleculer-service-from-class | ||
mw-session-from-token | ||
pretty-cli | ||
promise | ||
release-utils | ||
security | ||
session-service | ||
vhost-middleware | ||
zip | ||
.gitkeep |