diff --git a/build/downloadDaemon.js b/build/downloadDaemon.js index 754b986b7..11b0b5ba2 100644 --- a/build/downloadDaemon.js +++ b/build/downloadDaemon.js @@ -1,6 +1,6 @@ /* eslint-disable no-console,import/no-extraneous-dependencies,import/no-commonjs */ const path = require('path'); -const fs = require('fs'); +const fs = require('fs-path'); const packageJSON = require('../package.json'); const axios = require('axios'); const decompress = require('decompress'); diff --git a/package.json b/package.json index f8c984853..9ca818787 100644 --- a/package.json +++ b/package.json @@ -103,6 +103,7 @@ "flow-babel-webpack-plugin": "^1.1.1", "flow-bin": "^0.68.0", "flow-typed": "^2.3.0", + "fs-path": "^0.0.24", "husky": "^0.14.3", "i18n-extract": "^0.5.1", "json-loader": "^0.5.4", diff --git a/yarn.lock b/yarn.lock index 5c0aeb3d2..cc0d9922f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -472,6 +472,10 @@ async@^2.1.2, async@^2.4.1: dependencies: lodash "^4.14.0" +async@~0.9.0: + version "0.9.2" + resolved "https://registry.yarnpkg.com/async/-/async-0.9.2.tgz#aea74d5e61c1f899613bf64bda66d4c78f2fd17d" + asynckit@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" @@ -3993,6 +3997,12 @@ fs-extra@^5.0.0: jsonfile "^4.0.0" universalify "^0.1.0" +fs-path@^0.0.24: + version "0.0.24" + resolved "https://registry.yarnpkg.com/fs-path/-/fs-path-0.0.24.tgz#21a4b8d7dce5bae6d208261955dbc2bcf1e75c06" + dependencies: + async "~0.9.0" + fs-write-stream-atomic@^1.0.8: version "1.0.10" resolved "https://registry.yarnpkg.com/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz#b47df53493ef911df75731e70a9ded0189db40c9"