feat: update mkdirp to 3.x, closes #11455

isekai-main
Barış Soner Uşaklı 2 years ago
parent 43c6087b34
commit 132476d581

@ -84,7 +84,7 @@
"lru-cache": "9.0.1", "lru-cache": "9.0.1",
"material-design-lite": "1.3.0", "material-design-lite": "1.3.0",
"mime": "3.0.0", "mime": "3.0.0",
"mkdirp": "2.1.6", "mkdirp": "3.0.0",
"mongodb": "5.2.0", "mongodb": "5.2.0",
"morgan": "1.10.0", "morgan": "1.10.0",
"mousetrap": "1.6.5", "mousetrap": "1.6.5",

@ -11,7 +11,7 @@ const webpack = require('webpack');
const nconf = require('nconf'); const nconf = require('nconf');
const Benchpress = require('benchpressjs'); const Benchpress = require('benchpressjs');
const mkdirp = require('mkdirp'); const { mkdirp } = require('mkdirp');
const { paths } = require('../src/constants'); const { paths } = require('../src/constants');
const sass = require('../src/utils').getSass(); const sass = require('../src/utils').getSass();

@ -6,7 +6,7 @@ const url = require('url');
const path = require('path'); const path = require('path');
const { fork } = require('child_process'); const { fork } = require('child_process');
const logrotate = require('logrotate-stream'); const logrotate = require('logrotate-stream');
const mkdirp = require('mkdirp'); const { mkdirp } = require('mkdirp');
const file = require('./src/file'); const file = require('./src/file');
const pkg = require('./package.json'); const pkg = require('./package.json');

@ -4,7 +4,7 @@ const fs = require('fs');
const nconf = require('nconf'); const nconf = require('nconf');
const path = require('path'); const path = require('path');
const winston = require('winston'); const winston = require('winston');
const mkdirp = require('mkdirp'); const { mkdirp } = require('mkdirp');
const mime = require('mime'); const mime = require('mime');
const graceful = require('graceful-fs'); const graceful = require('graceful-fs');

@ -5,7 +5,7 @@ const winston = require('winston');
const nconf = require('nconf'); const nconf = require('nconf');
const _ = require('lodash'); const _ = require('lodash');
const path = require('path'); const path = require('path');
const mkdirp = require('mkdirp'); const { mkdirp } = require('mkdirp');
const chalk = require('chalk'); const chalk = require('chalk');
const cacheBuster = require('./cacheBuster'); const cacheBuster = require('./cacheBuster');

@ -2,7 +2,7 @@
const fs = require('fs'); const fs = require('fs');
const path = require('path'); const path = require('path');
const mkdirp = require('mkdirp'); const { mkdirp } = require('mkdirp');
const winston = require('winston'); const winston = require('winston');
const filePath = path.join(__dirname, '../../build/cache-buster'); const filePath = path.join(__dirname, '../../build/cache-buster');

@ -2,7 +2,7 @@
const path = require('path'); const path = require('path');
const fs = require('fs'); const fs = require('fs');
const mkdirp = require('mkdirp'); const { mkdirp } = require('mkdirp');
const file = require('../file'); const file = require('../file');
const plugins = require('../plugins'); const plugins = require('../plugins');

@ -4,7 +4,7 @@ const _ = require('lodash');
const nconf = require('nconf'); const nconf = require('nconf');
const path = require('path'); const path = require('path');
const fs = require('fs'); const fs = require('fs');
const mkdirp = require('mkdirp'); const { mkdirp } = require('mkdirp');
const file = require('../file'); const file = require('../file');

@ -1,6 +1,6 @@
'use strict'; 'use strict';
const mkdirp = require('mkdirp'); const { mkdirp } = require('mkdirp');
const winston = require('winston'); const winston = require('winston');
const path = require('path'); const path = require('path');
const fs = require('fs'); const fs = require('fs');

@ -3,7 +3,7 @@
const path = require('path'); const path = require('path');
const fs = require('fs'); const fs = require('fs');
const assert = require('assert'); const assert = require('assert');
const mkdirp = require('mkdirp'); const { mkdirp } = require('mkdirp');
const db = require('./mocks/databasemock'); const db = require('./mocks/databasemock');
const file = require('../src/file'); const file = require('../src/file');

@ -210,7 +210,7 @@ async function setupMockDefaults() {
await fs.promises.rm('test/uploads', { recursive: true, force: true }); await fs.promises.rm('test/uploads', { recursive: true, force: true });
const mkdirp = require('mkdirp'); const { mkdirp } = require('mkdirp');
const folders = [ const folders = [
'test/uploads', 'test/uploads',

Loading…
Cancel
Save