mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Fixed incorrect require for lodash package
no issue - node was complaining the package was missing after the sanitize-html update [1] - the update removed an old version of lodash which supported the dot importing method - our code relied on this subdependency to work, but the structure has since been updated [1]: https://github.com/TryGhost/Ghost/pull/11867
This commit is contained in:
parent
a5a57adc54
commit
3701d6e919
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ const config = require('../../../shared/config');
|
|||
const compress = require('compression');
|
||||
const netjet = require('netjet');
|
||||
const mw = require('./middleware');
|
||||
const escapeRegExp = require('lodash.escaperegexp');
|
||||
const escapeRegExp = require('lodash/escapeRegExp');
|
||||
const {URL} = require('url');
|
||||
const shared = require('../shared');
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue