diff --git a/src/plugins/kaios-allocations/index.tsx b/src/plugins/kaios-allocations/index.tsx index f89d4d32a..e0c2fc37a 100644 --- a/src/plugins/kaios-allocations/index.tsx +++ b/src/plugins/kaios-allocations/index.tsx @@ -23,7 +23,7 @@ import { import {sleep} from 'flipper'; import util from 'util'; -import {exec} from 'child-process-es6-promise'; +import {exec} from 'promisify-child-process'; import FirefoxClient from 'firefox-client'; import BaseClientMethods from 'firefox-client/lib/client-methods'; diff --git a/src/plugins/kaios-allocations/package.json b/src/plugins/kaios-allocations/package.json index becf86881..c64bed405 100644 --- a/src/plugins/kaios-allocations/package.json +++ b/src/plugins/kaios-allocations/package.json @@ -17,7 +17,7 @@ "postinstall-postinstall": "^2.0.0" }, "dependencies": { - "child-process-es6-promise": "^1.2.1", - "firefox-client": "0.3.0" + "firefox-client": "0.3.0", + "promisify-child-process": "3.1.1" } } diff --git a/src/plugins/kaios-allocations/types/child-process-es6-promise.d.ts b/src/plugins/kaios-allocations/types/child-process-es6-promise.d.ts deleted file mode 100644 index b809d96b6..000000000 --- a/src/plugins/kaios-allocations/types/child-process-es6-promise.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -declare module "child-process-es6-promise" { - export function exec(command: string, options: void): Promise<{stdout: string, stderr: string}>; -} diff --git a/src/plugins/kaios-allocations/yarn.lock b/src/plugins/kaios-allocations/yarn.lock index 90b77f98c..52faede39 100644 --- a/src/plugins/kaios-allocations/yarn.lock +++ b/src/plugins/kaios-allocations/yarn.lock @@ -2,6 +2,13 @@ # yarn lockfile v1 +"@babel/runtime@^7.1.5": + version "7.7.6" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.7.6.tgz#d18c511121aff1b4f2cd1d452f1bac9601dd830f" + integrity sha512-BWAJxpNVa0QlE5gZdWjSxXtemZyZ9RmrmVozxt3NUXeZhVIJ5ANyqmMc0JDrivBZyxUuQvFxlvH4OWWOogGfUw== + dependencies: + regenerator-runtime "^0.13.2" + "@yarnpkg/lockfile@^1.1.0": version "1.1.0" resolved "https://registry.yarnpkg.com/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz#e77a97fbd345b76d83245edcd17d393b1b41fb31" @@ -150,11 +157,6 @@ chalk@^2.0.1, chalk@^2.4.2: escape-string-regexp "^1.0.5" supports-color "^5.3.0" -child-process-es6-promise@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/child-process-es6-promise/-/child-process-es6-promise-1.2.1.tgz#3634950521b49d5cad9735cbcc8d69cf1e4d0cab" - integrity sha512-ekKf2tD+2B2AZvLBhrBb44oelJSjeBkG3dZHpF5oIC9xhePhI3cAMqxyAxLMmskpc81GfCodSRh29wshnsOd/g== - ci-info@^1.5.0: version "1.6.0" resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-1.6.0.tgz#2ca20dbb9ceb32d4524a683303313f0304b1e497" @@ -981,6 +983,13 @@ prepend-http@^1.0.1: resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc" integrity sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw= +promisify-child-process@3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/promisify-child-process/-/promisify-child-process-3.1.1.tgz#3a029c1d97bdb8bbcc8862c765b91f1cee0f2691" + integrity sha512-683UHZEP4Bm75BvBujEe87AdE9lxnoWpcU5pEw4FG9HCSwwZC9pF7HUj3QmlDAvhyvulkWHLZs1lVRBNTvkbXQ== + dependencies: + "@babel/runtime" "^7.1.5" + pseudomap@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" @@ -996,6 +1005,11 @@ rc@^1.0.1, rc@^1.1.6: minimist "^1.2.0" strip-json-comments "~2.0.1" +regenerator-runtime@^0.13.2: + version "0.13.3" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.3.tgz#7cf6a77d8f5c6f60eb73c5fc1955b2ceb01e6bf5" + integrity sha512-naKIZz2GQ8JWh///G7L3X6LaQUAMp2lvb1rvwwsURe/VXwD6VMfr+/1NuNw3ag8v2kY1aQ/go5SNn79O9JU7yw== + regex-not@^1.0.0, regex-not@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/regex-not/-/regex-not-1.0.2.tgz#1f4ece27e00b0b65e0247a6810e6a85d83a5752c"