@skuba-lib/api 2.0.1 → 2.0.2
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/buildkite/package.json +1 -1
- package/git/package.json +1 -1
- package/github/package.json +1 -1
- package/lib/buildkite/index.cjs +19 -4
- package/lib/buildkite/index.d.cts +8 -2
- package/lib/buildkite/index.d.mts +8 -2
- package/lib/buildkite/index.mjs +11 -3
- package/lib/{chunk-CwYMPI_t.mjs → chunk-DoQ1iNfF.mjs} +3 -3
- package/lib/{error-DwxMLko3.cjs → error-BEFwIvK2.cjs} +10 -10
- package/lib/{error-DnkB3E6d.mjs → error-DIBTmfX2.mjs} +7 -7
- package/lib/{exec-5nrAPCdO.mjs → exec-Bcan8fLb.mjs} +268 -268
- package/lib/{exec-BYbHipiC.cjs → exec-CVlcoV9u.cjs} +261 -261
- package/lib/git/index.cjs +38 -13
- package/lib/git/index.d.cts +8 -2
- package/lib/git/index.d.mts +8 -2
- package/lib/git/index.mjs +20 -2
- package/lib/github/index.cjs +33 -11
- package/lib/github/index.d.cts +8 -2
- package/lib/github/index.d.mts +8 -2
- package/lib/github/index.mjs +18 -3
- package/lib/index.cjs +13 -9
- package/lib/index.d.cts +4 -4
- package/lib/index.d.mts +5 -4
- package/lib/index.mjs +8 -5
- package/lib/{git-B2_B1F3q.cjs → isFileGitIgnored-86LsBKuU.cjs} +3 -26
- package/lib/{index-Dl0KmK1O.d.cts → isFileGitIgnored-CwPJ0v2p.d.mts} +1 -4
- package/lib/{git-QhXK6ooP.mjs → isFileGitIgnored-Dv4xauFf.mjs} +2 -20
- package/lib/{index-BqiB0-6w.d.mts → isFileGitIgnored-E4x_jWjl.d.cts} +1 -4
- package/lib/{index-BOr919w6.d.cts → md-BWCfQS9I.d.cts} +1 -4
- package/lib/{index-CW8ZTeZU.d.mts → md-BZewxkUW.d.mts} +1 -4
- package/lib/{buildkite-DQj9dGPb.mjs → md-CvXERddQ.mjs} +3 -11
- package/lib/{buildkite-Oza5ZHmO.cjs → md-fbyvRhpo.cjs} +2 -15
- package/lib/net/index.cjs +15 -3
- package/lib/net/index.d.cts +8 -2
- package/lib/net/index.d.mts +8 -2
- package/lib/net/index.mjs +8 -3
- package/lib/{index-4aCFuPgQ.d.mts → push-BTAssEjq.d.cts} +3 -6
- package/lib/{index-DfhDLrNc.d.cts → push-Bv-gtPfj.d.mts} +3 -6
- package/lib/{github-Ckgo3Sm-.cjs → push-DV2iCZE-.cjs} +14 -34
- package/lib/{github-Cm4qHDkg.mjs → push-hzuiuMpZ.mjs} +3 -18
- package/lib/{net-BELapTCw.mjs → waitFor-D1MlNL9G.mjs} +2 -7
- package/lib/{index-B8rqBqBj.d.cts → waitFor-DGgQAaUj.d.mts} +1 -4
- package/lib/{index-CZi-UcD_.d.mts → waitFor-LnjEb972.d.cts} +1 -4
- package/lib/{net-CQMRE2g5.cjs → waitFor-PklD-Jqp.cjs} +2 -12
- package/net/package.json +1 -1
- package/package.json +12 -12
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_error$1 = require('./error-
|
|
1
|
+
const require_error$1 = require('./error-BEFwIvK2.cjs');
|
|
2
2
|
let stream = require("stream");
|
|
3
3
|
stream = require_error$1.__toESM(stream);
|
|
4
4
|
let util = require("util");
|
|
@@ -377,10 +377,10 @@ var require_errorContext = /* @__PURE__ */ require_error$1.__commonJSMin(((expor
|
|
|
377
377
|
var require_Subscriber = /* @__PURE__ */ require_error$1.__commonJSMin(((exports) => {
|
|
378
378
|
var __extends = exports && exports.__extends || (function() {
|
|
379
379
|
var extendStatics = function(d, b) {
|
|
380
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d
|
|
381
|
-
d
|
|
382
|
-
} || function(d
|
|
383
|
-
for (var p in b
|
|
380
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
381
|
+
d.__proto__ = b;
|
|
382
|
+
} || function(d, b) {
|
|
383
|
+
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
384
384
|
};
|
|
385
385
|
return extendStatics(d, b);
|
|
386
386
|
};
|
|
@@ -724,10 +724,10 @@ var require_lift = /* @__PURE__ */ require_error$1.__commonJSMin(((exports) => {
|
|
|
724
724
|
var require_OperatorSubscriber = /* @__PURE__ */ require_error$1.__commonJSMin(((exports) => {
|
|
725
725
|
var __extends = exports && exports.__extends || (function() {
|
|
726
726
|
var extendStatics = function(d, b) {
|
|
727
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d
|
|
728
|
-
d
|
|
729
|
-
} || function(d
|
|
730
|
-
for (var p in b
|
|
727
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
728
|
+
d.__proto__ = b;
|
|
729
|
+
} || function(d, b) {
|
|
730
|
+
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
731
731
|
};
|
|
732
732
|
return extendStatics(d, b);
|
|
733
733
|
};
|
|
@@ -763,8 +763,8 @@ var require_OperatorSubscriber = /* @__PURE__ */ require_error$1.__commonJSMin((
|
|
|
763
763
|
_this._error = onError ? function(err) {
|
|
764
764
|
try {
|
|
765
765
|
onError(err);
|
|
766
|
-
} catch (err
|
|
767
|
-
destination.error(err
|
|
766
|
+
} catch (err) {
|
|
767
|
+
destination.error(err);
|
|
768
768
|
} finally {
|
|
769
769
|
this.unsubscribe();
|
|
770
770
|
}
|
|
@@ -827,10 +827,10 @@ var require_refCount = /* @__PURE__ */ require_error$1.__commonJSMin(((exports)
|
|
|
827
827
|
var require_ConnectableObservable = /* @__PURE__ */ require_error$1.__commonJSMin(((exports) => {
|
|
828
828
|
var __extends = exports && exports.__extends || (function() {
|
|
829
829
|
var extendStatics = function(d, b) {
|
|
830
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d
|
|
831
|
-
d
|
|
832
|
-
} || function(d
|
|
833
|
-
for (var p in b
|
|
830
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
831
|
+
d.__proto__ = b;
|
|
832
|
+
} || function(d, b) {
|
|
833
|
+
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
834
834
|
};
|
|
835
835
|
return extendStatics(d, b);
|
|
836
836
|
};
|
|
@@ -1036,10 +1036,10 @@ var require_ObjectUnsubscribedError = /* @__PURE__ */ require_error$1.__commonJS
|
|
|
1036
1036
|
var require_Subject = /* @__PURE__ */ require_error$1.__commonJSMin(((exports) => {
|
|
1037
1037
|
var __extends = exports && exports.__extends || (function() {
|
|
1038
1038
|
var extendStatics = function(d, b) {
|
|
1039
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d
|
|
1040
|
-
d
|
|
1041
|
-
} || function(d
|
|
1042
|
-
for (var p in b
|
|
1039
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
1040
|
+
d.__proto__ = b;
|
|
1041
|
+
} || function(d, b) {
|
|
1042
|
+
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
1043
1043
|
};
|
|
1044
1044
|
return extendStatics(d, b);
|
|
1045
1045
|
};
|
|
@@ -1217,10 +1217,10 @@ var require_Subject = /* @__PURE__ */ require_error$1.__commonJSMin(((exports) =
|
|
|
1217
1217
|
var require_BehaviorSubject = /* @__PURE__ */ require_error$1.__commonJSMin(((exports) => {
|
|
1218
1218
|
var __extends = exports && exports.__extends || (function() {
|
|
1219
1219
|
var extendStatics = function(d, b) {
|
|
1220
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d
|
|
1221
|
-
d
|
|
1222
|
-
} || function(d
|
|
1223
|
-
for (var p in b
|
|
1220
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
1221
|
+
d.__proto__ = b;
|
|
1222
|
+
} || function(d, b) {
|
|
1223
|
+
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
1224
1224
|
};
|
|
1225
1225
|
return extendStatics(d, b);
|
|
1226
1226
|
};
|
|
@@ -1286,10 +1286,10 @@ var require_dateTimestampProvider = /* @__PURE__ */ require_error$1.__commonJSMi
|
|
|
1286
1286
|
var require_ReplaySubject = /* @__PURE__ */ require_error$1.__commonJSMin(((exports) => {
|
|
1287
1287
|
var __extends = exports && exports.__extends || (function() {
|
|
1288
1288
|
var extendStatics = function(d, b) {
|
|
1289
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d
|
|
1290
|
-
d
|
|
1291
|
-
} || function(d
|
|
1292
|
-
for (var p in b
|
|
1289
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
1290
|
+
d.__proto__ = b;
|
|
1291
|
+
} || function(d, b) {
|
|
1292
|
+
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
1293
1293
|
};
|
|
1294
1294
|
return extendStatics(d, b);
|
|
1295
1295
|
};
|
|
@@ -1363,10 +1363,10 @@ var require_ReplaySubject = /* @__PURE__ */ require_error$1.__commonJSMin(((expo
|
|
|
1363
1363
|
var require_AsyncSubject = /* @__PURE__ */ require_error$1.__commonJSMin(((exports) => {
|
|
1364
1364
|
var __extends = exports && exports.__extends || (function() {
|
|
1365
1365
|
var extendStatics = function(d, b) {
|
|
1366
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d
|
|
1367
|
-
d
|
|
1368
|
-
} || function(d
|
|
1369
|
-
for (var p in b
|
|
1366
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
1367
|
+
d.__proto__ = b;
|
|
1368
|
+
} || function(d, b) {
|
|
1369
|
+
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
1370
1370
|
};
|
|
1371
1371
|
return extendStatics(d, b);
|
|
1372
1372
|
};
|
|
@@ -1422,10 +1422,10 @@ var require_AsyncSubject = /* @__PURE__ */ require_error$1.__commonJSMin(((expor
|
|
|
1422
1422
|
var require_Action = /* @__PURE__ */ require_error$1.__commonJSMin(((exports) => {
|
|
1423
1423
|
var __extends = exports && exports.__extends || (function() {
|
|
1424
1424
|
var extendStatics = function(d, b) {
|
|
1425
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d
|
|
1426
|
-
d
|
|
1427
|
-
} || function(d
|
|
1428
|
-
for (var p in b
|
|
1425
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
1426
|
+
d.__proto__ = b;
|
|
1427
|
+
} || function(d, b) {
|
|
1428
|
+
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
1429
1429
|
};
|
|
1430
1430
|
return extendStatics(d, b);
|
|
1431
1431
|
};
|
|
@@ -1501,10 +1501,10 @@ var require_intervalProvider = /* @__PURE__ */ require_error$1.__commonJSMin(((e
|
|
|
1501
1501
|
var require_AsyncAction = /* @__PURE__ */ require_error$1.__commonJSMin(((exports) => {
|
|
1502
1502
|
var __extends = exports && exports.__extends || (function() {
|
|
1503
1503
|
var extendStatics = function(d, b) {
|
|
1504
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d
|
|
1505
|
-
d
|
|
1506
|
-
} || function(d
|
|
1507
|
-
for (var p in b
|
|
1504
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
1505
|
+
d.__proto__ = b;
|
|
1506
|
+
} || function(d, b) {
|
|
1507
|
+
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
1508
1508
|
};
|
|
1509
1509
|
return extendStatics(d, b);
|
|
1510
1510
|
};
|
|
@@ -1673,10 +1673,10 @@ var require_immediateProvider = /* @__PURE__ */ require_error$1.__commonJSMin(((
|
|
|
1673
1673
|
var require_AsapAction = /* @__PURE__ */ require_error$1.__commonJSMin(((exports) => {
|
|
1674
1674
|
var __extends = exports && exports.__extends || (function() {
|
|
1675
1675
|
var extendStatics = function(d, b) {
|
|
1676
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d
|
|
1677
|
-
d
|
|
1678
|
-
} || function(d
|
|
1679
|
-
for (var p in b
|
|
1676
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
1677
|
+
d.__proto__ = b;
|
|
1678
|
+
} || function(d, b) {
|
|
1679
|
+
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
1680
1680
|
};
|
|
1681
1681
|
return extendStatics(d, b);
|
|
1682
1682
|
};
|
|
@@ -1749,10 +1749,10 @@ var require_Scheduler = /* @__PURE__ */ require_error$1.__commonJSMin(((exports)
|
|
|
1749
1749
|
var require_AsyncScheduler = /* @__PURE__ */ require_error$1.__commonJSMin(((exports) => {
|
|
1750
1750
|
var __extends = exports && exports.__extends || (function() {
|
|
1751
1751
|
var extendStatics = function(d, b) {
|
|
1752
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d
|
|
1753
|
-
d
|
|
1754
|
-
} || function(d
|
|
1755
|
-
for (var p in b
|
|
1752
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
1753
|
+
d.__proto__ = b;
|
|
1754
|
+
} || function(d, b) {
|
|
1755
|
+
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
1756
1756
|
};
|
|
1757
1757
|
return extendStatics(d, b);
|
|
1758
1758
|
};
|
|
@@ -1804,10 +1804,10 @@ var require_AsyncScheduler = /* @__PURE__ */ require_error$1.__commonJSMin(((exp
|
|
|
1804
1804
|
var require_AsapScheduler = /* @__PURE__ */ require_error$1.__commonJSMin(((exports) => {
|
|
1805
1805
|
var __extends = exports && exports.__extends || (function() {
|
|
1806
1806
|
var extendStatics = function(d, b) {
|
|
1807
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d
|
|
1808
|
-
d
|
|
1809
|
-
} || function(d
|
|
1810
|
-
for (var p in b
|
|
1807
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
1808
|
+
d.__proto__ = b;
|
|
1809
|
+
} || function(d, b) {
|
|
1810
|
+
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
1811
1811
|
};
|
|
1812
1812
|
return extendStatics(d, b);
|
|
1813
1813
|
};
|
|
@@ -1875,10 +1875,10 @@ var require_async = /* @__PURE__ */ require_error$1.__commonJSMin(((exports) =>
|
|
|
1875
1875
|
var require_QueueAction = /* @__PURE__ */ require_error$1.__commonJSMin(((exports) => {
|
|
1876
1876
|
var __extends = exports && exports.__extends || (function() {
|
|
1877
1877
|
var extendStatics = function(d, b) {
|
|
1878
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d
|
|
1879
|
-
d
|
|
1880
|
-
} || function(d
|
|
1881
|
-
for (var p in b
|
|
1878
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
1879
|
+
d.__proto__ = b;
|
|
1880
|
+
} || function(d, b) {
|
|
1881
|
+
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
1882
1882
|
};
|
|
1883
1883
|
return extendStatics(d, b);
|
|
1884
1884
|
};
|
|
@@ -1928,10 +1928,10 @@ var require_QueueAction = /* @__PURE__ */ require_error$1.__commonJSMin(((export
|
|
|
1928
1928
|
var require_QueueScheduler = /* @__PURE__ */ require_error$1.__commonJSMin(((exports) => {
|
|
1929
1929
|
var __extends = exports && exports.__extends || (function() {
|
|
1930
1930
|
var extendStatics = function(d, b) {
|
|
1931
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d
|
|
1932
|
-
d
|
|
1933
|
-
} || function(d
|
|
1934
|
-
for (var p in b
|
|
1931
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
1932
|
+
d.__proto__ = b;
|
|
1933
|
+
} || function(d, b) {
|
|
1934
|
+
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
1935
1935
|
};
|
|
1936
1936
|
return extendStatics(d, b);
|
|
1937
1937
|
};
|
|
@@ -1972,10 +1972,10 @@ var require_queue = /* @__PURE__ */ require_error$1.__commonJSMin(((exports) =>
|
|
|
1972
1972
|
var require_AnimationFrameAction = /* @__PURE__ */ require_error$1.__commonJSMin(((exports) => {
|
|
1973
1973
|
var __extends = exports && exports.__extends || (function() {
|
|
1974
1974
|
var extendStatics = function(d, b) {
|
|
1975
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d
|
|
1976
|
-
d
|
|
1977
|
-
} || function(d
|
|
1978
|
-
for (var p in b
|
|
1975
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
1976
|
+
d.__proto__ = b;
|
|
1977
|
+
} || function(d, b) {
|
|
1978
|
+
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
1979
1979
|
};
|
|
1980
1980
|
return extendStatics(d, b);
|
|
1981
1981
|
};
|
|
@@ -2028,10 +2028,10 @@ var require_AnimationFrameAction = /* @__PURE__ */ require_error$1.__commonJSMin
|
|
|
2028
2028
|
var require_AnimationFrameScheduler = /* @__PURE__ */ require_error$1.__commonJSMin(((exports) => {
|
|
2029
2029
|
var __extends = exports && exports.__extends || (function() {
|
|
2030
2030
|
var extendStatics = function(d, b) {
|
|
2031
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d
|
|
2032
|
-
d
|
|
2033
|
-
} || function(d
|
|
2034
|
-
for (var p in b
|
|
2031
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
2032
|
+
d.__proto__ = b;
|
|
2033
|
+
} || function(d, b) {
|
|
2034
|
+
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
2035
2035
|
};
|
|
2036
2036
|
return extendStatics(d, b);
|
|
2037
2037
|
};
|
|
@@ -2092,10 +2092,10 @@ var require_animationFrame = /* @__PURE__ */ require_error$1.__commonJSMin(((exp
|
|
|
2092
2092
|
var require_VirtualTimeScheduler = /* @__PURE__ */ require_error$1.__commonJSMin(((exports) => {
|
|
2093
2093
|
var __extends = exports && exports.__extends || (function() {
|
|
2094
2094
|
var extendStatics = function(d, b) {
|
|
2095
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d
|
|
2096
|
-
d
|
|
2097
|
-
} || function(d
|
|
2098
|
-
for (var p in b
|
|
2095
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
2096
|
+
d.__proto__ = b;
|
|
2097
|
+
} || function(d, b) {
|
|
2098
|
+
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
2099
2099
|
};
|
|
2100
2100
|
return extendStatics(d, b);
|
|
2101
2101
|
};
|
|
@@ -2635,9 +2635,9 @@ var require_innerFrom = /* @__PURE__ */ require_error$1.__commonJSMin(((exports)
|
|
|
2635
2635
|
};
|
|
2636
2636
|
}
|
|
2637
2637
|
function settle(resolve, reject, d, v) {
|
|
2638
|
-
Promise.resolve(v).then(function(v
|
|
2638
|
+
Promise.resolve(v).then(function(v) {
|
|
2639
2639
|
resolve({
|
|
2640
|
-
value: v
|
|
2640
|
+
value: v,
|
|
2641
2641
|
done: d
|
|
2642
2642
|
});
|
|
2643
2643
|
}, reject);
|
|
@@ -3444,7 +3444,7 @@ var require_bindCallbackInternals = /* @__PURE__ */ require_error$1.__commonJSMi
|
|
|
3444
3444
|
var isComplete_1 = false;
|
|
3445
3445
|
callbackFunc.apply(_this, __spreadArray(__spreadArray([], __read(args)), [function() {
|
|
3446
3446
|
var results = [];
|
|
3447
|
-
for (var _i
|
|
3447
|
+
for (var _i = 0; _i < arguments.length; _i++) results[_i] = arguments[_i];
|
|
3448
3448
|
if (isNodeStyle) {
|
|
3449
3449
|
var err = results.shift();
|
|
3450
3450
|
if (err != null) {
|
|
@@ -3573,12 +3573,12 @@ var require_combineLatest$1 = /* @__PURE__ */ require_error$1.__commonJSMin(((ex
|
|
|
3573
3573
|
var values = new Array(length);
|
|
3574
3574
|
var active = length;
|
|
3575
3575
|
var remainingFirstValues = length;
|
|
3576
|
-
var _loop_1 = function(i
|
|
3576
|
+
var _loop_1 = function(i) {
|
|
3577
3577
|
maybeSchedule(scheduler, function() {
|
|
3578
|
-
var source = from_1.from(observables[i
|
|
3578
|
+
var source = from_1.from(observables[i], scheduler);
|
|
3579
3579
|
var hasFirstValue = false;
|
|
3580
3580
|
source.subscribe(OperatorSubscriber_1.createOperatorSubscriber(subscriber, function(value) {
|
|
3581
|
-
values[i
|
|
3581
|
+
values[i] = value;
|
|
3582
3582
|
if (!hasFirstValue) {
|
|
3583
3583
|
hasFirstValue = true;
|
|
3584
3584
|
remainingFirstValues--;
|
|
@@ -3803,14 +3803,14 @@ var require_forkJoin = /* @__PURE__ */ require_error$1.__commonJSMin(((exports)
|
|
|
3803
3803
|
var values = new Array(length);
|
|
3804
3804
|
var remainingCompletions = length;
|
|
3805
3805
|
var remainingEmissions = length;
|
|
3806
|
-
var _loop_1 = function(sourceIndex
|
|
3806
|
+
var _loop_1 = function(sourceIndex) {
|
|
3807
3807
|
var hasValue = false;
|
|
3808
|
-
innerFrom_1.innerFrom(sources[sourceIndex
|
|
3808
|
+
innerFrom_1.innerFrom(sources[sourceIndex]).subscribe(OperatorSubscriber_1.createOperatorSubscriber(subscriber, function(value) {
|
|
3809
3809
|
if (!hasValue) {
|
|
3810
3810
|
hasValue = true;
|
|
3811
3811
|
remainingEmissions--;
|
|
3812
3812
|
}
|
|
3813
|
-
values[sourceIndex
|
|
3813
|
+
values[sourceIndex] = value;
|
|
3814
3814
|
}, function() {
|
|
3815
3815
|
return remainingCompletions--;
|
|
3816
3816
|
}, void 0, function() {
|
|
@@ -4038,17 +4038,17 @@ var require_generate = /* @__PURE__ */ require_error$1.__commonJSMin(((exports)
|
|
|
4038
4038
|
}
|
|
4039
4039
|
function gen() {
|
|
4040
4040
|
var state;
|
|
4041
|
-
return __generator(this, function(_a
|
|
4042
|
-
switch (_a
|
|
4041
|
+
return __generator(this, function(_a) {
|
|
4042
|
+
switch (_a.label) {
|
|
4043
4043
|
case 0:
|
|
4044
4044
|
state = initialState;
|
|
4045
|
-
_a
|
|
4045
|
+
_a.label = 1;
|
|
4046
4046
|
case 1:
|
|
4047
4047
|
if (!(!condition || condition(state))) return [3, 4];
|
|
4048
4048
|
return [4, resultSelector(state)];
|
|
4049
4049
|
case 2:
|
|
4050
|
-
_a
|
|
4051
|
-
_a
|
|
4050
|
+
_a.sent();
|
|
4051
|
+
_a.label = 3;
|
|
4052
4052
|
case 3:
|
|
4053
4053
|
state = iterate(state);
|
|
4054
4054
|
return [3, 1];
|
|
@@ -4283,10 +4283,10 @@ var require_race$1 = /* @__PURE__ */ require_error$1.__commonJSMin(((exports) =>
|
|
|
4283
4283
|
function raceInit(sources) {
|
|
4284
4284
|
return function(subscriber) {
|
|
4285
4285
|
var subscriptions = [];
|
|
4286
|
-
var _loop_1 = function(i
|
|
4287
|
-
subscriptions.push(innerFrom_1.innerFrom(sources[i
|
|
4286
|
+
var _loop_1 = function(i) {
|
|
4287
|
+
subscriptions.push(innerFrom_1.innerFrom(sources[i]).subscribe(OperatorSubscriber_1.createOperatorSubscriber(subscriber, function(value) {
|
|
4288
4288
|
if (subscriptions) {
|
|
4289
|
-
for (var s = 0; s < subscriptions.length; s++) s !== i
|
|
4289
|
+
for (var s = 0; s < subscriptions.length; s++) s !== i && subscriptions[s].unsubscribe();
|
|
4290
4290
|
subscriptions = null;
|
|
4291
4291
|
}
|
|
4292
4292
|
subscriber.next(value);
|
|
@@ -4397,9 +4397,9 @@ var require_zip$1 = /* @__PURE__ */ require_error$1.__commonJSMin(((exports) =>
|
|
|
4397
4397
|
subscriber.add(function() {
|
|
4398
4398
|
buffers = completed = null;
|
|
4399
4399
|
});
|
|
4400
|
-
var _loop_1 = function(sourceIndex
|
|
4401
|
-
innerFrom_1.innerFrom(sources[sourceIndex
|
|
4402
|
-
buffers[sourceIndex
|
|
4400
|
+
var _loop_1 = function(sourceIndex) {
|
|
4401
|
+
innerFrom_1.innerFrom(sources[sourceIndex]).subscribe(OperatorSubscriber_1.createOperatorSubscriber(subscriber, function(value) {
|
|
4402
|
+
buffers[sourceIndex].push(value);
|
|
4403
4403
|
if (buffers.every(function(buffer) {
|
|
4404
4404
|
return buffer.length;
|
|
4405
4405
|
})) {
|
|
@@ -4412,8 +4412,8 @@ var require_zip$1 = /* @__PURE__ */ require_error$1.__commonJSMin(((exports) =>
|
|
|
4412
4412
|
})) subscriber.complete();
|
|
4413
4413
|
}
|
|
4414
4414
|
}, function() {
|
|
4415
|
-
completed[sourceIndex
|
|
4416
|
-
!buffers[sourceIndex
|
|
4415
|
+
completed[sourceIndex] = true;
|
|
4416
|
+
!buffers[sourceIndex].length && subscriber.complete();
|
|
4417
4417
|
}));
|
|
4418
4418
|
};
|
|
4419
4419
|
for (var sourceIndex = 0; !subscriber.closed && sourceIndex < sources.length; sourceIndex++) _loop_1(sourceIndex);
|
|
@@ -4643,7 +4643,7 @@ var require_bufferTime = /* @__PURE__ */ require_error$1.__commonJSMin(((exports
|
|
|
4643
4643
|
return lift_1.operate(function(source, subscriber) {
|
|
4644
4644
|
var bufferRecords = [];
|
|
4645
4645
|
var restartOnEmit = false;
|
|
4646
|
-
var emit
|
|
4646
|
+
var emit = function(record) {
|
|
4647
4647
|
var buffer = record.buffer;
|
|
4648
4648
|
record.subs.unsubscribe();
|
|
4649
4649
|
arrRemove_1.arrRemove(bufferRecords, record);
|
|
@@ -4660,7 +4660,7 @@ var require_bufferTime = /* @__PURE__ */ require_error$1.__commonJSMin(((exports
|
|
|
4660
4660
|
};
|
|
4661
4661
|
bufferRecords.push(record_1);
|
|
4662
4662
|
executeSchedule_1.executeSchedule(subs, scheduler, function() {
|
|
4663
|
-
return emit
|
|
4663
|
+
return emit(record_1);
|
|
4664
4664
|
}, bufferTimeSpan);
|
|
4665
4665
|
}
|
|
4666
4666
|
};
|
|
@@ -4668,20 +4668,20 @@ var require_bufferTime = /* @__PURE__ */ require_error$1.__commonJSMin(((exports
|
|
|
4668
4668
|
else restartOnEmit = true;
|
|
4669
4669
|
startBuffer();
|
|
4670
4670
|
var bufferTimeSubscriber = OperatorSubscriber_1.createOperatorSubscriber(subscriber, function(value) {
|
|
4671
|
-
var e_1, _a
|
|
4671
|
+
var e_1, _a;
|
|
4672
4672
|
var recordsCopy = bufferRecords.slice();
|
|
4673
4673
|
try {
|
|
4674
4674
|
for (var recordsCopy_1 = __values(recordsCopy), recordsCopy_1_1 = recordsCopy_1.next(); !recordsCopy_1_1.done; recordsCopy_1_1 = recordsCopy_1.next()) {
|
|
4675
4675
|
var record = recordsCopy_1_1.value;
|
|
4676
4676
|
var buffer = record.buffer;
|
|
4677
4677
|
buffer.push(value);
|
|
4678
|
-
maxBufferSize <= buffer.length && emit
|
|
4678
|
+
maxBufferSize <= buffer.length && emit(record);
|
|
4679
4679
|
}
|
|
4680
4680
|
} catch (e_1_1) {
|
|
4681
4681
|
e_1 = { error: e_1_1 };
|
|
4682
4682
|
} finally {
|
|
4683
4683
|
try {
|
|
4684
|
-
if (recordsCopy_1_1 && !recordsCopy_1_1.done && (_a
|
|
4684
|
+
if (recordsCopy_1_1 && !recordsCopy_1_1.done && (_a = recordsCopy_1.return)) _a.call(recordsCopy_1);
|
|
4685
4685
|
} finally {
|
|
4686
4686
|
if (e_1) throw e_1.error;
|
|
4687
4687
|
}
|
|
@@ -5169,7 +5169,7 @@ var require_debounce = /* @__PURE__ */ require_error$1.__commonJSMin(((exports)
|
|
|
5169
5169
|
var hasValue = false;
|
|
5170
5170
|
var lastValue = null;
|
|
5171
5171
|
var durationSubscriber = null;
|
|
5172
|
-
var emit
|
|
5172
|
+
var emit = function() {
|
|
5173
5173
|
durationSubscriber === null || durationSubscriber === void 0 || durationSubscriber.unsubscribe();
|
|
5174
5174
|
durationSubscriber = null;
|
|
5175
5175
|
if (hasValue) {
|
|
@@ -5183,10 +5183,10 @@ var require_debounce = /* @__PURE__ */ require_error$1.__commonJSMin(((exports)
|
|
|
5183
5183
|
durationSubscriber === null || durationSubscriber === void 0 || durationSubscriber.unsubscribe();
|
|
5184
5184
|
hasValue = true;
|
|
5185
5185
|
lastValue = value;
|
|
5186
|
-
durationSubscriber = OperatorSubscriber_1.createOperatorSubscriber(subscriber, emit
|
|
5186
|
+
durationSubscriber = OperatorSubscriber_1.createOperatorSubscriber(subscriber, emit, noop_1.noop);
|
|
5187
5187
|
innerFrom_1.innerFrom(durationSelector(value)).subscribe(durationSubscriber);
|
|
5188
5188
|
}, function() {
|
|
5189
|
-
emit
|
|
5189
|
+
emit();
|
|
5190
5190
|
subscriber.complete();
|
|
5191
5191
|
}, void 0, function() {
|
|
5192
5192
|
lastValue = durationSubscriber = null;
|
|
@@ -5210,7 +5210,7 @@ var require_debounceTime = /* @__PURE__ */ require_error$1.__commonJSMin(((expor
|
|
|
5210
5210
|
var activeTask = null;
|
|
5211
5211
|
var lastValue = null;
|
|
5212
5212
|
var lastTime = null;
|
|
5213
|
-
var emit
|
|
5213
|
+
var emit = function() {
|
|
5214
5214
|
if (activeTask) {
|
|
5215
5215
|
activeTask.unsubscribe();
|
|
5216
5216
|
activeTask = null;
|
|
@@ -5227,7 +5227,7 @@ var require_debounceTime = /* @__PURE__ */ require_error$1.__commonJSMin(((expor
|
|
|
5227
5227
|
subscriber.add(activeTask);
|
|
5228
5228
|
return;
|
|
5229
5229
|
}
|
|
5230
|
-
emit
|
|
5230
|
+
emit();
|
|
5231
5231
|
}
|
|
5232
5232
|
source.subscribe(OperatorSubscriber_1.createOperatorSubscriber(subscriber, function(value) {
|
|
5233
5233
|
lastValue = value;
|
|
@@ -5237,7 +5237,7 @@ var require_debounceTime = /* @__PURE__ */ require_error$1.__commonJSMin(((expor
|
|
|
5237
5237
|
subscriber.add(activeTask);
|
|
5238
5238
|
}
|
|
5239
5239
|
}, function() {
|
|
5240
|
-
emit
|
|
5240
|
+
emit();
|
|
5241
5241
|
subscriber.complete();
|
|
5242
5242
|
}, void 0, function() {
|
|
5243
5243
|
lastValue = activeTask = null;
|
|
@@ -5670,8 +5670,8 @@ var require_find = /* @__PURE__ */ require_error$1.__commonJSMin(((exports) => {
|
|
|
5670
5670
|
return lift_1.operate(createFind(predicate, thisArg, "value"));
|
|
5671
5671
|
}
|
|
5672
5672
|
exports.find = find;
|
|
5673
|
-
function createFind(predicate, thisArg, emit
|
|
5674
|
-
var findIndex = emit
|
|
5673
|
+
function createFind(predicate, thisArg, emit) {
|
|
5674
|
+
var findIndex = emit === "index";
|
|
5675
5675
|
return function(source, subscriber) {
|
|
5676
5676
|
var index = 0;
|
|
5677
5677
|
source.subscribe(OperatorSubscriber_1.createOperatorSubscriber(subscriber, function(value) {
|
|
@@ -6571,19 +6571,19 @@ var require_sequenceEqual = /* @__PURE__ */ require_error$1.__commonJSMin(((expo
|
|
|
6571
6571
|
return lift_1.operate(function(source, subscriber) {
|
|
6572
6572
|
var aState = createState();
|
|
6573
6573
|
var bState = createState();
|
|
6574
|
-
var emit
|
|
6574
|
+
var emit = function(isEqual) {
|
|
6575
6575
|
subscriber.next(isEqual);
|
|
6576
6576
|
subscriber.complete();
|
|
6577
6577
|
};
|
|
6578
6578
|
var createSubscriber = function(selfState, otherState) {
|
|
6579
6579
|
var sequenceEqualSubscriber = OperatorSubscriber_1.createOperatorSubscriber(subscriber, function(a) {
|
|
6580
6580
|
var buffer = otherState.buffer, complete = otherState.complete;
|
|
6581
|
-
if (buffer.length === 0) complete ? emit
|
|
6582
|
-
else !comparator(a, buffer.shift()) && emit
|
|
6581
|
+
if (buffer.length === 0) complete ? emit(false) : selfState.buffer.push(a);
|
|
6582
|
+
else !comparator(a, buffer.shift()) && emit(false);
|
|
6583
6583
|
}, function() {
|
|
6584
6584
|
selfState.complete = true;
|
|
6585
6585
|
var complete = otherState.complete, buffer = otherState.buffer;
|
|
6586
|
-
complete && emit
|
|
6586
|
+
complete && emit(buffer.length === 0);
|
|
6587
6587
|
sequenceEqualSubscriber === null || sequenceEqualSubscriber === void 0 || sequenceEqualSubscriber.unsubscribe();
|
|
6588
6588
|
});
|
|
6589
6589
|
return sequenceEqualSubscriber;
|
|
@@ -7021,22 +7021,22 @@ var require_tap = /* @__PURE__ */ require_error$1.__commonJSMin(((exports) => {
|
|
|
7021
7021
|
(_a = tapObserver.subscribe) === null || _a === void 0 || _a.call(tapObserver);
|
|
7022
7022
|
var isUnsub = true;
|
|
7023
7023
|
source.subscribe(OperatorSubscriber_1.createOperatorSubscriber(subscriber, function(value) {
|
|
7024
|
-
var _a
|
|
7025
|
-
(_a
|
|
7024
|
+
var _a;
|
|
7025
|
+
(_a = tapObserver.next) === null || _a === void 0 || _a.call(tapObserver, value);
|
|
7026
7026
|
subscriber.next(value);
|
|
7027
7027
|
}, function() {
|
|
7028
|
-
var _a
|
|
7028
|
+
var _a;
|
|
7029
7029
|
isUnsub = false;
|
|
7030
|
-
(_a
|
|
7030
|
+
(_a = tapObserver.complete) === null || _a === void 0 || _a.call(tapObserver);
|
|
7031
7031
|
subscriber.complete();
|
|
7032
7032
|
}, function(err) {
|
|
7033
|
-
var _a
|
|
7033
|
+
var _a;
|
|
7034
7034
|
isUnsub = false;
|
|
7035
|
-
(_a
|
|
7035
|
+
(_a = tapObserver.error) === null || _a === void 0 || _a.call(tapObserver, err);
|
|
7036
7036
|
subscriber.error(err);
|
|
7037
7037
|
}, function() {
|
|
7038
|
-
var _a
|
|
7039
|
-
if (isUnsub) (_a
|
|
7038
|
+
var _a, _b;
|
|
7039
|
+
if (isUnsub) (_a = tapObserver.unsubscribe) === null || _a === void 0 || _a.call(tapObserver);
|
|
7040
7040
|
(_b = tapObserver.finalize) === null || _b === void 0 || _b.call(tapObserver);
|
|
7041
7041
|
}));
|
|
7042
7042
|
}) : identity_1.identity;
|
|
@@ -7346,8 +7346,8 @@ var require_windowTime = /* @__PURE__ */ require_error$1.__commonJSMin(((exports
|
|
|
7346
7346
|
return windowRecords.slice().forEach(cb);
|
|
7347
7347
|
};
|
|
7348
7348
|
var terminate = function(cb) {
|
|
7349
|
-
loop(function(_a
|
|
7350
|
-
var window = _a
|
|
7349
|
+
loop(function(_a) {
|
|
7350
|
+
var window = _a.window;
|
|
7351
7351
|
return cb(window);
|
|
7352
7352
|
});
|
|
7353
7353
|
cb(subscriber);
|
|
@@ -7539,11 +7539,11 @@ var require_withLatestFrom = /* @__PURE__ */ require_error$1.__commonJSMin(((exp
|
|
|
7539
7539
|
return false;
|
|
7540
7540
|
});
|
|
7541
7541
|
var ready = false;
|
|
7542
|
-
var _loop_1 = function(i
|
|
7543
|
-
innerFrom_1.innerFrom(inputs[i
|
|
7544
|
-
otherValues[i
|
|
7545
|
-
if (!ready && !hasValue[i
|
|
7546
|
-
hasValue[i
|
|
7542
|
+
var _loop_1 = function(i) {
|
|
7543
|
+
innerFrom_1.innerFrom(inputs[i]).subscribe(OperatorSubscriber_1.createOperatorSubscriber(subscriber, function(value) {
|
|
7544
|
+
otherValues[i] = value;
|
|
7545
|
+
if (!ready && !hasValue[i]) {
|
|
7546
|
+
hasValue[i] = true;
|
|
7547
7547
|
(ready = hasValue.every(identity_1.identity)) && (hasValue = null);
|
|
7548
7548
|
}
|
|
7549
7549
|
}, noop_1.noop));
|
|
@@ -8904,9 +8904,9 @@ var require_command$1 = /* @__PURE__ */ require_error$1.__commonJSMin(((exports)
|
|
|
8904
8904
|
});
|
|
8905
8905
|
var __importStar = exports && exports.__importStar || (function() {
|
|
8906
8906
|
var ownKeys = function(o) {
|
|
8907
|
-
ownKeys = Object.getOwnPropertyNames || function(o
|
|
8907
|
+
ownKeys = Object.getOwnPropertyNames || function(o) {
|
|
8908
8908
|
var ar = [];
|
|
8909
|
-
for (var k in o
|
|
8909
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
8910
8910
|
return ar;
|
|
8911
8911
|
};
|
|
8912
8912
|
return ownKeys(o);
|
|
@@ -9090,8 +9090,8 @@ var require_command$1 = /* @__PURE__ */ require_error$1.__commonJSMin(((exports)
|
|
|
9090
9090
|
/**
|
|
9091
9091
|
* Pipes all events emitted by `stream` into `subject`.
|
|
9092
9092
|
*/
|
|
9093
|
-
function pipeTo(stream
|
|
9094
|
-
return stream
|
|
9093
|
+
function pipeTo(stream, subject) {
|
|
9094
|
+
return stream.subscribe((event) => subject.next(event));
|
|
9095
9095
|
}
|
|
9096
9096
|
}));
|
|
9097
9097
|
|
|
@@ -9221,7 +9221,7 @@ var require_parse$1 = /* @__PURE__ */ require_error$1.__commonJSMin(((exports, m
|
|
|
9221
9221
|
"<\\&",
|
|
9222
9222
|
"[&;()|<>]"
|
|
9223
9223
|
].join("|") + ")";
|
|
9224
|
-
var controlRE =
|
|
9224
|
+
var controlRE = new RegExp("^" + CONTROL + "$");
|
|
9225
9225
|
var META = "|&;()<> \\t";
|
|
9226
9226
|
var SINGLE_QUOTE = "\"((\\\\\"|[^\"])*?)\"";
|
|
9227
9227
|
var DOUBLE_QUOTE = "'((\\\\'|[^'])*?)'";
|
|
@@ -9232,7 +9232,7 @@ var require_parse$1 = /* @__PURE__ */ require_error$1.__commonJSMin(((exports, m
|
|
|
9232
9232
|
var TOKEN = "";
|
|
9233
9233
|
var mult = 4294967296;
|
|
9234
9234
|
for (var i = 0; i < 4; i++) TOKEN += (mult * Math.random()).toString(16);
|
|
9235
|
-
var startsWithToken =
|
|
9235
|
+
var startsWithToken = new RegExp("^" + TOKEN);
|
|
9236
9236
|
function matchAll(s, r) {
|
|
9237
9237
|
var origIndex = r.lastIndex;
|
|
9238
9238
|
var matches = [];
|
|
@@ -9334,9 +9334,9 @@ var require_parse$1 = /* @__PURE__ */ require_error$1.__commonJSMin(((exports, m
|
|
|
9334
9334
|
module.exports = function parse(s, env, opts) {
|
|
9335
9335
|
var mapped = parseInternal(s, env, opts);
|
|
9336
9336
|
if (typeof env !== "function") return mapped;
|
|
9337
|
-
return mapped.reduce(function(acc, s
|
|
9338
|
-
if (typeof s
|
|
9339
|
-
var xs = s
|
|
9337
|
+
return mapped.reduce(function(acc, s) {
|
|
9338
|
+
if (typeof s === "object") return acc.concat(s);
|
|
9339
|
+
var xs = s.split(RegExp("(" + TOKEN + ".*?" + TOKEN + ")", "g"));
|
|
9340
9340
|
if (xs.length === 1) return acc.concat(xs[0]);
|
|
9341
9341
|
return acc.concat(xs.filter(Boolean).map(function(x) {
|
|
9342
9342
|
if (startsWithToken.test(x)) return JSON.parse(x.split(TOKEN)[1]);
|
|
@@ -9521,7 +9521,7 @@ var require_expand_wildcard = /* @__PURE__ */ require_error$1.__commonJSMin(((ex
|
|
|
9521
9521
|
const scriptGlobSansOmission = scriptGlob.replace(OMISSION, "");
|
|
9522
9522
|
const preWildcard = (0, utils_1.escapeRegExp)(scriptGlobSansOmission.slice(0, wildcardPosition));
|
|
9523
9523
|
const postWildcard = (0, utils_1.escapeRegExp)(scriptGlobSansOmission.slice(wildcardPosition + 1));
|
|
9524
|
-
const wildcardRegex =
|
|
9524
|
+
const wildcardRegex = new RegExp(`^${preWildcard}(.*?)${postWildcard}$`);
|
|
9525
9525
|
const prefix = commandInfo.name !== scriptGlob ? commandInfo.name : "";
|
|
9526
9526
|
return this.relevantScripts(command).map((script) => {
|
|
9527
9527
|
if (omission && RegExp(omission).test(script)) return;
|
|
@@ -9531,7 +9531,7 @@ var require_expand_wildcard = /* @__PURE__ */ require_error$1.__commonJSMin(((ex
|
|
|
9531
9531
|
command: `${command} ${script}${args}`,
|
|
9532
9532
|
name: prefix + match
|
|
9533
9533
|
};
|
|
9534
|
-
}).filter((commandInfo
|
|
9534
|
+
}).filter((commandInfo) => !!commandInfo);
|
|
9535
9535
|
}
|
|
9536
9536
|
};
|
|
9537
9537
|
exports.ExpandWildcard = ExpandWildcard;
|
|
@@ -10436,9 +10436,9 @@ var require_completion_listener = /* @__PURE__ */ require_error$1.__commonJSMin(
|
|
|
10436
10436
|
});
|
|
10437
10437
|
var __importStar = exports && exports.__importStar || (function() {
|
|
10438
10438
|
var ownKeys = function(o) {
|
|
10439
|
-
ownKeys = Object.getOwnPropertyNames || function(o
|
|
10439
|
+
ownKeys = Object.getOwnPropertyNames || function(o) {
|
|
10440
10440
|
var ar = [];
|
|
10441
|
-
for (var k in o
|
|
10441
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
10442
10442
|
return ar;
|
|
10443
10443
|
};
|
|
10444
10444
|
return ownKeys(o);
|
|
@@ -10510,15 +10510,15 @@ var require_observables = /* @__PURE__ */ require_error$1.__commonJSMin(((export
|
|
|
10510
10510
|
*
|
|
10511
10511
|
* The underlying event listener is set up only once across the application for that event emitter/name pair.
|
|
10512
10512
|
*/
|
|
10513
|
-
function fromSharedEvent(emitter
|
|
10514
|
-
let emitterEvents = sharedEvents.get(emitter
|
|
10513
|
+
function fromSharedEvent(emitter, event) {
|
|
10514
|
+
let emitterEvents = sharedEvents.get(emitter);
|
|
10515
10515
|
if (!emitterEvents) {
|
|
10516
10516
|
emitterEvents = /* @__PURE__ */ new Map();
|
|
10517
|
-
sharedEvents.set(emitter
|
|
10517
|
+
sharedEvents.set(emitter, emitterEvents);
|
|
10518
10518
|
}
|
|
10519
10519
|
let observable = emitterEvents.get(event);
|
|
10520
10520
|
if (!observable) {
|
|
10521
|
-
observable = (0, rxjs_1.fromEvent)(emitter
|
|
10521
|
+
observable = (0, rxjs_1.fromEvent)(emitter, event).pipe((0, rxjs_1.share)());
|
|
10522
10522
|
emitterEvents.set(event, observable);
|
|
10523
10523
|
}
|
|
10524
10524
|
return observable;
|
|
@@ -10552,9 +10552,9 @@ var require_output_writer = /* @__PURE__ */ require_error$1.__commonJSMin(((expo
|
|
|
10552
10552
|
});
|
|
10553
10553
|
var __importStar = exports && exports.__importStar || (function() {
|
|
10554
10554
|
var ownKeys = function(o) {
|
|
10555
|
-
ownKeys = Object.getOwnPropertyNames || function(o
|
|
10555
|
+
ownKeys = Object.getOwnPropertyNames || function(o) {
|
|
10556
10556
|
var ar = [];
|
|
10557
|
-
for (var k in o
|
|
10557
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
10558
10558
|
return ar;
|
|
10559
10559
|
};
|
|
10560
10560
|
return ownKeys(o);
|
|
@@ -10764,9 +10764,9 @@ var require_supports_color$1 = /* @__PURE__ */ require_error$1.__commonJSMin(((e
|
|
|
10764
10764
|
if ("COLORTERM" in env) return 1;
|
|
10765
10765
|
return min;
|
|
10766
10766
|
}
|
|
10767
|
-
function getSupportLevel(stream
|
|
10768
|
-
return translateLevel(supportsColor(stream
|
|
10769
|
-
streamIsTTY: stream
|
|
10767
|
+
function getSupportLevel(stream, options = {}) {
|
|
10768
|
+
return translateLevel(supportsColor(stream, {
|
|
10769
|
+
streamIsTTY: stream && stream.isTTY,
|
|
10770
10770
|
...options
|
|
10771
10771
|
}));
|
|
10772
10772
|
}
|
|
@@ -10792,10 +10792,10 @@ var require_spawn = /* @__PURE__ */ require_error$1.__commonJSMin(((exports) =>
|
|
|
10792
10792
|
/**
|
|
10793
10793
|
* Spawns a command using `cmd.exe` on Windows, or `/bin/sh` elsewhere.
|
|
10794
10794
|
*/
|
|
10795
|
-
function spawn(command, options, spawn = child_process_1.spawn, process
|
|
10795
|
+
function spawn(command, options, spawn = child_process_1.spawn, process = global.process) {
|
|
10796
10796
|
let file = "/bin/sh";
|
|
10797
10797
|
let args = ["-c", command];
|
|
10798
|
-
if (process
|
|
10798
|
+
if (process.platform === "win32") {
|
|
10799
10799
|
file = "cmd.exe";
|
|
10800
10800
|
args = [
|
|
10801
10801
|
"/s",
|
|
@@ -10806,7 +10806,7 @@ var require_spawn = /* @__PURE__ */ require_error$1.__commonJSMin(((exports) =>
|
|
|
10806
10806
|
}
|
|
10807
10807
|
return spawn(file, args, options);
|
|
10808
10808
|
}
|
|
10809
|
-
const getSpawnOpts = ({ colorSupport = supports_color_1.default.stdout, cwd, process
|
|
10809
|
+
const getSpawnOpts = ({ colorSupport = supports_color_1.default.stdout, cwd, process = global.process, ipc, stdio = "normal", env = {} }) => {
|
|
10810
10810
|
const stdioValues = stdio === "normal" ? [
|
|
10811
10811
|
"pipe",
|
|
10812
10812
|
"pipe",
|
|
@@ -10825,12 +10825,12 @@ var require_spawn = /* @__PURE__ */ require_error$1.__commonJSMin(((exports) =>
|
|
|
10825
10825
|
stdioValues[ipc] = "ipc";
|
|
10826
10826
|
}
|
|
10827
10827
|
return {
|
|
10828
|
-
cwd: cwd || process
|
|
10828
|
+
cwd: cwd || process.cwd(),
|
|
10829
10829
|
stdio: stdioValues,
|
|
10830
|
-
...process
|
|
10830
|
+
...process.platform.startsWith("win") && { detached: false },
|
|
10831
10831
|
env: {
|
|
10832
10832
|
...colorSupport ? { FORCE_COLOR: colorSupport.level.toString() } : {},
|
|
10833
|
-
...process
|
|
10833
|
+
...process.env,
|
|
10834
10834
|
...env
|
|
10835
10835
|
}
|
|
10836
10836
|
};
|
|
@@ -10902,9 +10902,9 @@ var require_concurrently = /* @__PURE__ */ require_error$1.__commonJSMin(((expor
|
|
|
10902
10902
|
}), options.spawn, options.kill);
|
|
10903
10903
|
});
|
|
10904
10904
|
const handleResult = options.controllers.reduce(({ commands: prevCommands, onFinishCallbacks }, controller) => {
|
|
10905
|
-
const { commands
|
|
10905
|
+
const { commands, onFinish } = controller.handle(prevCommands);
|
|
10906
10906
|
return {
|
|
10907
|
-
commands
|
|
10907
|
+
commands,
|
|
10908
10908
|
onFinishCallbacks: onFinishCallbacks.concat(onFinish ? [onFinish] : [])
|
|
10909
10909
|
};
|
|
10910
10910
|
}, {
|
|
@@ -10942,7 +10942,7 @@ var require_concurrently = /* @__PURE__ */ require_error$1.__commonJSMin(((expor
|
|
|
10942
10942
|
};
|
|
10943
10943
|
}
|
|
10944
10944
|
function parseCommand(command, parsers) {
|
|
10945
|
-
return parsers.reduce((commands, parser) => commands.flatMap((command
|
|
10945
|
+
return parsers.reduce((commands, parser) => commands.flatMap((command) => parser.parse(command)), (0, utils_1.castArray)(command));
|
|
10946
10946
|
}
|
|
10947
10947
|
function maybeRunMore(commandsLeft, abortSignal) {
|
|
10948
10948
|
const command = commandsLeft.shift();
|
|
@@ -11055,9 +11055,9 @@ var require_input_handler = /* @__PURE__ */ require_error$1.__commonJSMin(((expo
|
|
|
11055
11055
|
});
|
|
11056
11056
|
var __importStar = exports && exports.__importStar || (function() {
|
|
11057
11057
|
var ownKeys = function(o) {
|
|
11058
|
-
ownKeys = Object.getOwnPropertyNames || function(o
|
|
11058
|
+
ownKeys = Object.getOwnPropertyNames || function(o) {
|
|
11059
11059
|
var ar = [];
|
|
11060
|
-
for (var k in o
|
|
11060
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
11061
11061
|
return ar;
|
|
11062
11062
|
};
|
|
11063
11063
|
return ownKeys(o);
|
|
@@ -11147,8 +11147,8 @@ var require_kill_on_signal = /* @__PURE__ */ require_error$1.__commonJSMin(((exp
|
|
|
11147
11147
|
var KillOnSignal = class {
|
|
11148
11148
|
process;
|
|
11149
11149
|
abortController;
|
|
11150
|
-
constructor({ process
|
|
11151
|
-
this.process = process
|
|
11150
|
+
constructor({ process, abortController }) {
|
|
11151
|
+
this.process = process;
|
|
11152
11152
|
this.abortController = abortController;
|
|
11153
11153
|
}
|
|
11154
11154
|
handle(commands) {
|
|
@@ -11584,9 +11584,9 @@ var require_log_timings = /* @__PURE__ */ require_error$1.__commonJSMin(((export
|
|
|
11584
11584
|
});
|
|
11585
11585
|
var __importStar = exports && exports.__importStar || (function() {
|
|
11586
11586
|
var ownKeys = function(o) {
|
|
11587
|
-
ownKeys = Object.getOwnPropertyNames || function(o
|
|
11587
|
+
ownKeys = Object.getOwnPropertyNames || function(o) {
|
|
11588
11588
|
var ar = [];
|
|
11589
|
-
for (var k in o
|
|
11589
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
11590
11590
|
return ar;
|
|
11591
11591
|
};
|
|
11592
11592
|
return ownKeys(o);
|
|
@@ -11673,9 +11673,9 @@ var require_logger_padding = /* @__PURE__ */ require_error$1.__commonJSMin(((exp
|
|
|
11673
11673
|
this.logger = logger;
|
|
11674
11674
|
}
|
|
11675
11675
|
handle(commands) {
|
|
11676
|
-
let length = commands.reduce((length
|
|
11676
|
+
let length = commands.reduce((length, command) => {
|
|
11677
11677
|
const content = this.logger.getPrefixContent(command);
|
|
11678
|
-
return Math.max(length
|
|
11678
|
+
return Math.max(length, content?.value.length || 0);
|
|
11679
11679
|
}, 0);
|
|
11680
11680
|
this.logger.setPrefixLength(length);
|
|
11681
11681
|
const subs = commands.map((command) => command.timer.subscribe((event) => {
|
|
@@ -11753,9 +11753,9 @@ var require_restart_process = /* @__PURE__ */ require_error$1.__commonJSMin(((ex
|
|
|
11753
11753
|
});
|
|
11754
11754
|
var __importStar = exports && exports.__importStar || (function() {
|
|
11755
11755
|
var ownKeys = function(o) {
|
|
11756
|
-
ownKeys = Object.getOwnPropertyNames || function(o
|
|
11756
|
+
ownKeys = Object.getOwnPropertyNames || function(o) {
|
|
11757
11757
|
var ar = [];
|
|
11758
|
-
for (var k in o
|
|
11758
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
11759
11759
|
return ar;
|
|
11760
11760
|
};
|
|
11761
11761
|
return ownKeys(o);
|
|
@@ -11844,9 +11844,9 @@ var require_teardown = /* @__PURE__ */ require_error$1.__commonJSMin(((exports)
|
|
|
11844
11844
|
});
|
|
11845
11845
|
var __importStar = exports && exports.__importStar || (function() {
|
|
11846
11846
|
var ownKeys = function(o) {
|
|
11847
|
-
ownKeys = Object.getOwnPropertyNames || function(o
|
|
11847
|
+
ownKeys = Object.getOwnPropertyNames || function(o) {
|
|
11848
11848
|
var ar = [];
|
|
11849
|
-
for (var k in o
|
|
11849
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
11850
11850
|
return ar;
|
|
11851
11851
|
};
|
|
11852
11852
|
return ownKeys(o);
|
|
@@ -11889,8 +11889,8 @@ var require_teardown = /* @__PURE__ */ require_error$1.__commonJSMin(((exports)
|
|
|
11889
11889
|
}), Rx.firstValueFrom(close).then((event) => event)]);
|
|
11890
11890
|
logger.logGlobalEvent(`Teardown command "${command}" exited with code ${exitCode ?? signal}`);
|
|
11891
11891
|
if (signal === "SIGINT") break;
|
|
11892
|
-
} catch (error
|
|
11893
|
-
const errorText = String(error
|
|
11892
|
+
} catch (error) {
|
|
11893
|
+
const errorText = String(error instanceof Error ? error.stack || error : error);
|
|
11894
11894
|
logger.logGlobalEvent(`Teardown command "${command}" errored:`);
|
|
11895
11895
|
logger.logGlobalEvent(errorText);
|
|
11896
11896
|
return Promise.reject();
|
|
@@ -13478,15 +13478,15 @@ var require_route = /* @__PURE__ */ require_error$1.__commonJSMin(((exports, mod
|
|
|
13478
13478
|
};
|
|
13479
13479
|
}
|
|
13480
13480
|
function wrapConversion(toModel, graph) {
|
|
13481
|
-
const path
|
|
13481
|
+
const path = [graph[toModel].parent, toModel];
|
|
13482
13482
|
let fn = conversions[graph[toModel].parent][toModel];
|
|
13483
13483
|
let cur = graph[toModel].parent;
|
|
13484
13484
|
while (graph[cur].parent) {
|
|
13485
|
-
path
|
|
13485
|
+
path.unshift(graph[cur].parent);
|
|
13486
13486
|
fn = link(conversions[graph[cur].parent][cur], fn);
|
|
13487
13487
|
cur = graph[cur].parent;
|
|
13488
13488
|
}
|
|
13489
|
-
fn.conversion = path
|
|
13489
|
+
fn.conversion = path;
|
|
13490
13490
|
return fn;
|
|
13491
13491
|
}
|
|
13492
13492
|
module.exports = function(fromModel) {
|
|
@@ -13740,8 +13740,8 @@ var require_supports_color = /* @__PURE__ */ require_error$1.__commonJSMin(((exp
|
|
|
13740
13740
|
if ("COLORTERM" in env) return 1;
|
|
13741
13741
|
return min;
|
|
13742
13742
|
}
|
|
13743
|
-
function getSupportLevel(stream
|
|
13744
|
-
return translateLevel(supportsColor(stream
|
|
13743
|
+
function getSupportLevel(stream) {
|
|
13744
|
+
return translateLevel(supportsColor(stream, stream && stream.isTTY));
|
|
13745
13745
|
}
|
|
13746
13746
|
module.exports = {
|
|
13747
13747
|
supportsColor: getSupportLevel,
|
|
@@ -13840,10 +13840,10 @@ var require_templates = /* @__PURE__ */ require_error$1.__commonJSMin(((exports,
|
|
|
13840
13840
|
const enabled = {};
|
|
13841
13841
|
for (const layer of styles) for (const style of layer.styles) enabled[style[0]] = layer.inverse ? null : style.slice(1);
|
|
13842
13842
|
let current = chalk;
|
|
13843
|
-
for (const [styleName, styles
|
|
13844
|
-
if (!Array.isArray(styles
|
|
13843
|
+
for (const [styleName, styles] of Object.entries(enabled)) {
|
|
13844
|
+
if (!Array.isArray(styles)) continue;
|
|
13845
13845
|
if (!(styleName in current)) throw new Error(`Unknown Chalk style: ${styleName}`);
|
|
13846
|
-
current = styles
|
|
13846
|
+
current = styles.length > 0 ? current[styleName](...styles) : current[styleName];
|
|
13847
13847
|
}
|
|
13848
13848
|
return current;
|
|
13849
13849
|
}
|
|
@@ -14052,9 +14052,9 @@ var require_logger = /* @__PURE__ */ require_error$1.__commonJSMin(((exports) =>
|
|
|
14052
14052
|
});
|
|
14053
14053
|
var __importStar = exports && exports.__importStar || (function() {
|
|
14054
14054
|
var ownKeys = function(o) {
|
|
14055
|
-
ownKeys = Object.getOwnPropertyNames || function(o
|
|
14055
|
+
ownKeys = Object.getOwnPropertyNames || function(o) {
|
|
14056
14056
|
var ar = [];
|
|
14057
|
-
for (var k in o
|
|
14057
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
14058
14058
|
return ar;
|
|
14059
14059
|
};
|
|
14060
14060
|
return ownKeys(o);
|
|
@@ -14081,8 +14081,8 @@ var require_logger = /* @__PURE__ */ require_error$1.__commonJSMin(((exports) =>
|
|
|
14081
14081
|
const utils_1 = require_utils();
|
|
14082
14082
|
const defaultChalk = chalk_1.default;
|
|
14083
14083
|
const noColorChalk = new chalk_1.default.Instance({ level: 0 });
|
|
14084
|
-
function getChalkPath(chalk, path
|
|
14085
|
-
return path
|
|
14084
|
+
function getChalkPath(chalk, path) {
|
|
14085
|
+
return path.split(".").reduce((prev, key) => prev[key], chalk);
|
|
14086
14086
|
}
|
|
14087
14087
|
var Logger = class {
|
|
14088
14088
|
hide;
|
|
@@ -14355,28 +14355,28 @@ var require_windows = /* @__PURE__ */ require_error$1.__commonJSMin(((exports, m
|
|
|
14355
14355
|
module.exports = isexe;
|
|
14356
14356
|
isexe.sync = sync;
|
|
14357
14357
|
var fs$4 = require("fs");
|
|
14358
|
-
function checkPathExt(path
|
|
14358
|
+
function checkPathExt(path, options) {
|
|
14359
14359
|
var pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;
|
|
14360
14360
|
if (!pathext) return true;
|
|
14361
14361
|
pathext = pathext.split(";");
|
|
14362
14362
|
if (pathext.indexOf("") !== -1) return true;
|
|
14363
14363
|
for (var i = 0; i < pathext.length; i++) {
|
|
14364
14364
|
var p = pathext[i].toLowerCase();
|
|
14365
|
-
if (p && path
|
|
14365
|
+
if (p && path.substr(-p.length).toLowerCase() === p) return true;
|
|
14366
14366
|
}
|
|
14367
14367
|
return false;
|
|
14368
14368
|
}
|
|
14369
|
-
function checkStat(stat, path
|
|
14369
|
+
function checkStat(stat, path, options) {
|
|
14370
14370
|
if (!stat.isSymbolicLink() && !stat.isFile()) return false;
|
|
14371
|
-
return checkPathExt(path
|
|
14371
|
+
return checkPathExt(path, options);
|
|
14372
14372
|
}
|
|
14373
|
-
function isexe(path
|
|
14374
|
-
fs$4.stat(path
|
|
14375
|
-
cb(er, er ? false : checkStat(stat, path
|
|
14373
|
+
function isexe(path, options, cb) {
|
|
14374
|
+
fs$4.stat(path, function(er, stat) {
|
|
14375
|
+
cb(er, er ? false : checkStat(stat, path, options));
|
|
14376
14376
|
});
|
|
14377
14377
|
}
|
|
14378
|
-
function sync(path
|
|
14379
|
-
return checkStat(fs$4.statSync(path
|
|
14378
|
+
function sync(path, options) {
|
|
14379
|
+
return checkStat(fs$4.statSync(path), path, options);
|
|
14380
14380
|
}
|
|
14381
14381
|
}));
|
|
14382
14382
|
|
|
@@ -14386,13 +14386,13 @@ var require_mode = /* @__PURE__ */ require_error$1.__commonJSMin(((exports, modu
|
|
|
14386
14386
|
module.exports = isexe;
|
|
14387
14387
|
isexe.sync = sync;
|
|
14388
14388
|
var fs$3 = require("fs");
|
|
14389
|
-
function isexe(path
|
|
14390
|
-
fs$3.stat(path
|
|
14389
|
+
function isexe(path, options, cb) {
|
|
14390
|
+
fs$3.stat(path, function(er, stat) {
|
|
14391
14391
|
cb(er, er ? false : checkStat(stat, options));
|
|
14392
14392
|
});
|
|
14393
14393
|
}
|
|
14394
|
-
function sync(path
|
|
14395
|
-
return checkStat(fs$3.statSync(path
|
|
14394
|
+
function sync(path, options) {
|
|
14395
|
+
return checkStat(fs$3.statSync(path), options);
|
|
14396
14396
|
}
|
|
14397
14397
|
function checkStat(stat, options) {
|
|
14398
14398
|
return stat.isFile() && checkMode(stat, options);
|
|
@@ -14420,7 +14420,7 @@ var require_isexe = /* @__PURE__ */ require_error$1.__commonJSMin(((exports, mod
|
|
|
14420
14420
|
else core = require_mode();
|
|
14421
14421
|
module.exports = isexe;
|
|
14422
14422
|
isexe.sync = sync;
|
|
14423
|
-
function isexe(path
|
|
14423
|
+
function isexe(path, options, cb) {
|
|
14424
14424
|
if (typeof options === "function") {
|
|
14425
14425
|
cb = options;
|
|
14426
14426
|
options = {};
|
|
@@ -14428,13 +14428,13 @@ var require_isexe = /* @__PURE__ */ require_error$1.__commonJSMin(((exports, mod
|
|
|
14428
14428
|
if (!cb) {
|
|
14429
14429
|
if (typeof Promise !== "function") throw new TypeError("callback not provided");
|
|
14430
14430
|
return new Promise(function(resolve, reject) {
|
|
14431
|
-
isexe(path
|
|
14431
|
+
isexe(path, options || {}, function(er, is) {
|
|
14432
14432
|
if (er) reject(er);
|
|
14433
14433
|
else resolve(is);
|
|
14434
14434
|
});
|
|
14435
14435
|
});
|
|
14436
14436
|
}
|
|
14437
|
-
core(path
|
|
14437
|
+
core(path, options || {}, function(er, is) {
|
|
14438
14438
|
if (er) {
|
|
14439
14439
|
if (er.code === "EACCES" || options && options.ignoreErrors) {
|
|
14440
14440
|
er = null;
|
|
@@ -14444,9 +14444,9 @@ var require_isexe = /* @__PURE__ */ require_error$1.__commonJSMin(((exports, mod
|
|
|
14444
14444
|
cb(er, is);
|
|
14445
14445
|
});
|
|
14446
14446
|
}
|
|
14447
|
-
function sync(path
|
|
14447
|
+
function sync(path, options) {
|
|
14448
14448
|
try {
|
|
14449
|
-
return core.sync(path
|
|
14449
|
+
return core.sync(path, options || {});
|
|
14450
14450
|
} catch (er) {
|
|
14451
14451
|
if (options && options.ignoreErrors || er.code === "EACCES") return false;
|
|
14452
14452
|
else throw er;
|
|
@@ -14605,8 +14605,8 @@ var require_shebang_command = /* @__PURE__ */ require_error$1.__commonJSMin(((ex
|
|
|
14605
14605
|
module.exports = (string = "") => {
|
|
14606
14606
|
const match = string.match(shebangRegex);
|
|
14607
14607
|
if (!match) return null;
|
|
14608
|
-
const [path
|
|
14609
|
-
const binary = path
|
|
14608
|
+
const [path, argument] = match[0].replace(/#! ?/, "").split(" ");
|
|
14609
|
+
const binary = path.split("/").pop();
|
|
14610
14610
|
if (binary === "env") return argument;
|
|
14611
14611
|
return argument ? `${binary} ${argument}` : binary;
|
|
14612
14612
|
};
|
|
@@ -14706,15 +14706,15 @@ var require_enoent = /* @__PURE__ */ require_error$1.__commonJSMin(((exports, mo
|
|
|
14706
14706
|
spawnargs: original.args
|
|
14707
14707
|
});
|
|
14708
14708
|
}
|
|
14709
|
-
function hookChildProcess(cp
|
|
14709
|
+
function hookChildProcess(cp, parsed) {
|
|
14710
14710
|
if (!isWin) return;
|
|
14711
|
-
const originalEmit = cp
|
|
14712
|
-
cp
|
|
14711
|
+
const originalEmit = cp.emit;
|
|
14712
|
+
cp.emit = function(name, arg1) {
|
|
14713
14713
|
if (name === "exit") {
|
|
14714
14714
|
const err = verifyENOENT(arg1, parsed);
|
|
14715
|
-
if (err) return originalEmit.call(cp
|
|
14715
|
+
if (err) return originalEmit.call(cp, "error", err);
|
|
14716
14716
|
}
|
|
14717
|
-
return originalEmit.apply(cp
|
|
14717
|
+
return originalEmit.apply(cp, arguments);
|
|
14718
14718
|
};
|
|
14719
14719
|
}
|
|
14720
14720
|
function verifyENOENT(status, parsed) {
|
|
@@ -14802,9 +14802,9 @@ var require_npm_run_path = /* @__PURE__ */ require_error$1.__commonJSMin(((expor
|
|
|
14802
14802
|
...options
|
|
14803
14803
|
};
|
|
14804
14804
|
const env = { ...options.env };
|
|
14805
|
-
const path
|
|
14806
|
-
options.path = env[path
|
|
14807
|
-
env[path
|
|
14805
|
+
const path = pathKey({ env });
|
|
14806
|
+
options.path = env[path];
|
|
14807
|
+
env[path] = module.exports(options);
|
|
14808
14808
|
return env;
|
|
14809
14809
|
};
|
|
14810
14810
|
}));
|
|
@@ -15209,13 +15209,13 @@ var require_main = /* @__PURE__ */ require_error$1.__commonJSMin(((exports) => {
|
|
|
15209
15209
|
const signalsByName = getSignalsByName();
|
|
15210
15210
|
exports.signalsByName = signalsByName;
|
|
15211
15211
|
const getSignalsByNumber = function() {
|
|
15212
|
-
const signals
|
|
15212
|
+
const signals = (0, _signals.getSignals)();
|
|
15213
15213
|
const length = _realtime.SIGRTMAX + 1;
|
|
15214
|
-
const signalsA = Array.from({ length }, (value, number) => getSignalByNumber(number, signals
|
|
15214
|
+
const signalsA = Array.from({ length }, (value, number) => getSignalByNumber(number, signals));
|
|
15215
15215
|
return Object.assign({}, ...signalsA);
|
|
15216
15216
|
};
|
|
15217
|
-
const getSignalByNumber = function(number, signals
|
|
15218
|
-
const signal = findSignalByNumber(number, signals
|
|
15217
|
+
const getSignalByNumber = function(number, signals) {
|
|
15218
|
+
const signal = findSignalByNumber(number, signals);
|
|
15219
15219
|
if (signal === void 0) return {};
|
|
15220
15220
|
const { name, description, supported, action, forced, standard } = signal;
|
|
15221
15221
|
return { [number]: {
|
|
@@ -15228,10 +15228,10 @@ var require_main = /* @__PURE__ */ require_error$1.__commonJSMin(((exports) => {
|
|
|
15228
15228
|
standard
|
|
15229
15229
|
} };
|
|
15230
15230
|
};
|
|
15231
|
-
const findSignalByNumber = function(number, signals
|
|
15232
|
-
const signal = signals
|
|
15231
|
+
const findSignalByNumber = function(number, signals) {
|
|
15232
|
+
const signal = signals.find(({ name }) => _os.constants.signals[name] === number);
|
|
15233
15233
|
if (signal !== void 0) return signal;
|
|
15234
|
-
return signals
|
|
15234
|
+
return signals.find((signalA) => signalA.number === number);
|
|
15235
15235
|
};
|
|
15236
15236
|
const signalsByNumber = getSignalsByNumber();
|
|
15237
15237
|
exports.signalsByNumber = signalsByNumber;
|
|
@@ -15344,8 +15344,8 @@ var require_signals = /* @__PURE__ */ require_error$1.__commonJSMin(((exports, m
|
|
|
15344
15344
|
//#region ../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js
|
|
15345
15345
|
var require_signal_exit = /* @__PURE__ */ require_error$1.__commonJSMin(((exports, module) => {
|
|
15346
15346
|
var process = global.process;
|
|
15347
|
-
const processOk = function(process
|
|
15348
|
-
return process
|
|
15347
|
+
const processOk = function(process) {
|
|
15348
|
+
return process && typeof process === "object" && typeof process.removeListener === "function" && typeof process.emit === "function" && typeof process.reallyExit === "function" && typeof process.listeners === "function" && typeof process.kill === "function" && typeof process.pid === "number" && typeof process.on === "function";
|
|
15349
15349
|
};
|
|
15350
15350
|
/* istanbul ignore if */
|
|
15351
15351
|
if (!processOk(process)) module.exports = function() {
|
|
@@ -15383,7 +15383,7 @@ var require_signal_exit = /* @__PURE__ */ require_error$1.__commonJSMin(((export
|
|
|
15383
15383
|
emitter.on(ev, cb);
|
|
15384
15384
|
return remove;
|
|
15385
15385
|
};
|
|
15386
|
-
var unload = function unload
|
|
15386
|
+
var unload = function unload() {
|
|
15387
15387
|
if (!loaded || !processOk(global.process)) return;
|
|
15388
15388
|
loaded = false;
|
|
15389
15389
|
signals.forEach(function(sig) {
|
|
@@ -15396,7 +15396,7 @@ var require_signal_exit = /* @__PURE__ */ require_error$1.__commonJSMin(((export
|
|
|
15396
15396
|
emitter.count -= 1;
|
|
15397
15397
|
};
|
|
15398
15398
|
module.exports.unload = unload;
|
|
15399
|
-
var emit = function emit
|
|
15399
|
+
var emit = function emit(event, code, signal) {
|
|
15400
15400
|
/* istanbul ignore if */
|
|
15401
15401
|
if (emitter.emitted[event]) return;
|
|
15402
15402
|
emitter.emitted[event] = true;
|
|
@@ -15423,7 +15423,7 @@ var require_signal_exit = /* @__PURE__ */ require_error$1.__commonJSMin(((export
|
|
|
15423
15423
|
return signals;
|
|
15424
15424
|
};
|
|
15425
15425
|
var loaded = false;
|
|
15426
|
-
var load = function load
|
|
15426
|
+
var load = function load() {
|
|
15427
15427
|
if (loaded || !processOk(global.process)) return;
|
|
15428
15428
|
loaded = true;
|
|
15429
15429
|
emitter.count += 1;
|
|
@@ -15440,7 +15440,7 @@ var require_signal_exit = /* @__PURE__ */ require_error$1.__commonJSMin(((export
|
|
|
15440
15440
|
};
|
|
15441
15441
|
module.exports.load = load;
|
|
15442
15442
|
var originalProcessReallyExit = process.reallyExit;
|
|
15443
|
-
var processReallyExit = function processReallyExit
|
|
15443
|
+
var processReallyExit = function processReallyExit(code) {
|
|
15444
15444
|
/* istanbul ignore if */
|
|
15445
15445
|
if (!processOk(global.process)) return;
|
|
15446
15446
|
process.exitCode = code || 0;
|
|
@@ -15451,7 +15451,7 @@ var require_signal_exit = /* @__PURE__ */ require_error$1.__commonJSMin(((export
|
|
|
15451
15451
|
originalProcessReallyExit.call(process, process.exitCode);
|
|
15452
15452
|
};
|
|
15453
15453
|
var originalProcessEmit = process.emit;
|
|
15454
|
-
var processEmit = function processEmit
|
|
15454
|
+
var processEmit = function processEmit(ev, arg) {
|
|
15455
15455
|
if (ev === "exit" && processOk(global.process)) {
|
|
15456
15456
|
/* istanbul ignore else */
|
|
15457
15457
|
if (arg !== void 0) process.exitCode = arg;
|
|
@@ -15545,11 +15545,11 @@ var require_kill = /* @__PURE__ */ require_error$1.__commonJSMin(((exports, modu
|
|
|
15545
15545
|
//#endregion
|
|
15546
15546
|
//#region ../../node_modules/.pnpm/is-stream@2.0.1/node_modules/is-stream/index.js
|
|
15547
15547
|
var require_is_stream = /* @__PURE__ */ require_error$1.__commonJSMin(((exports, module) => {
|
|
15548
|
-
const isStream = (stream
|
|
15549
|
-
isStream.writable = (stream
|
|
15550
|
-
isStream.readable = (stream
|
|
15551
|
-
isStream.duplex = (stream
|
|
15552
|
-
isStream.transform = (stream
|
|
15548
|
+
const isStream = (stream) => stream !== null && typeof stream === "object" && typeof stream.pipe === "function";
|
|
15549
|
+
isStream.writable = (stream) => isStream(stream) && stream.writable !== false && typeof stream._write === "function" && typeof stream._writableState === "object";
|
|
15550
|
+
isStream.readable = (stream) => isStream(stream) && stream.readable !== false && typeof stream._read === "function" && typeof stream._readableState === "object";
|
|
15551
|
+
isStream.duplex = (stream) => isStream.writable(stream) && isStream.readable(stream);
|
|
15552
|
+
isStream.transform = (stream) => isStream.duplex(stream) && typeof stream._transform === "function";
|
|
15553
15553
|
module.exports = isStream;
|
|
15554
15554
|
}));
|
|
15555
15555
|
|
|
@@ -15566,21 +15566,21 @@ var require_buffer_stream = /* @__PURE__ */ require_error$1.__commonJSMin(((expo
|
|
|
15566
15566
|
if (array) objectMode = !(encoding || isBuffer);
|
|
15567
15567
|
else encoding = encoding || "utf8";
|
|
15568
15568
|
if (isBuffer) encoding = null;
|
|
15569
|
-
const stream$
|
|
15570
|
-
if (encoding) stream$
|
|
15569
|
+
const stream$6 = new PassThroughStream({ objectMode });
|
|
15570
|
+
if (encoding) stream$6.setEncoding(encoding);
|
|
15571
15571
|
let length = 0;
|
|
15572
15572
|
const chunks = [];
|
|
15573
|
-
stream$
|
|
15573
|
+
stream$6.on("data", (chunk) => {
|
|
15574
15574
|
chunks.push(chunk);
|
|
15575
15575
|
if (objectMode) length = chunks.length;
|
|
15576
15576
|
else length += chunk.length;
|
|
15577
15577
|
});
|
|
15578
|
-
stream$
|
|
15578
|
+
stream$6.getBufferedValue = () => {
|
|
15579
15579
|
if (array) return chunks;
|
|
15580
15580
|
return isBuffer ? Buffer.concat(chunks, length) : chunks.join("");
|
|
15581
15581
|
};
|
|
15582
|
-
stream$
|
|
15583
|
-
return stream$
|
|
15582
|
+
stream$6.getBufferedLength = () => length;
|
|
15583
|
+
return stream$6;
|
|
15584
15584
|
};
|
|
15585
15585
|
}));
|
|
15586
15586
|
|
|
@@ -15626,11 +15626,11 @@ var require_get_stream = /* @__PURE__ */ require_error$1.__commonJSMin(((exports
|
|
|
15626
15626
|
return stream$3.getBufferedValue();
|
|
15627
15627
|
}
|
|
15628
15628
|
module.exports = getStream;
|
|
15629
|
-
module.exports.buffer = (stream$
|
|
15629
|
+
module.exports.buffer = (stream$4, options) => getStream(stream$4, {
|
|
15630
15630
|
...options,
|
|
15631
15631
|
encoding: "buffer"
|
|
15632
15632
|
});
|
|
15633
|
-
module.exports.array = (stream$
|
|
15633
|
+
module.exports.array = (stream$5, options) => getStream(stream$5, {
|
|
15634
15634
|
...options,
|
|
15635
15635
|
array: true
|
|
15636
15636
|
});
|
|
@@ -15691,22 +15691,22 @@ var require_stream = /* @__PURE__ */ require_error$1.__commonJSMin(((exports, mo
|
|
|
15691
15691
|
if (spawned.stderr) mixed.add(spawned.stderr);
|
|
15692
15692
|
return mixed;
|
|
15693
15693
|
};
|
|
15694
|
-
const getBufferedData = async (stream
|
|
15695
|
-
if (!stream
|
|
15696
|
-
stream
|
|
15694
|
+
const getBufferedData = async (stream, streamPromise) => {
|
|
15695
|
+
if (!stream) return;
|
|
15696
|
+
stream.destroy();
|
|
15697
15697
|
try {
|
|
15698
15698
|
return await streamPromise;
|
|
15699
15699
|
} catch (error) {
|
|
15700
15700
|
return error.bufferedData;
|
|
15701
15701
|
}
|
|
15702
15702
|
};
|
|
15703
|
-
const getStreamPromise = (stream
|
|
15704
|
-
if (!stream
|
|
15705
|
-
if (encoding) return getStream(stream
|
|
15703
|
+
const getStreamPromise = (stream, { encoding, buffer, maxBuffer }) => {
|
|
15704
|
+
if (!stream || !buffer) return;
|
|
15705
|
+
if (encoding) return getStream(stream, {
|
|
15706
15706
|
encoding,
|
|
15707
15707
|
maxBuffer
|
|
15708
15708
|
});
|
|
15709
|
-
return getStream.buffer(stream
|
|
15709
|
+
return getStream.buffer(stream, { maxBuffer });
|
|
15710
15710
|
};
|
|
15711
15711
|
const getSpawnedResult = async ({ stdout, stderr, all }, { encoding, buffer, maxBuffer }, processDone) => {
|
|
15712
15712
|
const stdoutPromise = getStreamPromise(stdout, {
|
|
@@ -16159,10 +16159,10 @@ var require_find_prefix = /* @__PURE__ */ require_error$1.__commonJSMin(((export
|
|
|
16159
16159
|
return fs$1.readdir(p, fn);
|
|
16160
16160
|
}
|
|
16161
16161
|
function findPrefix(p, isSync, cb_) {
|
|
16162
|
-
function cb(err, p
|
|
16163
|
-
if (isSync) return cb_(err, p
|
|
16162
|
+
function cb(err, p) {
|
|
16163
|
+
if (isSync) return cb_(err, p);
|
|
16164
16164
|
process.nextTick(function() {
|
|
16165
|
-
cb_(err, p
|
|
16165
|
+
cb_(err, p);
|
|
16166
16166
|
});
|
|
16167
16167
|
}
|
|
16168
16168
|
p = path$1.resolve(p);
|
|
@@ -16219,9 +16219,9 @@ var require_npm_path = /* @__PURE__ */ require_error$1.__commonJSMin(((exports,
|
|
|
16219
16219
|
var pathArr = getPathArr(options);
|
|
16220
16220
|
findPrefix(options, function(err, prefixPath) {
|
|
16221
16221
|
if (!err && prefixPath) pathArr.unshift(path.join(prefixPath, "node_modules", ".bin"));
|
|
16222
|
-
whichNpm(options, function(err
|
|
16223
|
-
if (err
|
|
16224
|
-
if (options.npm) return fn(err
|
|
16222
|
+
whichNpm(options, function(err, npmPath) {
|
|
16223
|
+
if (err || !npmPath) {
|
|
16224
|
+
if (options.npm) return fn(err || /* @__PURE__ */ new Error("Cannot find " + options.npm));
|
|
16225
16225
|
} else pathArr.unshift(path.join(path.dirname(npmPath), "node-gyp-bin"));
|
|
16226
16226
|
if (env[PATH]) pathArr = pathArr.concat(env[PATH].split(SEPARATOR));
|
|
16227
16227
|
pathArr = [].concat(_toConsumableArray(new Set(pathArr)));
|
|
@@ -16322,9 +16322,9 @@ var require_npm_path = /* @__PURE__ */ require_error$1.__commonJSMin(((exports,
|
|
|
16322
16322
|
fs.realpath(npmCli, fn);
|
|
16323
16323
|
return;
|
|
16324
16324
|
}
|
|
16325
|
-
which("npm", function(err, npmPath
|
|
16325
|
+
which("npm", function(err, npmPath) {
|
|
16326
16326
|
if (err) return fn(err);
|
|
16327
|
-
fs.realpath(npmPath
|
|
16327
|
+
fs.realpath(npmPath, fn);
|
|
16328
16328
|
});
|
|
16329
16329
|
}
|
|
16330
16330
|
/**
|
|
@@ -16363,19 +16363,19 @@ var require_npm_which = /* @__PURE__ */ require_error$1.__commonJSMin(((exports,
|
|
|
16363
16363
|
var which = require_which();
|
|
16364
16364
|
var npmPath = require_npm_path();
|
|
16365
16365
|
module.exports = function(cwd) {
|
|
16366
|
-
function npmWhich
|
|
16366
|
+
function npmWhich(cmd, options, fn) {
|
|
16367
16367
|
if (options instanceof Function) fn = options, options = null;
|
|
16368
16368
|
options = options || {};
|
|
16369
16369
|
options.cwd = options.cwd || cwd;
|
|
16370
16370
|
options.env = options.env || process.env;
|
|
16371
|
-
function curryWhich(opts, fn
|
|
16372
|
-
if (opts instanceof Function) fn
|
|
16371
|
+
function curryWhich(opts, fn) {
|
|
16372
|
+
if (opts instanceof Function) fn = opts, opts = null;
|
|
16373
16373
|
opts = opts || {};
|
|
16374
|
-
return npmWhich
|
|
16374
|
+
return npmWhich(cmd, mixin(opts, options), fn);
|
|
16375
16375
|
}
|
|
16376
16376
|
curryWhich.sync = function(opts) {
|
|
16377
16377
|
opts = opts || {};
|
|
16378
|
-
return npmWhich
|
|
16378
|
+
return npmWhich.sync(cmd, mixin(opts, options));
|
|
16379
16379
|
};
|
|
16380
16380
|
if (!(typeof fn === "function")) return curryWhich;
|
|
16381
16381
|
if (!options.cwd) return fn(/* @__PURE__ */ new Error("You must specify a cwd."));
|
|
@@ -16383,13 +16383,13 @@ var require_npm_which = /* @__PURE__ */ require_error$1.__commonJSMin(((exports,
|
|
|
16383
16383
|
if (err) return fn(err);
|
|
16384
16384
|
var oldPath = process.env[npmPath.PATH];
|
|
16385
16385
|
process.env[npmPath.PATH] = newPath;
|
|
16386
|
-
which(cmd, function(err
|
|
16386
|
+
which(cmd, function(err, result) {
|
|
16387
16387
|
process.env[npmPath.PATH] = oldPath;
|
|
16388
|
-
fn(err
|
|
16388
|
+
fn(err, result);
|
|
16389
16389
|
});
|
|
16390
16390
|
});
|
|
16391
16391
|
}
|
|
16392
|
-
npmWhich
|
|
16392
|
+
npmWhich.sync = function(cmd, options) {
|
|
16393
16393
|
options = options || {};
|
|
16394
16394
|
options.cwd = options.cwd || cwd;
|
|
16395
16395
|
options.env = options.env || process.env;
|
|
@@ -16409,7 +16409,7 @@ var require_npm_which = /* @__PURE__ */ require_error$1.__commonJSMin(((exports,
|
|
|
16409
16409
|
}
|
|
16410
16410
|
return result;
|
|
16411
16411
|
};
|
|
16412
|
-
if (arguments.length <= 1) return npmWhich
|
|
16412
|
+
if (arguments.length <= 1) return npmWhich;
|
|
16413
16413
|
return module.exports().apply(this, arguments);
|
|
16414
16414
|
};
|
|
16415
16415
|
module.exports.sync = function(cmd, options) {
|