Remove mkdirp from web dependencies (#7427)

GitOrigin-RevId: b170371e538ca65fccd5c21f76dc25feec909190
This commit is contained in:
Alf Eaton 2022-08-19 09:51:02 +01:00 committed by Copybot
parent faef8f3247
commit 7c20e7701b
3 changed files with 2 additions and 6 deletions

2
package-lock.json generated
View file

@ -34898,7 +34898,6 @@
"less-plugin-autoprefix": "^2.0.0",
"mensch": "^0.3.4",
"mini-css-extract-plugin": "^2.6.0",
"mkdirp": "0.5.1",
"mocha": "^8.4.0",
"mock-fs": "^5.1.2",
"nock": "^13.1.1",
@ -42402,7 +42401,6 @@
"method-override": "^2.3.3",
"mini-css-extract-plugin": "^2.6.0",
"minimist": "1.2.5",
"mkdirp": "0.5.1",
"mmmagic": "^0.5.3",
"mocha": "^8.4.0",
"mock-fs": "^5.1.2",

View file

@ -287,7 +287,6 @@
"less-plugin-autoprefix": "^2.0.0",
"mensch": "^0.3.4",
"mini-css-extract-plugin": "^2.6.0",
"mkdirp": "0.5.1",
"mocha": "^8.4.0",
"mock-fs": "^5.1.2",
"nock": "^13.1.1",

View file

@ -1,7 +1,6 @@
const { expect } = require('chai')
const _ = require('underscore')
const mkdirp = require('mkdirp')
const { promisify } = require('util')
const fs = require('fs')
const Settings = require('@overleaf/settings')
const User = require('./helpers/User').promises
@ -39,7 +38,7 @@ describe('LinkedFiles', function () {
beforeEach(async function () {
owner = new User()
await owner.login()
await promisify(mkdirp)(Settings.path.dumpFolder)
await fs.promises.mkdir(Settings.path.dumpFolder, { recursive: true })
})
describe('creating a project linked file', function () {