@wix/dev-machine-monitor 1.0.6 → 1.0.8
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/build/integration.js +8 -197
- package/build/integration.js.map +1 -0
- package/build/run.cjs +240 -477
- package/build/run.cjs.map +1 -1
- package/package.json +23 -13
- package/README.md +0 -16
package/build/run.cjs
CHANGED
|
@@ -26,9 +26,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
mod
|
|
27
27
|
));
|
|
28
28
|
|
|
29
|
-
// node_modules/commander/lib/error.js
|
|
29
|
+
// ../../node_modules/commander/lib/error.js
|
|
30
30
|
var require_error = __commonJS({
|
|
31
|
-
"node_modules/commander/lib/error.js"(exports2) {
|
|
31
|
+
"../../node_modules/commander/lib/error.js"(exports2) {
|
|
32
32
|
"use strict";
|
|
33
33
|
var CommanderError2 = class extends Error {
|
|
34
34
|
/**
|
|
@@ -62,9 +62,9 @@ var require_error = __commonJS({
|
|
|
62
62
|
}
|
|
63
63
|
});
|
|
64
64
|
|
|
65
|
-
// node_modules/commander/lib/argument.js
|
|
65
|
+
// ../../node_modules/commander/lib/argument.js
|
|
66
66
|
var require_argument = __commonJS({
|
|
67
|
-
"node_modules/commander/lib/argument.js"(exports2) {
|
|
67
|
+
"../../node_modules/commander/lib/argument.js"(exports2) {
|
|
68
68
|
"use strict";
|
|
69
69
|
var { InvalidArgumentError: InvalidArgumentError2 } = require_error();
|
|
70
70
|
var Argument2 = class {
|
|
@@ -191,9 +191,9 @@ var require_argument = __commonJS({
|
|
|
191
191
|
}
|
|
192
192
|
});
|
|
193
193
|
|
|
194
|
-
// node_modules/commander/lib/help.js
|
|
194
|
+
// ../../node_modules/commander/lib/help.js
|
|
195
195
|
var require_help = __commonJS({
|
|
196
|
-
"node_modules/commander/lib/help.js"(exports2) {
|
|
196
|
+
"../../node_modules/commander/lib/help.js"(exports2) {
|
|
197
197
|
"use strict";
|
|
198
198
|
var { humanReadableArgName } = require_argument();
|
|
199
199
|
var Help2 = class {
|
|
@@ -794,9 +794,9 @@ ${itemIndentStr}`);
|
|
|
794
794
|
}
|
|
795
795
|
});
|
|
796
796
|
|
|
797
|
-
// node_modules/commander/lib/option.js
|
|
797
|
+
// ../../node_modules/commander/lib/option.js
|
|
798
798
|
var require_option = __commonJS({
|
|
799
|
-
"node_modules/commander/lib/option.js"(exports2) {
|
|
799
|
+
"../../node_modules/commander/lib/option.js"(exports2) {
|
|
800
800
|
"use strict";
|
|
801
801
|
var { InvalidArgumentError: InvalidArgumentError2 } = require_error();
|
|
802
802
|
var Option2 = class {
|
|
@@ -1108,9 +1108,9 @@ var require_option = __commonJS({
|
|
|
1108
1108
|
}
|
|
1109
1109
|
});
|
|
1110
1110
|
|
|
1111
|
-
// node_modules/commander/lib/suggestSimilar.js
|
|
1111
|
+
// ../../node_modules/commander/lib/suggestSimilar.js
|
|
1112
1112
|
var require_suggestSimilar = __commonJS({
|
|
1113
|
-
"node_modules/commander/lib/suggestSimilar.js"(exports2) {
|
|
1113
|
+
"../../node_modules/commander/lib/suggestSimilar.js"(exports2) {
|
|
1114
1114
|
"use strict";
|
|
1115
1115
|
var maxDistance = 3;
|
|
1116
1116
|
function editDistance(a2, b) {
|
|
@@ -1189,9 +1189,9 @@ var require_suggestSimilar = __commonJS({
|
|
|
1189
1189
|
}
|
|
1190
1190
|
});
|
|
1191
1191
|
|
|
1192
|
-
// node_modules/commander/lib/command.js
|
|
1192
|
+
// ../../node_modules/commander/lib/command.js
|
|
1193
1193
|
var require_command = __commonJS({
|
|
1194
|
-
"node_modules/commander/lib/command.js"(exports2) {
|
|
1194
|
+
"../../node_modules/commander/lib/command.js"(exports2) {
|
|
1195
1195
|
"use strict";
|
|
1196
1196
|
var EventEmitter2 = require("node:events").EventEmitter;
|
|
1197
1197
|
var childProcess = require("node:child_process");
|
|
@@ -3436,9 +3436,9 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
3436
3436
|
}
|
|
3437
3437
|
});
|
|
3438
3438
|
|
|
3439
|
-
// node_modules/commander/index.js
|
|
3439
|
+
// ../../node_modules/commander/index.js
|
|
3440
3440
|
var require_commander = __commonJS({
|
|
3441
|
-
"node_modules/commander/index.js"(exports2) {
|
|
3441
|
+
"../../node_modules/commander/index.js"(exports2) {
|
|
3442
3442
|
"use strict";
|
|
3443
3443
|
var { Argument: Argument2 } = require_argument();
|
|
3444
3444
|
var { Command: Command2 } = require_command();
|
|
@@ -3459,9 +3459,9 @@ var require_commander = __commonJS({
|
|
|
3459
3459
|
}
|
|
3460
3460
|
});
|
|
3461
3461
|
|
|
3462
|
-
// node_modules/ms/index.js
|
|
3462
|
+
// ../../node_modules/ms/index.js
|
|
3463
3463
|
var require_ms = __commonJS({
|
|
3464
|
-
"node_modules/ms/index.js"(exports2, module2) {
|
|
3464
|
+
"../../node_modules/ms/index.js"(exports2, module2) {
|
|
3465
3465
|
"use strict";
|
|
3466
3466
|
var s = 1e3;
|
|
3467
3467
|
var m = s * 60;
|
|
@@ -3576,9 +3576,9 @@ var require_ms = __commonJS({
|
|
|
3576
3576
|
}
|
|
3577
3577
|
});
|
|
3578
3578
|
|
|
3579
|
-
// node_modules/debug/src/common.js
|
|
3579
|
+
// ../../node_modules/debug/src/common.js
|
|
3580
3580
|
var require_common = __commonJS({
|
|
3581
|
-
"node_modules/debug/src/common.js"(exports2, module2) {
|
|
3581
|
+
"../../node_modules/debug/src/common.js"(exports2, module2) {
|
|
3582
3582
|
"use strict";
|
|
3583
3583
|
function setup(env2) {
|
|
3584
3584
|
createDebug.debug = createDebug;
|
|
@@ -3754,9 +3754,9 @@ var require_common = __commonJS({
|
|
|
3754
3754
|
}
|
|
3755
3755
|
});
|
|
3756
3756
|
|
|
3757
|
-
// node_modules/debug/src/browser.js
|
|
3757
|
+
// ../../node_modules/debug/src/browser.js
|
|
3758
3758
|
var require_browser = __commonJS({
|
|
3759
|
-
"node_modules/debug/src/browser.js"(exports2, module2) {
|
|
3759
|
+
"../../node_modules/debug/src/browser.js"(exports2, module2) {
|
|
3760
3760
|
"use strict";
|
|
3761
3761
|
exports2.formatArgs = formatArgs;
|
|
3762
3762
|
exports2.save = save;
|
|
@@ -3925,9 +3925,9 @@ var require_browser = __commonJS({
|
|
|
3925
3925
|
}
|
|
3926
3926
|
});
|
|
3927
3927
|
|
|
3928
|
-
// node_modules/debug/src/node.js
|
|
3928
|
+
// ../../node_modules/debug/src/node.js
|
|
3929
3929
|
var require_node = __commonJS({
|
|
3930
|
-
"node_modules/debug/src/node.js"(exports2, module2) {
|
|
3930
|
+
"../../node_modules/debug/src/node.js"(exports2, module2) {
|
|
3931
3931
|
"use strict";
|
|
3932
3932
|
var tty4 = require("tty");
|
|
3933
3933
|
var util = require("util");
|
|
@@ -4100,9 +4100,9 @@ var require_node = __commonJS({
|
|
|
4100
4100
|
}
|
|
4101
4101
|
});
|
|
4102
4102
|
|
|
4103
|
-
// node_modules/debug/src/index.js
|
|
4103
|
+
// ../../node_modules/debug/src/index.js
|
|
4104
4104
|
var require_src = __commonJS({
|
|
4105
|
-
"node_modules/debug/src/index.js"(exports2, module2) {
|
|
4105
|
+
"../../node_modules/debug/src/index.js"(exports2, module2) {
|
|
4106
4106
|
"use strict";
|
|
4107
4107
|
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
|
4108
4108
|
module2.exports = require_browser();
|
|
@@ -4112,9 +4112,9 @@ var require_src = __commonJS({
|
|
|
4112
4112
|
}
|
|
4113
4113
|
});
|
|
4114
4114
|
|
|
4115
|
-
// node_modules/follow-redirects/debug.js
|
|
4115
|
+
// ../../node_modules/follow-redirects/debug.js
|
|
4116
4116
|
var require_debug = __commonJS({
|
|
4117
|
-
"node_modules/follow-redirects/debug.js"(exports2, module2) {
|
|
4117
|
+
"../../node_modules/follow-redirects/debug.js"(exports2, module2) {
|
|
4118
4118
|
"use strict";
|
|
4119
4119
|
var debug;
|
|
4120
4120
|
module2.exports = function() {
|
|
@@ -4133,9 +4133,9 @@ var require_debug = __commonJS({
|
|
|
4133
4133
|
}
|
|
4134
4134
|
});
|
|
4135
4135
|
|
|
4136
|
-
// node_modules/follow-redirects/index.js
|
|
4136
|
+
// ../../node_modules/follow-redirects/index.js
|
|
4137
4137
|
var require_follow_redirects = __commonJS({
|
|
4138
|
-
"node_modules/follow-redirects/index.js"(exports2, module2) {
|
|
4138
|
+
"../../node_modules/follow-redirects/index.js"(exports2, module2) {
|
|
4139
4139
|
"use strict";
|
|
4140
4140
|
var url = require("url");
|
|
4141
4141
|
var URL2 = url.URL;
|
|
@@ -4630,9 +4630,9 @@ var require_follow_redirects = __commonJS({
|
|
|
4630
4630
|
}
|
|
4631
4631
|
});
|
|
4632
4632
|
|
|
4633
|
-
// node_modules/http-proxy-3/dist/lib/http-proxy/common.js
|
|
4633
|
+
// ../../node_modules/http-proxy-3/dist/lib/http-proxy/common.js
|
|
4634
4634
|
var require_common2 = __commonJS({
|
|
4635
|
-
"node_modules/http-proxy-3/dist/lib/http-proxy/common.js"(exports2) {
|
|
4635
|
+
"../../node_modules/http-proxy-3/dist/lib/http-proxy/common.js"(exports2) {
|
|
4636
4636
|
"use strict";
|
|
4637
4637
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4638
4638
|
exports2.isSSL = void 0;
|
|
@@ -4834,9 +4834,9 @@ var require_common2 = __commonJS({
|
|
|
4834
4834
|
}
|
|
4835
4835
|
});
|
|
4836
4836
|
|
|
4837
|
-
// node_modules/http-proxy-3/dist/lib/http-proxy/passes/web-outgoing.js
|
|
4837
|
+
// ../../node_modules/http-proxy-3/dist/lib/http-proxy/passes/web-outgoing.js
|
|
4838
4838
|
var require_web_outgoing = __commonJS({
|
|
4839
|
-
"node_modules/http-proxy-3/dist/lib/http-proxy/passes/web-outgoing.js"(exports2) {
|
|
4839
|
+
"../../node_modules/http-proxy-3/dist/lib/http-proxy/passes/web-outgoing.js"(exports2) {
|
|
4840
4840
|
"use strict";
|
|
4841
4841
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? (function(o2, m, k, k2) {
|
|
4842
4842
|
if (k2 === void 0) k2 = k;
|
|
@@ -4974,9 +4974,9 @@ var require_web_outgoing = __commonJS({
|
|
|
4974
4974
|
}
|
|
4975
4975
|
});
|
|
4976
4976
|
|
|
4977
|
-
// node_modules/http-proxy-3/dist/lib/http-proxy/passes/web-incoming.js
|
|
4977
|
+
// ../../node_modules/http-proxy-3/dist/lib/http-proxy/passes/web-incoming.js
|
|
4978
4978
|
var require_web_incoming = __commonJS({
|
|
4979
|
-
"node_modules/http-proxy-3/dist/lib/http-proxy/passes/web-incoming.js"(exports2) {
|
|
4979
|
+
"../../node_modules/http-proxy-3/dist/lib/http-proxy/passes/web-incoming.js"(exports2) {
|
|
4980
4980
|
"use strict";
|
|
4981
4981
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? (function(o2, m, k, k2) {
|
|
4982
4982
|
if (k2 === void 0) k2 = k;
|
|
@@ -5278,9 +5278,9 @@ var require_web_incoming = __commonJS({
|
|
|
5278
5278
|
}
|
|
5279
5279
|
});
|
|
5280
5280
|
|
|
5281
|
-
// node_modules/http-proxy-3/dist/lib/http-proxy/passes/ws-incoming.js
|
|
5281
|
+
// ../../node_modules/http-proxy-3/dist/lib/http-proxy/passes/ws-incoming.js
|
|
5282
5282
|
var require_ws_incoming = __commonJS({
|
|
5283
|
-
"node_modules/http-proxy-3/dist/lib/http-proxy/passes/ws-incoming.js"(exports2) {
|
|
5283
|
+
"../../node_modules/http-proxy-3/dist/lib/http-proxy/passes/ws-incoming.js"(exports2) {
|
|
5284
5284
|
"use strict";
|
|
5285
5285
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? (function(o2, m, k, k2) {
|
|
5286
5286
|
if (k2 === void 0) k2 = k;
|
|
@@ -5507,9 +5507,9 @@ var require_ws_incoming = __commonJS({
|
|
|
5507
5507
|
}
|
|
5508
5508
|
});
|
|
5509
5509
|
|
|
5510
|
-
// node_modules/http-proxy-3/dist/lib/http-proxy/index.js
|
|
5510
|
+
// ../../node_modules/http-proxy-3/dist/lib/http-proxy/index.js
|
|
5511
5511
|
var require_http_proxy = __commonJS({
|
|
5512
|
-
"node_modules/http-proxy-3/dist/lib/http-proxy/index.js"(exports2) {
|
|
5512
|
+
"../../node_modules/http-proxy-3/dist/lib/http-proxy/index.js"(exports2) {
|
|
5513
5513
|
"use strict";
|
|
5514
5514
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? (function(o2, m, k, k2) {
|
|
5515
5515
|
if (k2 === void 0) k2 = k;
|
|
@@ -5717,9 +5717,9 @@ var require_http_proxy = __commonJS({
|
|
|
5717
5717
|
}
|
|
5718
5718
|
});
|
|
5719
5719
|
|
|
5720
|
-
// node_modules/http-proxy-3/dist/lib/index.js
|
|
5720
|
+
// ../../node_modules/http-proxy-3/dist/lib/index.js
|
|
5721
5721
|
var require_lib = __commonJS({
|
|
5722
|
-
"node_modules/http-proxy-3/dist/lib/index.js"(exports2) {
|
|
5722
|
+
"../../node_modules/http-proxy-3/dist/lib/index.js"(exports2) {
|
|
5723
5723
|
"use strict";
|
|
5724
5724
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5725
5725
|
exports2.numOpenSockets = exports2.ProxyServer = void 0;
|
|
@@ -5741,9 +5741,9 @@ var require_lib = __commonJS({
|
|
|
5741
5741
|
}
|
|
5742
5742
|
});
|
|
5743
5743
|
|
|
5744
|
-
// node_modules/isexe/windows.js
|
|
5744
|
+
// ../../node_modules/isexe/windows.js
|
|
5745
5745
|
var require_windows = __commonJS({
|
|
5746
|
-
"node_modules/isexe/windows.js"(exports2, module2) {
|
|
5746
|
+
"../../node_modules/isexe/windows.js"(exports2, module2) {
|
|
5747
5747
|
"use strict";
|
|
5748
5748
|
module2.exports = isexe;
|
|
5749
5749
|
isexe.sync = sync;
|
|
@@ -5782,9 +5782,9 @@ var require_windows = __commonJS({
|
|
|
5782
5782
|
}
|
|
5783
5783
|
});
|
|
5784
5784
|
|
|
5785
|
-
// node_modules/isexe/mode.js
|
|
5785
|
+
// ../../node_modules/isexe/mode.js
|
|
5786
5786
|
var require_mode = __commonJS({
|
|
5787
|
-
"node_modules/isexe/mode.js"(exports2, module2) {
|
|
5787
|
+
"../../node_modules/isexe/mode.js"(exports2, module2) {
|
|
5788
5788
|
"use strict";
|
|
5789
5789
|
module2.exports = isexe;
|
|
5790
5790
|
isexe.sync = sync;
|
|
@@ -5816,9 +5816,9 @@ var require_mode = __commonJS({
|
|
|
5816
5816
|
}
|
|
5817
5817
|
});
|
|
5818
5818
|
|
|
5819
|
-
// node_modules/isexe/index.js
|
|
5819
|
+
// ../../node_modules/isexe/index.js
|
|
5820
5820
|
var require_isexe = __commonJS({
|
|
5821
|
-
"node_modules/isexe/index.js"(exports2, module2) {
|
|
5821
|
+
"../../node_modules/isexe/index.js"(exports2, module2) {
|
|
5822
5822
|
"use strict";
|
|
5823
5823
|
var fs = require("fs");
|
|
5824
5824
|
var core;
|
|
@@ -5872,9 +5872,9 @@ var require_isexe = __commonJS({
|
|
|
5872
5872
|
}
|
|
5873
5873
|
});
|
|
5874
5874
|
|
|
5875
|
-
// node_modules/which/which.js
|
|
5875
|
+
// ../../node_modules/which/which.js
|
|
5876
5876
|
var require_which = __commonJS({
|
|
5877
|
-
"node_modules/which/which.js"(exports2, module2) {
|
|
5877
|
+
"../../node_modules/which/which.js"(exports2, module2) {
|
|
5878
5878
|
"use strict";
|
|
5879
5879
|
var isWindows = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
|
|
5880
5880
|
var path6 = require("path");
|
|
@@ -5969,9 +5969,9 @@ var require_which = __commonJS({
|
|
|
5969
5969
|
}
|
|
5970
5970
|
});
|
|
5971
5971
|
|
|
5972
|
-
// node_modules/path-key/index.js
|
|
5972
|
+
// ../../node_modules/path-key/index.js
|
|
5973
5973
|
var require_path_key = __commonJS({
|
|
5974
|
-
"node_modules/path-key/index.js"(exports2, module2) {
|
|
5974
|
+
"../../node_modules/path-key/index.js"(exports2, module2) {
|
|
5975
5975
|
"use strict";
|
|
5976
5976
|
var pathKey2 = (options = {}) => {
|
|
5977
5977
|
const environment = options.env || process.env;
|
|
@@ -5986,9 +5986,9 @@ var require_path_key = __commonJS({
|
|
|
5986
5986
|
}
|
|
5987
5987
|
});
|
|
5988
5988
|
|
|
5989
|
-
// node_modules/cross-spawn/lib/util/resolveCommand.js
|
|
5989
|
+
// ../../node_modules/cross-spawn/lib/util/resolveCommand.js
|
|
5990
5990
|
var require_resolveCommand = __commonJS({
|
|
5991
|
-
"node_modules/cross-spawn/lib/util/resolveCommand.js"(exports2, module2) {
|
|
5991
|
+
"../../node_modules/cross-spawn/lib/util/resolveCommand.js"(exports2, module2) {
|
|
5992
5992
|
"use strict";
|
|
5993
5993
|
var path6 = require("path");
|
|
5994
5994
|
var which = require_which();
|
|
@@ -6028,9 +6028,9 @@ var require_resolveCommand = __commonJS({
|
|
|
6028
6028
|
}
|
|
6029
6029
|
});
|
|
6030
6030
|
|
|
6031
|
-
// node_modules/cross-spawn/lib/util/escape.js
|
|
6031
|
+
// ../../node_modules/cross-spawn/lib/util/escape.js
|
|
6032
6032
|
var require_escape = __commonJS({
|
|
6033
|
-
"node_modules/cross-spawn/lib/util/escape.js"(exports2, module2) {
|
|
6033
|
+
"../../node_modules/cross-spawn/lib/util/escape.js"(exports2, module2) {
|
|
6034
6034
|
"use strict";
|
|
6035
6035
|
var metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g;
|
|
6036
6036
|
function escapeCommand(arg) {
|
|
@@ -6053,17 +6053,17 @@ var require_escape = __commonJS({
|
|
|
6053
6053
|
}
|
|
6054
6054
|
});
|
|
6055
6055
|
|
|
6056
|
-
// node_modules/shebang-regex/index.js
|
|
6056
|
+
// ../../node_modules/shebang-regex/index.js
|
|
6057
6057
|
var require_shebang_regex = __commonJS({
|
|
6058
|
-
"node_modules/shebang-regex/index.js"(exports2, module2) {
|
|
6058
|
+
"../../node_modules/shebang-regex/index.js"(exports2, module2) {
|
|
6059
6059
|
"use strict";
|
|
6060
6060
|
module2.exports = /^#!(.*)/;
|
|
6061
6061
|
}
|
|
6062
6062
|
});
|
|
6063
6063
|
|
|
6064
|
-
// node_modules/shebang-command/index.js
|
|
6064
|
+
// ../../node_modules/shebang-command/index.js
|
|
6065
6065
|
var require_shebang_command = __commonJS({
|
|
6066
|
-
"node_modules/shebang-command/index.js"(exports2, module2) {
|
|
6066
|
+
"../../node_modules/shebang-command/index.js"(exports2, module2) {
|
|
6067
6067
|
"use strict";
|
|
6068
6068
|
var shebangRegex = require_shebang_regex();
|
|
6069
6069
|
module2.exports = (string = "") => {
|
|
@@ -6081,9 +6081,9 @@ var require_shebang_command = __commonJS({
|
|
|
6081
6081
|
}
|
|
6082
6082
|
});
|
|
6083
6083
|
|
|
6084
|
-
// node_modules/cross-spawn/lib/util/readShebang.js
|
|
6084
|
+
// ../../node_modules/cross-spawn/lib/util/readShebang.js
|
|
6085
6085
|
var require_readShebang = __commonJS({
|
|
6086
|
-
"node_modules/cross-spawn/lib/util/readShebang.js"(exports2, module2) {
|
|
6086
|
+
"../../node_modules/cross-spawn/lib/util/readShebang.js"(exports2, module2) {
|
|
6087
6087
|
"use strict";
|
|
6088
6088
|
var fs = require("fs");
|
|
6089
6089
|
var shebangCommand = require_shebang_command();
|
|
@@ -6103,9 +6103,9 @@ var require_readShebang = __commonJS({
|
|
|
6103
6103
|
}
|
|
6104
6104
|
});
|
|
6105
6105
|
|
|
6106
|
-
// node_modules/cross-spawn/lib/parse.js
|
|
6106
|
+
// ../../node_modules/cross-spawn/lib/parse.js
|
|
6107
6107
|
var require_parse = __commonJS({
|
|
6108
|
-
"node_modules/cross-spawn/lib/parse.js"(exports2, module2) {
|
|
6108
|
+
"../../node_modules/cross-spawn/lib/parse.js"(exports2, module2) {
|
|
6109
6109
|
"use strict";
|
|
6110
6110
|
var path6 = require("path");
|
|
6111
6111
|
var resolveCommand = require_resolveCommand();
|
|
@@ -6165,9 +6165,9 @@ var require_parse = __commonJS({
|
|
|
6165
6165
|
}
|
|
6166
6166
|
});
|
|
6167
6167
|
|
|
6168
|
-
// node_modules/cross-spawn/lib/enoent.js
|
|
6168
|
+
// ../../node_modules/cross-spawn/lib/enoent.js
|
|
6169
6169
|
var require_enoent = __commonJS({
|
|
6170
|
-
"node_modules/cross-spawn/lib/enoent.js"(exports2, module2) {
|
|
6170
|
+
"../../node_modules/cross-spawn/lib/enoent.js"(exports2, module2) {
|
|
6171
6171
|
"use strict";
|
|
6172
6172
|
var isWin = process.platform === "win32";
|
|
6173
6173
|
function notFoundError(original, syscall) {
|
|
@@ -6215,9 +6215,9 @@ var require_enoent = __commonJS({
|
|
|
6215
6215
|
}
|
|
6216
6216
|
});
|
|
6217
6217
|
|
|
6218
|
-
// node_modules/cross-spawn/index.js
|
|
6218
|
+
// ../../node_modules/cross-spawn/index.js
|
|
6219
6219
|
var require_cross_spawn = __commonJS({
|
|
6220
|
-
"node_modules/cross-spawn/index.js"(exports2, module2) {
|
|
6220
|
+
"../../node_modules/cross-spawn/index.js"(exports2, module2) {
|
|
6221
6221
|
"use strict";
|
|
6222
6222
|
var cp = require("child_process");
|
|
6223
6223
|
var parse = require_parse();
|
|
@@ -6246,7 +6246,7 @@ var require_cross_spawn = __commonJS({
|
|
|
6246
6246
|
var import_node_process13 = __toESM(require("node:process"), 1);
|
|
6247
6247
|
var import_strict5 = require("node:assert/strict");
|
|
6248
6248
|
|
|
6249
|
-
// node_modules/commander/esm.mjs
|
|
6249
|
+
// ../../node_modules/commander/esm.mjs
|
|
6250
6250
|
var import_index = __toESM(require_commander(), 1);
|
|
6251
6251
|
var {
|
|
6252
6252
|
program,
|
|
@@ -6263,7 +6263,7 @@ var {
|
|
|
6263
6263
|
Help
|
|
6264
6264
|
} = import_index.default;
|
|
6265
6265
|
|
|
6266
|
-
// node_modules/chalk/source/vendor/ansi-styles/index.js
|
|
6266
|
+
// ../../node_modules/chalk/source/vendor/ansi-styles/index.js
|
|
6267
6267
|
var ANSI_BACKGROUND_OFFSET = 10;
|
|
6268
6268
|
var wrapAnsi16 = (offset = 0) => (code) => `\x1B[${code + offset}m`;
|
|
6269
6269
|
var wrapAnsi256 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`;
|
|
@@ -6449,7 +6449,7 @@ function assembleStyles() {
|
|
|
6449
6449
|
var ansiStyles = assembleStyles();
|
|
6450
6450
|
var ansi_styles_default = ansiStyles;
|
|
6451
6451
|
|
|
6452
|
-
// node_modules/chalk/source/vendor/supports-color/index.js
|
|
6452
|
+
// ../../node_modules/chalk/source/vendor/supports-color/index.js
|
|
6453
6453
|
var import_node_process = __toESM(require("node:process"), 1);
|
|
6454
6454
|
var import_node_os = __toESM(require("node:os"), 1);
|
|
6455
6455
|
var import_node_tty = __toESM(require("node:tty"), 1);
|
|
@@ -6581,7 +6581,7 @@ var supportsColor = {
|
|
|
6581
6581
|
};
|
|
6582
6582
|
var supports_color_default = supportsColor;
|
|
6583
6583
|
|
|
6584
|
-
// node_modules/chalk/source/utilities.js
|
|
6584
|
+
// ../../node_modules/chalk/source/utilities.js
|
|
6585
6585
|
function stringReplaceAll(string, substring, replacer) {
|
|
6586
6586
|
let index = string.indexOf(substring);
|
|
6587
6587
|
if (index === -1) {
|
|
@@ -6611,7 +6611,7 @@ function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {
|
|
|
6611
6611
|
return returnValue;
|
|
6612
6612
|
}
|
|
6613
6613
|
|
|
6614
|
-
// node_modules/chalk/source/index.js
|
|
6614
|
+
// ../../node_modules/chalk/source/index.js
|
|
6615
6615
|
var { stdout: stdoutColor, stderr: stderrColor } = supports_color_default;
|
|
6616
6616
|
var GENERATOR = Symbol("GENERATOR");
|
|
6617
6617
|
var STYLER = Symbol("STYLER");
|
|
@@ -6761,7 +6761,14 @@ var source_default = chalk;
|
|
|
6761
6761
|
// lib/run-proxy.ts
|
|
6762
6762
|
var http = __toESM(require("node:http"), 1);
|
|
6763
6763
|
var import_http_proxy_3 = __toESM(require_lib(), 1);
|
|
6764
|
-
|
|
6764
|
+
|
|
6765
|
+
// lib/templates/error-server.html
|
|
6766
|
+
var error_server_default = '<!DOCTYPE html>\n<html lang="en">\n <head>\n <meta charset="utf-8" />\n <meta name="viewport" content="width=device-width,initial-scale=1" />\n <title>Development Server Crashed</title>\n <style>\n :root {\n --bg: #0f1724;\n --card: #0b1220;\n --accent: #7dd3fc;\n --muted: #94a3b8;\n --glass: rgba(255, 255, 255, 0.04);\n --radius: 16px;\n color-scheme: light dark;\n }\n * {\n box-sizing: border-box;\n }\n html,\n body {\n height: 100%;\n }\n body {\n margin: 0;\n font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI",\n Roboto, "Helvetica Neue", Arial;\n background: radial-gradient(\n 1200px 600px at 10% 10%,\n rgba(125, 211, 252, 0.06),\n transparent\n ),\n linear-gradient(180deg, var(--bg), #071025 80%);\n color: #e6eef8;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 32px;\n }\n\n .card {\n width: min(980px, 100%);\n background: linear-gradient(\n 180deg,\n rgba(255, 255, 255, 0.02),\n rgba(255, 255, 255, 0.01)\n );\n border: 1px solid rgba(255, 255, 255, 0.04);\n border-radius: var(--radius);\n padding: 32px;\n display: grid;\n grid-template-columns: 300px 1fr;\n gap: 24px;\n align-items: center;\n box-shadow: 0 8px 40px rgba(2, 6, 23, 0.6);\n }\n\n .illustration {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n .badge {\n background: var(--glass);\n padding: 14px;\n border-radius: 14px;\n text-align: center;\n }\n .code {\n font-weight: 700;\n font-size: 48px;\n letter-spacing: -2px;\n color: var(--accent);\n display: block;\n }\n h1 {\n margin: 0 0 6px 0;\n font-size: 20px;\n }\n p.lead {\n margin: 0;\n color: var(--muted);\n }\n\n .actions {\n margin-top: 18px;\n display: flex;\n gap: 12px;\n flex-wrap: wrap;\n }\n .btn {\n background: linear-gradient(\n 180deg,\n rgba(255, 255, 255, 0.03),\n rgba(255, 255, 255, 0.01)\n );\n border: 1px solid rgba(255, 255, 255, 0.05);\n padding: 10px 14px;\n border-radius: 12px;\n cursor: pointer;\n font-weight: 600;\n color: inherit;\n text-decoration: none;\n display: inline-flex;\n align-items: center;\n gap: 10px;\n }\n .btn.primary {\n background: linear-gradient(180deg, var(--accent), #4ecfe8);\n color: #032;\n box-shadow: 0 6px 18px rgba(125, 211, 252, 0.08);\n }\n .btn.ghost {\n background: transparent;\n border: 1px dashed rgba(255, 255, 255, 0.04);\n }\n\n .details {\n background: rgba(255, 255, 255, 0.02);\n border-radius: 12px;\n padding: 18px;\n margin-top: 8px;\n color: var(--muted);\n font-size: 14px;\n }\n\n .suggestions {\n display: flex;\n flex-direction: column;\n gap: 8px;\n margin-top: 12px;\n }\n .suggestion {\n display: flex;\n gap: 12px;\n align-items: flex-start;\n }\n .dot {\n width: 10px;\n height: 10px;\n border-radius: 10px;\n background: rgba(255, 255, 255, 0.06);\n margin-top: 6px;\n }\n\n @media (max-width: 720px) {\n .card {\n grid-template-columns: 1fr;\n padding: 20px;\n }\n .illustration {\n order: -1;\n }\n }\n\n .wobble {\n transform-origin: center;\n animation: wob 6s ease-in-out infinite;\n }\n @keyframes wob {\n 0% {\n transform: rotate(-3deg);\n }\n 50% {\n transform: rotate(3deg);\n }\n 100% {\n transform: rotate(-3deg);\n }\n }\n\n footer {\n font-size: 13px;\n color: var(--muted);\n text-align: left;\n margin-top: 18px;\n }\n </style>\n </head>\n <body>\n <main class="card">\n <div class="illustration">\n <div class="badge">\n <svg\n width="160"\n height="160"\n viewBox="0 0 64 64"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n class="wobble"\n >\n <rect\n x="6"\n y="10"\n width="52"\n height="36"\n rx="6"\n fill="rgba(125,211,252,0.06)"\n stroke="rgba(125,211,252,0.12)"\n />\n <circle cx="20" cy="28" r="4" fill="rgba(125,211,252,0.18)" />\n <rect\n x="32"\n y="24"\n width="16"\n height="6"\n rx="2"\n fill="rgba(125,211,252,0.22)"\n />\n <path\n d="M18 46c2-3 6-5 10-5s8 2 10 5"\n stroke="rgba(255,255,255,0.06)"\n stroke-width="1.5"\n stroke-linecap="round"\n />\n <path\n d="M42 20l6-6"\n stroke="rgba(255,255,255,0.06)"\n stroke-width="2"\n stroke-linecap="round"\n />\n </svg>\n </div>\n </div>\n\n <section>\n <span class="code" id="err-code">Development Server Down</span>\n <h1 id="err-title">\n For unknown reasons development server has crashed and is not\n reachable.\n </h1>\n <p class="lead">\n We hit an unexpected error while trying to load the page. This usually\n clears up quickly \u2014 here are a few options.\n </p>\n\n <div class="actions">\n <form action="/__restart__" method="POST">\n <button class="btn primary" id="retryBtn" type="submit">\n Restart\n </button>\n <a class="btn" id="homeBtn" onClick="fixWithAI()">Fix with AI</a>\n </form>\n <script type="text/javascript">\n function fixWithAI() {\n window.parent?.postMessage(\n {\n type: "clientError",\n clientErrorData: {\n errorType: "build",\n message: "Development server is not responding",\n stack: "No stack trace available",\n },\n },\n "*"\n );\n }\n </script>\n </div>\n\n <div class="suggestions">\n <div class="suggestion">\n <span class="dot"></span>\n <div>\n Try refreshing the page or press <kbd>Ctrl</kbd> + <kbd>R</kbd>.\n </div>\n </div>\n <div class="suggestion">\n <span class="dot"></span>\n <div>Check your connection or try again in a few minutes.</div>\n </div>\n <div class="suggestion">\n <span class="dot"></span>\n <div>\n If the problem persists, open an issue or contact support.\n </div>\n </div>\n </div>\n </section>\n </main>\n </body>\n</html>\n';
|
|
6767
|
+
|
|
6768
|
+
// lib/templates/error-server-restarting.html
|
|
6769
|
+
var error_server_restarting_default = '<!DOCTYPE html>\n<html lang="en">\n <head>\n <meta charset="utf-8" />\n <meta name="viewport" content="width=device-width,initial-scale=1" />\n <title>Something went wrong \u2014 Error</title>\n <meta\n name="description"\n content="Friendly error page with suggestions and retry button."\n />\n <style>\n :root {\n --bg: #0f1724;\n --card: #0b1220;\n --accent: #7dd3fc;\n --muted: #94a3b8;\n --glass: rgba(255, 255, 255, 0.04);\n --radius: 16px;\n color-scheme: light dark;\n }\n * {\n box-sizing: border-box;\n }\n html,\n body {\n height: 100%;\n }\n body {\n margin: 0;\n font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI",\n Roboto, "Helvetica Neue", Arial;\n background: radial-gradient(\n 1200px 600px at 10% 10%,\n rgba(125, 211, 252, 0.06),\n transparent\n ),\n linear-gradient(180deg, var(--bg), #071025 80%);\n color: #e6eef8;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 32px;\n }\n\n .card {\n width: min(980px, 100%);\n background: linear-gradient(\n 180deg,\n rgba(255, 255, 255, 0.02),\n rgba(255, 255, 255, 0.01)\n );\n border: 1px solid rgba(255, 255, 255, 0.04);\n border-radius: var(--radius);\n padding: 32px;\n display: grid;\n grid-template-columns: 300px 1fr;\n gap: 24px;\n align-items: center;\n box-shadow: 0 8px 40px rgba(2, 6, 23, 0.6);\n }\n\n .illustration {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n .badge {\n background: var(--glass);\n padding: 14px;\n border-radius: 14px;\n text-align: center;\n }\n .code {\n font-weight: 700;\n font-size: 48px;\n letter-spacing: -2px;\n color: var(--accent);\n display: block;\n }\n h1 {\n margin: 0 0 6px 0;\n font-size: 20px;\n }\n p.lead {\n margin: 0;\n color: var(--muted);\n }\n\n .actions {\n margin-top: 18px;\n display: flex;\n gap: 12px;\n flex-wrap: wrap;\n }\n .btn {\n background: linear-gradient(\n 180deg,\n rgba(255, 255, 255, 0.03),\n rgba(255, 255, 255, 0.01)\n );\n border: 1px solid rgba(255, 255, 255, 0.05);\n padding: 10px 14px;\n border-radius: 12px;\n cursor: pointer;\n font-weight: 600;\n color: inherit;\n text-decoration: none;\n display: inline-flex;\n align-items: center;\n gap: 10px;\n }\n .btn.primary {\n background: linear-gradient(180deg, var(--accent), #4ecfe8);\n color: #032;\n box-shadow: 0 6px 18px rgba(125, 211, 252, 0.08);\n }\n .btn.ghost {\n background: transparent;\n border: 1px dashed rgba(255, 255, 255, 0.04);\n }\n\n .details {\n background: rgba(255, 255, 255, 0.02);\n border-radius: 12px;\n padding: 18px;\n margin-top: 8px;\n color: var(--muted);\n font-size: 14px;\n }\n\n .suggestions {\n display: flex;\n flex-direction: column;\n gap: 8px;\n margin-top: 12px;\n }\n .suggestion {\n display: flex;\n gap: 12px;\n align-items: flex-start;\n }\n .dot {\n width: 10px;\n height: 10px;\n border-radius: 10px;\n background: rgba(255, 255, 255, 0.06);\n margin-top: 6px;\n }\n\n @media (max-width: 720px) {\n .card {\n grid-template-columns: 1fr;\n padding: 20px;\n }\n .illustration {\n order: -1;\n }\n }\n\n .wobble {\n transform-origin: center;\n animation: wob 6s ease-in-out infinite;\n }\n @keyframes wob {\n 0% {\n transform: rotate(-3deg);\n }\n 50% {\n transform: rotate(3deg);\n }\n 100% {\n transform: rotate(-3deg);\n }\n }\n\n footer {\n font-size: 13px;\n color: var(--muted);\n text-align: left;\n margin-top: 18px;\n }\n </style>\n </head>\n <body>\n <main class="card" role="main" aria-labelledby="err-title">\n <div class="illustration">\n <div class="badge" aria-hidden="true">\n <svg\n width="160"\n height="160"\n viewBox="0 0 64 64"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n class="wobble"\n role="img"\n aria-hidden="true"\n >\n <rect\n x="6"\n y="10"\n width="52"\n height="36"\n rx="6"\n fill="rgba(125,211,252,0.06)"\n stroke="rgba(125,211,252,0.12)"\n />\n <circle cx="20" cy="28" r="4" fill="rgba(125,211,252,0.18)" />\n <rect\n x="32"\n y="24"\n width="16"\n height="6"\n rx="2"\n fill="rgba(125,211,252,0.22)"\n />\n <path\n d="M18 46c2-3 6-5 10-5s8 2 10 5"\n stroke="rgba(255,255,255,0.06)"\n stroke-width="1.5"\n stroke-linecap="round"\n />\n <path\n d="M42 20l6-6"\n stroke="rgba(255,255,255,0.06)"\n stroke-width="2"\n stroke-linecap="round"\n />\n </svg>\n </div>\n </div>\n\n <section>\n <span class="code" id="err-code">Restarting the services...</span>\n <h1 id="err-title">Please wait...</h1>\n <script>\n function checkIfSiteIsAlive(counter = 0) {\n if (counter === 10) {\n window.location.href = "/";\n return;\n }\n\n fetch("/")\n .then((response) => {\n if (response.ok) {\n window.location.href = "/";\n return;\n }\n return Promise.reject();\n })\n .catch((error) => {\n console.error(\n "monitor:error",\n "server is not yet reachable",\n error\n );\n setTimeout(() => checkIfSiteIsAlive(counter + 1), 2_000);\n });\n }\n checkIfSiteIsAlive();\n </script>\n <p class="lead">Waiting for server to restart</p>\n </section>\n </main>\n </body>\n</html>\n';
|
|
6770
|
+
|
|
6771
|
+
// lib/run-proxy.ts
|
|
6765
6772
|
async function runProxy(proxyFrom, proxyTo, stdio) {
|
|
6766
6773
|
const proxy = import_http_proxy_3.default.createProxy({
|
|
6767
6774
|
preserveHeaderKeyCase: true,
|
|
@@ -6771,132 +6778,11 @@ async function runProxy(proxyFrom, proxyTo, stdio) {
|
|
|
6771
6778
|
let onRestart = () => {
|
|
6772
6779
|
};
|
|
6773
6780
|
const httpServer = http.createServer((req, res) => {
|
|
6774
|
-
if (req.url?.startsWith(
|
|
6781
|
+
if (req.url?.startsWith("/__restart__") && req.method === "POST") {
|
|
6775
6782
|
onRestart();
|
|
6776
6783
|
res.writeHead(500, {
|
|
6777
6784
|
"Content-Type": "text/html"
|
|
6778
|
-
}).end(
|
|
6779
|
-
<!doctype html>
|
|
6780
|
-
<html lang="en">
|
|
6781
|
-
<head>
|
|
6782
|
-
<meta charset="utf-8" />
|
|
6783
|
-
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
|
6784
|
-
<title>Something went wrong \u2014 Error</title>
|
|
6785
|
-
<meta name="description" content="Friendly error page with suggestions and retry button." />
|
|
6786
|
-
<style>
|
|
6787
|
-
:root{
|
|
6788
|
-
--bg:#0f1724; /* deep navy */
|
|
6789
|
-
--card:#0b1220;
|
|
6790
|
-
--accent:#7dd3fc;
|
|
6791
|
-
--muted:#94a3b8;
|
|
6792
|
-
--glass: rgba(255,255,255,0.04);
|
|
6793
|
-
--radius:16px;
|
|
6794
|
-
color-scheme: light dark;
|
|
6795
|
-
}
|
|
6796
|
-
*{box-sizing:border-box}
|
|
6797
|
-
html,body{height:100%}
|
|
6798
|
-
body{
|
|
6799
|
-
margin:0;
|
|
6800
|
-
font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial;
|
|
6801
|
-
background: radial-gradient(1200px 600px at 10% 10%, rgba(125,211,252,0.06), transparent),
|
|
6802
|
-
linear-gradient(180deg, var(--bg), #071025 80%);
|
|
6803
|
-
color:#e6eef8;
|
|
6804
|
-
-webkit-font-smoothing:antialiased;
|
|
6805
|
-
-moz-osx-font-smoothing:grayscale;
|
|
6806
|
-
display:flex;align-items:center;justify-content:center;padding:32px;
|
|
6807
|
-
}
|
|
6808
|
-
|
|
6809
|
-
.card{
|
|
6810
|
-
width:min(980px,100%);
|
|
6811
|
-
background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
|
|
6812
|
-
border: 1px solid rgba(255,255,255,0.04);
|
|
6813
|
-
border-radius:var(--radius);
|
|
6814
|
-
padding:32px;display:grid;grid-template-columns:300px 1fr;gap:24px;align-items:center;
|
|
6815
|
-
box-shadow: 0 8px 40px rgba(2,6,23,0.6);
|
|
6816
|
-
}
|
|
6817
|
-
|
|
6818
|
-
.illustration{display:flex;align-items:center;justify-content:center}
|
|
6819
|
-
.badge{background:var(--glass);padding:14px;border-radius:14px;text-align:center}
|
|
6820
|
-
.code{
|
|
6821
|
-
font-weight:700;font-size:48px;letter-spacing:-2px;color:var(--accent);
|
|
6822
|
-
display:block
|
|
6823
|
-
}
|
|
6824
|
-
h1{margin:0 0 6px 0;font-size:20px}
|
|
6825
|
-
p.lead{margin:0;color:var(--muted)}
|
|
6826
|
-
|
|
6827
|
-
.actions{margin-top:18px;display:flex;gap:12px;flex-wrap:wrap}
|
|
6828
|
-
.btn{
|
|
6829
|
-
background:linear-gradient(180deg,rgba(255,255,255,0.03),rgba(255,255,255,0.01));
|
|
6830
|
-
border:1px solid rgba(255,255,255,0.05);padding:10px 14px;border-radius:12px;cursor:pointer;
|
|
6831
|
-
font-weight:600;color:inherit;text-decoration:none;display:inline-flex;align-items:center;gap:10px
|
|
6832
|
-
}
|
|
6833
|
-
.btn.primary{background:linear-gradient(180deg,var(--accent),#4ecfe8);color:#032;box-shadow:0 6px 18px rgba(125,211,252,0.08)}
|
|
6834
|
-
.btn.ghost{background:transparent;border:1px dashed rgba(255,255,255,0.04)}
|
|
6835
|
-
|
|
6836
|
-
.details{background:rgba(255,255,255,0.02);border-radius:12px;padding:18px;margin-top:8px;color:var(--muted);font-size:14px}
|
|
6837
|
-
|
|
6838
|
-
.suggestions{display:flex;flex-direction:column;gap:8px;margin-top:12px}
|
|
6839
|
-
.suggestion{display:flex;gap:12px;align-items:flex-start}
|
|
6840
|
-
.dot{width:10px;height:10px;border-radius:10px;background:rgba(255,255,255,0.06);margin-top:6px}
|
|
6841
|
-
|
|
6842
|
-
@media (max-width:720px){
|
|
6843
|
-
.card{grid-template-columns:1fr;padding:20px}
|
|
6844
|
-
.illustration{order: -1}
|
|
6845
|
-
}
|
|
6846
|
-
|
|
6847
|
-
/* subtle animation for the SVG */
|
|
6848
|
-
.wobble{transform-origin:center;animation:wob 6s ease-in-out infinite}
|
|
6849
|
-
@keyframes wob{0%{transform:rotate(-3deg)}50%{transform:rotate(3deg)}100%{transform:rotate(-3deg)}}
|
|
6850
|
-
|
|
6851
|
-
footer{font-size:13px;color:var(--muted);text-align:left;margin-top:18px}
|
|
6852
|
-
</style>
|
|
6853
|
-
</head>
|
|
6854
|
-
<body>
|
|
6855
|
-
<main class="card" role="main" aria-labelledby="err-title">
|
|
6856
|
-
<div class="illustration">
|
|
6857
|
-
<div class="badge" aria-hidden="true">
|
|
6858
|
-
<!-- friendly robot / broken plug SVG -->
|
|
6859
|
-
<svg width="160" height="160" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg" class="wobble" role="img" aria-hidden="true">
|
|
6860
|
-
<rect x="6" y="10" width="52" height="36" rx="6" fill="rgba(125,211,252,0.06)" stroke="rgba(125,211,252,0.12)"/>
|
|
6861
|
-
<circle cx="20" cy="28" r="4" fill="rgba(125,211,252,0.18)"/>
|
|
6862
|
-
<rect x="32" y="24" width="16" height="6" rx="2" fill="rgba(125,211,252,0.22)"/>
|
|
6863
|
-
<path d="M18 46c2-3 6-5 10-5s8 2 10 5" stroke="rgba(255,255,255,0.06)" stroke-width="1.5" stroke-linecap="round"/>
|
|
6864
|
-
<path d="M42 20l6-6" stroke="rgba(255,255,255,0.06)" stroke-width="2" stroke-linecap="round"/>
|
|
6865
|
-
</svg>
|
|
6866
|
-
</div>
|
|
6867
|
-
</div>
|
|
6868
|
-
|
|
6869
|
-
<section>
|
|
6870
|
-
<span class="code" id="err-code">Restarting the services...</span>
|
|
6871
|
-
<h1 id="err-title">Please wait...</h1>
|
|
6872
|
-
<script>
|
|
6873
|
-
function checkIfSiteIsAlive(counter = 0) {
|
|
6874
|
-
if (counter === 10) {
|
|
6875
|
-
window.location.href = "/";
|
|
6876
|
-
return;
|
|
6877
|
-
}
|
|
6878
|
-
|
|
6879
|
-
fetch('/')
|
|
6880
|
-
.then((response) => {
|
|
6881
|
-
if (response.ok) {
|
|
6882
|
-
window.location.href = "/";
|
|
6883
|
-
return;
|
|
6884
|
-
}
|
|
6885
|
-
return Promise.reject();
|
|
6886
|
-
})
|
|
6887
|
-
.catch((error) => {
|
|
6888
|
-
console.error('monitor:error', 'server is not yet reachable', error);
|
|
6889
|
-
setTimeout(() => checkIfSiteIsAlive(counter + 1), 2_000);
|
|
6890
|
-
});
|
|
6891
|
-
}
|
|
6892
|
-
checkIfSiteIsAlive();
|
|
6893
|
-
</script>
|
|
6894
|
-
<p class="lead">Waiting for server to restart</p>
|
|
6895
|
-
</section>
|
|
6896
|
-
</main>
|
|
6897
|
-
</body>
|
|
6898
|
-
</html>
|
|
6899
|
-
`);
|
|
6785
|
+
}).end(error_server_restarting_default);
|
|
6900
6786
|
} else {
|
|
6901
6787
|
proxy.web(req, res, { target: proxyTo });
|
|
6902
6788
|
}
|
|
@@ -6914,130 +6800,7 @@ async function runProxy(proxyFrom, proxyTo, stdio) {
|
|
|
6914
6800
|
if (!res.headersSent && !res.writableEnded) {
|
|
6915
6801
|
res.writeHead(500, {
|
|
6916
6802
|
"Content-Type": "text/html"
|
|
6917
|
-
}).end(
|
|
6918
|
-
<!doctype html>
|
|
6919
|
-
<html lang="en">
|
|
6920
|
-
<head>
|
|
6921
|
-
<meta charset="utf-8" />
|
|
6922
|
-
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
|
6923
|
-
<title>Development Server Crashed</title>
|
|
6924
|
-
<style>
|
|
6925
|
-
:root{
|
|
6926
|
-
--bg:#0f1724; /* deep navy */
|
|
6927
|
-
--card:#0b1220;
|
|
6928
|
-
--accent:#7dd3fc;
|
|
6929
|
-
--muted:#94a3b8;
|
|
6930
|
-
--glass: rgba(255,255,255,0.04);
|
|
6931
|
-
--radius:16px;
|
|
6932
|
-
color-scheme: light dark;
|
|
6933
|
-
}
|
|
6934
|
-
*{box-sizing:border-box}
|
|
6935
|
-
html,body{height:100%}
|
|
6936
|
-
body{
|
|
6937
|
-
margin:0;
|
|
6938
|
-
font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial;
|
|
6939
|
-
background: radial-gradient(1200px 600px at 10% 10%, rgba(125,211,252,0.06), transparent),
|
|
6940
|
-
linear-gradient(180deg, var(--bg), #071025 80%);
|
|
6941
|
-
color:#e6eef8;
|
|
6942
|
-
-webkit-font-smoothing:antialiased;
|
|
6943
|
-
-moz-osx-font-smoothing:grayscale;
|
|
6944
|
-
display:flex;align-items:center;justify-content:center;padding:32px;
|
|
6945
|
-
}
|
|
6946
|
-
|
|
6947
|
-
.card{
|
|
6948
|
-
width:min(980px,100%);
|
|
6949
|
-
background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
|
|
6950
|
-
border: 1px solid rgba(255,255,255,0.04);
|
|
6951
|
-
border-radius:var(--radius);
|
|
6952
|
-
padding:32px;display:grid;grid-template-columns:300px 1fr;gap:24px;align-items:center;
|
|
6953
|
-
box-shadow: 0 8px 40px rgba(2,6,23,0.6);
|
|
6954
|
-
}
|
|
6955
|
-
|
|
6956
|
-
.illustration{display:flex;align-items:center;justify-content:center}
|
|
6957
|
-
.badge{background:var(--glass);padding:14px;border-radius:14px;text-align:center}
|
|
6958
|
-
.code{
|
|
6959
|
-
font-weight:700;font-size:48px;letter-spacing:-2px;color:var(--accent);
|
|
6960
|
-
display:block
|
|
6961
|
-
}
|
|
6962
|
-
h1{margin:0 0 6px 0;font-size:20px}
|
|
6963
|
-
p.lead{margin:0;color:var(--muted)}
|
|
6964
|
-
|
|
6965
|
-
.actions{margin-top:18px;display:flex;gap:12px;flex-wrap:wrap}
|
|
6966
|
-
.btn{
|
|
6967
|
-
background:linear-gradient(180deg,rgba(255,255,255,0.03),rgba(255,255,255,0.01));
|
|
6968
|
-
border:1px solid rgba(255,255,255,0.05);padding:10px 14px;border-radius:12px;cursor:pointer;
|
|
6969
|
-
font-weight:600;color:inherit;text-decoration:none;display:inline-flex;align-items:center;gap:10px
|
|
6970
|
-
}
|
|
6971
|
-
.btn.primary{background:linear-gradient(180deg,var(--accent),#4ecfe8);color:#032;box-shadow:0 6px 18px rgba(125,211,252,0.08)}
|
|
6972
|
-
.btn.ghost{background:transparent;border:1px dashed rgba(255,255,255,0.04)}
|
|
6973
|
-
|
|
6974
|
-
.details{background:rgba(255,255,255,0.02);border-radius:12px;padding:18px;margin-top:8px;color:var(--muted);font-size:14px}
|
|
6975
|
-
|
|
6976
|
-
.suggestions{display:flex;flex-direction:column;gap:8px;margin-top:12px}
|
|
6977
|
-
.suggestion{display:flex;gap:12px;align-items:flex-start}
|
|
6978
|
-
.dot{width:10px;height:10px;border-radius:10px;background:rgba(255,255,255,0.06);margin-top:6px}
|
|
6979
|
-
|
|
6980
|
-
@media (max-width:720px){
|
|
6981
|
-
.card{grid-template-columns:1fr;padding:20px}
|
|
6982
|
-
.illustration{order: -1}
|
|
6983
|
-
}
|
|
6984
|
-
|
|
6985
|
-
/* subtle animation for the SVG */
|
|
6986
|
-
.wobble{transform-origin:center;animation:wob 6s ease-in-out infinite}
|
|
6987
|
-
@keyframes wob{0%{transform:rotate(-3deg)}50%{transform:rotate(3deg)}100%{transform:rotate(-3deg)}}
|
|
6988
|
-
|
|
6989
|
-
footer{font-size:13px;color:var(--muted);text-align:left;margin-top:18px}
|
|
6990
|
-
</style>
|
|
6991
|
-
</head>
|
|
6992
|
-
<body>
|
|
6993
|
-
<main class="card">
|
|
6994
|
-
<div class="illustration">
|
|
6995
|
-
<div class="badge">
|
|
6996
|
-
<svg width="160" height="160" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg" class="wobble">
|
|
6997
|
-
<rect x="6" y="10" width="52" height="36" rx="6" fill="rgba(125,211,252,0.06)" stroke="rgba(125,211,252,0.12)"/>
|
|
6998
|
-
<circle cx="20" cy="28" r="4" fill="rgba(125,211,252,0.18)"/>
|
|
6999
|
-
<rect x="32" y="24" width="16" height="6" rx="2" fill="rgba(125,211,252,0.22)"/>
|
|
7000
|
-
<path d="M18 46c2-3 6-5 10-5s8 2 10 5" stroke="rgba(255,255,255,0.06)" stroke-width="1.5" stroke-linecap="round"/>
|
|
7001
|
-
<path d="M42 20l6-6" stroke="rgba(255,255,255,0.06)" stroke-width="2" stroke-linecap="round"/>
|
|
7002
|
-
</svg>
|
|
7003
|
-
</div>
|
|
7004
|
-
</div>
|
|
7005
|
-
|
|
7006
|
-
<section>
|
|
7007
|
-
<span class="code" id="err-code">Development Server Down</span>
|
|
7008
|
-
<h1 id="err-title">For unknown reasons development server has crashed and is not reachable.</h1>
|
|
7009
|
-
<p class="lead">We hit an unexpected error while trying to load the page. This usually clears up quickly \u2014 here are a few options.</p>
|
|
7010
|
-
|
|
7011
|
-
<div class="actions">
|
|
7012
|
-
<form action=${RESTART_URL} method="POST">
|
|
7013
|
-
<button class="btn primary" id="retryBtn" type="submit">Retry</button>
|
|
7014
|
-
<a class="btn" id="homeBtn" onClick="fixWithAI()">Fix with AI</a>
|
|
7015
|
-
</form>
|
|
7016
|
-
<script type="text/javascript">
|
|
7017
|
-
function fixWithAI() {
|
|
7018
|
-
window.parent?.postMessage({
|
|
7019
|
-
type: "clientError",
|
|
7020
|
-
clientErrorData: {
|
|
7021
|
-
errorType: "build",
|
|
7022
|
-
message: 'Development server is not responding',
|
|
7023
|
-
stack: 'No stack trace available',
|
|
7024
|
-
}
|
|
7025
|
-
}, '*');
|
|
7026
|
-
}
|
|
7027
|
-
</script>
|
|
7028
|
-
</div>
|
|
7029
|
-
|
|
7030
|
-
<div class="suggestions">
|
|
7031
|
-
<div class="suggestion"><span class="dot"></span><div>Try refreshing the page or press <kbd>Ctrl</kbd> + <kbd>R</kbd>.</div></div>
|
|
7032
|
-
<div class="suggestion"><span class="dot"></span><div>Check your connection or try again in a few minutes.</div></div>
|
|
7033
|
-
<div class="suggestion"><span class="dot"></span><div>If the problem persists, open an issue or contact support.</div></div>
|
|
7034
|
-
</div>
|
|
7035
|
-
|
|
7036
|
-
</section>
|
|
7037
|
-
</main>
|
|
7038
|
-
</body>
|
|
7039
|
-
</html>
|
|
7040
|
-
`);
|
|
6803
|
+
}).end(error_server_default);
|
|
7041
6804
|
}
|
|
7042
6805
|
} else {
|
|
7043
6806
|
res.end();
|
|
@@ -7063,7 +6826,7 @@ async function runProxy(proxyFrom, proxyTo, stdio) {
|
|
|
7063
6826
|
var import_strict4 = require("node:assert/strict");
|
|
7064
6827
|
var import_node_process12 = __toESM(require("node:process"), 1);
|
|
7065
6828
|
|
|
7066
|
-
// node_modules/is-plain-obj/index.js
|
|
6829
|
+
// ../../node_modules/is-plain-obj/index.js
|
|
7067
6830
|
function isPlainObject(value) {
|
|
7068
6831
|
if (typeof value !== "object" || value === null) {
|
|
7069
6832
|
return false;
|
|
@@ -7072,7 +6835,7 @@ function isPlainObject(value) {
|
|
|
7072
6835
|
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in value) && !(Symbol.iterator in value);
|
|
7073
6836
|
}
|
|
7074
6837
|
|
|
7075
|
-
// node_modules/execa/lib/arguments/file-url.js
|
|
6838
|
+
// ../../node_modules/execa/lib/arguments/file-url.js
|
|
7076
6839
|
var import_node_url = require("node:url");
|
|
7077
6840
|
var safeNormalizeFileUrl = (file, name) => {
|
|
7078
6841
|
const fileString = normalizeFileUrl(normalizeDenoExecPath(file));
|
|
@@ -7085,7 +6848,7 @@ var normalizeDenoExecPath = (file) => isDenoExecPath(file) ? file.toString() : f
|
|
|
7085
6848
|
var isDenoExecPath = (file) => typeof file !== "string" && file && Object.getPrototypeOf(file) === String.prototype;
|
|
7086
6849
|
var normalizeFileUrl = (file) => file instanceof URL ? (0, import_node_url.fileURLToPath)(file) : file;
|
|
7087
6850
|
|
|
7088
|
-
// node_modules/execa/lib/methods/parameters.js
|
|
6851
|
+
// ../../node_modules/execa/lib/methods/parameters.js
|
|
7089
6852
|
var normalizeParameters = (rawFile, rawArguments = [], rawOptions = {}) => {
|
|
7090
6853
|
const filePath = safeNormalizeFileUrl(rawFile, "First argument");
|
|
7091
6854
|
const [commandArguments, options] = isPlainObject(rawArguments) ? [[], rawArguments] : [rawArguments, rawOptions];
|
|
@@ -7106,10 +6869,10 @@ var normalizeParameters = (rawFile, rawArguments = [], rawOptions = {}) => {
|
|
|
7106
6869
|
return [filePath, normalizedArguments, options];
|
|
7107
6870
|
};
|
|
7108
6871
|
|
|
7109
|
-
// node_modules/execa/lib/methods/template.js
|
|
6872
|
+
// ../../node_modules/execa/lib/methods/template.js
|
|
7110
6873
|
var import_node_child_process = require("node:child_process");
|
|
7111
6874
|
|
|
7112
|
-
// node_modules/execa/lib/utils/uint-array.js
|
|
6875
|
+
// ../../node_modules/execa/lib/utils/uint-array.js
|
|
7113
6876
|
var import_node_string_decoder = require("node:string_decoder");
|
|
7114
6877
|
var { toString: objectToString } = Object.prototype;
|
|
7115
6878
|
var isArrayBuffer = (value) => objectToString.call(value) === "[object ArrayBuffer]";
|
|
@@ -7156,7 +6919,7 @@ var getJoinLength = (uint8Arrays) => {
|
|
|
7156
6919
|
return joinLength;
|
|
7157
6920
|
};
|
|
7158
6921
|
|
|
7159
|
-
// node_modules/execa/lib/methods/template.js
|
|
6922
|
+
// ../../node_modules/execa/lib/methods/template.js
|
|
7160
6923
|
var isTemplateString = (templates) => Array.isArray(templates) && Array.isArray(templates.raw);
|
|
7161
6924
|
var parseTemplates = (templates, expressions) => {
|
|
7162
6925
|
let tokens = [];
|
|
@@ -7256,20 +7019,20 @@ var getSubprocessResult = ({ stdout }) => {
|
|
|
7256
7019
|
throw new TypeError(`Unexpected "${typeof stdout}" stdout in template expression`);
|
|
7257
7020
|
};
|
|
7258
7021
|
|
|
7259
|
-
// node_modules/execa/lib/methods/main-sync.js
|
|
7022
|
+
// ../../node_modules/execa/lib/methods/main-sync.js
|
|
7260
7023
|
var import_node_child_process3 = require("node:child_process");
|
|
7261
7024
|
|
|
7262
|
-
// node_modules/execa/lib/arguments/specific.js
|
|
7025
|
+
// ../../node_modules/execa/lib/arguments/specific.js
|
|
7263
7026
|
var import_node_util = require("node:util");
|
|
7264
7027
|
|
|
7265
|
-
// node_modules/execa/lib/utils/standard-stream.js
|
|
7028
|
+
// ../../node_modules/execa/lib/utils/standard-stream.js
|
|
7266
7029
|
var import_node_process2 = __toESM(require("node:process"), 1);
|
|
7267
7030
|
var isStandardStream = (stream) => STANDARD_STREAMS.includes(stream);
|
|
7268
7031
|
var STANDARD_STREAMS = [import_node_process2.default.stdin, import_node_process2.default.stdout, import_node_process2.default.stderr];
|
|
7269
7032
|
var STANDARD_STREAMS_ALIASES = ["stdin", "stdout", "stderr"];
|
|
7270
7033
|
var getStreamName = (fdNumber) => STANDARD_STREAMS_ALIASES[fdNumber] ?? `stdio[${fdNumber}]`;
|
|
7271
7034
|
|
|
7272
|
-
// node_modules/execa/lib/arguments/specific.js
|
|
7035
|
+
// ../../node_modules/execa/lib/arguments/specific.js
|
|
7273
7036
|
var normalizeFdSpecificOptions = (options) => {
|
|
7274
7037
|
const optionsCopy = { ...options };
|
|
7275
7038
|
for (const optionName of FD_SPECIFIC_OPTIONS) {
|
|
@@ -7339,7 +7102,7 @@ var DEFAULT_OPTIONS = {
|
|
|
7339
7102
|
var FD_SPECIFIC_OPTIONS = ["lines", "buffer", "maxBuffer", "verbose", "stripFinalNewline"];
|
|
7340
7103
|
var getFdSpecificValue = (optionArray, fdNumber) => fdNumber === "ipc" ? optionArray.at(-1) : optionArray[fdNumber];
|
|
7341
7104
|
|
|
7342
|
-
// node_modules/execa/lib/verbose/values.js
|
|
7105
|
+
// ../../node_modules/execa/lib/verbose/values.js
|
|
7343
7106
|
var isVerbose = ({ verbose }, fdNumber) => getFdVerbose(verbose, fdNumber) !== "none";
|
|
7344
7107
|
var isFullVerbose = ({ verbose }, fdNumber) => !["none", "short"].includes(getFdVerbose(verbose, fdNumber));
|
|
7345
7108
|
var getVerboseFunction = ({ verbose }, fdNumber) => {
|
|
@@ -7351,10 +7114,10 @@ var getFdGenericVerbose = (verbose) => verbose.find((fdVerbose) => isVerboseFunc
|
|
|
7351
7114
|
var isVerboseFunction = (fdVerbose) => typeof fdVerbose === "function";
|
|
7352
7115
|
var VERBOSE_VALUES = ["none", "short", "full"];
|
|
7353
7116
|
|
|
7354
|
-
// node_modules/execa/lib/verbose/log.js
|
|
7117
|
+
// ../../node_modules/execa/lib/verbose/log.js
|
|
7355
7118
|
var import_node_util3 = require("node:util");
|
|
7356
7119
|
|
|
7357
|
-
// node_modules/execa/lib/arguments/escape.js
|
|
7120
|
+
// ../../node_modules/execa/lib/arguments/escape.js
|
|
7358
7121
|
var import_node_process3 = require("node:process");
|
|
7359
7122
|
var import_node_util2 = require("node:util");
|
|
7360
7123
|
var joinCommand = (filePath, rawArguments) => {
|
|
@@ -7399,7 +7162,7 @@ var quoteString = (escapedArgument) => {
|
|
|
7399
7162
|
};
|
|
7400
7163
|
var NO_ESCAPE_REGEXP = /^[\w./-]+$/;
|
|
7401
7164
|
|
|
7402
|
-
// node_modules/is-unicode-supported/index.js
|
|
7165
|
+
// ../../node_modules/is-unicode-supported/index.js
|
|
7403
7166
|
var import_node_process4 = __toESM(require("node:process"), 1);
|
|
7404
7167
|
function isUnicodeSupported() {
|
|
7405
7168
|
const { env: env2 } = import_node_process4.default;
|
|
@@ -7410,7 +7173,7 @@ function isUnicodeSupported() {
|
|
|
7410
7173
|
return Boolean(env2.WT_SESSION) || Boolean(env2.TERMINUS_SUBLIME) || env2.ConEmuTask === "{cmd::Cmder}" || TERM_PROGRAM === "Terminus-Sublime" || TERM_PROGRAM === "vscode" || TERM === "xterm-256color" || TERM === "alacritty" || TERM === "rxvt-unicode" || TERM === "rxvt-unicode-256color" || env2.TERMINAL_EMULATOR === "JetBrains-JediTerm";
|
|
7411
7174
|
}
|
|
7412
7175
|
|
|
7413
|
-
// node_modules/figures/index.js
|
|
7176
|
+
// ../../node_modules/figures/index.js
|
|
7414
7177
|
var common = {
|
|
7415
7178
|
circleQuestionMark: "(?)",
|
|
7416
7179
|
questionMarkPrefix: "(?)",
|
|
@@ -7686,7 +7449,7 @@ var figures = shouldUseMain ? mainSymbols : fallbackSymbols;
|
|
|
7686
7449
|
var figures_default = figures;
|
|
7687
7450
|
var replacements = Object.entries(specialMainSymbols);
|
|
7688
7451
|
|
|
7689
|
-
// node_modules/yoctocolors/base.js
|
|
7452
|
+
// ../../node_modules/yoctocolors/base.js
|
|
7690
7453
|
var import_node_tty2 = __toESM(require("node:tty"), 1);
|
|
7691
7454
|
var hasColors = import_node_tty2.default?.WriteStream?.prototype?.hasColors?.() ?? false;
|
|
7692
7455
|
var format = (open, close) => {
|
|
@@ -7756,7 +7519,7 @@ var bgMagentaBright = format(105, 49);
|
|
|
7756
7519
|
var bgCyanBright = format(106, 49);
|
|
7757
7520
|
var bgWhiteBright = format(107, 49);
|
|
7758
7521
|
|
|
7759
|
-
// node_modules/execa/lib/verbose/default.js
|
|
7522
|
+
// ../../node_modules/execa/lib/verbose/default.js
|
|
7760
7523
|
var defaultVerboseFunction = ({
|
|
7761
7524
|
type,
|
|
7762
7525
|
message,
|
|
@@ -7795,7 +7558,7 @@ var COLORS = {
|
|
|
7795
7558
|
duration: () => gray
|
|
7796
7559
|
};
|
|
7797
7560
|
|
|
7798
|
-
// node_modules/execa/lib/verbose/custom.js
|
|
7561
|
+
// ../../node_modules/execa/lib/verbose/custom.js
|
|
7799
7562
|
var applyVerboseOnLines = (printedLines, verboseInfo, fdNumber) => {
|
|
7800
7563
|
const verboseFunction = getVerboseFunction(verboseInfo, fdNumber);
|
|
7801
7564
|
return printedLines.map(({ verboseLine, verboseObject }) => applyVerboseFunction(verboseLine, verboseObject, verboseFunction)).filter((printedLine) => printedLine !== void 0).map((printedLine) => appendNewline(printedLine)).join("");
|
|
@@ -7812,7 +7575,7 @@ var applyVerboseFunction = (verboseLine, verboseObject, verboseFunction) => {
|
|
|
7812
7575
|
var appendNewline = (printedLine) => printedLine.endsWith("\n") ? printedLine : `${printedLine}
|
|
7813
7576
|
`;
|
|
7814
7577
|
|
|
7815
|
-
// node_modules/execa/lib/verbose/log.js
|
|
7578
|
+
// ../../node_modules/execa/lib/verbose/log.js
|
|
7816
7579
|
var verboseLog = ({ type, verboseMessage, fdNumber, verboseInfo, result }) => {
|
|
7817
7580
|
const verboseObject = getVerboseObject({ type, result, verboseInfo });
|
|
7818
7581
|
const printedLines = getPrintedLines(verboseMessage, verboseObject);
|
|
@@ -7846,7 +7609,7 @@ var serializeVerboseMessage = (message) => {
|
|
|
7846
7609
|
};
|
|
7847
7610
|
var TAB_SIZE = 2;
|
|
7848
7611
|
|
|
7849
|
-
// node_modules/execa/lib/verbose/start.js
|
|
7612
|
+
// ../../node_modules/execa/lib/verbose/start.js
|
|
7850
7613
|
var logCommand = (escapedCommand, verboseInfo) => {
|
|
7851
7614
|
if (!isVerbose(verboseInfo)) {
|
|
7852
7615
|
return;
|
|
@@ -7858,7 +7621,7 @@ var logCommand = (escapedCommand, verboseInfo) => {
|
|
|
7858
7621
|
});
|
|
7859
7622
|
};
|
|
7860
7623
|
|
|
7861
|
-
// node_modules/execa/lib/verbose/info.js
|
|
7624
|
+
// ../../node_modules/execa/lib/verbose/info.js
|
|
7862
7625
|
var getVerboseInfo = (verbose, escapedCommand, rawOptions) => {
|
|
7863
7626
|
validateVerbose(verbose);
|
|
7864
7627
|
const commandId = getCommandId(verbose);
|
|
@@ -7886,12 +7649,12 @@ var validateVerbose = (verbose) => {
|
|
|
7886
7649
|
}
|
|
7887
7650
|
};
|
|
7888
7651
|
|
|
7889
|
-
// node_modules/execa/lib/return/duration.js
|
|
7652
|
+
// ../../node_modules/execa/lib/return/duration.js
|
|
7890
7653
|
var import_node_process5 = require("node:process");
|
|
7891
7654
|
var getStartTime = () => import_node_process5.hrtime.bigint();
|
|
7892
7655
|
var getDurationMs = (startTime) => Number(import_node_process5.hrtime.bigint() - startTime) / 1e6;
|
|
7893
7656
|
|
|
7894
|
-
// node_modules/execa/lib/arguments/command.js
|
|
7657
|
+
// ../../node_modules/execa/lib/arguments/command.js
|
|
7895
7658
|
var handleCommand = (filePath, rawArguments, rawOptions) => {
|
|
7896
7659
|
const startTime = getStartTime();
|
|
7897
7660
|
const { command, escapedCommand } = joinCommand(filePath, rawArguments);
|
|
@@ -7906,16 +7669,16 @@ var handleCommand = (filePath, rawArguments, rawOptions) => {
|
|
|
7906
7669
|
};
|
|
7907
7670
|
};
|
|
7908
7671
|
|
|
7909
|
-
// node_modules/execa/lib/arguments/options.js
|
|
7672
|
+
// ../../node_modules/execa/lib/arguments/options.js
|
|
7910
7673
|
var import_node_path5 = __toESM(require("node:path"), 1);
|
|
7911
7674
|
var import_node_process9 = __toESM(require("node:process"), 1);
|
|
7912
7675
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
7913
7676
|
|
|
7914
|
-
// node_modules/npm-run-path/index.js
|
|
7677
|
+
// ../../node_modules/npm-run-path/index.js
|
|
7915
7678
|
var import_node_process6 = __toESM(require("node:process"), 1);
|
|
7916
7679
|
var import_node_path2 = __toESM(require("node:path"), 1);
|
|
7917
7680
|
|
|
7918
|
-
// node_modules/npm-run-path/node_modules/path-key/index.js
|
|
7681
|
+
// ../../node_modules/npm-run-path/node_modules/path-key/index.js
|
|
7919
7682
|
function pathKey(options = {}) {
|
|
7920
7683
|
const {
|
|
7921
7684
|
env: env2 = process.env,
|
|
@@ -7927,7 +7690,7 @@ function pathKey(options = {}) {
|
|
|
7927
7690
|
return Object.keys(env2).reverse().find((key) => key.toUpperCase() === "PATH") || "Path";
|
|
7928
7691
|
}
|
|
7929
7692
|
|
|
7930
|
-
// node_modules/unicorn-magic/node.js
|
|
7693
|
+
// ../../node_modules/unicorn-magic/node.js
|
|
7931
7694
|
var import_node_util4 = require("node:util");
|
|
7932
7695
|
var import_node_child_process2 = require("node:child_process");
|
|
7933
7696
|
var import_node_path = __toESM(require("node:path"), 1);
|
|
@@ -7951,7 +7714,7 @@ function traversePathUp(startPath) {
|
|
|
7951
7714
|
}
|
|
7952
7715
|
var TEN_MEGABYTES_IN_BYTES = 10 * 1024 * 1024;
|
|
7953
7716
|
|
|
7954
|
-
// node_modules/npm-run-path/index.js
|
|
7717
|
+
// ../../node_modules/npm-run-path/index.js
|
|
7955
7718
|
var npmRunPath = ({
|
|
7956
7719
|
cwd = import_node_process6.default.cwd(),
|
|
7957
7720
|
path: pathOption = import_node_process6.default.env[pathKey()],
|
|
@@ -7992,10 +7755,10 @@ var npmRunPathEnv = ({ env: env2 = import_node_process6.default.env, ...options
|
|
|
7992
7755
|
return env2;
|
|
7993
7756
|
};
|
|
7994
7757
|
|
|
7995
|
-
// node_modules/execa/lib/terminate/kill.js
|
|
7758
|
+
// ../../node_modules/execa/lib/terminate/kill.js
|
|
7996
7759
|
var import_promises = require("node:timers/promises");
|
|
7997
7760
|
|
|
7998
|
-
// node_modules/execa/lib/return/final-error.js
|
|
7761
|
+
// ../../node_modules/execa/lib/return/final-error.js
|
|
7999
7762
|
var getFinalError = (originalError, message, isSync) => {
|
|
8000
7763
|
const ErrorClass = isSync ? ExecaSyncError : ExecaError;
|
|
8001
7764
|
const options = originalError instanceof DiscardedError ? {} : { cause: originalError };
|
|
@@ -8027,13 +7790,13 @@ var ExecaSyncError = class extends Error {
|
|
|
8027
7790
|
};
|
|
8028
7791
|
setErrorName(ExecaSyncError, ExecaSyncError.name);
|
|
8029
7792
|
|
|
8030
|
-
// node_modules/execa/lib/terminate/signal.js
|
|
7793
|
+
// ../../node_modules/execa/lib/terminate/signal.js
|
|
8031
7794
|
var import_node_os4 = require("node:os");
|
|
8032
7795
|
|
|
8033
|
-
// node_modules/human-signals/build/src/main.js
|
|
7796
|
+
// ../../node_modules/human-signals/build/src/main.js
|
|
8034
7797
|
var import_node_os3 = require("node:os");
|
|
8035
7798
|
|
|
8036
|
-
// node_modules/human-signals/build/src/realtime.js
|
|
7799
|
+
// ../../node_modules/human-signals/build/src/realtime.js
|
|
8037
7800
|
var getRealtimeSignals = () => {
|
|
8038
7801
|
const length = SIGRTMAX - SIGRTMIN + 1;
|
|
8039
7802
|
return Array.from({ length }, getRealtimeSignal);
|
|
@@ -8048,10 +7811,10 @@ var getRealtimeSignal = (value, index) => ({
|
|
|
8048
7811
|
var SIGRTMIN = 34;
|
|
8049
7812
|
var SIGRTMAX = 64;
|
|
8050
7813
|
|
|
8051
|
-
// node_modules/human-signals/build/src/signals.js
|
|
7814
|
+
// ../../node_modules/human-signals/build/src/signals.js
|
|
8052
7815
|
var import_node_os2 = require("node:os");
|
|
8053
7816
|
|
|
8054
|
-
// node_modules/human-signals/build/src/core.js
|
|
7817
|
+
// ../../node_modules/human-signals/build/src/core.js
|
|
8055
7818
|
var SIGNALS = [
|
|
8056
7819
|
{
|
|
8057
7820
|
name: "SIGHUP",
|
|
@@ -8324,7 +8087,7 @@ var SIGNALS = [
|
|
|
8324
8087
|
}
|
|
8325
8088
|
];
|
|
8326
8089
|
|
|
8327
|
-
// node_modules/human-signals/build/src/signals.js
|
|
8090
|
+
// ../../node_modules/human-signals/build/src/signals.js
|
|
8328
8091
|
var getSignals = () => {
|
|
8329
8092
|
const realtimeSignals = getRealtimeSignals();
|
|
8330
8093
|
const signals2 = [...SIGNALS, ...realtimeSignals].map(normalizeSignal);
|
|
@@ -8346,7 +8109,7 @@ var normalizeSignal = ({
|
|
|
8346
8109
|
return { name, number, description, supported, action, forced, standard };
|
|
8347
8110
|
};
|
|
8348
8111
|
|
|
8349
|
-
// node_modules/human-signals/build/src/main.js
|
|
8112
|
+
// ../../node_modules/human-signals/build/src/main.js
|
|
8350
8113
|
var getSignalsByName = () => {
|
|
8351
8114
|
const signals2 = getSignals();
|
|
8352
8115
|
return Object.fromEntries(signals2.map(getSignalByName));
|
|
@@ -8397,7 +8160,7 @@ var findSignalByNumber = (number, signals2) => {
|
|
|
8397
8160
|
};
|
|
8398
8161
|
var signalsByNumber = getSignalsByNumber();
|
|
8399
8162
|
|
|
8400
|
-
// node_modules/execa/lib/terminate/signal.js
|
|
8163
|
+
// ../../node_modules/execa/lib/terminate/signal.js
|
|
8401
8164
|
var normalizeKillSignal = (killSignal) => {
|
|
8402
8165
|
const optionName = "option `killSignal`";
|
|
8403
8166
|
if (killSignal === 0) {
|
|
@@ -8441,7 +8204,7 @@ var getAvailableSignalNames = () => Object.keys(import_node_os4.constants.signal
|
|
|
8441
8204
|
var getAvailableSignalIntegers = () => [...new Set(Object.values(import_node_os4.constants.signals).sort((signalInteger, signalIntegerTwo) => signalInteger - signalIntegerTwo))].join(", ");
|
|
8442
8205
|
var getSignalDescription = (signal) => signalsByName[signal].description;
|
|
8443
8206
|
|
|
8444
|
-
// node_modules/execa/lib/terminate/kill.js
|
|
8207
|
+
// ../../node_modules/execa/lib/terminate/kill.js
|
|
8445
8208
|
var normalizeForceKillAfterDelay = (forceKillAfterDelay) => {
|
|
8446
8209
|
if (forceKillAfterDelay === false) {
|
|
8447
8210
|
return forceKillAfterDelay;
|
|
@@ -8508,7 +8271,7 @@ var killOnTimeout = async ({ kill, forceKillAfterDelay, context, controllerSigna
|
|
|
8508
8271
|
}
|
|
8509
8272
|
};
|
|
8510
8273
|
|
|
8511
|
-
// node_modules/execa/lib/utils/abort-signal.js
|
|
8274
|
+
// ../../node_modules/execa/lib/utils/abort-signal.js
|
|
8512
8275
|
var import_node_events = require("node:events");
|
|
8513
8276
|
var onAbortedSignal = async (mainSignal, stopSignal) => {
|
|
8514
8277
|
if (!mainSignal.aborted) {
|
|
@@ -8516,7 +8279,7 @@ var onAbortedSignal = async (mainSignal, stopSignal) => {
|
|
|
8516
8279
|
}
|
|
8517
8280
|
};
|
|
8518
8281
|
|
|
8519
|
-
// node_modules/execa/lib/terminate/cancel.js
|
|
8282
|
+
// ../../node_modules/execa/lib/terminate/cancel.js
|
|
8520
8283
|
var validateCancelSignal = ({ cancelSignal }) => {
|
|
8521
8284
|
if (cancelSignal !== void 0 && Object.prototype.toString.call(cancelSignal) !== "[object AbortSignal]") {
|
|
8522
8285
|
throw new Error(`The \`cancelSignal\` option must be an AbortSignal: ${String(cancelSignal)}`);
|
|
@@ -8530,13 +8293,13 @@ var terminateOnCancel = async (subprocess, cancelSignal, context, { signal }) =>
|
|
|
8530
8293
|
throw cancelSignal.reason;
|
|
8531
8294
|
};
|
|
8532
8295
|
|
|
8533
|
-
// node_modules/execa/lib/ipc/graceful.js
|
|
8296
|
+
// ../../node_modules/execa/lib/ipc/graceful.js
|
|
8534
8297
|
var import_promises3 = require("node:timers/promises");
|
|
8535
8298
|
|
|
8536
|
-
// node_modules/execa/lib/ipc/send.js
|
|
8299
|
+
// ../../node_modules/execa/lib/ipc/send.js
|
|
8537
8300
|
var import_node_util5 = require("node:util");
|
|
8538
8301
|
|
|
8539
|
-
// node_modules/execa/lib/ipc/validation.js
|
|
8302
|
+
// ../../node_modules/execa/lib/ipc/validation.js
|
|
8540
8303
|
var validateIpcMethod = ({ methodName, isSubprocess, ipc, isConnected: isConnected2 }) => {
|
|
8541
8304
|
validateIpcOption(methodName, isSubprocess, ipc);
|
|
8542
8305
|
validateConnection(methodName, isSubprocess, isConnected2);
|
|
@@ -8608,7 +8371,7 @@ var disconnect = (anyProcess) => {
|
|
|
8608
8371
|
}
|
|
8609
8372
|
};
|
|
8610
8373
|
|
|
8611
|
-
// node_modules/execa/lib/utils/deferred.js
|
|
8374
|
+
// ../../node_modules/execa/lib/utils/deferred.js
|
|
8612
8375
|
var createDeferred = () => {
|
|
8613
8376
|
const methods = {};
|
|
8614
8377
|
const promise = new Promise((resolve, reject) => {
|
|
@@ -8617,7 +8380,7 @@ var createDeferred = () => {
|
|
|
8617
8380
|
return Object.assign(promise, methods);
|
|
8618
8381
|
};
|
|
8619
8382
|
|
|
8620
|
-
// node_modules/execa/lib/arguments/fd-options.js
|
|
8383
|
+
// ../../node_modules/execa/lib/arguments/fd-options.js
|
|
8621
8384
|
var getToStream = (destination, to = "stdin") => {
|
|
8622
8385
|
const isWritable = true;
|
|
8623
8386
|
const { options, fileDescriptors } = SUBPROCESS_OPTIONS.get(destination);
|
|
@@ -8697,10 +8460,10 @@ var serializeOptionValue = (value) => {
|
|
|
8697
8460
|
return typeof value === "number" ? `${value}` : "Stream";
|
|
8698
8461
|
};
|
|
8699
8462
|
|
|
8700
|
-
// node_modules/execa/lib/ipc/strict.js
|
|
8463
|
+
// ../../node_modules/execa/lib/ipc/strict.js
|
|
8701
8464
|
var import_node_events5 = require("node:events");
|
|
8702
8465
|
|
|
8703
|
-
// node_modules/execa/lib/utils/max-listeners.js
|
|
8466
|
+
// ../../node_modules/execa/lib/utils/max-listeners.js
|
|
8704
8467
|
var import_node_events2 = require("node:events");
|
|
8705
8468
|
var incrementMaxListeners = (eventEmitter, maxListenersIncrement, signal) => {
|
|
8706
8469
|
const maxListeners = eventEmitter.getMaxListeners();
|
|
@@ -8713,14 +8476,14 @@ var incrementMaxListeners = (eventEmitter, maxListenersIncrement, signal) => {
|
|
|
8713
8476
|
});
|
|
8714
8477
|
};
|
|
8715
8478
|
|
|
8716
|
-
// node_modules/execa/lib/ipc/forward.js
|
|
8479
|
+
// ../../node_modules/execa/lib/ipc/forward.js
|
|
8717
8480
|
var import_node_events4 = require("node:events");
|
|
8718
8481
|
|
|
8719
|
-
// node_modules/execa/lib/ipc/incoming.js
|
|
8482
|
+
// ../../node_modules/execa/lib/ipc/incoming.js
|
|
8720
8483
|
var import_node_events3 = require("node:events");
|
|
8721
8484
|
var import_promises2 = require("node:timers/promises");
|
|
8722
8485
|
|
|
8723
|
-
// node_modules/execa/lib/ipc/reference.js
|
|
8486
|
+
// ../../node_modules/execa/lib/ipc/reference.js
|
|
8724
8487
|
var addReference = (channel, reference) => {
|
|
8725
8488
|
if (reference) {
|
|
8726
8489
|
addReferenceCount(channel);
|
|
@@ -8750,7 +8513,7 @@ var redoAddedReferences = (channel, isSubprocess) => {
|
|
|
8750
8513
|
}
|
|
8751
8514
|
};
|
|
8752
8515
|
|
|
8753
|
-
// node_modules/execa/lib/ipc/incoming.js
|
|
8516
|
+
// ../../node_modules/execa/lib/ipc/incoming.js
|
|
8754
8517
|
var onMessage = async ({ anyProcess, channel, isSubprocess, ipcEmitter }, wrappedMessage) => {
|
|
8755
8518
|
if (handleStrictResponse(wrappedMessage) || handleAbort(wrappedMessage)) {
|
|
8756
8519
|
return;
|
|
@@ -8791,7 +8554,7 @@ var onDisconnect = async ({ anyProcess, channel, isSubprocess, ipcEmitter, bound
|
|
|
8791
8554
|
};
|
|
8792
8555
|
var INCOMING_MESSAGES = /* @__PURE__ */ new WeakMap();
|
|
8793
8556
|
|
|
8794
|
-
// node_modules/execa/lib/ipc/forward.js
|
|
8557
|
+
// ../../node_modules/execa/lib/ipc/forward.js
|
|
8795
8558
|
var getIpcEmitter = (anyProcess, channel, isSubprocess) => {
|
|
8796
8559
|
if (IPC_EMITTERS.has(anyProcess)) {
|
|
8797
8560
|
return IPC_EMITTERS.get(anyProcess);
|
|
@@ -8830,7 +8593,7 @@ var isConnected = (anyProcess) => {
|
|
|
8830
8593
|
return ipcEmitter === void 0 ? anyProcess.channel !== null : ipcEmitter.connected;
|
|
8831
8594
|
};
|
|
8832
8595
|
|
|
8833
|
-
// node_modules/execa/lib/ipc/strict.js
|
|
8596
|
+
// ../../node_modules/execa/lib/ipc/strict.js
|
|
8834
8597
|
var handleSendStrict = ({ anyProcess, channel, isSubprocess, message, strict }) => {
|
|
8835
8598
|
if (!strict) {
|
|
8836
8599
|
return message;
|
|
@@ -8913,7 +8676,7 @@ var throwOnDisconnect = async (anyProcess, isSubprocess, { signal }) => {
|
|
|
8913
8676
|
var REQUEST_TYPE = "execa:ipc:request";
|
|
8914
8677
|
var RESPONSE_TYPE = "execa:ipc:response";
|
|
8915
8678
|
|
|
8916
|
-
// node_modules/execa/lib/ipc/outgoing.js
|
|
8679
|
+
// ../../node_modules/execa/lib/ipc/outgoing.js
|
|
8917
8680
|
var startSendMessage = (anyProcess, wrappedMessage, strict) => {
|
|
8918
8681
|
if (!OUTGOING_MESSAGES.has(anyProcess)) {
|
|
8919
8682
|
OUTGOING_MESSAGES.set(anyProcess, /* @__PURE__ */ new Set());
|
|
@@ -8940,7 +8703,7 @@ var OUTGOING_MESSAGES = /* @__PURE__ */ new WeakMap();
|
|
|
8940
8703
|
var hasMessageListeners = (anyProcess, ipcEmitter) => ipcEmitter.listenerCount("message") > getMinListenerCount(anyProcess);
|
|
8941
8704
|
var getMinListenerCount = (anyProcess) => SUBPROCESS_OPTIONS.has(anyProcess) && !getFdSpecificValue(SUBPROCESS_OPTIONS.get(anyProcess).options.buffer, "ipc") ? 1 : 0;
|
|
8942
8705
|
|
|
8943
|
-
// node_modules/execa/lib/ipc/send.js
|
|
8706
|
+
// ../../node_modules/execa/lib/ipc/send.js
|
|
8944
8707
|
var sendMessage = ({ anyProcess, channel, isSubprocess, ipc }, message, { strict = false } = {}) => {
|
|
8945
8708
|
const methodName = "sendMessage";
|
|
8946
8709
|
validateIpcMethod({
|
|
@@ -9010,7 +8773,7 @@ var getSendMethod = (anyProcess) => {
|
|
|
9010
8773
|
};
|
|
9011
8774
|
var PROCESS_SEND_METHODS = /* @__PURE__ */ new WeakMap();
|
|
9012
8775
|
|
|
9013
|
-
// node_modules/execa/lib/ipc/graceful.js
|
|
8776
|
+
// ../../node_modules/execa/lib/ipc/graceful.js
|
|
9014
8777
|
var sendAbort = (subprocess, message) => {
|
|
9015
8778
|
const methodName = "cancelSignal";
|
|
9016
8779
|
validateConnection(methodName, false, subprocess.connected);
|
|
@@ -9061,7 +8824,7 @@ var abortOnDisconnect = () => {
|
|
|
9061
8824
|
};
|
|
9062
8825
|
var cancelController = new AbortController();
|
|
9063
8826
|
|
|
9064
|
-
// node_modules/execa/lib/terminate/graceful.js
|
|
8827
|
+
// ../../node_modules/execa/lib/terminate/graceful.js
|
|
9065
8828
|
var validateGracefulCancel = ({ gracefulCancel, cancelSignal, ipc, serialization }) => {
|
|
9066
8829
|
if (!gracefulCancel) {
|
|
9067
8830
|
return;
|
|
@@ -9117,7 +8880,7 @@ var getReason = ({ reason }) => {
|
|
|
9117
8880
|
return error;
|
|
9118
8881
|
};
|
|
9119
8882
|
|
|
9120
|
-
// node_modules/execa/lib/terminate/timeout.js
|
|
8883
|
+
// ../../node_modules/execa/lib/terminate/timeout.js
|
|
9121
8884
|
var import_promises4 = require("node:timers/promises");
|
|
9122
8885
|
var validateTimeout = ({ timeout }) => {
|
|
9123
8886
|
if (timeout !== void 0 && (!Number.isFinite(timeout) || timeout < 0)) {
|
|
@@ -9132,7 +8895,7 @@ var killAfterTimeout = async (subprocess, timeout, context, { signal }) => {
|
|
|
9132
8895
|
throw new DiscardedError();
|
|
9133
8896
|
};
|
|
9134
8897
|
|
|
9135
|
-
// node_modules/execa/lib/methods/node.js
|
|
8898
|
+
// ../../node_modules/execa/lib/methods/node.js
|
|
9136
8899
|
var import_node_process7 = require("node:process");
|
|
9137
8900
|
var import_node_path3 = __toESM(require("node:path"), 1);
|
|
9138
8901
|
var mapNode = ({ options }) => {
|
|
@@ -9173,7 +8936,7 @@ var handleNodeOption = (file, commandArguments, {
|
|
|
9173
8936
|
];
|
|
9174
8937
|
};
|
|
9175
8938
|
|
|
9176
|
-
// node_modules/execa/lib/ipc/ipc-input.js
|
|
8939
|
+
// ../../node_modules/execa/lib/ipc/ipc-input.js
|
|
9177
8940
|
var import_node_v8 = require("node:v8");
|
|
9178
8941
|
var validateIpcInputOption = ({ ipcInput, ipc, serialization }) => {
|
|
9179
8942
|
if (ipcInput === void 0) {
|
|
@@ -9209,7 +8972,7 @@ var sendIpcInput = async (subprocess, ipcInput) => {
|
|
|
9209
8972
|
await subprocess.sendMessage(ipcInput);
|
|
9210
8973
|
};
|
|
9211
8974
|
|
|
9212
|
-
// node_modules/execa/lib/arguments/encoding-option.js
|
|
8975
|
+
// ../../node_modules/execa/lib/arguments/encoding-option.js
|
|
9213
8976
|
var validateEncoding = ({ encoding }) => {
|
|
9214
8977
|
if (ENCODINGS.has(encoding)) {
|
|
9215
8978
|
return;
|
|
@@ -9251,7 +9014,7 @@ var ENCODING_ALIASES = {
|
|
|
9251
9014
|
};
|
|
9252
9015
|
var serializeEncoding = (encoding) => typeof encoding === "string" ? `"${encoding}"` : String(encoding);
|
|
9253
9016
|
|
|
9254
|
-
// node_modules/execa/lib/arguments/cwd.js
|
|
9017
|
+
// ../../node_modules/execa/lib/arguments/cwd.js
|
|
9255
9018
|
var import_node_fs = require("node:fs");
|
|
9256
9019
|
var import_node_path4 = __toESM(require("node:path"), 1);
|
|
9257
9020
|
var import_node_process8 = __toESM(require("node:process"), 1);
|
|
@@ -9287,7 +9050,7 @@ ${originalMessage}`;
|
|
|
9287
9050
|
return originalMessage;
|
|
9288
9051
|
};
|
|
9289
9052
|
|
|
9290
|
-
// node_modules/execa/lib/arguments/options.js
|
|
9053
|
+
// ../../node_modules/execa/lib/arguments/options.js
|
|
9291
9054
|
var normalizeOptions = (filePath, rawArguments, rawOptions) => {
|
|
9292
9055
|
rawOptions.cwd = normalizeCwd(rawOptions.cwd);
|
|
9293
9056
|
const [processedFile, processedArguments, processedOptions] = handleNodeOption(filePath, rawArguments, rawOptions);
|
|
@@ -9358,13 +9121,13 @@ var getEnv = ({ env: envOption, extendEnv, preferLocal, node, localDirectory, no
|
|
|
9358
9121
|
return env2;
|
|
9359
9122
|
};
|
|
9360
9123
|
|
|
9361
|
-
// node_modules/execa/lib/arguments/shell.js
|
|
9124
|
+
// ../../node_modules/execa/lib/arguments/shell.js
|
|
9362
9125
|
var concatenateShell = (file, commandArguments, options) => options.shell && commandArguments.length > 0 ? [[file, ...commandArguments].join(" "), [], options] : [file, commandArguments, options];
|
|
9363
9126
|
|
|
9364
|
-
// node_modules/execa/lib/return/message.js
|
|
9127
|
+
// ../../node_modules/execa/lib/return/message.js
|
|
9365
9128
|
var import_node_util6 = require("node:util");
|
|
9366
9129
|
|
|
9367
|
-
// node_modules/strip-final-newline/index.js
|
|
9130
|
+
// ../../node_modules/strip-final-newline/index.js
|
|
9368
9131
|
function stripFinalNewline(input) {
|
|
9369
9132
|
if (typeof input === "string") {
|
|
9370
9133
|
return stripFinalNewlineString(input);
|
|
@@ -9381,11 +9144,11 @@ var LF_BINARY = LF.codePointAt(0);
|
|
|
9381
9144
|
var CR = "\r";
|
|
9382
9145
|
var CR_BINARY = CR.codePointAt(0);
|
|
9383
9146
|
|
|
9384
|
-
// node_modules/get-stream/source/index.js
|
|
9147
|
+
// ../../node_modules/get-stream/source/index.js
|
|
9385
9148
|
var import_node_events6 = require("node:events");
|
|
9386
9149
|
var import_promises5 = require("node:stream/promises");
|
|
9387
9150
|
|
|
9388
|
-
// node_modules/is-stream/index.js
|
|
9151
|
+
// ../../node_modules/is-stream/index.js
|
|
9389
9152
|
function isStream(stream, { checkOpen = true } = {}) {
|
|
9390
9153
|
return stream !== null && typeof stream === "object" && (stream.writable || stream.readable || !checkOpen || stream.writable === void 0 && stream.readable === void 0) && typeof stream.pipe === "function";
|
|
9391
9154
|
}
|
|
@@ -9399,7 +9162,7 @@ function isDuplexStream(stream, options) {
|
|
|
9399
9162
|
return isWritableStream(stream, options) && isReadableStream(stream, options);
|
|
9400
9163
|
}
|
|
9401
9164
|
|
|
9402
|
-
// node_modules/@sec-ant/readable-stream/dist/ponyfill/asyncIterator.js
|
|
9165
|
+
// ../../node_modules/@sec-ant/readable-stream/dist/ponyfill/asyncIterator.js
|
|
9403
9166
|
var a = Object.getPrototypeOf(
|
|
9404
9167
|
Object.getPrototypeOf(
|
|
9405
9168
|
/* istanbul ignore next */
|
|
@@ -9487,7 +9250,7 @@ function h({ preventCancel: r = false } = {}) {
|
|
|
9487
9250
|
return s[n] = t, s;
|
|
9488
9251
|
}
|
|
9489
9252
|
|
|
9490
|
-
// node_modules/get-stream/source/stream.js
|
|
9253
|
+
// ../../node_modules/get-stream/source/stream.js
|
|
9491
9254
|
var getAsyncIterable = (stream) => {
|
|
9492
9255
|
if (isReadableStream(stream, { checkOpen: false }) && nodeImports.on !== void 0) {
|
|
9493
9256
|
return getStreamIterable(stream);
|
|
@@ -9535,7 +9298,7 @@ var handleStreamEnd = async (stream, controller, state) => {
|
|
|
9535
9298
|
};
|
|
9536
9299
|
var nodeImports = {};
|
|
9537
9300
|
|
|
9538
|
-
// node_modules/get-stream/source/contents.js
|
|
9301
|
+
// ../../node_modules/get-stream/source/contents.js
|
|
9539
9302
|
var getStreamContents = async (stream, { init, convertChunk, getSize, truncateChunk, addChunk, getFinalChunk, finalize }, { maxBuffer = Number.POSITIVE_INFINITY } = {}) => {
|
|
9540
9303
|
const asyncIterable = getAsyncIterable(stream);
|
|
9541
9304
|
const state = init();
|
|
@@ -9630,7 +9393,7 @@ var MaxBufferError = class extends Error {
|
|
|
9630
9393
|
}
|
|
9631
9394
|
};
|
|
9632
9395
|
|
|
9633
|
-
// node_modules/get-stream/source/utils.js
|
|
9396
|
+
// ../../node_modules/get-stream/source/utils.js
|
|
9634
9397
|
var identity2 = (value) => value;
|
|
9635
9398
|
var noop = () => void 0;
|
|
9636
9399
|
var getContentsProperty = ({ contents }) => contents;
|
|
@@ -9639,7 +9402,7 @@ var throwObjectStream = (chunk) => {
|
|
|
9639
9402
|
};
|
|
9640
9403
|
var getLengthProperty = (convertedChunk) => convertedChunk.length;
|
|
9641
9404
|
|
|
9642
|
-
// node_modules/get-stream/source/array.js
|
|
9405
|
+
// ../../node_modules/get-stream/source/array.js
|
|
9643
9406
|
async function getStreamAsArray(stream, options) {
|
|
9644
9407
|
return getStreamContents(stream, arrayMethods, options);
|
|
9645
9408
|
}
|
|
@@ -9666,7 +9429,7 @@ var arrayMethods = {
|
|
|
9666
9429
|
finalize: getContentsProperty
|
|
9667
9430
|
};
|
|
9668
9431
|
|
|
9669
|
-
// node_modules/get-stream/source/array-buffer.js
|
|
9432
|
+
// ../../node_modules/get-stream/source/array-buffer.js
|
|
9670
9433
|
async function getStreamAsArrayBuffer(stream, options) {
|
|
9671
9434
|
return getStreamContents(stream, arrayBufferMethods, options);
|
|
9672
9435
|
}
|
|
@@ -9719,7 +9482,7 @@ var arrayBufferMethods = {
|
|
|
9719
9482
|
finalize: finalizeArrayBuffer
|
|
9720
9483
|
};
|
|
9721
9484
|
|
|
9722
|
-
// node_modules/get-stream/source/string.js
|
|
9485
|
+
// ../../node_modules/get-stream/source/string.js
|
|
9723
9486
|
async function getStreamAsString(stream, options) {
|
|
9724
9487
|
return getStreamContents(stream, stringMethods, options);
|
|
9725
9488
|
}
|
|
@@ -9748,10 +9511,10 @@ var stringMethods = {
|
|
|
9748
9511
|
finalize: getContentsProperty
|
|
9749
9512
|
};
|
|
9750
9513
|
|
|
9751
|
-
// node_modules/get-stream/source/index.js
|
|
9514
|
+
// ../../node_modules/get-stream/source/index.js
|
|
9752
9515
|
Object.assign(nodeImports, { on: import_node_events6.on, finished: import_promises5.finished });
|
|
9753
9516
|
|
|
9754
|
-
// node_modules/execa/lib/io/max-buffer.js
|
|
9517
|
+
// ../../node_modules/execa/lib/io/max-buffer.js
|
|
9755
9518
|
var handleMaxBuffer = ({ error, stream, readableObjectMode, lines, encoding, fdNumber }) => {
|
|
9756
9519
|
if (!(error instanceof MaxBufferError)) {
|
|
9757
9520
|
throw error;
|
|
@@ -9810,7 +9573,7 @@ var truncateMaxBufferSync = (result, isMaxBuffer, maxBuffer) => {
|
|
|
9810
9573
|
};
|
|
9811
9574
|
var getMaxBufferSync = ([, stdoutMaxBuffer]) => stdoutMaxBuffer;
|
|
9812
9575
|
|
|
9813
|
-
// node_modules/execa/lib/return/message.js
|
|
9576
|
+
// ../../node_modules/execa/lib/return/message.js
|
|
9814
9577
|
var createMessages = ({
|
|
9815
9578
|
stdio,
|
|
9816
9579
|
all,
|
|
@@ -9928,7 +9691,7 @@ var serializeMessageItem = (messageItem) => {
|
|
|
9928
9691
|
return "";
|
|
9929
9692
|
};
|
|
9930
9693
|
|
|
9931
|
-
// node_modules/execa/lib/return/result.js
|
|
9694
|
+
// ../../node_modules/execa/lib/return/result.js
|
|
9932
9695
|
var makeSuccessResult = ({
|
|
9933
9696
|
command,
|
|
9934
9697
|
escapedCommand,
|
|
@@ -10101,7 +9864,7 @@ var normalizeExitPayload = (rawExitCode, rawSignal) => {
|
|
|
10101
9864
|
return { exitCode, signal, signalDescription };
|
|
10102
9865
|
};
|
|
10103
9866
|
|
|
10104
|
-
// node_modules/parse-ms/index.js
|
|
9867
|
+
// ../../node_modules/parse-ms/index.js
|
|
10105
9868
|
var toZeroIfInfinity = (value) => Number.isFinite(value) ? value : 0;
|
|
10106
9869
|
function parseNumber(milliseconds) {
|
|
10107
9870
|
return {
|
|
@@ -10140,7 +9903,7 @@ function parseMilliseconds(milliseconds) {
|
|
|
10140
9903
|
throw new TypeError("Expected a finite number or bigint");
|
|
10141
9904
|
}
|
|
10142
9905
|
|
|
10143
|
-
// node_modules/pretty-ms/index.js
|
|
9906
|
+
// ../../node_modules/pretty-ms/index.js
|
|
10144
9907
|
var isZero = (value) => value === 0 || value === 0n;
|
|
10145
9908
|
var pluralize = (word, count2) => count2 === 1 || count2 === 1n ? word : `${word}s`;
|
|
10146
9909
|
var SECOND_ROUNDING_EPSILON = 1e-7;
|
|
@@ -10239,7 +10002,7 @@ function prettyMilliseconds(milliseconds, options) {
|
|
|
10239
10002
|
return sign + result.join(separator);
|
|
10240
10003
|
}
|
|
10241
10004
|
|
|
10242
|
-
// node_modules/execa/lib/verbose/error.js
|
|
10005
|
+
// ../../node_modules/execa/lib/verbose/error.js
|
|
10243
10006
|
var logError = (result, verboseInfo) => {
|
|
10244
10007
|
if (result.failed) {
|
|
10245
10008
|
verboseLog({
|
|
@@ -10251,7 +10014,7 @@ var logError = (result, verboseInfo) => {
|
|
|
10251
10014
|
}
|
|
10252
10015
|
};
|
|
10253
10016
|
|
|
10254
|
-
// node_modules/execa/lib/verbose/complete.js
|
|
10017
|
+
// ../../node_modules/execa/lib/verbose/complete.js
|
|
10255
10018
|
var logResult = (result, verboseInfo) => {
|
|
10256
10019
|
if (!isVerbose(verboseInfo)) {
|
|
10257
10020
|
return;
|
|
@@ -10269,7 +10032,7 @@ var logDuration = (result, verboseInfo) => {
|
|
|
10269
10032
|
});
|
|
10270
10033
|
};
|
|
10271
10034
|
|
|
10272
|
-
// node_modules/execa/lib/return/reject.js
|
|
10035
|
+
// ../../node_modules/execa/lib/return/reject.js
|
|
10273
10036
|
var handleResult = (result, verboseInfo, { reject }) => {
|
|
10274
10037
|
logResult(result, verboseInfo);
|
|
10275
10038
|
if (result.failed && reject) {
|
|
@@ -10278,10 +10041,10 @@ var handleResult = (result, verboseInfo, { reject }) => {
|
|
|
10278
10041
|
return result;
|
|
10279
10042
|
};
|
|
10280
10043
|
|
|
10281
|
-
// node_modules/execa/lib/stdio/handle-sync.js
|
|
10044
|
+
// ../../node_modules/execa/lib/stdio/handle-sync.js
|
|
10282
10045
|
var import_node_fs3 = require("node:fs");
|
|
10283
10046
|
|
|
10284
|
-
// node_modules/execa/lib/stdio/type.js
|
|
10047
|
+
// ../../node_modules/execa/lib/stdio/type.js
|
|
10285
10048
|
var getStdioItemType = (value, optionName) => {
|
|
10286
10049
|
if (isAsyncGenerator(value)) {
|
|
10287
10050
|
return "asyncGenerator";
|
|
@@ -10407,7 +10170,7 @@ var TYPE_TO_MESSAGE = {
|
|
|
10407
10170
|
uint8Array: "a Uint8Array"
|
|
10408
10171
|
};
|
|
10409
10172
|
|
|
10410
|
-
// node_modules/execa/lib/transform/object-mode.js
|
|
10173
|
+
// ../../node_modules/execa/lib/transform/object-mode.js
|
|
10411
10174
|
var getTransformObjectModes = (objectMode, index, newTransforms, direction) => direction === "output" ? getOutputObjectModes(objectMode, index, newTransforms) : getInputObjectModes(objectMode, index, newTransforms);
|
|
10412
10175
|
var getOutputObjectModes = (objectMode, index, newTransforms) => {
|
|
10413
10176
|
const writableObjectMode = index !== 0 && newTransforms[index - 1].value.readableObjectMode;
|
|
@@ -10427,7 +10190,7 @@ var getFdObjectMode = (stdioItems, direction) => {
|
|
|
10427
10190
|
return direction === "input" ? lastTransform.value.writableObjectMode : lastTransform.value.readableObjectMode;
|
|
10428
10191
|
};
|
|
10429
10192
|
|
|
10430
|
-
// node_modules/execa/lib/transform/normalize.js
|
|
10193
|
+
// ../../node_modules/execa/lib/transform/normalize.js
|
|
10431
10194
|
var normalizeTransforms = (stdioItems, optionName, direction, options) => [
|
|
10432
10195
|
...stdioItems.filter(({ type }) => !TRANSFORM_TYPES.has(type)),
|
|
10433
10196
|
...getTransforms(stdioItems, optionName, direction, options)
|
|
@@ -10521,7 +10284,7 @@ var normalizeGenerator = ({ stdioItem, stdioItem: { value }, index, newTransform
|
|
|
10521
10284
|
};
|
|
10522
10285
|
var sortTransforms = (newTransforms, direction) => direction === "input" ? newTransforms.reverse() : newTransforms;
|
|
10523
10286
|
|
|
10524
|
-
// node_modules/execa/lib/stdio/direction.js
|
|
10287
|
+
// ../../node_modules/execa/lib/stdio/direction.js
|
|
10525
10288
|
var import_node_process10 = __toESM(require("node:process"), 1);
|
|
10526
10289
|
var getStreamDirection = (stdioItems, fdNumber, optionName) => {
|
|
10527
10290
|
const directions = stdioItems.map((stdioItem) => getStdioItemDirection(stdioItem, fdNumber));
|
|
@@ -10571,10 +10334,10 @@ var getStandardStreamDirection = (value) => {
|
|
|
10571
10334
|
};
|
|
10572
10335
|
var DEFAULT_DIRECTION = "output";
|
|
10573
10336
|
|
|
10574
|
-
// node_modules/execa/lib/ipc/array.js
|
|
10337
|
+
// ../../node_modules/execa/lib/ipc/array.js
|
|
10575
10338
|
var normalizeIpcStdioArray = (stdioArray, ipc) => ipc && !stdioArray.includes("ipc") ? [...stdioArray, "ipc"] : stdioArray;
|
|
10576
10339
|
|
|
10577
|
-
// node_modules/execa/lib/stdio/stdio-option.js
|
|
10340
|
+
// ../../node_modules/execa/lib/stdio/stdio-option.js
|
|
10578
10341
|
var normalizeStdioOption = ({ stdio, ipc, buffer, ...options }, verboseInfo, isSync) => {
|
|
10579
10342
|
const stdioArray = getStdioArray(stdio, options).map((stdioOption, fdNumber) => addDefaultValue2(stdioOption, fdNumber));
|
|
10580
10343
|
return isSync ? normalizeStdioSync(stdioArray, buffer, verboseInfo) : normalizeIpcStdioArray(stdioArray, ipc);
|
|
@@ -10608,7 +10371,7 @@ var addDefaultValue2 = (stdioOption, fdNumber) => {
|
|
|
10608
10371
|
var normalizeStdioSync = (stdioArray, buffer, verboseInfo) => stdioArray.map((stdioOption, fdNumber) => !buffer[fdNumber] && fdNumber !== 0 && !isFullVerbose(verboseInfo, fdNumber) && isOutputPipeOnly(stdioOption) ? "ignore" : stdioOption);
|
|
10609
10372
|
var isOutputPipeOnly = (stdioOption) => stdioOption === "pipe" || Array.isArray(stdioOption) && stdioOption.every((item) => item === "pipe");
|
|
10610
10373
|
|
|
10611
|
-
// node_modules/execa/lib/stdio/native.js
|
|
10374
|
+
// ../../node_modules/execa/lib/stdio/native.js
|
|
10612
10375
|
var import_node_fs2 = require("node:fs");
|
|
10613
10376
|
var import_node_tty3 = __toESM(require("node:tty"), 1);
|
|
10614
10377
|
var handleNativeStream = ({ stdioItem, stdioItem: { type }, isStdioArray, fdNumber, direction, isSync }) => {
|
|
@@ -10677,7 +10440,7 @@ var getStandardStream = (fdNumber, value, optionName) => {
|
|
|
10677
10440
|
return standardStream;
|
|
10678
10441
|
};
|
|
10679
10442
|
|
|
10680
|
-
// node_modules/execa/lib/stdio/input-option.js
|
|
10443
|
+
// ../../node_modules/execa/lib/stdio/input-option.js
|
|
10681
10444
|
var handleInputOptions = ({ input, inputFile }, fdNumber) => fdNumber === 0 ? [
|
|
10682
10445
|
...handleInputOption(input),
|
|
10683
10446
|
...handleInputFileOption(inputFile)
|
|
@@ -10713,7 +10476,7 @@ var getInputFileType = (inputFile) => {
|
|
|
10713
10476
|
throw new Error("The `inputFile` option must be a file path string or a file URL.");
|
|
10714
10477
|
};
|
|
10715
10478
|
|
|
10716
|
-
// node_modules/execa/lib/stdio/duplicate.js
|
|
10479
|
+
// ../../node_modules/execa/lib/stdio/duplicate.js
|
|
10717
10480
|
var filterDuplicates = (stdioItems) => stdioItems.filter((stdioItemOne, indexOne) => stdioItems.every((stdioItemTwo, indexTwo) => stdioItemOne.value !== stdioItemTwo.value || indexOne >= indexTwo || stdioItemOne.type === "generator" || stdioItemOne.type === "asyncGenerator"));
|
|
10718
10481
|
var getDuplicateStream = ({ stdioItem: { type, value, optionName }, direction, fileDescriptors, isSync }) => {
|
|
10719
10482
|
const otherStdioItems = getOtherStdioItems(fileDescriptors, type);
|
|
@@ -10788,7 +10551,7 @@ var throwOnDuplicateStream = (stdioItem, optionName, type) => {
|
|
|
10788
10551
|
}
|
|
10789
10552
|
};
|
|
10790
10553
|
|
|
10791
|
-
// node_modules/execa/lib/stdio/handle.js
|
|
10554
|
+
// ../../node_modules/execa/lib/stdio/handle.js
|
|
10792
10555
|
var handleStdio = (addProperties3, options, verboseInfo, isSync) => {
|
|
10793
10556
|
const stdio = normalizeStdioOption(options, verboseInfo, isSync);
|
|
10794
10557
|
const initialFileDescriptors = stdio.map((stdioOption, fdNumber) => getFileDescriptor({
|
|
@@ -10948,7 +10711,7 @@ var forwardStdio = (stdioItems) => {
|
|
|
10948
10711
|
return type === "native" ? value : "pipe";
|
|
10949
10712
|
};
|
|
10950
10713
|
|
|
10951
|
-
// node_modules/execa/lib/stdio/handle-sync.js
|
|
10714
|
+
// ../../node_modules/execa/lib/stdio/handle-sync.js
|
|
10952
10715
|
var handleStdioSync = (options, verboseInfo) => handleStdio(addPropertiesSync, options, verboseInfo, true);
|
|
10953
10716
|
var forbiddenIfSync = ({ type, optionName }) => {
|
|
10954
10717
|
throwInvalidSyncValue(optionName, TYPE_TO_MESSAGE[type]);
|
|
@@ -10994,14 +10757,14 @@ var addPropertiesSync = {
|
|
|
10994
10757
|
}
|
|
10995
10758
|
};
|
|
10996
10759
|
|
|
10997
|
-
// node_modules/execa/lib/io/strip-newline.js
|
|
10760
|
+
// ../../node_modules/execa/lib/io/strip-newline.js
|
|
10998
10761
|
var stripNewline = (value, { stripFinalNewline: stripFinalNewline2 }, fdNumber) => getStripFinalNewline(stripFinalNewline2, fdNumber) && value !== void 0 && !Array.isArray(value) ? stripFinalNewline(value) : value;
|
|
10999
10762
|
var getStripFinalNewline = (stripFinalNewline2, fdNumber) => fdNumber === "all" ? stripFinalNewline2[1] || stripFinalNewline2[2] : stripFinalNewline2[fdNumber];
|
|
11000
10763
|
|
|
11001
|
-
// node_modules/execa/lib/transform/generator.js
|
|
10764
|
+
// ../../node_modules/execa/lib/transform/generator.js
|
|
11002
10765
|
var import_node_stream = require("node:stream");
|
|
11003
10766
|
|
|
11004
|
-
// node_modules/execa/lib/transform/split.js
|
|
10767
|
+
// ../../node_modules/execa/lib/transform/split.js
|
|
11005
10768
|
var getSplitLinesGenerator = (binary, preserveNewlines, skipped, state) => binary || skipped ? void 0 : initializeSplitLines(preserveNewlines, state);
|
|
11006
10769
|
var splitLinesSync = (chunk, preserveNewlines, objectMode) => objectMode ? chunk.flatMap((item) => splitLinesItemSync(item, preserveNewlines)) : splitLinesItemSync(chunk, preserveNewlines);
|
|
11007
10770
|
var splitLinesItemSync = (chunk, preserveNewlines) => {
|
|
@@ -11081,7 +10844,7 @@ var linesUint8ArrayInfo = {
|
|
|
11081
10844
|
concatBytes: concatUint8Array
|
|
11082
10845
|
};
|
|
11083
10846
|
|
|
11084
|
-
// node_modules/execa/lib/transform/validate.js
|
|
10847
|
+
// ../../node_modules/execa/lib/transform/validate.js
|
|
11085
10848
|
var import_node_buffer = require("node:buffer");
|
|
11086
10849
|
var getValidateTransformInput = (writableObjectMode, optionName) => writableObjectMode ? void 0 : validateStringTransformInput.bind(void 0, optionName);
|
|
11087
10850
|
var validateStringTransformInput = function* (optionName, chunk) {
|
|
@@ -11110,7 +10873,7 @@ Instead, \`yield\` should either be called with a value, or not be called at all
|
|
|
11110
10873
|
}
|
|
11111
10874
|
};
|
|
11112
10875
|
|
|
11113
|
-
// node_modules/execa/lib/transform/encoding-transform.js
|
|
10876
|
+
// ../../node_modules/execa/lib/transform/encoding-transform.js
|
|
11114
10877
|
var import_node_buffer2 = require("node:buffer");
|
|
11115
10878
|
var import_node_string_decoder2 = require("node:string_decoder");
|
|
11116
10879
|
var getEncodingTransformGenerator = (binary, encoding, skipped) => {
|
|
@@ -11145,7 +10908,7 @@ var encodingStringFinal = function* (stringDecoder) {
|
|
|
11145
10908
|
}
|
|
11146
10909
|
};
|
|
11147
10910
|
|
|
11148
|
-
// node_modules/execa/lib/transform/run-async.js
|
|
10911
|
+
// ../../node_modules/execa/lib/transform/run-async.js
|
|
11149
10912
|
var import_node_util7 = require("node:util");
|
|
11150
10913
|
var pushChunks = (0, import_node_util7.callbackify)(async (getChunks, state, getChunksArguments, transformStream) => {
|
|
11151
10914
|
state.currentIterable = getChunks(...getChunksArguments);
|
|
@@ -11193,7 +10956,7 @@ var identityGenerator = function* (chunk) {
|
|
|
11193
10956
|
yield chunk;
|
|
11194
10957
|
};
|
|
11195
10958
|
|
|
11196
|
-
// node_modules/execa/lib/transform/run-sync.js
|
|
10959
|
+
// ../../node_modules/execa/lib/transform/run-sync.js
|
|
11197
10960
|
var pushChunksSync = (getChunksSync, getChunksArguments, transformStream, done) => {
|
|
11198
10961
|
try {
|
|
11199
10962
|
for (const chunk of getChunksSync(...getChunksArguments)) {
|
|
@@ -11235,7 +10998,7 @@ var identityGenerator2 = function* (chunk) {
|
|
|
11235
10998
|
yield chunk;
|
|
11236
10999
|
};
|
|
11237
11000
|
|
|
11238
|
-
// node_modules/execa/lib/transform/generator.js
|
|
11001
|
+
// ../../node_modules/execa/lib/transform/generator.js
|
|
11239
11002
|
var generatorToStream = ({
|
|
11240
11003
|
value,
|
|
11241
11004
|
value: { transform, final, writableObjectMode, readableObjectMode },
|
|
@@ -11289,7 +11052,7 @@ var addInternalGenerators = ({ transform, final, binary, writableObjectMode, rea
|
|
|
11289
11052
|
].filter(Boolean);
|
|
11290
11053
|
};
|
|
11291
11054
|
|
|
11292
|
-
// node_modules/execa/lib/io/input-sync.js
|
|
11055
|
+
// ../../node_modules/execa/lib/io/input-sync.js
|
|
11293
11056
|
var addInputOptionsSync = (fileDescriptors, options) => {
|
|
11294
11057
|
for (const fdNumber of getInputFdNumbers(fileDescriptors)) {
|
|
11295
11058
|
addInputOptionSync(fileDescriptors, fdNumber, options);
|
|
@@ -11322,10 +11085,10 @@ var validateSerializable = (newContents) => {
|
|
|
11322
11085
|
}
|
|
11323
11086
|
};
|
|
11324
11087
|
|
|
11325
|
-
// node_modules/execa/lib/io/output-sync.js
|
|
11088
|
+
// ../../node_modules/execa/lib/io/output-sync.js
|
|
11326
11089
|
var import_node_fs4 = require("node:fs");
|
|
11327
11090
|
|
|
11328
|
-
// node_modules/execa/lib/verbose/output.js
|
|
11091
|
+
// ../../node_modules/execa/lib/verbose/output.js
|
|
11329
11092
|
var shouldLogOutput = ({ stdioItems, encoding, verboseInfo, fdNumber }) => fdNumber !== "all" && isFullVerbose(verboseInfo, fdNumber) && !BINARY_ENCODINGS.has(encoding) && fdUsesVerbose(fdNumber) && (stdioItems.some(({ type, value }) => type === "native" && PIPED_STDIO_VALUES.has(value)) || stdioItems.every(({ type }) => TRANSFORM_TYPES.has(type)));
|
|
11330
11093
|
var fdUsesVerbose = (fdNumber) => fdNumber === 1 || fdNumber === 2;
|
|
11331
11094
|
var PIPED_STDIO_VALUES = /* @__PURE__ */ new Set(["pipe", "overlapped"]);
|
|
@@ -11352,7 +11115,7 @@ var logLine = (line, fdNumber, verboseInfo) => {
|
|
|
11352
11115
|
});
|
|
11353
11116
|
};
|
|
11354
11117
|
|
|
11355
|
-
// node_modules/execa/lib/io/output-sync.js
|
|
11118
|
+
// ../../node_modules/execa/lib/io/output-sync.js
|
|
11356
11119
|
var transformOutputSync = ({ fileDescriptors, syncResult: { output }, options, isMaxBuffer, verboseInfo }) => {
|
|
11357
11120
|
if (output === null) {
|
|
11358
11121
|
return { output: Array.from({ length: 3 }) };
|
|
@@ -11455,7 +11218,7 @@ var writeToFiles = (serializedResult, stdioItems, outputFiles) => {
|
|
|
11455
11218
|
}
|
|
11456
11219
|
};
|
|
11457
11220
|
|
|
11458
|
-
// node_modules/execa/lib/resolve/all-sync.js
|
|
11221
|
+
// ../../node_modules/execa/lib/resolve/all-sync.js
|
|
11459
11222
|
var getAllSync = ([, stdout, stderr], options) => {
|
|
11460
11223
|
if (!options.all) {
|
|
11461
11224
|
return;
|
|
@@ -11478,7 +11241,7 @@ var getAllSync = ([, stdout, stderr], options) => {
|
|
|
11478
11241
|
return `${stdout}${stderr}`;
|
|
11479
11242
|
};
|
|
11480
11243
|
|
|
11481
|
-
// node_modules/execa/lib/resolve/exit-async.js
|
|
11244
|
+
// ../../node_modules/execa/lib/resolve/exit-async.js
|
|
11482
11245
|
var import_node_events7 = require("node:events");
|
|
11483
11246
|
var waitForExit = async (subprocess, context) => {
|
|
11484
11247
|
const [exitCode, signal] = await waitForExitOrError(subprocess);
|
|
@@ -11512,7 +11275,7 @@ var waitForSuccessfulExit = async (exitPromise) => {
|
|
|
11512
11275
|
var isSubprocessErrorExit = (exitCode, signal) => exitCode === void 0 && signal === void 0;
|
|
11513
11276
|
var isFailedExit = (exitCode, signal) => exitCode !== 0 || signal !== null;
|
|
11514
11277
|
|
|
11515
|
-
// node_modules/execa/lib/resolve/exit-sync.js
|
|
11278
|
+
// ../../node_modules/execa/lib/resolve/exit-sync.js
|
|
11516
11279
|
var getExitResultSync = ({ error, status: exitCode, signal, output }, { maxBuffer }) => {
|
|
11517
11280
|
const resultError = getResultError(error, exitCode, signal);
|
|
11518
11281
|
const timedOut = resultError?.code === "ETIMEDOUT";
|
|
@@ -11532,7 +11295,7 @@ var getResultError = (error, exitCode, signal) => {
|
|
|
11532
11295
|
return isFailedExit(exitCode, signal) ? new DiscardedError() : void 0;
|
|
11533
11296
|
};
|
|
11534
11297
|
|
|
11535
|
-
// node_modules/execa/lib/methods/main-sync.js
|
|
11298
|
+
// ../../node_modules/execa/lib/methods/main-sync.js
|
|
11536
11299
|
var execaCoreSync = (rawFile, rawArguments, rawOptions) => {
|
|
11537
11300
|
const { file, commandArguments, command, escapedCommand, startTime, verboseInfo, options, fileDescriptors } = handleSyncArguments(rawFile, rawArguments, rawOptions);
|
|
11538
11301
|
const result = spawnSubprocessSync({
|
|
@@ -11664,14 +11427,14 @@ var getSyncResult = ({ error, exitCode, signal, timedOut, isMaxBuffer, stdio, al
|
|
|
11664
11427
|
isSync: true
|
|
11665
11428
|
});
|
|
11666
11429
|
|
|
11667
|
-
// node_modules/execa/lib/methods/main-async.js
|
|
11430
|
+
// ../../node_modules/execa/lib/methods/main-async.js
|
|
11668
11431
|
var import_node_events14 = require("node:events");
|
|
11669
11432
|
var import_node_child_process5 = require("node:child_process");
|
|
11670
11433
|
|
|
11671
|
-
// node_modules/execa/lib/ipc/methods.js
|
|
11434
|
+
// ../../node_modules/execa/lib/ipc/methods.js
|
|
11672
11435
|
var import_node_process11 = __toESM(require("node:process"), 1);
|
|
11673
11436
|
|
|
11674
|
-
// node_modules/execa/lib/ipc/get-one.js
|
|
11437
|
+
// ../../node_modules/execa/lib/ipc/get-one.js
|
|
11675
11438
|
var import_node_events8 = require("node:events");
|
|
11676
11439
|
var getOneMessage = ({ anyProcess, channel, isSubprocess, ipc }, { reference = true, filter } = {}) => {
|
|
11677
11440
|
validateIpcMethod({
|
|
@@ -11726,7 +11489,7 @@ var throwOnStrictError = async (ipcEmitter, isSubprocess, { signal }) => {
|
|
|
11726
11489
|
throw getStrictResponseError(error, isSubprocess);
|
|
11727
11490
|
};
|
|
11728
11491
|
|
|
11729
|
-
// node_modules/execa/lib/ipc/get-each.js
|
|
11492
|
+
// ../../node_modules/execa/lib/ipc/get-each.js
|
|
11730
11493
|
var import_node_events9 = require("node:events");
|
|
11731
11494
|
var getEachMessage = ({ anyProcess, channel, isSubprocess, ipc }, { reference = true } = {}) => loopOnMessages({
|
|
11732
11495
|
anyProcess,
|
|
@@ -11805,7 +11568,7 @@ var throwIfStrictError = ({ error }) => {
|
|
|
11805
11568
|
}
|
|
11806
11569
|
};
|
|
11807
11570
|
|
|
11808
|
-
// node_modules/execa/lib/ipc/methods.js
|
|
11571
|
+
// ../../node_modules/execa/lib/ipc/methods.js
|
|
11809
11572
|
var addIpcMethods = (subprocess, { ipc }) => {
|
|
11810
11573
|
Object.assign(subprocess, getIpcMethods(subprocess, false, ipc));
|
|
11811
11574
|
};
|
|
@@ -11844,7 +11607,7 @@ var getIpcMethods = (anyProcess, isSubprocess, ipc) => ({
|
|
|
11844
11607
|
})
|
|
11845
11608
|
});
|
|
11846
11609
|
|
|
11847
|
-
// node_modules/execa/lib/return/early-error.js
|
|
11610
|
+
// ../../node_modules/execa/lib/return/early-error.js
|
|
11848
11611
|
var import_node_child_process4 = require("node:child_process");
|
|
11849
11612
|
var import_node_stream2 = require("node:stream");
|
|
11850
11613
|
var handleEarlyError = ({ error, command, escapedCommand, fileDescriptors, options, startTime, verboseInfo }) => {
|
|
@@ -11893,7 +11656,7 @@ var duplex = () => new import_node_stream2.Duplex({ read() {
|
|
|
11893
11656
|
} });
|
|
11894
11657
|
var handleDummyPromise = async (error, verboseInfo, options) => handleResult(error, verboseInfo, options);
|
|
11895
11658
|
|
|
11896
|
-
// node_modules/execa/lib/stdio/handle-async.js
|
|
11659
|
+
// ../../node_modules/execa/lib/stdio/handle-async.js
|
|
11897
11660
|
var import_node_fs5 = require("node:fs");
|
|
11898
11661
|
var import_node_buffer3 = require("node:buffer");
|
|
11899
11662
|
var import_node_stream3 = require("node:stream");
|
|
@@ -11938,7 +11701,7 @@ var addPropertiesAsync = {
|
|
|
11938
11701
|
}
|
|
11939
11702
|
};
|
|
11940
11703
|
|
|
11941
|
-
// node_modules/@sindresorhus/merge-streams/index.js
|
|
11704
|
+
// ../../node_modules/execa/node_modules/@sindresorhus/merge-streams/index.js
|
|
11942
11705
|
var import_node_events10 = require("node:events");
|
|
11943
11706
|
var import_node_stream4 = require("node:stream");
|
|
11944
11707
|
var import_promises6 = require("node:stream/promises");
|
|
@@ -12155,7 +11918,7 @@ var updateMaxListeners = (passThroughStream, increment2) => {
|
|
|
12155
11918
|
var PASSTHROUGH_LISTENERS_COUNT = 2;
|
|
12156
11919
|
var PASSTHROUGH_LISTENERS_PER_STREAM = 1;
|
|
12157
11920
|
|
|
12158
|
-
// node_modules/execa/lib/io/pipeline.js
|
|
11921
|
+
// ../../node_modules/execa/lib/io/pipeline.js
|
|
12159
11922
|
var import_promises7 = require("node:stream/promises");
|
|
12160
11923
|
var pipeStreams = (source, destination) => {
|
|
12161
11924
|
source.pipe(destination);
|
|
@@ -12193,7 +11956,7 @@ var abortSourceStream = (source) => {
|
|
|
12193
11956
|
}
|
|
12194
11957
|
};
|
|
12195
11958
|
|
|
12196
|
-
// node_modules/execa/lib/io/output-async.js
|
|
11959
|
+
// ../../node_modules/execa/lib/io/output-async.js
|
|
12197
11960
|
var pipeOutputAsync = (subprocess, fileDescriptors, controller) => {
|
|
12198
11961
|
const pipeGroups = /* @__PURE__ */ new Map();
|
|
12199
11962
|
for (const [fdNumber, { stdioItems, direction }] of Object.entries(fileDescriptors)) {
|
|
@@ -12245,10 +12008,10 @@ var setStandardStreamMaxListeners = (stream, { signal }) => {
|
|
|
12245
12008
|
};
|
|
12246
12009
|
var MAX_LISTENERS_INCREMENT = 2;
|
|
12247
12010
|
|
|
12248
|
-
// node_modules/execa/lib/terminate/cleanup.js
|
|
12011
|
+
// ../../node_modules/execa/lib/terminate/cleanup.js
|
|
12249
12012
|
var import_node_events11 = require("node:events");
|
|
12250
12013
|
|
|
12251
|
-
// node_modules/signal-exit/dist/mjs/signals.js
|
|
12014
|
+
// ../../node_modules/signal-exit/dist/mjs/signals.js
|
|
12252
12015
|
var signals = [];
|
|
12253
12016
|
signals.push("SIGHUP", "SIGINT", "SIGTERM");
|
|
12254
12017
|
if (process.platform !== "win32") {
|
|
@@ -12272,7 +12035,7 @@ if (process.platform === "linux") {
|
|
|
12272
12035
|
signals.push("SIGIO", "SIGPOLL", "SIGPWR", "SIGSTKFLT");
|
|
12273
12036
|
}
|
|
12274
12037
|
|
|
12275
|
-
// node_modules/signal-exit/dist/mjs/index.js
|
|
12038
|
+
// ../../node_modules/signal-exit/dist/mjs/index.js
|
|
12276
12039
|
var processOk = (process13) => !!process13 && typeof process13 === "object" && typeof process13.removeListener === "function" && typeof process13.emit === "function" && typeof process13.reallyExit === "function" && typeof process13.listeners === "function" && typeof process13.kill === "function" && typeof process13.pid === "number" && typeof process13.on === "function";
|
|
12277
12040
|
var kExitEmitter = Symbol.for("signal-exit emitter");
|
|
12278
12041
|
var global2 = globalThis;
|
|
@@ -12499,7 +12262,7 @@ var {
|
|
|
12499
12262
|
unload
|
|
12500
12263
|
} = signalExitWrap(processOk(process10) ? new SignalExit(process10) : new SignalExitFallback());
|
|
12501
12264
|
|
|
12502
|
-
// node_modules/execa/lib/terminate/cleanup.js
|
|
12265
|
+
// ../../node_modules/execa/lib/terminate/cleanup.js
|
|
12503
12266
|
var cleanupOnExit = (subprocess, { cleanup, detached }, { signal }) => {
|
|
12504
12267
|
if (!cleanup || detached) {
|
|
12505
12268
|
return;
|
|
@@ -12512,7 +12275,7 @@ var cleanupOnExit = (subprocess, { cleanup, detached }, { signal }) => {
|
|
|
12512
12275
|
});
|
|
12513
12276
|
};
|
|
12514
12277
|
|
|
12515
|
-
// node_modules/execa/lib/pipe/pipe-arguments.js
|
|
12278
|
+
// ../../node_modules/execa/lib/pipe/pipe-arguments.js
|
|
12516
12279
|
var normalizePipeArguments = ({ source, sourcePromise, boundOptions, createNested }, ...pipeArguments) => {
|
|
12517
12280
|
const startTime = getStartTime();
|
|
12518
12281
|
const {
|
|
@@ -12585,7 +12348,7 @@ var getSourceStream = (source, from) => {
|
|
|
12585
12348
|
}
|
|
12586
12349
|
};
|
|
12587
12350
|
|
|
12588
|
-
// node_modules/execa/lib/pipe/throw.js
|
|
12351
|
+
// ../../node_modules/execa/lib/pipe/throw.js
|
|
12589
12352
|
var handlePipeArgumentsError = ({
|
|
12590
12353
|
sourceStream,
|
|
12591
12354
|
sourceError,
|
|
@@ -12634,7 +12397,7 @@ var createNonCommandError = ({ error, fileDescriptors, sourceOptions, startTime
|
|
|
12634
12397
|
});
|
|
12635
12398
|
var PIPE_COMMAND_MESSAGE = "source.pipe(destination)";
|
|
12636
12399
|
|
|
12637
|
-
// node_modules/execa/lib/pipe/sequence.js
|
|
12400
|
+
// ../../node_modules/execa/lib/pipe/sequence.js
|
|
12638
12401
|
var waitForBothSubprocesses = async (subprocessPromises) => {
|
|
12639
12402
|
const [
|
|
12640
12403
|
{ status: sourceStatus, reason: sourceReason, value: sourceResult = sourceReason },
|
|
@@ -12652,7 +12415,7 @@ var waitForBothSubprocesses = async (subprocessPromises) => {
|
|
|
12652
12415
|
return destinationResult;
|
|
12653
12416
|
};
|
|
12654
12417
|
|
|
12655
|
-
// node_modules/execa/lib/pipe/streaming.js
|
|
12418
|
+
// ../../node_modules/execa/lib/pipe/streaming.js
|
|
12656
12419
|
var import_promises8 = require("node:stream/promises");
|
|
12657
12420
|
var pipeSubprocessStream = (sourceStream, destinationStream, maxListenersController) => {
|
|
12658
12421
|
const mergedStream = MERGED_STREAMS.has(destinationStream) ? pipeMoreSubprocessStream(sourceStream, destinationStream) : pipeFirstSubprocessStream(sourceStream, destinationStream);
|
|
@@ -12683,7 +12446,7 @@ var MERGED_STREAMS = /* @__PURE__ */ new WeakMap();
|
|
|
12683
12446
|
var SOURCE_LISTENERS_PER_PIPE = 2;
|
|
12684
12447
|
var DESTINATION_LISTENERS_PER_PIPE = 1;
|
|
12685
12448
|
|
|
12686
|
-
// node_modules/execa/lib/pipe/abort.js
|
|
12449
|
+
// ../../node_modules/execa/lib/pipe/abort.js
|
|
12687
12450
|
var import_node_util8 = require("node:util");
|
|
12688
12451
|
var unpipeOnAbort = (unpipeSignal, unpipeContext) => unpipeSignal === void 0 ? [] : [unpipeOnSignalAbort(unpipeSignal, unpipeContext)];
|
|
12689
12452
|
var unpipeOnSignalAbort = async (unpipeSignal, { sourceStream, mergedStream, fileDescriptors, sourceOptions, startTime }) => {
|
|
@@ -12698,7 +12461,7 @@ var unpipeOnSignalAbort = async (unpipeSignal, { sourceStream, mergedStream, fil
|
|
|
12698
12461
|
});
|
|
12699
12462
|
};
|
|
12700
12463
|
|
|
12701
|
-
// node_modules/execa/lib/pipe/setup.js
|
|
12464
|
+
// ../../node_modules/execa/lib/pipe/setup.js
|
|
12702
12465
|
var pipeToSubprocess = (sourceInfo, ...pipeArguments) => {
|
|
12703
12466
|
if (isPlainObject(pipeArguments[0])) {
|
|
12704
12467
|
return pipeToSubprocess.bind(void 0, {
|
|
@@ -12757,10 +12520,10 @@ var handlePipePromise = async ({
|
|
|
12757
12520
|
};
|
|
12758
12521
|
var getSubprocessPromises = (sourcePromise, destination) => Promise.allSettled([sourcePromise, destination]);
|
|
12759
12522
|
|
|
12760
|
-
// node_modules/execa/lib/io/contents.js
|
|
12523
|
+
// ../../node_modules/execa/lib/io/contents.js
|
|
12761
12524
|
var import_promises9 = require("node:timers/promises");
|
|
12762
12525
|
|
|
12763
|
-
// node_modules/execa/lib/io/iterate.js
|
|
12526
|
+
// ../../node_modules/execa/lib/io/iterate.js
|
|
12764
12527
|
var import_node_events12 = require("node:events");
|
|
12765
12528
|
var import_node_stream5 = require("node:stream");
|
|
12766
12529
|
var iterateOnSubprocessStream = ({ subprocessStdout, subprocess, binary, shouldEncode, encoding, preserveNewlines }) => {
|
|
@@ -12853,7 +12616,7 @@ var getGenerators = ({ binary, shouldEncode, encoding, shouldSplit, preserveNewl
|
|
|
12853
12616
|
getSplitLinesGenerator(binary, preserveNewlines, !shouldSplit, {})
|
|
12854
12617
|
].filter(Boolean);
|
|
12855
12618
|
|
|
12856
|
-
// node_modules/execa/lib/io/contents.js
|
|
12619
|
+
// ../../node_modules/execa/lib/io/contents.js
|
|
12857
12620
|
var getStreamOutput = async ({ stream, onStreamEnd, fdNumber, encoding, buffer, maxBuffer, lines, allMixed, stripFinalNewline: stripFinalNewline2, verboseInfo, streamInfo }) => {
|
|
12858
12621
|
const logPromise = logOutputAsync({
|
|
12859
12622
|
stream,
|
|
@@ -12944,7 +12707,7 @@ var getBufferedData = async (streamPromise) => {
|
|
|
12944
12707
|
};
|
|
12945
12708
|
var handleBufferedData = ({ bufferedData }) => isArrayBuffer(bufferedData) ? new Uint8Array(bufferedData) : bufferedData;
|
|
12946
12709
|
|
|
12947
|
-
// node_modules/execa/lib/resolve/wait-stream.js
|
|
12710
|
+
// ../../node_modules/execa/lib/resolve/wait-stream.js
|
|
12948
12711
|
var import_promises10 = require("node:stream/promises");
|
|
12949
12712
|
var waitForStream = async (stream, fdNumber, streamInfo, { isSameDirection, stopOnExit = false } = {}) => {
|
|
12950
12713
|
const state = handleStdinDestroy(stream, streamInfo);
|
|
@@ -12997,7 +12760,7 @@ var isInputFileDescriptor = ({ fileDescriptors }, fdNumber) => fdNumber !== "all
|
|
|
12997
12760
|
var isStreamAbort = (error) => error?.code === "ERR_STREAM_PREMATURE_CLOSE";
|
|
12998
12761
|
var isStreamEpipe = (error) => error?.code === "EPIPE";
|
|
12999
12762
|
|
|
13000
|
-
// node_modules/execa/lib/resolve/stdio.js
|
|
12763
|
+
// ../../node_modules/execa/lib/resolve/stdio.js
|
|
13001
12764
|
var waitForStdioStreams = ({ subprocess, encoding, buffer, maxBuffer, lines, stripFinalNewline: stripFinalNewline2, verboseInfo, streamInfo }) => subprocess.stdio.map((stream, fdNumber) => waitForSubprocessStream({
|
|
13002
12765
|
stream,
|
|
13003
12766
|
fdNumber,
|
|
@@ -13038,7 +12801,7 @@ var waitForSubprocessStream = async ({ stream, fdNumber, encoding, buffer, maxBu
|
|
|
13038
12801
|
return output;
|
|
13039
12802
|
};
|
|
13040
12803
|
|
|
13041
|
-
// node_modules/execa/lib/resolve/all-async.js
|
|
12804
|
+
// ../../node_modules/execa/lib/resolve/all-async.js
|
|
13042
12805
|
var makeAllStream = ({ stdout, stderr }, { all }) => all && (stdout || stderr) ? mergeStreams([stdout, stderr].filter(Boolean)) : void 0;
|
|
13043
12806
|
var waitForAllStream = ({ subprocess, encoding, buffer, maxBuffer, lines, stripFinalNewline: stripFinalNewline2, verboseInfo, streamInfo }) => waitForSubprocessStream({
|
|
13044
12807
|
...getAllStream(subprocess, buffer),
|
|
@@ -13066,10 +12829,10 @@ var getAllStream = ({ stdout, stderr, all }, [, bufferStdout, bufferStderr]) =>
|
|
|
13066
12829
|
};
|
|
13067
12830
|
var getAllMixed = ({ all, stdout, stderr }) => all && stdout && stderr && stdout.readableObjectMode !== stderr.readableObjectMode;
|
|
13068
12831
|
|
|
13069
|
-
// node_modules/execa/lib/resolve/wait-subprocess.js
|
|
12832
|
+
// ../../node_modules/execa/lib/resolve/wait-subprocess.js
|
|
13070
12833
|
var import_node_events13 = require("node:events");
|
|
13071
12834
|
|
|
13072
|
-
// node_modules/execa/lib/verbose/ipc.js
|
|
12835
|
+
// ../../node_modules/execa/lib/verbose/ipc.js
|
|
13073
12836
|
var shouldLogIpc = (verboseInfo) => isFullVerbose(verboseInfo, "ipc");
|
|
13074
12837
|
var logIpcOutput = (message, verboseInfo) => {
|
|
13075
12838
|
const verboseMessage = serializeVerboseMessage(message);
|
|
@@ -13081,7 +12844,7 @@ var logIpcOutput = (message, verboseInfo) => {
|
|
|
13081
12844
|
});
|
|
13082
12845
|
};
|
|
13083
12846
|
|
|
13084
|
-
// node_modules/execa/lib/ipc/buffer-messages.js
|
|
12847
|
+
// ../../node_modules/execa/lib/ipc/buffer-messages.js
|
|
13085
12848
|
var waitForIpcOutput = async ({
|
|
13086
12849
|
subprocess,
|
|
13087
12850
|
buffer: bufferArray,
|
|
@@ -13119,7 +12882,7 @@ var getBufferedIpcOutput = async (ipcOutputPromise, ipcOutput) => {
|
|
|
13119
12882
|
return ipcOutput;
|
|
13120
12883
|
};
|
|
13121
12884
|
|
|
13122
|
-
// node_modules/execa/lib/resolve/wait-subprocess.js
|
|
12885
|
+
// ../../node_modules/execa/lib/resolve/wait-subprocess.js
|
|
13123
12886
|
var waitForSubprocessResult = async ({
|
|
13124
12887
|
subprocess,
|
|
13125
12888
|
options: {
|
|
@@ -13235,7 +12998,7 @@ var throwOnSubprocessError = async (subprocess, { signal }) => {
|
|
|
13235
12998
|
throw error;
|
|
13236
12999
|
};
|
|
13237
13000
|
|
|
13238
|
-
// node_modules/execa/lib/convert/concurrent.js
|
|
13001
|
+
// ../../node_modules/execa/lib/convert/concurrent.js
|
|
13239
13002
|
var initializeConcurrentStreams = () => ({
|
|
13240
13003
|
readableDestroy: /* @__PURE__ */ new WeakMap(),
|
|
13241
13004
|
writableFinal: /* @__PURE__ */ new WeakMap(),
|
|
@@ -13261,11 +13024,11 @@ var waitForConcurrentStreams = async ({ resolve, promises }, subprocess) => {
|
|
|
13261
13024
|
return !isSubprocessExit;
|
|
13262
13025
|
};
|
|
13263
13026
|
|
|
13264
|
-
// node_modules/execa/lib/convert/readable.js
|
|
13027
|
+
// ../../node_modules/execa/lib/convert/readable.js
|
|
13265
13028
|
var import_node_stream6 = require("node:stream");
|
|
13266
13029
|
var import_node_util9 = require("node:util");
|
|
13267
13030
|
|
|
13268
|
-
// node_modules/execa/lib/convert/shared.js
|
|
13031
|
+
// ../../node_modules/execa/lib/convert/shared.js
|
|
13269
13032
|
var import_promises11 = require("node:stream/promises");
|
|
13270
13033
|
var safeWaitForSubprocessStdin = async (subprocessStdin) => {
|
|
13271
13034
|
if (subprocessStdin === void 0) {
|
|
@@ -13305,7 +13068,7 @@ var destroyOtherStream = (stream, isOpen, error) => {
|
|
|
13305
13068
|
}
|
|
13306
13069
|
};
|
|
13307
13070
|
|
|
13308
|
-
// node_modules/execa/lib/convert/readable.js
|
|
13071
|
+
// ../../node_modules/execa/lib/convert/readable.js
|
|
13309
13072
|
var createReadable = ({ subprocess, concurrentStreams, encoding }, { from, binary: binaryOption = true, preserveNewlines = true } = {}) => {
|
|
13310
13073
|
const binary = binaryOption || BINARY_ENCODINGS.has(encoding);
|
|
13311
13074
|
const { subprocessStdout, waitReadableDestroy } = getSubprocessStdout(subprocess, from, concurrentStreams);
|
|
@@ -13390,7 +13153,7 @@ var destroyOtherReadable = (stream, error) => {
|
|
|
13390
13153
|
destroyOtherStream(stream, stream.readable, error);
|
|
13391
13154
|
};
|
|
13392
13155
|
|
|
13393
|
-
// node_modules/execa/lib/convert/writable.js
|
|
13156
|
+
// ../../node_modules/execa/lib/convert/writable.js
|
|
13394
13157
|
var import_node_stream7 = require("node:stream");
|
|
13395
13158
|
var import_node_util10 = require("node:util");
|
|
13396
13159
|
var createWritable = ({ subprocess, concurrentStreams }, { to } = {}) => {
|
|
@@ -13456,7 +13219,7 @@ var destroyOtherWritable = (stream, error) => {
|
|
|
13456
13219
|
destroyOtherStream(stream, stream.writable, error);
|
|
13457
13220
|
};
|
|
13458
13221
|
|
|
13459
|
-
// node_modules/execa/lib/convert/duplex.js
|
|
13222
|
+
// ../../node_modules/execa/lib/convert/duplex.js
|
|
13460
13223
|
var import_node_stream8 = require("node:stream");
|
|
13461
13224
|
var import_node_util11 = require("node:util");
|
|
13462
13225
|
var createDuplex = ({ subprocess, concurrentStreams, encoding }, { from, to, binary: binaryOption = true, preserveNewlines = true } = {}) => {
|
|
@@ -13510,7 +13273,7 @@ var onDuplexDestroy = async ({ subprocessStdout, subprocessStdin, subprocess, wa
|
|
|
13510
13273
|
]);
|
|
13511
13274
|
};
|
|
13512
13275
|
|
|
13513
|
-
// node_modules/execa/lib/convert/iterable.js
|
|
13276
|
+
// ../../node_modules/execa/lib/convert/iterable.js
|
|
13514
13277
|
var createIterable = (subprocess, encoding, {
|
|
13515
13278
|
from,
|
|
13516
13279
|
binary: binaryOption = false,
|
|
@@ -13539,7 +13302,7 @@ var iterateOnStdoutData = async function* (onStdoutData, subprocessStdout, subpr
|
|
|
13539
13302
|
}
|
|
13540
13303
|
};
|
|
13541
13304
|
|
|
13542
|
-
// node_modules/execa/lib/convert/add.js
|
|
13305
|
+
// ../../node_modules/execa/lib/convert/add.js
|
|
13543
13306
|
var addConvertedStreams = (subprocess, { encoding }) => {
|
|
13544
13307
|
const concurrentStreams = initializeConcurrentStreams();
|
|
13545
13308
|
subprocess.readable = createReadable.bind(void 0, { subprocess, concurrentStreams, encoding });
|
|
@@ -13549,7 +13312,7 @@ var addConvertedStreams = (subprocess, { encoding }) => {
|
|
|
13549
13312
|
subprocess[Symbol.asyncIterator] = createIterable.bind(void 0, subprocess, encoding, {});
|
|
13550
13313
|
};
|
|
13551
13314
|
|
|
13552
|
-
// node_modules/execa/lib/methods/promise.js
|
|
13315
|
+
// ../../node_modules/execa/lib/methods/promise.js
|
|
13553
13316
|
var mergePromise = (subprocess, promise) => {
|
|
13554
13317
|
for (const [property, descriptor] of descriptors) {
|
|
13555
13318
|
const value = descriptor.value.bind(promise);
|
|
@@ -13563,7 +13326,7 @@ var descriptors = ["then", "catch", "finally"].map((property) => [
|
|
|
13563
13326
|
Reflect.getOwnPropertyDescriptor(nativePromisePrototype, property)
|
|
13564
13327
|
]);
|
|
13565
13328
|
|
|
13566
|
-
// node_modules/execa/lib/methods/main-async.js
|
|
13329
|
+
// ../../node_modules/execa/lib/methods/main-async.js
|
|
13567
13330
|
var execaCoreAsync = (rawFile, rawArguments, rawOptions, createNested) => {
|
|
13568
13331
|
const { file, commandArguments, command, escapedCommand, startTime, verboseInfo, options, fileDescriptors } = handleAsyncArguments(rawFile, rawArguments, rawOptions);
|
|
13569
13332
|
const { subprocess, promise } = spawnSubprocessAsync({
|
|
@@ -13718,7 +13481,7 @@ var getAsyncResult = ({ errorInfo, exitCode, signal, stdio, all, ipcOutput, cont
|
|
|
13718
13481
|
startTime
|
|
13719
13482
|
});
|
|
13720
13483
|
|
|
13721
|
-
// node_modules/execa/lib/methods/bind.js
|
|
13484
|
+
// ../../node_modules/execa/lib/methods/bind.js
|
|
13722
13485
|
var mergeOptions = (boundOptions, options) => {
|
|
13723
13486
|
const newOptions = Object.fromEntries(
|
|
13724
13487
|
Object.entries(options).map(([optionName, optionValue]) => [
|
|
@@ -13736,7 +13499,7 @@ var mergeOption = (optionName, boundOptionValue, optionValue) => {
|
|
|
13736
13499
|
};
|
|
13737
13500
|
var DEEP_OPTIONS = /* @__PURE__ */ new Set(["env", ...FD_SPECIFIC_OPTIONS]);
|
|
13738
13501
|
|
|
13739
|
-
// node_modules/execa/lib/methods/create.js
|
|
13502
|
+
// ../../node_modules/execa/lib/methods/create.js
|
|
13740
13503
|
var createExeca = (mapArguments, boundOptions, deepOptions, setBoundExeca) => {
|
|
13741
13504
|
const createNested = (mapArguments2, boundOptions2, setBoundExeca2) => createExeca(mapArguments2, boundOptions2, deepOptions, setBoundExeca2);
|
|
13742
13505
|
const boundExeca = (...execaArguments) => callBoundExeca({
|
|
@@ -13782,7 +13545,7 @@ var parseArguments = ({ mapArguments, firstArgument, nextArguments, deepOptions,
|
|
|
13782
13545
|
};
|
|
13783
13546
|
};
|
|
13784
13547
|
|
|
13785
|
-
// node_modules/execa/lib/methods/command.js
|
|
13548
|
+
// ../../node_modules/execa/lib/methods/command.js
|
|
13786
13549
|
var mapCommandAsync = ({ file, commandArguments }) => parseCommand(file, commandArguments);
|
|
13787
13550
|
var mapCommandSync = ({ file, commandArguments }) => ({ ...parseCommand(file, commandArguments), isSync: true });
|
|
13788
13551
|
var parseCommand = (command, unusedArguments) => {
|
|
@@ -13813,7 +13576,7 @@ var parseCommandString = (command) => {
|
|
|
13813
13576
|
};
|
|
13814
13577
|
var SPACES_REGEXP = / +/g;
|
|
13815
13578
|
|
|
13816
|
-
// node_modules/execa/lib/methods/script.js
|
|
13579
|
+
// ../../node_modules/execa/lib/methods/script.js
|
|
13817
13580
|
var setScriptSync = (boundExeca, createNested, boundOptions) => {
|
|
13818
13581
|
boundExeca.sync = createNested(mapScriptSync, boundOptions);
|
|
13819
13582
|
boundExeca.s = boundExeca.sync;
|
|
@@ -13824,7 +13587,7 @@ var getScriptOptions = (options) => ({ options: { ...getScriptStdinOption(option
|
|
|
13824
13587
|
var getScriptStdinOption = ({ input, inputFile, stdio }) => input === void 0 && inputFile === void 0 && stdio === void 0 ? { stdin: "inherit" } : {};
|
|
13825
13588
|
var deepScriptOptions = { preferLocal: true };
|
|
13826
13589
|
|
|
13827
|
-
// node_modules/execa/index.js
|
|
13590
|
+
// ../../node_modules/execa/index.js
|
|
13828
13591
|
var execa = createExeca(() => ({}));
|
|
13829
13592
|
var execaSync = createExeca(() => ({ isSync: true }));
|
|
13830
13593
|
var execaCommand = createExeca(mapCommandAsync);
|