mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Updating tree-kill to 1.2.2 (#55889)
* Updating tree-kill to 1.2.2 * Building more stuff Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
7d3021ed5a
commit
e9c31cd0b5
6 changed files with 22 additions and 13 deletions
|
@ -476,7 +476,7 @@
|
|||
"strip-ansi": "^3.0.1",
|
||||
"supertest": "^3.1.0",
|
||||
"supertest-as-promised": "^4.0.2",
|
||||
"tree-kill": "^1.2.1",
|
||||
"tree-kill": "^1.2.2",
|
||||
"typescript": "3.7.2",
|
||||
"typings-tester": "^0.3.2",
|
||||
"vinyl-fs": "^3.0.3",
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
"load-json-file": "^6.2.0",
|
||||
"moment": "^2.24.0",
|
||||
"rxjs": "^6.5.3",
|
||||
"tree-kill": "^1.2.1",
|
||||
"tree-kill": "^1.2.2",
|
||||
"tslib": "^1.9.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
"node-fetch": "^2.6.0",
|
||||
"simple-git": "^1.91.0",
|
||||
"tar-fs": "^1.16.3",
|
||||
"tree-kill": "^1.2.1",
|
||||
"tree-kill": "^1.2.2",
|
||||
"yauzl": "^2.10.0"
|
||||
}
|
||||
}
|
||||
|
|
19
packages/kbn-pm/dist/index.js
vendored
19
packages/kbn-pm/dist/index.js
vendored
|
@ -36382,15 +36382,24 @@ var spawn = childProcess.spawn;
|
|||
var exec = childProcess.exec;
|
||||
|
||||
module.exports = function (pid, signal, callback) {
|
||||
if (typeof signal === 'function' && callback === undefined) {
|
||||
callback = signal;
|
||||
signal = undefined;
|
||||
}
|
||||
|
||||
pid = parseInt(pid);
|
||||
if (Number.isNaN(pid)) {
|
||||
if (callback) {
|
||||
return callback(new Error("pid must be a number"));
|
||||
} else {
|
||||
throw new Error("pid must be a number");
|
||||
}
|
||||
}
|
||||
|
||||
var tree = {};
|
||||
var pidsToProcess = {};
|
||||
tree[pid] = [];
|
||||
pidsToProcess[pid] = 1;
|
||||
|
||||
if (typeof signal === 'function' && callback === undefined) {
|
||||
callback = signal;
|
||||
signal = undefined;
|
||||
}
|
||||
|
||||
switch (process.platform) {
|
||||
case 'win32':
|
||||
|
|
|
@ -161,7 +161,7 @@
|
|||
"supertest": "^3.1.0",
|
||||
"supertest-as-promised": "^4.0.2",
|
||||
"tmp": "0.1.0",
|
||||
"tree-kill": "^1.2.1",
|
||||
"tree-kill": "^1.2.2",
|
||||
"ts-loader": "^6.0.4",
|
||||
"typescript": "3.7.2",
|
||||
"vinyl-fs": "^3.0.3",
|
||||
|
|
|
@ -29002,10 +29002,10 @@ traverse@0.6.6, traverse@^0.6.6, traverse@~0.6.6:
|
|||
resolved "https://registry.yarnpkg.com/traverse/-/traverse-0.6.6.tgz#cbdf560fd7b9af632502fed40f918c157ea97137"
|
||||
integrity sha1-y99WD9e5r2MlAv7UD5GMFX6pcTc=
|
||||
|
||||
tree-kill@^1.2.1:
|
||||
version "1.2.1"
|
||||
resolved "https://registry.yarnpkg.com/tree-kill/-/tree-kill-1.2.1.tgz#5398f374e2f292b9dcc7b2e71e30a5c3bb6c743a"
|
||||
integrity sha512-4hjqbObwlh2dLyW4tcz0Ymw0ggoaVDMveUB9w8kFSQScdRLo0gxO9J7WFcUBo+W3C1TLdFIEwNOWebgZZ0RH9Q==
|
||||
tree-kill@^1.2.2:
|
||||
version "1.2.2"
|
||||
resolved "https://registry.yarnpkg.com/tree-kill/-/tree-kill-1.2.2.tgz#4ca09a9092c88b73a7cdc5e8a01b507b0790a0cc"
|
||||
integrity sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==
|
||||
|
||||
treeify@^1.0.1, treeify@^1.1.0:
|
||||
version "1.1.0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue