mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 18:31:57 +03:00
0bdaa216e5
- Ghost has a set of core packages that it is safe to require directly in any file - tpl is one of them! - This keeps the DI signature smaller and easier to reason about
12 lines
591 B
JavaScript
12 lines
591 B
JavaScript
const request = require('@tryghost/request');
|
|
const urlUtils = require('../../../shared/url-utils');
|
|
const storage = require('../../adapters/storage');
|
|
const storageUtils = require('../../adapters/storage/utils');
|
|
const validator = require('@tryghost/validator');
|
|
const config = require('../../../shared/config');
|
|
const logging = require('@tryghost/logging');
|
|
const settingsCache = require('../../../shared/settings-cache');
|
|
const ImageUtils = require('./image-utils');
|
|
|
|
module.exports = new ImageUtils({config, logging, urlUtils, settingsCache, storageUtils, storage, validator, request});
|