@ -84,7 +84,7 @@
"lru-cache": "9.0.1",
"material-design-lite": "1.3.0",
"mime": "3.0.0",
"mkdirp": "2.1.6",
"mkdirp": "3.0.0",
"mongodb": "5.2.0",
"morgan": "1.10.0",
"mousetrap": "1.6.5",
@ -11,7 +11,7 @@ const webpack = require('webpack');
const nconf = require('nconf');
const Benchpress = require('benchpressjs');
const mkdirp = require('mkdirp');
const { mkdirp } = require('mkdirp');
const { paths } = require('../src/constants');
const sass = require('../src/utils').getSass();
@ -6,7 +6,7 @@ const url = require('url');
const path = require('path');
const { fork } = require('child_process');
const logrotate = require('logrotate-stream');
const file = require('./src/file');
const pkg = require('./package.json');
@ -4,7 +4,7 @@ const fs = require('fs');
const winston = require('winston');
const mime = require('mime');
const graceful = require('graceful-fs');
@ -5,7 +5,7 @@ const winston = require('winston');
const _ = require('lodash');
const chalk = require('chalk');
const cacheBuster = require('./cacheBuster');
@ -2,7 +2,7 @@
const fs = require('fs');
const filePath = path.join(__dirname, '../../build/cache-buster');
const file = require('../file');
const plugins = require('../plugins');
@ -4,7 +4,7 @@ const _ = require('lodash');
@ -1,6 +1,6 @@
'use strict';
@ -3,7 +3,7 @@
const assert = require('assert');
const db = require('./mocks/databasemock');
const file = require('../src/file');
@ -210,7 +210,7 @@ async function setupMockDefaults() {
await fs.promises.rm('test/uploads', { recursive: true, force: true });
const folders = [
'test/uploads',