From 8400f10014dd5e8fa3bd1f87d6cba8900b2303a9 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sat, 22 Feb 2020 16:45:32 -0800 Subject: [PATCH] chore: update mkdirp (#1699) --- bin/run-mastodon.js | 3 +-- package.json | 2 +- yarn.lock | 5 +++++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/bin/run-mastodon.js b/bin/run-mastodon.js index 66a9b1d4..25e2e03e 100644 --- a/bin/run-mastodon.js +++ b/bin/run-mastodon.js @@ -4,11 +4,10 @@ import childProcessPromise from 'child-process-promise' import path from 'path' import fs from 'fs' import { waitForMastodonUiToStart, waitForMastodonApiToStart } from './wait-for-mastodon-to-start' -import mkdirpCB from 'mkdirp' +import mkdirp from 'mkdirp' const exec = childProcessPromise.exec const spawn = childProcessPromise.spawn -const mkdirp = promisify(mkdirpCB) const stat = promisify(fs.stat) const writeFile = promisify(fs.writeFile) const dir = __dirname diff --git a/package.json b/package.json index 804f3b34..62c13c25 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,7 @@ "localstorage-memory": "^1.0.3", "lodash-es": "^4.17.15", "lodash-webpack-plugin": "^0.11.5", - "mkdirp": "^0.5.1", + "mkdirp": "^1.0.3", "node-fetch": "^2.6.0", "node-sass": "4.13.0", "npm-run-all": "^4.1.5", diff --git a/yarn.lock b/yarn.lock index 514745b2..b5994529 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5792,6 +5792,11 @@ mkdirp@0.5.1, "mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.1: dependencies: minimist "0.0.8" +mkdirp@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.3.tgz#4cf2e30ad45959dddea53ad97d518b6c8205e1ea" + integrity sha512-6uCP4Qc0sWsgMLy1EOqqS/3rjDHOEnsStVr/4vtAIK2Y5i2kA7lFFejYrpIyiN9w0pYf4ckeCYT9f1r1P9KX5g== + mocha@^6.2.2: version "6.2.2" resolved "https://registry.yarnpkg.com/mocha/-/mocha-6.2.2.tgz#5d8987e28940caf8957a7d7664b910dc5b2fea20"