@infersec/conduit 1.56.0 → 1.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +11 -8
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -19670,7 +19670,8 @@ object({
|
|
|
19670
19670
|
password: RawPasswordForLoginSchema
|
|
19671
19671
|
});
|
|
19672
19672
|
object({
|
|
19673
|
-
ok: literal(true)
|
|
19673
|
+
ok: literal(true),
|
|
19674
|
+
redirectUrl: string$1()
|
|
19674
19675
|
})
|
|
19675
19676
|
.or(object({
|
|
19676
19677
|
ok: literal(false),
|
|
@@ -19696,7 +19697,8 @@ object({
|
|
|
19696
19697
|
path: ["newPassword"]
|
|
19697
19698
|
});
|
|
19698
19699
|
object({
|
|
19699
|
-
ok: literal(true)
|
|
19700
|
+
ok: literal(true),
|
|
19701
|
+
redirectUrl: string$1()
|
|
19700
19702
|
})
|
|
19701
19703
|
.or(object({
|
|
19702
19704
|
ok: literal(false)
|
|
@@ -20305,16 +20307,17 @@ class ProcessManager extends EventEmitter {
|
|
|
20305
20307
|
if (!this.process) {
|
|
20306
20308
|
return;
|
|
20307
20309
|
}
|
|
20308
|
-
this.process
|
|
20310
|
+
const processRef = this.process;
|
|
20311
|
+
processRef.kill(signal);
|
|
20309
20312
|
return new Promise(resolve => {
|
|
20310
|
-
|
|
20313
|
+
let exited = false;
|
|
20311
20314
|
const forceKillTimer = setTimeout(() => {
|
|
20312
|
-
if (
|
|
20313
|
-
|
|
20315
|
+
if (!exited) {
|
|
20316
|
+
processRef.kill("SIGKILL");
|
|
20314
20317
|
}
|
|
20315
20318
|
}, 5000);
|
|
20316
|
-
|
|
20317
|
-
|
|
20319
|
+
processRef.once("exit", () => {
|
|
20320
|
+
exited = true;
|
|
20318
20321
|
clearTimeout(forceKillTimer);
|
|
20319
20322
|
resolve();
|
|
20320
20323
|
});
|